Releases: purescript/spago
0.20.2
Bugfixes:
- Remove
npm installfrom 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
testcommand not working onpursolder thanv0.14.0(#790, #789)
Other improvements:
0.20.1
Bugfixes:
- Color output now works correctly or is disabled on Windows (#768, #749)
- Fix
spago docsfor PureScript 0.14, by updatingdocs-searchto0.0.11(#775, #752)
Other improvements:
- Color output is now automatically disabled when output is redirected to a file.
Also respects aNO_COLORenvironment variable (#768) - Fixes tests failing if the test platform has
psainstalled (#772) - Print
spago installcommand to fix missing transitive dependencies (#770, #769, #776) - Refactor the graph support to remove the custom module name parser (#773)
0.20.0
0.19.2
0.19.1
0.19.0
Breaking changes (😱!!!):
- Deprecate
-dflag fordeps-only(#712) - instead only support the--deps-onlylong form - Switch from
-Dto-das shorthand for specifying dependencies withinspago repl(#712)
New features:
- Add
spago scriptcommand. It can be used to run standalone PureScript files as scripts (#712, #724, #683)
Other improvements:
0.18.1
Move the Linux build to be on Ubuntu 16.04
0.18.0
Breaking changes (😱!!!):
-
Remove
logincommand (#705)It was introduced in preparation for a
publishcommand 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 asassert,let, etc).
New features:
- Add
exec-argsas alias tonode-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.dhallanymore when the--no-buildflag is passed (#705, #634)
Other improvements:
- CI: switch from Travis to GitHub Actions (#695)
0.17.0
Breaking changes (😱!!!):
-
Specify the package set version via
--tag(#680)Example usage:
spago init --tag psc-0.13.2-20190725andspago 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:
0.16.0
Breaking changes (😱!!!):
-
Remove shorthands for
color,before,then, andelseflags (#670, #664)Both
thenandtargethad the shorthandt, so the shorthand forthenwas removed.
Sincethen,before, andelseare 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 thecolorflag, so its shorthand was removed. -
Pass main function argument to
--runfor alternate backends (#668)This is a braking change because now alternate backends are expected to accept
an argument to theirrunflag. 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--watchby default - you can disable this with--allow-ignored(#665) - Support
upgrade-setfor alternative package-set repositories (#671)
Bugfixes:
- Make the output of
spago --versionthe same withspago version(#675) - Ensure the existence of the global cache directory (#672, #667)
Other improvements: