Skip to content

Releases: purescript/spago

0.10.0.0

21 Sep 19:27
@f-f f-f

Choose a tag to compare

Breaking changes (!!!):

  • Flags and arguments that you want to give to purs are now passed with --purs-args (#353, #366)

    The previous behaviour in which all arguments that could not parse as spago arguments
    were passed along to purs was sometimes confusing (e.g. when using --path and multiple
    arguments).

New features:

  • Support watching js files (#407, #205)
  • New --no-search flag for spago docs to skip patching the documentation using purescript-docs-search (#400)
  • New -x flag for specifying the config path location (#357, #329)
  • New spago login command, 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 --watch and Vim (#346, #371)
  • Use git clone instead of git fetch when fetching a package, so all tags can be installed (#373, #374)
  • Fix Windows global cache location; now uses LocalAppData as 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 install faster (#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

30 Jul 09:47
@f-f f-f
2d349cc

Choose a tag to compare

Breaking changes (!!!):

  • Rename package-set-upgrade to upgrade-set (#336)

    You now have to call spago upgrade-set if you wish to upgrade your package-sets version

  • Move the --jobs flag to be global (#338)

    If you were invoking spago in this way: spago install -j 10, you now have to use spago -j 10 install instead

  • 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 Location instead:

    let additions =
      { foobar = ../foobar/spago.dhall as Location }

New features:

  • Add searchbar to docs generated with spago docs, and a search command to get a search REPL (#340, #333, #89)
  • Add automatic migration of Bower projects when doing spago init (#159, #272, #342)
  • Add bump-version command, for generating bower.json files and making version tags in Git (#203, #289, #324)
  • Use psa for compiling if installed; you can avoid this with the new --no-psa flag (#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 --format flag to spago docs (#294, #299)
  • Add project sources to spago sources output (#276, #287, #308)
  • Watch all sources, including dependencies, when building with filewatch (#172, #309)
  • Add --deps-only flag to build dependencies alone (#330, #331)

Bugfixes:

  • Fix spago install failing when version branch names differ only by case on case-insensitive filesystems (#285)
  • Change --node-args shortcut to -a to avoid clash (#292, #293)
  • Stop reformatting config files if not necessary (#300, #302, #339)
  • Make spago run write 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.dhall when doing spago init twice (#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.dhall fixtures manipulation (#307)
  • Tests: add tests for the list-packages command (#304)
  • Tests: add tests for local dependencies (#310)
  • Config: remove mkPackage function 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

18 Jun 18:22
@f-f f-f
92e9c64

Choose a tag to compare

ZuriHac edition 🎉

New features:

  • Add sources key to config to customize the sources used in the build (#273, #173)
  • Add --json flag to the list-packages command to optionally output JSON (#263)
  • Add --clear-screen flag to to clear the screen when watching (#271, #209)
  • Add --no-install flag for build to prevent automatic installation (#274, #269)
  • Add --node-args flag to pass arguments to Node in run/test commands (#267, #275)

Bugfixes:

  • Fix spago install failing 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 install not adding new dependencies when list is empty (#282, #281)

Other Improvements:

  • Docs: add visual overview of what Spago does "under the hood" in typical project workflow (#211)
  • Docs: fix outdated references in README (#266)
  • Tests: untangle testcases environments (#265, #214)
  • Tests: improve packages test by checking for missing and circular dependencies (#270)

0.8.4.0

12 Jun 08:11
@f-f f-f
2bb25c7

Choose a tag to compare

Bugfixes:

  • Produce an error message when asserting directory permissions (#250)
  • Read purs version from inside the set instead of its GitHub tag (#253, #225)
  • Skip copy to global cache when encountering a permissions problem (#220, #260)

Other improvements:

  • Errors: add many debug logs (#251)
  • CI: rewrite Curator in Haskell (#239)
  • CI: build only master and tags on Travis (#247)
  • Dev: add Nix section to stack.yaml (#248)
  • Dev: tidy up the various executables, sources and dependencies (#251)

0.8.3.0

03 Jun 15:56
@f-f f-f
c7bea33

Choose a tag to compare

Bugfixes:

  • Fix spago psc-package-clean on Windows (#224)
  • Fix spago repl starting 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:

  • Tests: test suite now works fully on Windows (#224)
  • CI: parametrize LTS version (#236)
  • CI: get PureScript binary for Travis from GitHub releases (#234)
  • Error messages: fix whitespace (#221)

0.8.1.0

29 May 13:10
@f-f f-f
3641479

Choose a tag to compare

New features:

  • Add global cache to avoid redownloading dependencies (#188, #133)
  • Add ability to pin a version to a commit hash in addition to branches and tags (#188, #200)

Bugfixes:

  • Another attempt to fix NPM and Yarn installations on Windows (#215, #187)

Other improvements:

  • The test suite is now written in Haskell rather than Python (#212, #177)
  • Add spago-curator tool to generate metadata from the package set (#202)
  • Improve docs (#208, #207, #218, #217)

0.8.0.0

16 May 06:26
@f-f f-f

Choose a tag to compare

Breaking changes:

  • Rename "bundle" commands for consistency (#175, #147):
    • bundlebundle-app
    • make-modulebundle-module

Bugfixes:

  • Don't fail init if a packages.dhall is already there, as it's the case of psc-package projects with local spacchetti (#180)

Other improvements:

0.7.7.0

28 Apr 11:27
@f-f f-f

Choose a tag to compare

New feature:

  • Install "psci-support" on project init (#174)

0.7.5.0

30 Mar 15:24
@f-f f-f
2b71b91

Choose a tag to compare

Bugfixes:

0.7.4.0

27 Mar 07:38
@f-f f-f
a7d6445

Choose a tag to compare

Bugfixes:

  • correctly parse package-set release tag to avoid generating unnecessary warnings (#160, #161)
  • skip 0.7.3.0 as I forgot to update the version field (#164)