rescript-lang.org icon indicating copy to clipboard operation
rescript-lang.org copied to clipboard

Create v10.1 docs

Open cristianoc opened this issue 1 year ago • 0 comments

Here are the verbatim release notes as of Sep 27: for each item, need to evaluate whether some doc update is required. Ticked means: either not necessary, or doc updated.

10.1.0-rc.1

:bug: Bug Fix

  • [ ] Fix location issue in error messages with JSX V4 where the multiple props types are defined https://github.com/rescript-lang/syntax/pull/655

10.1.0-alpha.2

:rocket: New Feature

  • [ ] Fix pretty printer where it would print doc comments on the same line as other attributes https://github.com/rescript-lang/syntax/pull/642
  • [ ] Propagte "jsx" configuration to dependencies https://github.com/rescript-lang/rescript-compiler/pull/5661
  • [ ] Add support for empty record literal {} for records where all fields are optional https://github.com/rescript-lang/rescript-compiler/pull/5658
  • [ ] Add support for empty record type (e.g. type empty = {}) https://github.com/rescript-lang/rescript-compiler/pull/5658

:bug: Bug Fix

  • [ ] Fix issue in formatting JSX spread props https://github.com/rescript-lang/syntax/pull/644
  • [ ] 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
  • [ ] Fix printing of type declarations in error message where they would be considered recursive by default
  • [ ] Fix issue where the printer would omit attributes for -> and |> https://github.com/rescript-lang/syntax/pull/629
  • [ ] Fix printing of optional fields in records https://github.com/rescript-lang/rescript-compiler/issues/5654

:nail_care: Polish

  • [ ] Improvements and fixes for JSX V4. See guide https://github.com/rescript-lang/syntax/blob/master/cli/JSXV4.md
  • [ ] Mention all missing fields in error message for records, not just one https://github.com/rescript-lang/rescript-compiler/pull/5657

10.1.0-alpha.1

:boom: Breaking Change

  • [ ] Vendor genType, which does not need to be installed separately anymore. Only TypeScript back-end supported.
  • [ ] Pipe -> does not support a code block on the right-hand side e.g. x->{ open A; get("test") }

:rocket: New Feature

  • [ ] Experimental support for for async/await https://github.com/rescript-lang/rescript-compiler/pull/5537

  • [ ] Make promise a built-in type https://github.com/rescript-lang/rescript-compiler/pull/5650

  • [ ] Initial support for JSX V4 including genType, still work in progress.

    • :boom: when V4 is activated, at most one component is allowed for each module.
  • [ ] Add placeholder types for ES6 collections: Set, Map, WeakSet, and WeakMap https://github.com/rescript-lang/rescript-compiler/pull/5630

:bug: Bug Fix

  • [ ] Fix issue with arrays and creation of recursive values https://github.com/rescript-lang/rescript-compiler/pull/5640
  • [ ] Fix issue where characters such as newlines would be escaped in a template string expression https://github.com/rescript-lang/rescript-compiler/issues/5638
  • [ ] Fix issue where pipe -> processing eats up attributes https://github.com/rescript-lang/rescript-compiler/pull/5581
  • [ ] Fix issue where cancelling rescript build would leave the .bsb.lock file behind and block future builds

:nail_care: Polish

  • [ ] Print patterns in warnings using rescript printer https://github.com/rescript-lang/rescript-compiler/pull/5492

cristianoc avatar Sep 27 '22 09:09 cristianoc