Releases: purescript/spago
0.20.0
0.19.2
0.19.1
0.19.0
Breaking changes (😱!!!):
- Deprecate
-d
flag fordeps-only
(#712) - instead only support the--deps-only
long form - Switch from
-D
to-d
as shorthand for specifying dependencies withinspago repl
(#712)
New features:
- Add
spago script
command. 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
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 asassert
,let
, etc).
New features:
- Add
exec-args
as 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.dhall
anymore when the--no-build
flag 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-20190725
andspago 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
, andelse
flags (#670, #664)Both
then
andtarget
had the shorthandt
, so the shorthand forthen
was removed.
Sincethen
,before
, andelse
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 thecolor
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 theirrun
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
.gitignore
d 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 withspago version
(#675) - Ensure the existence of the global cache directory (#672, #667)
Other improvements:
0.15.3
New features:
- Add
--version
flag to print the version (in addition to theversion
command) (#628)
Bugfixes:
- Actually run
else
commands whenspago run
fails (#632) - Don't use absolute paths for executables in Windows (#639)
Other improvements:
- Docs: note that
build
also runsinstall
(#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
to0.1.13.0
(#616) - CI: upgrade to
purs
v.13.8 (#642) - CI: stop upgrading broken static binary on release (#620)
0.15.2
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:
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
to1.31.1
(#600) - Curator: move to its own repo (#586)