|
| 1 | +## Master |
| 2 | + |
| 3 | +> **Tags:** |
| 4 | +> |
| 5 | +> - :boom: [Breaking Change] |
| 6 | +> - :eyeglasses: [Spec Compliance] |
| 7 | +> - :rocket: [New Feature] |
| 8 | +> - :bug: [Bug Fix] |
| 9 | +> - :memo: [Documentation] |
| 10 | +> - :house: [Internal] |
| 11 | +> - :nail_care: [Polish] |
| 12 | +
|
| 13 | +#### :rocket: New Feature |
| 14 | + |
| 15 | +- Add surface syntax for `async`/`await` https://github.com/rescript-lang/syntax/pull/600 |
| 16 | + |
| 17 | +- Initial support for JSX V4, still work in progress. |
| 18 | + |
| 19 | + - :boom: when V4 is activated, at most one component is allowed for each module. |
| 20 | + |
| 21 | +- Add support for empty record literal `{}` for records with only optional fields, and type definition of empty record (e.g. `type empty = {}`) https://github.com/rescript-lang/syntax/pull/632 |
| 22 | + |
| 23 | +#### :bug: Bug Fix |
| 24 | + |
| 25 | +- Fix issue in formatting JSX spread props https://github.com/rescript-lang/syntax/pull/644 |
| 26 | +- Fix pretty printer where it would print doc comments on the same line as other attributes https://github.com/rescript-lang/syntax/pull/642 |
| 27 | +- Fix location issue in error messages with JSX V4 where the body of the component is an application https://github.com/rescript-lang/syntax/pull/633 |
| 28 | +- Fix issue where the printer would omit attributes for `->` and `|>` https://github.com/rescript-lang/syntax/pull/629 |
| 29 | +- Fix printing of optional fields in records https://github.com/rescript-lang/rescript-compiler/issues/5654 |
| 30 | + |
| 31 | +## ReScript 10.0 |
| 32 | + |
| 33 | +- Fix printing for inline nullary functor types [#477](https://github.com/rescript-lang/syntax/pull/477) |
| 34 | +- Fix stripping of quotes for empty poly variants [#474](https://github.com/rescript-lang/syntax/pull/474) |
| 35 | +- Implement syntax for arity zero vs arity one in uncurried application in [#139](https://github.com/rescript-lang/syntax/pull/139) |
| 36 | +- Fix parsing of first class module exprs as part of binary/ternary expr in [#256](https://github.com/rescript-lang/syntax/pull/256) |
| 37 | +- Fix formatter hanging on deeply nested function calls [#261](https://github.com/rescript-lang/syntax/issues/261) |
| 38 | +- Remove parsing of "import" and "export" which was never officially supported. |
| 39 | + |
| 40 | +## ReScript 9.0.0 |
| 41 | + |
| 42 | +- Fix parsing of poly-var typexpr consisting of one tag-spec-first in [#254](https://github.com/rescript-lang/syntax/pull/254) |
| 43 | +- Implement new syntax for guards on pattern match cases in [#248](https://github.com/rescript-lang/syntax/pull/248) |
| 44 | +- Implement intelligent breaking for poly-var type expressions in [#246](https://github.com/rescript-lang/syntax/pull/246) |
| 45 | +- Improve indentation of fast pipe chain in let binding in [#244](https://github.com/rescript-lang/syntax/pull/244) |
| 46 | +- Improve printing of non-callback arguments in call expressions with callback in [#241](https://github.com/rescript-lang/syntax/pull/241/files) |
| 47 | +- Fix printing of constrained expressions in rhs of js objects [#240](https://github.com/rescript-lang/syntax/pull/240) |
| 48 | +- Improve printing of trailing comments under lhs of "pipe" expression in [#329](https://github.com/rescript-lang/syntax/pull/239/files) |
| 49 | +- Improve printing of jsx children and props with leading line comment in [#236](https://github.com/rescript-lang/syntax/pull/236) |
| 50 | +- Improve conversion of quoted strings from Reason in [#238](https://github.com/rescript-lang/syntax/pull/238) |
| 51 | +- Print attributes/extension without bs prefix where possible in [#230](https://github.com/rescript-lang/syntax/pull/230) |
| 52 | +- Cleanup gentype attribute printing [fe05e1051aa94b16f6993ddc5ba9651f89e86907](https://github.com/rescript-lang/syntax/commit/fe05e1051aa94b16f6993ddc5ba9651f89e86907) |
| 53 | +- Implement light weight syntax for poly-variants [f84c5760b3f743f65e934195c87fc06bf88bff75](https://github.com/rescript-lang/syntax/commit/f84c5760b3f743f65e934195c87fc06bf88bff75) |
| 54 | +- Fix bug in fast pipe conversion from Reason. [3d5f2daba5418b821c577ba03e2de1afb0dd66de](https://github.com/rescript-lang/syntax/commit/3d5f2daba5418b821c577ba03e2de1afb0dd66de) |
| 55 | +- Improve parsed AST when tilde is missing in arrow expr parameters. [e52a0c89ac39b578a2062ef15fae2be625962e1f](https://github.com/rescript-lang/syntax/commit/e52a0c89ac39b578a2062ef15fae2be625962e1f) |
| 56 | +- Improve parser diagnostics for missing tilde in labeled parameters. [a0d7689d5d2bfc31dc251e966ac33a3001200171](https://github.com/rescript-lang/syntax/commit/a0d7689d5d2bfc31dc251e966ac33a3001200171) |
| 57 | +- Improve printing of uncurried application with a huggable expression in [c8767215186982e171fe9f9101d518150a65f0d7](https://github.com/rescript-lang/syntax/commit/c8767215186982e171fe9f9101d518150a65f0d7) |
| 58 | +- Improve printing of uncurried arrow typexpr outcome printer in [4d953b668cf47358deccb8b730566f24de25b9ee](https://github.com/rescript-lang/syntax/commit/4d953b668cf47358deccb8b730566f24de25b9ee) |
| 59 | +- Remove support for nativeint syntax in [72d9b7034fc28f317672c94994b322bee520acca](https://github.com/rescript-lang/syntax/commit/72d9b7034fc28f317672c94994b322bee520acca) |
| 60 | +- Improve printing of poly variant typexprs with attributes in [bf6561b](https://github.com/rescript-lang/syntax/commit/bf6561bb5d84557b8b6cbbcd40078c39526af4af) |
| 61 | + |
| 62 | +## ReScript 8.4.2 (December 11, 2020) |
| 63 | + |
| 64 | +Released in https://github.com/rescript-lang/syntax/releases/tag/v8.4.2 as part of https://github.com/rescript-lang/rescript-compiler/releases/tag/8.4.2 |
0 commit comments