From ae703d9bd2ef69414ae2824c35a127d65daee72d Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 24 Aug 2021 17:04:24 -0700 Subject: [PATCH 1/4] Update version to v0.14.4 --- lib/purescript-cst/README.md | 1 + npm-package/package.json | 4 ++-- purescript.cabal | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/purescript-cst/README.md b/lib/purescript-cst/README.md index 1775170d86..9c742ae1df 100644 --- a/lib/purescript-cst/README.md +++ b/lib/purescript-cst/README.md @@ -10,6 +10,7 @@ We provide a table to make it a bit easier to map between versions of `purescrip | --- | --- | | 0.14.2 | 0.2.0.0 | | 0.14.3 | 0.3.0.0 | +| 0.14.4 | 0.3.0.0 | Before v0.14.2, there was a third package, `purescript-ast`. In v0.14.2, `purescript-ast` was merged into `purescript-cst`. diff --git a/npm-package/package.json b/npm-package/package.json index ad519c778f..1a84218b77 100644 --- a/npm-package/package.json +++ b/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "purescript", - "version": "0.14.3", + "version": "0.14.4", "license": "ISC", "description": "PureScript wrapper that makes it available as a local dependency", "author": { @@ -43,7 +43,7 @@ ], "scripts": { "prepublishOnly": "node -e \"require('fs').copyFileSync('purs.bin.placeholder', 'purs.bin');\"", - "postinstall": "install-purescript --purs-ver=0.14.3", + "postinstall": "install-purescript --purs-ver=0.14.4", "test": "echo 'Error: no test specified' && exit 1" } } diff --git a/purescript.cabal b/purescript.cabal index e3cb467064..99c45c9b71 100644 --- a/purescript.cabal +++ b/purescript.cabal @@ -2,7 +2,7 @@ cabal-version: 2.4 name: purescript -- note: When updating the prerelease identifier, update it in app/Version.hs too! -version: 0.14.3 +version: 0.14.4 synopsis: PureScript Programming Language Compiler description: A small strongly, statically typed programming language with expressive types, inspired by Haskell and compiling to JavaScript. category: Language From 0ae04c7da3b89f7dd358c299591de850bac58c36 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 24 Aug 2021 17:04:46 -0700 Subject: [PATCH 2/4] Regenerate changelog --- CHANGELOG.d/fix_3701.md | 4 -- CHANGELOG.d/fix_4101.md | 3 -- CHANGELOG.d/fix_4158.md | 1 - CHANGELOG.d/fix_4171.md | 1 - .../fix_bundle-function-declarations.md | 1 - .../fix_error-in-foreign-import-data-hint.md | 1 - ...eresting kind sigs when parens involved.md | 1 - CHANGELOG.d/fix_solve_union_backwards.md | 2 - ...ternal_add-golden-tests-for-self-cycles.md | 1 - CHANGELOG.d/internal_changelog-dir.md | 3 -- ...al_explain approach for broken releases.md | 1 - ..._miscellaneous updates to release guide.md | 1 - .../internal_typeclasses-are-newtypes.md | 1 - CHANGELOG.d/internal_weeder.md | 1 - CHANGELOG.d/misc-dev-guide-3900.md | 1 - CHANGELOG.md | 46 +++++++++++++++++++ 16 files changed, 46 insertions(+), 23 deletions(-) delete mode 100644 CHANGELOG.d/fix_3701.md delete mode 100644 CHANGELOG.d/fix_4101.md delete mode 100644 CHANGELOG.d/fix_4158.md delete mode 100644 CHANGELOG.d/fix_4171.md delete mode 100644 CHANGELOG.d/fix_bundle-function-declarations.md delete mode 100644 CHANGELOG.d/fix_error-in-foreign-import-data-hint.md delete mode 100644 CHANGELOG.d/fix_fix uninteresting kind sigs when parens involved.md delete mode 100644 CHANGELOG.d/fix_solve_union_backwards.md delete mode 100644 CHANGELOG.d/internal_add-golden-tests-for-self-cycles.md delete mode 100644 CHANGELOG.d/internal_changelog-dir.md delete mode 100644 CHANGELOG.d/internal_explain approach for broken releases.md delete mode 100644 CHANGELOG.d/internal_miscellaneous updates to release guide.md delete mode 100644 CHANGELOG.d/internal_typeclasses-are-newtypes.md delete mode 100644 CHANGELOG.d/internal_weeder.md delete mode 100644 CHANGELOG.d/misc-dev-guide-3900.md diff --git a/CHANGELOG.d/fix_3701.md b/CHANGELOG.d/fix_3701.md deleted file mode 100644 index a8640817a5..0000000000 --- a/CHANGELOG.d/fix_3701.md +++ /dev/null @@ -1,4 +0,0 @@ -* Improve row type error messages - * Remove a redundant hint that repeats the types in the error - * Correctly diff rows containing duplicate items - * Erase kind applications from rows in errors (by default) diff --git a/CHANGELOG.d/fix_4101.md b/CHANGELOG.d/fix_4101.md deleted file mode 100644 index 65cc23b504..0000000000 --- a/CHANGELOG.d/fix_4101.md +++ /dev/null @@ -1,3 +0,0 @@ -* Fix bad interaction between superclasses and type synonyms - - See #4101. diff --git a/CHANGELOG.d/fix_4158.md b/CHANGELOG.d/fix_4158.md deleted file mode 100644 index 4be9393df0..0000000000 --- a/CHANGELOG.d/fix_4158.md +++ /dev/null @@ -1 +0,0 @@ -* Fix regression in row unification diff --git a/CHANGELOG.d/fix_4171.md b/CHANGELOG.d/fix_4171.md deleted file mode 100644 index eca5c2282e..0000000000 --- a/CHANGELOG.d/fix_4171.md +++ /dev/null @@ -1 +0,0 @@ -* Fix backtick operator rule diff --git a/CHANGELOG.d/fix_bundle-function-declarations.md b/CHANGELOG.d/fix_bundle-function-declarations.md deleted file mode 100644 index ce613debd4..0000000000 --- a/CHANGELOG.d/fix_bundle-function-declarations.md +++ /dev/null @@ -1 +0,0 @@ -* Do not remove bindings referenced in function declarations when bundling diff --git a/CHANGELOG.d/fix_error-in-foreign-import-data-hint.md b/CHANGELOG.d/fix_error-in-foreign-import-data-hint.md deleted file mode 100644 index 48e3549ee3..0000000000 --- a/CHANGELOG.d/fix_error-in-foreign-import-data-hint.md +++ /dev/null @@ -1 +0,0 @@ -* Add a hint for errors in foreign data type declarations diff --git a/CHANGELOG.d/fix_fix uninteresting kind sigs when parens involved.md b/CHANGELOG.d/fix_fix uninteresting kind sigs when parens involved.md deleted file mode 100644 index 93b811288d..0000000000 --- a/CHANGELOG.d/fix_fix uninteresting kind sigs when parens involved.md +++ /dev/null @@ -1 +0,0 @@ -* Account for redundant parens when excluding uninteresting kind sigs from docs diff --git a/CHANGELOG.d/fix_solve_union_backwards.md b/CHANGELOG.d/fix_solve_union_backwards.md deleted file mode 100644 index fd0f092cbc..0000000000 --- a/CHANGELOG.d/fix_solve_union_backwards.md +++ /dev/null @@ -1,2 +0,0 @@ -* Solve `Prim.Row.Union left right all` constraint for `left` when `all` and `right` are already closed rows, - reflecting the existing functional dependency `all right -> left` diff --git a/CHANGELOG.d/internal_add-golden-tests-for-self-cycles.md b/CHANGELOG.d/internal_add-golden-tests-for-self-cycles.md deleted file mode 100644 index 3d36934765..0000000000 --- a/CHANGELOG.d/internal_add-golden-tests-for-self-cycles.md +++ /dev/null @@ -1 +0,0 @@ -* Add golden tests for self cycles in type class declarations, kind declarations and foreign data type declarations diff --git a/CHANGELOG.d/internal_changelog-dir.md b/CHANGELOG.d/internal_changelog-dir.md deleted file mode 100644 index 07d5deea04..0000000000 --- a/CHANGELOG.d/internal_changelog-dir.md +++ /dev/null @@ -1,3 +0,0 @@ -* Move unreleased changelog entries to CHANGELOG.d - - See CHANGELOG.d/README.md for details. diff --git a/CHANGELOG.d/internal_explain approach for broken releases.md b/CHANGELOG.d/internal_explain approach for broken releases.md deleted file mode 100644 index e52c97e6aa..0000000000 --- a/CHANGELOG.d/internal_explain approach for broken releases.md +++ /dev/null @@ -1 +0,0 @@ -* Clarify in RELEASE_GUIDE what to do when broken releases are made diff --git a/CHANGELOG.d/internal_miscellaneous updates to release guide.md b/CHANGELOG.d/internal_miscellaneous updates to release guide.md deleted file mode 100644 index e0dd6b9f88..0000000000 --- a/CHANGELOG.d/internal_miscellaneous updates to release guide.md +++ /dev/null @@ -1 +0,0 @@ -* Miscellaneous updates/clarifications to the release guide diff --git a/CHANGELOG.d/internal_typeclasses-are-newtypes.md b/CHANGELOG.d/internal_typeclasses-are-newtypes.md deleted file mode 100644 index 0ca4652e65..0000000000 --- a/CHANGELOG.d/internal_typeclasses-are-newtypes.md +++ /dev/null @@ -1 +0,0 @@ -* Represent class dictionaries as newtypes diff --git a/CHANGELOG.d/internal_weeder.md b/CHANGELOG.d/internal_weeder.md deleted file mode 100644 index 0cdd3c35ad..0000000000 --- a/CHANGELOG.d/internal_weeder.md +++ /dev/null @@ -1 +0,0 @@ -* Run Weeder in CI and make it happy diff --git a/CHANGELOG.d/misc-dev-guide-3900.md b/CHANGELOG.d/misc-dev-guide-3900.md deleted file mode 100644 index b1b247cc43..0000000000 --- a/CHANGELOG.d/misc-dev-guide-3900.md +++ /dev/null @@ -1 +0,0 @@ -* Add developer guide to readme \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 61d81476db..5432606a27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,52 @@ Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.14.4 + +Bugfixes: + +* Solve `Prim.Row.Union left right all` constraint for `left` when `all` and `right` are already closed rows, (#3720 by @MonoidMusician) + reflecting the existing functional dependency `all right -> left` + +* Account for redundant parens when excluding uninteresting kind sigs from docs (#4137 by @JordanMartinez) + +* Add a hint for errors in foreign data type declarations (#4161 by @kl0tl) + +* Do not remove bindings referenced in function declarations when bundling (#4044 by @kl0tl) + +* Improve row type error messages (#4159 by @rhendric) + * Remove a redundant hint that repeats the types in the error + * Correctly diff rows containing duplicate items + * Erase kind applications from rows in errors (by default) + +* Fix bad interaction between superclasses and type synonyms (#4164 by @rhendric) + + See #4101. + +* Fix regression in row unification (#4168 by @rhendric) + +* Fix backtick operator rule (#4172 by @JordanMartinez) + +Other improvements: + +* Add developer guide to readme (#3900 by @milesfrain) + +Internal: + +* Move unreleased changelog entries to CHANGELOG.d (#4132 by @rhendric) + + See CHANGELOG.d/README.md for details. + +* Clarify in RELEASE_GUIDE what to do when broken releases are made (#4147 by @JordanMartinez) + +* Miscellaneous updates/clarifications to the release guide (#4131 by @JordanMartinez) + +* Run Weeder in CI and make it happy (#4148 by @rhendric) + +* Add golden tests for self cycles in type class declarations, kind declarations and foreign data type declarations (#4162 by @kl0tl) + +* Represent class dictionaries as newtypes (#4125 by @rhendric) + ## v0.14.3 New features: From 10ee14cb3fd76ce5b1d723c9966a117e304a4903 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 24 Aug 2021 17:07:30 -0700 Subject: [PATCH 3/4] Add 'v' in front of version header --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5432606a27..16102a709a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 0.14.4 +## v0.14.4 Bugfixes: From 58f32bfc2fa439b125e97b7962a81027ccefc565 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 24 Aug 2021 17:17:17 -0700 Subject: [PATCH 4/4] Bump purescript-cst to 0.4.0.0 --- lib/purescript-cst/README.md | 2 +- lib/purescript-cst/purescript-cst.cabal | 2 +- purescript.cabal | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/purescript-cst/README.md b/lib/purescript-cst/README.md index 9c742ae1df..099c784403 100644 --- a/lib/purescript-cst/README.md +++ b/lib/purescript-cst/README.md @@ -10,7 +10,7 @@ We provide a table to make it a bit easier to map between versions of `purescrip | --- | --- | | 0.14.2 | 0.2.0.0 | | 0.14.3 | 0.3.0.0 | -| 0.14.4 | 0.3.0.0 | +| 0.14.4 | 0.4.0.0 | Before v0.14.2, there was a third package, `purescript-ast`. In v0.14.2, `purescript-ast` was merged into `purescript-cst`. diff --git a/lib/purescript-cst/purescript-cst.cabal b/lib/purescript-cst/purescript-cst.cabal index e04a54afd5..9377ac5c06 100644 --- a/lib/purescript-cst/purescript-cst.cabal +++ b/lib/purescript-cst/purescript-cst.cabal @@ -1,7 +1,7 @@ cabal-version: 2.4 name: purescript-cst -version: 0.3.0.0 +version: 0.4.0.0 synopsis: PureScript Programming Language Concrete Syntax Tree description: The parser for the PureScript programming language. category: Language diff --git a/purescript.cabal b/purescript.cabal index 99c45c9b71..5317db211d 100644 --- a/purescript.cabal +++ b/purescript.cabal @@ -159,7 +159,7 @@ common defaults pattern-arrows >=0.0.2 && <0.1, process >=1.6.9.0 && <1.7, protolude >=0.3.0 && <0.4, - purescript-cst ==0.3.0.0, + purescript-cst ==0.4.0.0, regex-tdfa >=1.3.1.0 && <1.4, safe >=0.3.19 && <0.4, scientific >=0.3.6.2 && <0.4,