Skip to content

Releases: purescript/spago

0.7.1.0

19 Mar 17:35
@f-f f-f
81110a6

Choose a tag to compare

New features:

  • Add --watch flag to build, test, run, bundle and make-module commands (#65, #126, #153)
  • Add spago docs command, to generate documentation from the project and all dependencies (#127)
  • Add spago run command, to run your project (#131, #137, thanks @JordanMartinez!)

Other fixes and improvements:

0.7.0.0

02 Mar 22:13
@f-f f-f
1a52fe2

Choose a tag to compare

Breaking changes:

  • The NPM package purescript-spago is now deprecated. New releases will be published only to the package spago (#115, #44)
    You can install the package with npm install -g spago
  • Spacchetti has been merged in the official package-set: this means that spago will now use that as the reference package-set. (#120)
    As a result of this, the command spago spacchetti-upgrade has been renamed to spago package-set-upgrade.

New features:

  • Support Windows in NPM install (#121, #109)
  • Add spago freeze command to recompute hashes of the package-set (#113)
  • Add spago verify and spago verify-set commands (#108, #14)
  • Add the --filter flag to spago list-packages, to filter by direct and transitive deps (#106, #108, thanks @kedashoe!)
  • Check that the version of the installed compiler is at least what the package-set requires (#101, #107, #117, #116)

Other improvements:

  • Improve the installation: do less work and print less useless stuff (#110, #112, #114)
  • Skip the copy of template files if the source directories exist (#102, #105)

0.6.4.0

07 Feb 21:02
@f-f f-f
6947bf1

Choose a tag to compare

Improvements:

Bugfixes:

  • Spago would crash if $HOME was not set, now it doesn't anymore (#85, #90)
  • spago test now actually works on Windows (#79, thanks @btrepp!)

Other:

  • Maany docs improvements (#83, #76, #93, #96, #99, #100)
  • From this release we are publishing an experimental Windows build (#81)
  • Add a PR checklista, so we don't forgetti (#86)

0.6.3.0

18 Jan 13:37
@f-f f-f
838e627

Choose a tag to compare

New commands added:

  • spago repl will now spawn a PureScript repl in your project (#46, #62, thanks @vyorkin!)
  • spago list-packages will list all the packages available in your package-set (#71, thanks @btrepp!)

0.6.2.1

07 Jan 12:54
@f-f f-f

Choose a tag to compare

New features:

  • spago build and spago test now have the --path option to specify custom source paths to include (#68, #69 - thanks @vapaj!)
  • spago build and spago test can now pass options straight to purs compile (#66, #49)

0.6.1.0

26 Dec 14:21
@f-f f-f
62567e6

Choose a tag to compare

Mostly a bugfix release.

New features:

  • Add initial windows support (#47, #48, #58): now spago should run fine on Windows. Unfortunately we're not distributing binaries yet, but the only installation method available is from source (with e.g. stack install)

Bugfixes:

  • Don't overwrite files when doing init, just skip the copy if some file exists (#56)
  • Print git output in case of failure when doing install (#54, #59)
  • Include building src/* when running test (#50, #53)
  • Make file embedding indipendent of the locale when compiling; now we just use Unicode

0.6.0.0

16 Dec 10:22
@f-f f-f

Choose a tag to compare

This release marks a new life for this tool. Main changes:

  • Rename spacchetti-cli β†’ spago (#23)
  • Publish on NPM under the new name purescript-spago (#35)
  • Add some commands from psc-package:
    • init (#12): initialize a new sample project with a spago.dhall and a packages.dhall config files
    • install (#11, #32): concurrently fetch dependencies declared in spago.dhall file
    • sources (#13): print source globs
    • build: compile the project with purs
  • Migrate old commands from spacchetti-cli that are specific to local psc-package projects:
    • local-setup is now psc-package-local-setup
    • insdhall is now psc-package-insdhall
    • clean is now psc-package-clean
  • Add some commands from purp (#26):
    • test: compile and run a module from the test/ folder
    • bundle: bundle all sources in a single file
    • make-module: export the above bundle so it can be required from js
  • Stop depending on dhall and dhall-to-json commands and instead depend on dhall and dhall-json libraries
  • Freeze spacchetti package-set import in packages.dhall, so dhall caching works for subsequent executions
  • Move to v4.0.0 of dhall
  • Add integration tests for most of the commands (#31, #30)

0.5.0.1

30 Oct 08:28
@f-f f-f

Choose a tag to compare

#20 : Switch to prebuilt Docker image for Linux builds on Travis

(this release is just a test for the new Travis config, functionally equivalent to 0.5.0.0)

0.5.0.0

27 Oct 09:38

Choose a tag to compare

#18 Dhall instructions generated for packages.dhall.

#17 Spacchetti will try to upgrade your existing projects instead of only overriding them.

0.4.0.0

24 Oct 20:01

Choose a tag to compare

#16 Uses the directory name for "name" field in generated psc-package.json

#10 Uses templated files now in template/ of the spacchetti-cli repo

#9 clean command to nuke the .psc-package dir