|
1 |
| -`*` means potential breaking changes |
| 1 | +# Changelog |
| 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] |
2 | 12 |
|
3 | 13 | # master
|
4 |
| -Fix issue with compiler log not terminated that causes problems with editor extension not clearing issues when fixed [#5545](https://github.com/rescript-lang/rescript-compiler/issues/5545) |
| 14 | + |
| 15 | +#### :bug: Bug Fix |
| 16 | + |
| 17 | +- Fix issue with compiler log not terminated that causes problems with editor extension not clearing issues when fixed [#5545](https://github.com/rescript-lang/rescript-compiler/issues/5545) |
5 | 18 |
|
6 | 19 | # 10.0.0-beta.2
|
7 | 20 |
|
| 21 | +##### :nail_care: Polish |
| 22 | + |
8 | 23 | - Changed Linux build to depend on GLIBC 2.28 again for compatibility with Debian 10.
|
9 | 24 |
|
10 | 25 | # 10.0.0-beta.1
|
11 | 26 |
|
| 27 | +#### :bug: Bug Fix |
| 28 | + |
12 | 29 | - Fixed crash in `rescript build` on Windows [#5516](https://github.com/rescript-lang/rescript-compiler/pull/5516)
|
13 | 30 | - Fixed `rescript init` command not working [#5526](https://github.com/rescript-lang/rescript-compiler/pull/5526)
|
14 |
| -- `*` `bsconfig.json` does not support // line comments anymore |
15 |
| -- `*` Externals without `@val` annotations do not work anymore, and externals with `= ""` give an error. |
16 |
| -- `*` Regular expressions don't need escaping. E.g. `let blockCommentsRe = %re("/\\/\\*([^*]|[\\r\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+\\//g")` is now `let blockCommentsRe = %re("/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g")`. |
| 31 | + |
| 32 | +#### :boom: Breaking Change |
| 33 | + |
| 34 | +- `bsconfig.json` does not support `// line` comments anymore |
| 35 | +- Externals without `@val` annotations do not work anymore, and externals with `= ""` give an error. |
| 36 | +- Regular expressions don't need escaping. E.g. `let blockCommentsRe = %re("/\\/\\*([^*]|[\\r\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+\\//g")` is now `let blockCommentsRe = %re("/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g")`. |
17 | 37 |
|
18 | 38 | # 10.0.0-alpha.1
|
19 | 39 |
|
20 | 40 | **Compiler**
|
21 | 41 |
|
| 42 | +#### :rocket: New Feature |
| 43 | + |
22 | 44 | - Add support for `@new @variadic` (see https://github.com/rescript-lang/rescript-compiler/pull/5364)
|
23 | 45 | - New records with `@optional` fields [#5423](https://github.com/rescript-lang/rescript-compiler/pull/5423) [#5452](https://github.com/rescript-lang/rescript-compiler/issues/5452)
|
| 46 | + |
| 47 | +#### :bug: Bug Fix |
| 48 | + |
24 | 49 | - Classify bigint correctly [#5351](https://github.com/rescript-lang/rescript-compiler/pull/5351)
|
25 |
| -- `*` `@bs.send.pipe` is now removed. Earlier it was deprecated. |
26 |
| -- `*` Missing labels in function application is now an error (https://forum.rescript-lang.org/t/ann-more-strict-checks-in-missed-labels/2117). |
27 |
| -- `*` Fix Js.String.match\_ return type [#5070](https://github.com/rescript-lang/rescript-compiler/pull/5070) |
| 50 | + |
| 51 | +#### :boom: Breaking Change |
| 52 | + |
| 53 | +- `@bs.send.pipe` is now removed. Earlier it was deprecated. |
| 54 | +- Missing labels in function application is now an error (https://forum.rescript-lang.org/t/ann-more-strict-checks-in-missed-labels/2117). |
| 55 | +- Fix Js.String.match\_ return type [#5070](https://github.com/rescript-lang/rescript-compiler/pull/5070) |
| 56 | + |
| 57 | +#### :house: [Internal] |
| 58 | + |
28 | 59 | - Proper M1 support (CI now supports M1 native builds)
|
29 | 60 |
|
30 | 61 | **Syntax**
|
31 | 62 |
|
| 63 | +#### :rocket: New Feature |
| 64 | + |
32 | 65 | - Doc comments `/** ... */` are now supported. Inernally, they are attributes, so are only valid at positions where `@foo` is allowed, or a syntax error is given. Similarly for module-level `/*** comments */` that can go where `@@attributes` go.
|
| 66 | + |
| 67 | +#### :bug: Bug Fix |
| 68 | + |
33 | 69 | - Fix printing for inline nullary functor types [#477](https://github.com/rescript-lang/syntax/pull/477)
|
34 | 70 | - Fix stripping of quotes for empty poly variants [#474](https://github.com/rescript-lang/syntax/pull/474)
|
35 | 71 | - Implement syntax for arity zero vs arity one in uncurried application in [#139](https://github.com/rescript-lang/syntax/pull/139)
|
36 | 72 | - Fix parsing of first class module exprs as part of binary/ternary expr in [#256](https://github.com/rescript-lang/syntax/pull/256)
|
37 | 73 | - Fix formatter hanging on deeply nested function calls [#261](https://github.com/rescript-lang/syntax/issues/261)
|
| 74 | + |
| 75 | +#### :boom: Breaking Change |
| 76 | + |
38 | 77 | - Remove parsing of "import" and "export" which was never officially supported.
|
39 | 78 |
|
40 | 79 | **Libraries**
|
41 | 80 |
|
42 |
| -- `*` Removed printing modules (Printf, Format etc) and related functions. Details of files added/removed: https://github.com/rescript-lang/rescript-compiler/commit/0fd8bb0e77c4b0e96a9647ac8af614305057003f. |
43 |
| -- `*` There could be issues with `rescript-relay`. See https://github.com/rescript-lang/rescript-compiler/issues/5493. |
| 81 | +#### :boom: Breaking Change |
| 82 | + |
| 83 | +- Removed printing modules (Printf, Format etc) and related functions. Details of files added/removed: https://github.com/rescript-lang/rescript-compiler/commit/0fd8bb0e77c4b0e96a9647ac8af614305057003f. |
| 84 | +- There could be issues with `rescript-relay`. See https://github.com/rescript-lang/rescript-compiler/issues/5493. |
| 85 | + |
| 86 | +#### :nail_care: Polish |
| 87 | + |
44 | 88 | - Several Belt / Js libraries are now converted to ReScript syntax, with corresponding comments in Markdown format suitable for hovering. See [#5361](https://github.com/rescript-lang/rescript-compiler/pull/5361).
|
45 | 89 |
|
46 | 90 | **Playground**
|
47 | 91 |
|
| 92 | +#### :house: Internal |
| 93 | + |
48 | 94 | - Added `jsoo_playground_main.ml` as the rescript-lang.org playground bundle entrypoint
|
| 95 | + |
| 96 | +#### :boom: Breaking Change |
| 97 | + |
49 | 98 | - `*` Removed Reason syntax support for the playground experience. See https://github.com/rescript-lang/rescript-compiler/pull/5375
|
50 | 99 |
|
51 | 100 | # 9.1.4
|
|
0 commit comments