Skip to content

Releases: purescript/spago

0.20.2

06 May 18:43
0f38c91

Choose a tag to compare

Bugfixes:

  • Remove npm install from release CI to prevent overwriting the install script with the Linux binary (#783, #786)
  • Use spago.cabal instead of package.yaml to get version number (#787, #788)
  • Assume compatibility with newer minor versions of purs (#782, #777)
  • Fix test command not working on purs older than v0.14.0 (#790, #789)

Other improvements:

  • Docs: add more useful comments in spago.dhall (#778, #708)
  • Dev: remove package.yaml, use only cabal file (#780)
  • Dev: use make to orchestrate builds (#781)
  • Deps: upgrade to GHC8.10 and lts-17 (#743)

0.20.1

20 Apr 18:16
41ad739

Choose a tag to compare

Bugfixes:

  • Color output now works correctly or is disabled on Windows (#768, #749)
  • Fix spago docs for PureScript 0.14, by updating docs-search to 0.0.11 (#775, #752)

Other improvements:

  • Color output is now automatically disabled when output is redirected to a file.
    Also respects a NO_COLOR environment variable (#768)
  • Fixes tests failing if the test platform has psa installed (#772)
  • Print spago install command to fix missing transitive dependencies (#770, #769, #776)
  • Refactor the graph support to remove the custom module name parser (#773)

0.20.0

07 Apr 13:21
7dfd223

Choose a tag to compare

Breaking changes (😱!!!):

  • spago build fails when source files directly import transitive dependencies (#730, #598)

Bugfixes:

  • Properly call psa to avoid warnings (#730)

Other improvements:

  • spago build now detects and warns about unused dependencies (#730, #598)

0.19.2

31 Mar 16:01
614fe15

Choose a tag to compare

New features:

  • Allow verify and verify-set to work with alternate backends, when run in the context of a spago.dhall with backend set (#754)

Bugfixes:

  • Don't fail bump-version if the packages don't exist in the Bower registry (#682)

Other improvements:

  • CI: bump purescript version to 0.14.0 (#759)
  • Docs: add FreeBSD installation instructions (#760)
  • Docs: clarify description for --path flag (#762, #761)

0.19.1

22 Feb 13:41
72315e0

Choose a tag to compare

Bugfixes:

  • Fix psa not being found on Windows (#740, #693)
  • Use the correct path when erroring out about alternate configurations missing (#746, #747)

Other improvements:

  • Bump dhall dependency from 1.37.1 to 1.38.0 (#739)
  • Fix caching on Windows CI (#728, #741)

0.19.0

06 Jan 20:33
960a310

Choose a tag to compare

Breaking changes (😱!!!):

  • Deprecate -d flag for deps-only (#712) - instead only support the --deps-only long form
  • Switch from -D to -d as shorthand for specifying dependencies within spago repl (#712)

New features:

  • Add spago script command. It can be used to run standalone PureScript files as scripts (#712, #724, #683)

Other improvements:

  • spago repl will no longer create a (mostly unused) full project skeleton in a temporary directory when a config is not found (#712)
  • spago init and spago upgrade-set will now pick the latest set for the available compiler, rathen than just the latest (#721, #687, #657, #666)

0.18.1

23 Dec 16:33
72b2058

Choose a tag to compare

Move the Linux build to be on Ubuntu 16.04

0.18.0

22 Dec 18:12
a4d39c2

Choose a tag to compare

Breaking changes (😱!!!):

  • Remove login command (#705)

    It was introduced in preparation for a publish command that would require a GitHub token to be provided, but it is obsolete now, as the new Registry workflow will not require it.
    While it's technically a breaking change, it should be of very low impact since no one should be using this anyways.

  • Upgrade to Dhall 20.0.0 and GHC 8.6.5 (#695, #685)

    The upgrade fixes several bugs related to the upstream dhall-haskell implementation, but introduces a breaking change in the parser, as reserved words are not accepted anymore in certain positions.
    While the upstream package sets have been patched to be compatible with the change, this is a breaking change for all the existing configurations that make use of Dhall reserved words (such as assert, let, etc).

New features:

  • Add exec-args as alias to node-args, to clarify that the args are forwarded to whichever backend is being targeted (go, js, etc), not exclusively NodeJS (#710, #709)

Bugfixes:

  • Don't create the global cache folder at all if the user specifies --global-cache=skip (#705, #704)
  • Don't require a spago.dhall anymore when the --no-build flag is passed (#705, #634)

Other improvements:

  • CI: switch from Travis to GitHub Actions (#695)

0.17.0

29 Oct 11:17
@f-f f-f
3309afd

Choose a tag to compare

Breaking changes (😱!!!):

  • Specify the package set version via --tag (#680)

    Example usage: spago init --tag psc-0.13.2-20190725 and spago upgrade-set --tag psc-0.13.2-20190725.
    This is a breaking change because we are removing support for the old spacchetti/spacchetti-style location (i.e. in the src/packages.dhall) for the upgrade-set command.

Bugfixes:

  • Remove dependency on libtinfo, removing the biggest cause of friction for using the precompiled binary on various Linux distros (#684)
  • Correctly parse flags to be passed to the compiler (#688)

0.16.0

16 Aug 10:51
@f-f f-f
71b093c

Choose a tag to compare

Breaking changes (😱!!!):

  • Remove shorthands for color, before, then, and else flags (#670, #664)

    Both then and target had the shorthand t, so the shorthand for then was removed.
    Since then, before, and else are all shared between several commands, it seemed
    natural to remove the shorthands for the other shared commands too, so as to not cause
    future shorthand name conflicts.
    A similar collision problem happened with the color flag, so its shorthand was removed.

  • Pass main function argument to --run for alternate backends (#668)

    This is a braking change because now alternate backends are expected to accept
    an argument to their run flag. This change was coordinated among various backends
    so the migration should be relatively smooth, but you should check if your backend
    it able to support this.

New features:

  • Upgrade to docs-search@v0.0.10, that introduces grouping by package in local docs (#679)
  • Ignore .gitignored files in --watch by default - you can disable this with --allow-ignored (#665)
  • Support upgrade-set for alternative package-set repositories (#671)

Bugfixes:

  • Make the output of spago --version the same with spago version (#675)
  • Ensure the existence of the global cache directory (#672, #667)

Other improvements:

  • Docs: updated package addition/overriding syntax to use with syntax (#661, #663)
  • Docs: fix Webpack template (#653)
  • Docs: document how to pass arguments to main (#655)
  • Error messages: do not print "Installation complete" if nothing was installed (#676)