Releases: purescript/spago
0.10.0.0
Breaking changes (!!!):
-
Flags and arguments that you want to give to
pursare now passed with--purs-args(#353, #366)The previous behaviour in which all arguments that could not parse as
spagoarguments
were passed along topurswas sometimes confusing (e.g. when using--pathand multiple
arguments).
New features:
- Support watching js files (#407, #205)
- New
--no-searchflag forspago docsto skip patching the documentation usingpurescript-docs-search(#400) - New
-xflag for specifying the config path location (#357, #329) - New
spago logincommand, to save a GitHub token to the cache so it can be used for various operations hitting GitHub (#391, #403)
Bugfixes:
- "Quit" command in watch mode now actually quits (#390, #389)
- Do not compile files twice when using
--watchand Vim (#346, #371) - Use
git cloneinstead ofgit fetchwhen fetching a package, so all tags can be installed (#373, #374) - Fix Windows global cache location; now uses
LocalAppDataas default (#384, #380) - Fix naming clash in short flag for repl dependencies (#352, #350)
- Fix failure to copy to global cache on a different filesystem (#385, #386)
- Fix watch function on Windows (issue with paths) (#387, #380, #401)
- Look up remote imports dynamically when doing frozen check, to always find the right
packages.dhall(#349, #402)
Other Improvements:
- Performance: make no-op
spago installfaster (#409, #412) - CI: remove reviews limitation on mergify (#354)
- CI: various fixes (#362, #368, #382, #388, #418)
- Docs: fix syntax errors in template comment (#369, #413, #408)
- Docs: fix link for package-set from commit (#405)
- Docs: keep README up to date with new features (#398, #347)
- Deps: upgrade to lts-14 and GHC-8.6 (#395)
- Deps: upgrade to dhall-1.26.0, v10 of the standard (#411, #358)
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)
0.8.5.0
ZuriHac edition 🎉
New features:
- Add
sourceskey to config to customize the sources used in the build (#273, #173) - Add
--jsonflag to thelist-packagescommand to optionally output JSON (#263) - Add
--clear-screenflag to to clear the screen when watching (#271, #209) - Add
--no-installflag for build to prevent automatic installation (#274, #269) - Add
--node-argsflag to pass arguments to Node inrun/testcommands (#267, #275)
Bugfixes:
- Fix
spago installfailing when version branch name contains/'s (#257, #258) - Report all missing packages together when it's not possible to build an install plan (#264, #223)
- Pull the latest package-sets version when doing
init(#254, #279) - Fix
spago installnot adding new dependencies when list is empty (#282, #281)
Other Improvements:
0.8.4.0
0.8.3.0
Bugfixes:
- Fix
spago psc-package-cleanon Windows (#224) - Fix
spago replstarting on Windows where PureScript was installed with NPM (#235, #227) - Fix missing filenames when encountering parse errors in Dhall files (#241, #222)
- Download packages in local repo instead of global tempdir (#243, #220)
Other improvements: