Skip to content

Commit 9166355

Browse files
Release 0.15.6 (purescript#4404)
1 parent 7ba33da commit 9166355

5 files changed

Lines changed: 22 additions & 16 deletions

File tree

CHANGELOG.d/fix_4400.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.d/fix_make-fromjson-backwards-compatible.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
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).
44

5+
## 0.15.6
6+
7+
Bugfixes:
8+
9+
* Make `FromJSON` instance for `Qualified` backwards compatible (#4403 by @ptrfrncsmrph)
10+
11+
Prior to #4293, `Qualified` was encoded to JSON such that
12+
13+
```haskell
14+
>>> encode $ Qualified Nothing "foo"
15+
[null,"foo"]
16+
>>> encode $ Qualified (Just $ ModuleName "A") "bar"
17+
["A","bar"]
18+
```
19+
20+
The type of `Qualified` has changed so that `null` no longer appears in JSON output, but for sake of backwards-compatibility with JSON that was produced prior to those changes (pre-`v0.15.2`), we need to accept `null`, which will be interpreted as `Qualified ByNullSourcePos`.
21+
22+
* Fix extraneous qualifiers added to references to floated expressions (#4401 by @rhendric)
23+
524
## 0.15.5
625

726
New features:

npm-package/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "purescript",
3-
"version": "0.15.5",
3+
"version": "0.15.6",
44
"license": "ISC",
55
"description": "PureScript wrapper that makes it available as a local dependency",
66
"author": {
@@ -43,7 +43,7 @@
4343
],
4444
"scripts": {
4545
"prepublishOnly": "node -e \"require('fs').copyFileSync('purs.bin.placeholder', 'purs.bin');\"",
46-
"postinstall": "install-purescript --purs-ver=0.15.5",
46+
"postinstall": "install-purescript --purs-ver=0.15.6",
4747
"test": "echo 'Error: no test specified' && exit 1"
4848
}
4949
}

purescript.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cabal-version: 2.4
22

33
name: purescript
44
-- Note: don't add prerelease identifiers here! Add them in app/Version.hs and npm-package/package.json instead.
5-
version: 0.15.5
5+
version: 0.15.6
66
synopsis: PureScript Programming Language Compiler
77
description: A small strongly, statically typed programming language with expressive types, inspired by Haskell and compiling to JavaScript.
88
category: Language

0 commit comments

Comments
 (0)