github purescript/purescript v0.15.6

latest releases: v0.15.16-1, v0.15.16-0, v0.15.15...
20 months ago

Bugfixes:

  • Make FromJSON instance for Qualified backwards compatible (#4403 by @ptrfrncsmrph)

    Prior to #4293, Qualified was encoded to JSON such that

    >>> encode $ Qualified Nothing "foo"
    [null,"foo"]
    >>> encode $ Qualified (Just $ ModuleName "A") "bar"
    ["A","bar"]

    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.

  • Fix extraneous qualifiers added to references to floated expressions (#4401 by @rhendric)

Don't miss a new purescript release

NewReleases is sending notifications on new releases.