git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Create RELEASE-0.6.md
66d9cbcPhil Freeman
RELEASE-0.6.mdnew file+47
@@ -0,0 +1,47 @@
1+## 0.6 Changes
2+
3+### Breaking Changes
4+
5+- The `Alternative` type class hierarchy was refactored. See [here](https://github.com/purescript/purescript-control/issues/6).
6+- `--runtime-type-checks` has been removed. The recommended approach is to use `purescript-foreign`. (@garyb)
7+
8+### New Features
9+
10+- Newtypes are now supported using the `newtype` keyword. The runtime representation of a newtype is identical to that of the contained type. (@garyb)
11+- Multiline string literals are now supported via triple-quote syntax, making FFI declarations much neater. (@phadej)
12+- Kind signatures on types and type constructor arguments are now supported. (@paf31)
13+
14+### Enhancements
15+
16+- The `runFnN` and `mkFnN` families of functions are now inlined by the optimizer, making interop with JavaScript functions of multiple arguments much simpler. (@paf31)
17+- Tail call optimization has been improved for functions using case expressions. (@paf31)
18+- Saturated calls to data constructors are now optimized. (@garyb)
19+- A new `Renamer` module now renames identifiers which shadow other names in scope, which greatly simplies code generation. (@garyb)
20+- `psci` now provides the following new options:
21+ - `:b` to browse a module (@ardumont)
22+ - `:s` to show current imports or modules (@ardumont)
23+ - `:k` to find the kind of a type constructor (@5outh)
24+- The approach to checking whether a name is initialized in the generated JavaScript was simplified (@paf31)
25+- The dependency on the `PureScript_paths` module has been removed, which makes distribution via binaries simpler. (@paf31)
26+- Nested `if` blocks now get optimized. (@garyb)
27+- Generated code for type class dictionaries was simplified. (@garyb, @dylex)
28+- The code generator now inserts the version of `psc` into the file as a comment. (@co-dh)
29+- `()` is now valid syntax, referring to the empty row. (@paf31)
30+
31+### Bug Fixes
32+
33+- Binding group errors in type class members are now caught at compile time. (@dylex)
34+- Some errors related to type checking rows with duplicate labels were fixed. (@paf31)
35+- Some issues with the calculation of binding groups were fixed. (@paf31)
36+- Error messages for invalid case declarations are now generated. (@natefaubion)
37+- Some issues related to module exports were fixed. (@garyb)
38+- `psci` now checks imports for validity. (@Bogdanp)
39+
40+### Libraries
41+
42+- The `Alternative` type class hierarchy was refactored (@joneshf, @garyb)
43+- The `exceptions` library no longer supports throwing exceptions of any type.
44+
45+### Documentation
46+
47+- The [PureScript book](https://leanpub.com/purescript/read) is now available.