Skip to content

Commit

Permalink
0.12.1 → 0.13.0 (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-f authored Dec 20, 2019
1 parent 6ab86b3 commit 4268386
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ before_deploy:
if [ `uname` = "Darwin" ]
then
stack build --copy-bins --local-bin-path ./artifacts;
sed -e "s/NPM_VERSION/$(./scripts/get-npm-version)/g" -i "" npm/package.json ;
sed -e "s/NPM_VERSION/$(./scripts/get-version)/g" -i "" npm/package.json ;
sed -e "s/PACKAGE_VERSION/$(./scripts/get-version)/g" -i "" npm/install.js ;
else
# We first build the static version
Expand All @@ -130,7 +130,7 @@ before_deploy:
tar -zcvf "${TRAVIS_OS_NAME}-static.tar.gz" spago
# Then the dynamic one
docker run --mount src="$(pwd)",target=/home/ubuntu/spago,type=bind "nilrecurring/haskell-lavello:${IMAGE_TAG}" /bin/bash -c "cd spago; stack build --copy-bins --local-bin-path ./artifacts"
sed -e "s/NPM_VERSION/$(./scripts/get-npm-version)/g" -i npm/package.json ;
sed -e "s/NPM_VERSION/$(./scripts/get-version)/g" -i npm/package.json ;
sed -e "s/PACKAGE_VERSION/$(./scripts/get-version)/g" -i npm/install.js ;
fi
cp artifacts/spago spago
Expand Down
29 changes: 25 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.13.0] - 2019-12-19

Breaking changes (😱!!!):
- **Disable `output` folder sharing (#526)**

This reverts an (accidentally) breaking changes introduced in `0.11.0`, for which
Spago would take decisions on where the `output` folder should be in order to
share some compilation results. This turned out to break some other things, so
we'll stop trying to be smart about it here.

New features:
- Enable HTTP(S) proxies on the NPM installation (#460, #522)

Other improvements:
- Log backend build command if used
- Log backend build command when building (#521)
- Deps: update `purescript-docs-search` version to `0.0.6` (#525)
- CI: update `purs` version to `0.13.5` (#513)
- CI: fix Haddocks and start testing them in CI (#511, #516)
- Curator: automate updating `purs` version (#514)
- Curator: automate updating the `purescript-docs-search` version (#519)

## [0.12.1] - 2019-11-17

Expand Down Expand Up @@ -40,6 +58,12 @@ Breaking changes (😱!!!):
Since we are approaching a stable release and `spago` feature set is a superset of `psc-package` ones,
from this release we do not support the commands to interop with `psc-package`:
`psc-package-local-setup`, `psc-package-insdhall` and `psc-package-clean` commands.
- **Start sharing the output folder in monorepos, to reduce build duplication (#377, #422)**

This is a breaking change because your build might stop working if you were relying
on the `output` folder being in a certain place, and if you were passing `--output`
as an option to `purs`.
However, you can pass the `--no-share-output` flag to disable this behavior
- **Build static binaries for Linux (#437, 427)**

This should fix the dynamic-library-compatibility problems on some distributions.
Expand All @@ -56,9 +80,6 @@ New features:
- add support for `spago build` and `spago run` with alternate backends (#355, #426, #452, #435)

E.g: add the key `backend = "psgo"` in `spago.dhall` to compile/run with `psgo`
- add support for sharing the `output` folder in monorepos, to reduce build duplication.

Pass `--no-share-output` flag to disable this behavior (#377, #422)
- add new command `spago path` that returns the paths used in the project.

E.g. `spago path output` returns the output path so that it can be shared with tools such as `purs-loader`. (#463)
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: spago
version: 0.12.1.0
version: 0.13.0
github: "spacchetti/spago"
license: BSD3
author: "Justin Woo, Fabrizio Ferrai"
Expand Down
3 changes: 0 additions & 3 deletions scripts/get-npm-version

This file was deleted.

0 comments on commit 4268386

Please sign in to comment.