Skip to content

Commit bc9fe37

Browse files
committed
Do not reformat changelog
1 parent 17c9787 commit bc9fe37

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

CHANGELOG.md

+18-19
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412

413413
#### :rocket: New Feature
414414

415-
- Experimental support of tagged template literals, e.g. `` sql`select * from ${table} ``. https://github.com/rescript-lang/rescript-compiler/pull/6250
415+
- Experimental support of tagged template literals, e.g. ```sql`select * from ${table}```. https://github.com/rescript-lang/rescript-compiler/pull/6250
416416
- Experimental support for generic/custom JSX transforms. https://github.com/rescript-lang/rescript-compiler/pull/6565
417417
- `dict` is now a builtin type. https://github.com/rescript-lang/rescript-compiler/pull/6590
418418

@@ -592,7 +592,7 @@ No changes compared to rc.9.
592592

593593
#### :boom: Breaking Change
594594

595-
- Stop mangling object field names. If you had objects with field names containing "\__" or leading "_", they won't be mangled in the compiled JavaScript and represented as it is without changes. https://github.com/rescript-lang/rescript-compiler/pull/6354
595+
- Stop mangling object field names. If you had objects with field names containing "__" or leading "_", they won't be mangled in the compiled JavaScript and represented as it is without changes. https://github.com/rescript-lang/rescript-compiler/pull/6354
596596

597597
#### :bug: Bug Fix
598598

@@ -647,7 +647,7 @@ No changes compared to rc.9.
647647

648648
#### :rocket: New Feature
649649

650-
- Introduced a new `%ffi` extension (_experimental_ - not for production use!) that provides a more robust mechanism for JavaScript function interoperation by considering function arity in type constraints. This enhancement improves safety when dealing with JavaScript functions by enforcing type constraints based on the arity of the function. https://github.com/rescript-lang/rescript-compiler/pull/6251
650+
- Introduced a new `%ffi` extension (*experimental* - not for production use!) that provides a more robust mechanism for JavaScript function interoperation by considering function arity in type constraints. This enhancement improves safety when dealing with JavaScript functions by enforcing type constraints based on the arity of the function. https://github.com/rescript-lang/rescript-compiler/pull/6251
651651
- Extended untagged variants with function types. https://github.com/rescript-lang/rescript-compiler/pull/6279
652652

653653
#### :boom: Breaking Change
@@ -725,14 +725,14 @@ No changes compared to rc.9.
725725

726726
#### :bug: Bug Fix
727727

728-
- Fix broken formatting in uncurried mode for functions with \_ placeholder args. https://github.com/rescript-lang/rescript-compiler/pull/6148
728+
- Fix broken formatting in uncurried mode for functions with _ placeholder args. https://github.com/rescript-lang/rescript-compiler/pull/6148
729729
- Fix issue where spreading record types with optional labels would not have their labels preserved as optional. https://github.com/rescript-lang/rescript-compiler/pull/6154
730730
- Fix error location to be the type with the spreads when spreading record types with duplicate labels. https://github.com/rescript-lang/rescript-compiler/pull/6157
731731
- Disable warning on `@inline` attibute on uncurried functions. https://github.com/rescript-lang/rescript-compiler/pull/6152
732732
- Support doc comments on arguments of function types. https://github.com/rescript-lang/rescript-compiler/pull/6161
733733
- Fix issue with record type coercion and unboxed. https://github.com/rescript-lang/rescript-compiler/issues/6158
734734
- Fixed subtype checking for record types with "@as" attributes: The subtype relationship now takes into account the compatibility of "@as" attributes between corresponding fields, ensuring correctness in runtime representation.
735-
https://github.com/rescript-lang/rescript-compiler/issues/6158
735+
https://github.com/rescript-lang/rescript-compiler/issues/6158
736736
- Emit directive above header comment. https://github.com/rescript-lang/rescript-compiler/pull/6172
737737
- Add error message to private extension. https://github.com/rescript-lang/rescript-compiler/pull/6175
738738

@@ -761,6 +761,7 @@ No changes compared to rc.9.
761761

762762
- Special case generation of uncurried functions with 1 argument of unit type so they don't take a parameter. https://github.com/rescript-lang/rescript-compiler/pull/6131
763763

764+
764765
# 11.0.0-alpha.1
765766

766767
#### :rocket: Main New Feature
@@ -771,16 +772,16 @@ No changes compared to rc.9.
771772
#### :rocket: New Feature
772773

773774
- Add support for uncurried mode: a mode where everything is considered uncurried, whether with or without the `.`. This can be turned on with `@@uncurried` locally in a file. For project-level configuration in `bsconfig.json`, there's a boolean config `"uncurried"`, which propagates to dependencies, to turn on uncurried mode.
774-
Since there's no syntax for partial application in this new mode, introduce `@res.partial foo(x)` to express partial application. This is temporary and will later have some surface syntax.
775-
Make uncurried functions a subtype of curried functions, and allow application for uncurried functions.
776-
The `make` function of components is generated as an uncurried function.
777-
Use best effort to determine the config when formatting a file.
778-
https://github.com/rescript-lang/rescript-compiler/pull/5968 https://github.com/rescript-lang/rescript-compiler/pull/6080 https://github.com/rescript-lang/rescript-compiler/pull/6086 https://github.com/rescript-lang/rescript-compiler/pull/6087
775+
Since there's no syntax for partial application in this new mode, introduce `@res.partial foo(x)` to express partial application. This is temporary and will later have some surface syntax.
776+
Make uncurried functions a subtype of curried functions, and allow application for uncurried functions.
777+
The `make` function of components is generated as an uncurried function.
778+
Use best effort to determine the config when formatting a file.
779+
https://github.com/rescript-lang/rescript-compiler/pull/5968 https://github.com/rescript-lang/rescript-compiler/pull/6080 https://github.com/rescript-lang/rescript-compiler/pull/6086 https://github.com/rescript-lang/rescript-compiler/pull/6087
779780
- Customization of runtime representation of variants. This is work in progress. E.g. some restrictions on the input. See comments of the form "TODO: put restriction on the variant definitions allowed, to make sure this never happens". https://github.com/rescript-lang/rescript-compiler/pull/6095
780781
- Introduce untagged variants https://github.com/rescript-lang/rescript-compiler/pull/6103
781782
- Add support for unary uncurried pipe in uncurried mode https://github.com/rescript-lang/rescript-compiler/pull/5804
782783
- Add support for partial application of uncurried functions: with uncurried application one can provide a
783-
subset of the arguments, and return a curried type with the remaining ones https://github.com/rescript-lang/rescript-compiler/pull/5805
784+
subset of the arguments, and return a curried type with the remaining ones https://github.com/rescript-lang/rescript-compiler/pull/5805
784785
- Add support for uncurried externals https://github.com/rescript-lang/rescript-compiler/pull/5815 https://github.com/rescript-lang/rescript-compiler/pull/5819 https://github.com/rescript-lang/rescript-compiler/pull/5830 https://github.com/rescript-lang/rescript-compiler/pull/5894
785786
- Parser/Printer: unify uncurried functions of arity 0, and of arity 1 taking unit. There's now only arity 1 in the source language. https://github.com/rescript-lang/rescript-compiler/pull/5825
786787
- Add support for default arguments in uncurried functions https://github.com/rescript-lang/rescript-compiler/pull/5835
@@ -802,12 +803,12 @@ No changes compared to rc.9.
802803
- `rescript convert <reason files>`
803804
- Remove obsolete built-in project templates and the "rescript init" functionality. This is replaced by [create-rescript-app](https://github.com/rescript-lang/create-rescript-app) which is maintained separately.
804805
- Do not attempt to build ReScript from source on npm postinstall for platforms without prebuilt binaries anymore.
805-
- Made pinned dependencies transitive: if _a_ is a pinned dependency of _b_ and _b_ is a pinned dependency of _c_, then _a_ is implicitly a pinned dependency of _c_. This change is only breaking if your build process assumes non-transitivity.
806+
- Made pinned dependencies transitive: if *a* is a pinned dependency of *b* and *b* is a pinned dependency of *c*, then *a* is implicitly a pinned dependency of *c*. This change is only breaking if your build process assumes non-transitivity.
806807
- Curried after uncurried is not fused anymore: `(. x) => y => 3` is not equivalent to `(. x, y) => 3` anymore. It's instead equivalent to `(. x) => { y => 3 }`.
807-
Also, `(. int) => string => bool` is not equivalen to `(. int, string) => bool` anymore.
808-
These are only breaking changes for unformatted code.
808+
Also, `(. int) => string => bool` is not equivalen to `(. int, string) => bool` anymore.
809+
These are only breaking changes for unformatted code.
809810
- Exponentiation operator `**` is now right-associative. `2. ** 3. ** 2.` now compile to `Math.pow(2, Math.pow(3, 2))` and not anymore `Math.pow(Math.pow(2, 3), 2)`. Parentheses can be used to change precedence.
810-
- Remove unsafe `` j`$(a)$(b)` `` interpolation deprecated in compiler version 10 https://github.com/rescript-lang/rescript-compiler/pull/6068
811+
- Remove unsafe ``` j`$(a)$(b)` ``` interpolation deprecated in compiler version 10 https://github.com/rescript-lang/rescript-compiler/pull/6068
811812
- Remove deprecated module `Printexc`
812813
- `@deriving(jsConverter)` not supported anymore for variant types https://github.com/rescript-lang/rescript-compiler/pull/6088
813814
- New representation for variants, where the tag is a string instead of a number. https://github.com/rescript-lang/rescript-compiler/pull/6088
@@ -856,21 +857,19 @@ No changes compared to rc.9.
856857
# 10.1.4
857858

858859
#### :bug: Bug Fix
859-
860860
- Fix implementation of directives https://github.com/rescript-lang/rescript-compiler/pull/6052
861861
- Fix issue if the `lib` dir is included in the sources of bsconfig.json https://github.com/rescript-lang/rescript-compiler/pull/6055
862862
- Fix issue with string escape in pattern match https://github.com/rescript-lang/rescript-compiler/pull/6062
863863
- Fix issue with literal comparison of string constants https://github.com/rescript-lang/rescript-compiler/pull/6065
864864

865865
#### :rocket: New Feature
866-
867866
- Add support for toplevel `await` https://github.com/rescript-lang/rescript-compiler/pull/6054
868867

869868
#### :nail_care: Polish
870869

871870
- Better error message for extension point https://github.com/rescript-lang/rescript-compiler/pull/6057
872871
- Improve format check help https://github.com/rescript-lang/rescript-compiler/pull/6056
873-
- Deprecate unsafe `` j`$(a)$(b)` `` interpolation: use string templates `` `${a}${b}` `` instead https://github.com/rescript-lang/rescript-compiler/pull/6067
872+
- Deprecate unsafe ``` j`$(a)$(b)` ``` interpolation: use string templates ``` `${a}${b}` ``` instead https://github.com/rescript-lang/rescript-compiler/pull/6067
874873

875874
# 10.1.3
876875

@@ -1179,6 +1178,6 @@ No changes compared to rc.9.
11791178

11801179
- Removed Reason syntax support for the playground experience. See https://github.com/rescript-lang/rescript-compiler/pull/5375
11811180

1182-
---
1181+
----
11831182

11841183
You can find more old changelog from [docs/changelog](docs/changelog)

0 commit comments

Comments
 (0)