Skip to content

Releases: purescript/spago

0.20.0

07 Apr 13:21
7dfd223
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Move the Linux build to be on Ubuntu 16.04

0.18.0

22 Dec 18:12
a4d39c2
Compare
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
Compare
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
Compare
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 [email protected], 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)

0.15.3

15 Jun 09:58
@f-f f-f
da6d91c
Compare
Choose a tag to compare

New features:

  • Add --version flag to print the version (in addition to the version command) (#628)

Bugfixes:

  • Actually run else commands when spago run fails (#632)
  • Don't use absolute paths for executables in Windows (#639)

Other improvements:

  • Docs: note that build also runs install (#624)
  • Docs: document how to install all the packages in the set (#625)
  • Docs: stop suggesting using Parcel and Spago at the same time (#626)
  • Docs: document how to install bash and zsh autocompletions (#627)
  • Docs: fix explanation in monorepo example (#631)
  • Docs: add note about using single quotes for purs-args (#637)
  • Docs: add quotes for all OSes with purs-args (#638)
  • Docs: fix typos in spago bundle-app help message (#641)
  • Deps: upgrade rio to 0.1.13.0 (#616)
  • CI: upgrade to purs v.13.8 (#642)
  • CI: stop upgrading broken static binary on release (#620)

0.15.2

15 Apr 16:43
@f-f f-f
d905a96
Compare
Choose a tag to compare

Breaking changes (😱!!!):

  • Remove the deprecated --no-share-output flag (#610)

    It has been disabled since some time now, so you can just remove it from your build commands.

New features:

  • Add the spago path global-cache subcommand to output the location of the global cache (#613, #591)

Bugfixes:

  • Fix encoding issues causing crashes when running in various locales (#595, #533, #507, #576)
  • Respect TERM=dumb by disabling colors when set (#581, #579)
  • Run package set commands without a project config being present (#393, #610)
  • Fail as soon as possible when not finding a necessary executable (#578, #610)
  • Don't exclude the metadata package from the set (#609, #610)
  • Ensure psci-support is installed when starting the repl (#612, #550)
  • Ensure dependencies are installed before starting the repl (#611, #610)

Other improvements:

  • Errors: make the "dropping the 'purescript-' prefix" warning milder (#571, #570)
  • Docs: update README example to include source files (#574)
  • Docs: add info about SPDX license for publishing (#606)
  • CI: update Travis deployment to dpl-v2 (#569, #617)
  • Deps: upgrade dhall to 1.31.1 (#600)
  • Curator: move to its own repo (#586)