0.9.0.0
Breaking changes (!!!):
-
Rename
package-set-upgradetoupgrade-set(#336)You now have to call
spago upgrade-setif you wish to upgrade your package-sets version -
Move the
--jobsflag to be global (#338)If you were invoking spago in this way:
spago install -j 10, you now have to usespago -j 10 installinstead -
Import local packages
as Location(#301, #244)Before you'd import a local package in this way:
let additions = { foobar = mkPackage (../foobar/spago.dhall).dependencies "../foobar" "local-fix-whatever" }
..but now you'll have to import it using
as Locationinstead:let additions = { foobar = ../foobar/spago.dhall as Location }
New features:
- Add searchbar to docs generated with
spago docs, and asearchcommand to get a search REPL (#340, #333, #89) - Add automatic migration of Bower projects when doing
spago init(#159, #272, #342) - Add
bump-versioncommand, for generatingbower.jsonfiles and making version tags in Git (#203, #289, #324) - Use
psafor compiling if installed; you can avoid this with the new--no-psaflag (#305, #283, #252, #327) - Add support for starting a repl within a folder which has not been setup as a spago project (#168, #280)
- Add
--formatflag tospago docs(#294, #299) - Add project sources to
spago sourcesoutput (#276, #287, #308) - Watch all sources, including dependencies, when building with filewatch (#172, #309)
- Add
--deps-onlyflag to build dependencies alone (#330, #331)
Bugfixes:
- Fix
spago installfailing when version branch names differ only by case on case-insensitive filesystems (#285) - Change
--node-argsshortcut to-ato avoid clash (#292, #293) - Stop reformatting config files if not necessary (#300, #302, #339)
- Make
spago runwrite a file and execute it so that args are passed correctly (#297, #295) - Add fallback for global cache directory (#314, #312)
- Do not overwrite
spago.dhallwhen doingspago inittwice (#318, #321) - Catch exceptions when trying to fetch metadata (#325)
- Generate hashes when doing
psc-package-insdhall(#337, #240)
Other Improvements:
- Curator: log exceptions to file to monitor eventual issues (#284)
- Docs: update README with newest features (#286)
- Docs: add docs about switching from Bower (#317)
- Errors: improve error message for overriding compiler version (#345, #343)
- Tests: improve failure messages (#298)
- Tests: fix
packages.dhallfixtures manipulation (#307) - Tests: add tests for the
list-packagescommand (#304) - Tests: add tests for local dependencies (#310)
- Config: remove
mkPackagefunction in Dhall configs, and switch to package-sets releases for upstream (#322, #320, #319) - Config: update test template to use
Effect.Class.Console(#328, #334) - CI: fix missing "commit since last release" message (#326)
- CI: add configuration for Mergify (#332)