Skip to content

Commit 30c58a8

Browse files
committed
undo formatting in changelog
1 parent beba150 commit 30c58a8

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

CHANGELOG.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
- Compact output for anonymous functions. https://github.com/rescript-lang/rescript-compiler/pull/6945
2727

2828
#### :bug: Bug Fix
29-
3029
- Fix issue where long layout break added a trailing comma in partial application `...`. https://github.com/rescript-lang/rescript-compiler/pull/6949
3130
- Fix incorrect format of function under unary operator. https://github.com/rescript-lang/rescript-compiler/pull/6953
3231
- Fix incorrect incorrect printing of module binding with signature. https://github.com/rescript-lang/rescript-compiler/pull/6963
@@ -264,7 +263,7 @@
264263

265264
#### :rocket: New Feature
266265

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

@@ -444,7 +443,7 @@ No changes compared to rc.9.
444443

445444
#### :boom: Breaking Change
446445

447-
- 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
446+
- 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
448447

449448
#### :bug: Bug Fix
450449

@@ -499,7 +498,7 @@ No changes compared to rc.9.
499498

500499
#### :rocket: New Feature
501500

502-
- 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
501+
- 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
503502
- Extended untagged variants with function types. https://github.com/rescript-lang/rescript-compiler/pull/6279
504503

505504
#### :boom: Breaking Change
@@ -577,14 +576,14 @@ No changes compared to rc.9.
577576

578577
#### :bug: Bug Fix
579578

580-
- Fix broken formatting in uncurried mode for functions with \_ placeholder args. https://github.com/rescript-lang/rescript-compiler/pull/6148
579+
- Fix broken formatting in uncurried mode for functions with _ placeholder args. https://github.com/rescript-lang/rescript-compiler/pull/6148
581580
- 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
582581
- 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
583582
- Disable warning on `@inline` attibute on uncurried functions. https://github.com/rescript-lang/rescript-compiler/pull/6152
584583
- Support doc comments on arguments of function types. https://github.com/rescript-lang/rescript-compiler/pull/6161
585584
- Fix issue with record type coercion and unboxed. https://github.com/rescript-lang/rescript-compiler/issues/6158
586585
- 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.
587-
https://github.com/rescript-lang/rescript-compiler/issues/6158
586+
https://github.com/rescript-lang/rescript-compiler/issues/6158
588587
- Emit directive above header comment. https://github.com/rescript-lang/rescript-compiler/pull/6172
589588
- Add error message to private extension. https://github.com/rescript-lang/rescript-compiler/pull/6175
590589

@@ -613,6 +612,7 @@ No changes compared to rc.9.
613612

614613
- 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
615614

615+
616616
# 11.0.0-alpha.1
617617

618618
#### :rocket: Main New Feature
@@ -623,16 +623,16 @@ No changes compared to rc.9.
623623
#### :rocket: New Feature
624624

625625
- 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.
626-
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.
627-
Make uncurried functions a subtype of curried functions, and allow application for uncurried functions.
628-
The `make` function of components is generated as an uncurried function.
629-
Use best effort to determine the config when formatting a file.
630-
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
626+
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.
627+
Make uncurried functions a subtype of curried functions, and allow application for uncurried functions.
628+
The `make` function of components is generated as an uncurried function.
629+
Use best effort to determine the config when formatting a file.
630+
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
631631
- 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
632632
- Introduce untagged variants https://github.com/rescript-lang/rescript-compiler/pull/6103
633633
- Add support for unary uncurried pipe in uncurried mode https://github.com/rescript-lang/rescript-compiler/pull/5804
634634
- Add support for partial application of uncurried functions: with uncurried application one can provide a
635-
subset of the arguments, and return a curried type with the remaining ones https://github.com/rescript-lang/rescript-compiler/pull/5805
635+
subset of the arguments, and return a curried type with the remaining ones https://github.com/rescript-lang/rescript-compiler/pull/5805
636636
- 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
637637
- 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
638638
- Add support for default arguments in uncurried functions https://github.com/rescript-lang/rescript-compiler/pull/5835
@@ -654,12 +654,12 @@ No changes compared to rc.9.
654654
- `rescript convert <reason files>`
655655
- 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.
656656
- Do not attempt to build ReScript from source on npm postinstall for platforms without prebuilt binaries anymore.
657-
- 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.
657+
- 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.
658658
- 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 }`.
659-
Also, `(. int) => string => bool` is not equivalen to `(. int, string) => bool` anymore.
660-
These are only breaking changes for unformatted code.
659+
Also, `(. int) => string => bool` is not equivalen to `(. int, string) => bool` anymore.
660+
These are only breaking changes for unformatted code.
661661
- 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.
662-
- Remove unsafe `` j`$(a)$(b)` `` interpolation deprecated in compiler version 10 https://github.com/rescript-lang/rescript-compiler/pull/6068
662+
- Remove unsafe ``` j`$(a)$(b)` ``` interpolation deprecated in compiler version 10 https://github.com/rescript-lang/rescript-compiler/pull/6068
663663
- Remove deprecated module `Printexc`
664664
- `@deriving(jsConverter)` not supported anymore for variant types https://github.com/rescript-lang/rescript-compiler/pull/6088
665665
- New representation for variants, where the tag is a string instead of a number. https://github.com/rescript-lang/rescript-compiler/pull/6088
@@ -708,21 +708,19 @@ No changes compared to rc.9.
708708
# 10.1.4
709709

710710
#### :bug: Bug Fix
711-
712711
- Fix implementation of directives https://github.com/rescript-lang/rescript-compiler/pull/6052
713712
- Fix issue if the `lib` dir is included in the sources of bsconfig.json https://github.com/rescript-lang/rescript-compiler/pull/6055
714713
- Fix issue with string escape in pattern match https://github.com/rescript-lang/rescript-compiler/pull/6062
715714
- Fix issue with literal comparison of string constants https://github.com/rescript-lang/rescript-compiler/pull/6065
716715

717716
#### :rocket: New Feature
718-
719717
- Add support for toplevel `await` https://github.com/rescript-lang/rescript-compiler/pull/6054
720718

721719
#### :nail_care: Polish
722720

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

727725
# 10.1.3
728726

@@ -2610,4 +2608,4 @@ Features:
26102608
26112609
# 1.0.0
26122610
2613-
Initial release
2611+
Initial release

0 commit comments

Comments
 (0)