purescript v0.7.6 Release Notes

Release Date: 2015-11-18 // over 8 years ago
  • ๐Ÿš€ Thanks once again to everyone involved in this release!

    ๐Ÿš€ This release includes some updates to generic deriving which require updating to the latest version of purescript-generics.

    ๐Ÿ”‹ Features

    • Field puns, fix #921 (@balajirrao)

    It is now possble to construct objects by using values in scope with the same name as the field labels. For example, the expression { foo, bar } is equivalent to { foo: foo, bar: bar }. Patterns desugar in the same way.

    โœจ Enhancements

    • ๐Ÿ“œ Modules are now parsed in parallel (@paf31)
    • ๐Ÿ›  Use Types.Proxy.Proxy instead of Data.Generic.Proxy. This fixes #1573 (@tfausak)
    • โšก๏ธ Update generic deriving for latest purescript-generics changes (@paf31)
    • ๐Ÿ†• New import warnings - unused data constructors, unused imports (@nwolverson)
    • psc-publish: only warn on dirty working tree on dry runs (@hdgarrood)
    • โž• Add more information to psci :browse command (@soupi)
    • โž• Add support for --require-path option to psc-bundle (@natefaubion)
    • ๐Ÿ‘Œ Improved error reporting in psc-publish (@hdgarrood)
    • ๐Ÿ“š Reduce noise in instance declarations in documentation (@hdgarrood)

    ๐Ÿ› Bug Fixes

    • ๐Ÿ†• New approach to unification, fixing some loops in the type checker (@paf31)
    • ๐Ÿ›  Fix #1632, instantiate type variables in anyProxy calls in generic instances (@paf31)
    • ๐Ÿ›  Fix warnings for unqualified implicit imports (@nwolverson)
    • ๐Ÿ›  Fix #1596, don't show type checker warnings in the event of an error (@paf31)
    • ๐Ÿ›  Fix #1602, improvements around code generation of string literals (@michaelficarra)
    • ๐Ÿ›  Fix #1090, allow accessors in operator sections (@paf31)
    • ๐Ÿ›  Fix #1590, limit depth of pretty-printed expressions (@paf31)
    • ๐Ÿ›  Fix #1591, use the 'negate' in scope (@paf31)
    • ๐Ÿ›  Fix #1335, track scoped type variables when skolemizing (@paf31)
    • ๐Ÿ›  Fix #1175, check types inside where clauses inside instances (@paf31)
    • ๐Ÿ”จ Some refactoring (@phadej)
    • ๐Ÿ›  Fixed some error messages (@zudov)

    ๐Ÿš€ Deployment

    • ๐Ÿ‘‰ Use base-compat to reduce the need for CPP (@phadej)
    • Write license-generator in Haskell (@phadej)
    • โž• Add GHC 7.10.3 to CI build matrix (@phadej)