moltar / typescript-runtime-type-benchmarks

📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
https://moltar.github.io/typescript-runtime-type-benchmarks/
637 stars 62 forks source link

fix(deps): update dependency rescript to v11.0.0-rc.6 #1174

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rescript (source) 11.0.0-rc.3 -> 11.0.0-rc.6 age adoption passing confidence

Release Notes

rescript-lang/rescript-compiler (rescript) ### [`v11.0.0-rc.6`](https://togithub.com/rescript-lang/rescript-compiler/blob/HEAD/CHANGELOG.md#1100-rc6) [Compare Source](https://togithub.com/rescript-lang/rescript-compiler/compare/v11.0.0-rc.5...v11.0.0-rc.6) ##### :rocket: New Feature - Freely configurable suffix for generated .js files. [https://github.com/rescript-lang/rescript-compiler/pull/6472](https://togithub.com/rescript-lang/rescript-compiler/pull/6472) ##### :bug: Bug Fix - Fix issue with GenType and `result` introduced in rc.5. [https://github.com/rescript-lang/rescript-compiler/pull/6464](https://togithub.com/rescript-lang/rescript-compiler/pull/6464) - Fix compiler crash when inlining complex constants in pattern matching. [https://github.com/rescript-lang/rescript-compiler/pull/6471](https://togithub.com/rescript-lang/rescript-compiler/pull/6471) - Fix issue with generating async functions inside loops. [https://github.com/rescript-lang/rescript-compiler/pull/6479](https://togithub.com/rescript-lang/rescript-compiler/pull/6479) - Fix issue with Gentype and string annotations with numbers such as `@as("0")`. [https://github.com/rescript-lang/rescript-compiler/pull/6487](https://togithub.com/rescript-lang/rescript-compiler/pull/6487) - Fix error message on curried/uncurried signature mismatch. [https://github.com/rescript-lang/rescript-compiler/pull/6414](https://togithub.com/rescript-lang/rescript-compiler/pull/6414) ##### :nail_care: Polish - Improve some error messages in rescript.conf parsing. [https://github.com/rescript-lang/rescript-compiler/pull/6469](https://togithub.com/rescript-lang/rescript-compiler/pull/6469) ### [`v11.0.0-rc.5`](https://togithub.com/rescript-lang/rescript-compiler/blob/HEAD/CHANGELOG.md#1100-rc5) [Compare Source](https://togithub.com/rescript-lang/rescript-compiler/compare/v11.0.0-rc.4...v11.0.0-rc.5) ##### :rocket: New Feature - Allow coercing unboxed variants with only strings (now including with a single payload of string) to the primitive string. [https://github.com/rescript-lang/rescript-compiler/pull/6441](https://togithub.com/rescript-lang/rescript-compiler/pull/6441) - Allow coercing strings to unboxed variants that have a catch-all unboxed string case. [https://github.com/rescript-lang/rescript-compiler/pull/6443](https://togithub.com/rescript-lang/rescript-compiler/pull/6443) - Allow coercing `int` to `float`. [https://github.com/rescript-lang/rescript-compiler/pull/6448](https://togithub.com/rescript-lang/rescript-compiler/pull/6448) ##### :bug: Bug Fix - Fix issue with dynamic import of module in nested expressions. [https://github.com/rescript-lang/rescript-compiler/pull/6431](https://togithub.com/rescript-lang/rescript-compiler/pull/6431) - Fix issue where GenType was not supporting `@tag` on ordinary variants. [https://github.com/rescript-lang/rescript-compiler/pull/6437](https://togithub.com/rescript-lang/rescript-compiler/pull/6437) - Fix using dynamic import of module in block instead of async function. [https://github.com/rescript-lang/rescript-compiler/pull/6434](https://togithub.com/rescript-lang/rescript-compiler/pull/6434) - Fix issue with using dynamic import of module in uncurried mode. [https://github.com/rescript-lang/rescript-compiler/pull/6434](https://togithub.com/rescript-lang/rescript-compiler/pull/6434) - Fix build error with JSX v4 transformation of React.forwardRef in uncurried mode. [https://github.com/rescript-lang/rescript-compiler/pull/6447](https://togithub.com/rescript-lang/rescript-compiler/pull/6447) - Fix printing of exotic JSX names. [https://github.com/rescript-lang/rescript-compiler/pull/6451](https://togithub.com/rescript-lang/rescript-compiler/pull/6451) - Fix locations when code with `await` fails to compile (all locations would point to the internal function `unsafe_await`). [https://github.com/rescript-lang/rescript-compiler/pull/6452](https://togithub.com/rescript-lang/rescript-compiler/pull/6452) - Fix renaming fields (with [@​as](https://togithub.com/as)) in inline records doesn't work when destructuring. [https://github.com/rescript-lang/rescript-compiler/pull/6456](https://togithub.com/rescript-lang/rescript-compiler/pull/6456) - Fix `rc.4` regressions: - Don't show compilation time when calling `rescript build -help` command. [https://github.com/rescript-lang/rescript-compiler/pull/6439](https://togithub.com/rescript-lang/rescript-compiler/pull/6439) - Running `rescript build -w` with a compilation error doesn't exit with an error code and continues waiting for changes. [https://github.com/rescript-lang/rescript-compiler/pull/6460](https://togithub.com/rescript-lang/rescript-compiler/pull/6460) ##### :house: Internal - Remove dependency stdlib-406 -> belt. [https://github.com/rescript-lang/rescript-compiler/pull/6453](https://togithub.com/rescript-lang/rescript-compiler/pull/6453) - Playground: Add support for implicitly opened modules. [https://github.com/rescript-lang/rescript-compiler/pull/6446](https://togithub.com/rescript-lang/rescript-compiler/pull/6446) ##### :nail_care: Polish - Add [`Deno`](https://deno.land/api?s=Deno) to reserved names, so that modules named `Deno` don't clash with the globally exposed `Deno` object. [https://github.com/rescript-lang/rescript-compiler/pull/6428](https://togithub.com/rescript-lang/rescript-compiler/pull/6428) - Disable ESLint/TSLint on gentype outputs properly. [https://github.com/rescript-lang/rescript-compiler/pull/6442](https://togithub.com/rescript-lang/rescript-compiler/pull/6442) - Improve `rescript` CLI to use `stdout`/`stderr` appropriately for help command's message. [https://github.com/rescript-lang/rescript-compiler/pull/6439](https://togithub.com/rescript-lang/rescript-compiler/pull/6439) - Generate `f()` instead of `f(undefined)` for `f()`. [https://github.com/rescript-lang/rescript-compiler/pull/6459](https://togithub.com/rescript-lang/rescript-compiler/pull/6459) ### [`v11.0.0-rc.4`](https://togithub.com/rescript-lang/rescript-compiler/blob/HEAD/CHANGELOG.md#1100-rc4) [Compare Source](https://togithub.com/rescript-lang/rescript-compiler/compare/v11.0.0-rc.3...v11.0.0-rc.4) ##### :rocket: New Feature - Support renaming fields in inline records with `@as` attribute. [#​6391](https://togithub.com/rescript-lang/rescript-compiler/pull/6391) - Support renaming object fields of `@obj` external ppx with `@as` attribute. [#​6391](https://togithub.com/rescript-lang/rescript-compiler/pull/6412) - Add builtin abstract types for File and Blob APIs. [https://github.com/rescript-lang/rescript-compiler/pull/6383](https://togithub.com/rescript-lang/rescript-compiler/pull/6383) - Untagged variants: Support `promise`, RegExes, Dates, File and Blob. [https://github.com/rescript-lang/rescript-compiler/pull/6383](https://togithub.com/rescript-lang/rescript-compiler/pull/6383) - Untagged variants: Support `bool`. [https://github.com/rescript-lang/rescript-compiler/pull/6368](https://togithub.com/rescript-lang/rescript-compiler/pull/6368) - Support aliased types as payloads to untagged variants. [https://github.com/rescript-lang/rescript-compiler/pull/6394](https://togithub.com/rescript-lang/rescript-compiler/pull/6394) - Support the async component for React Server Component in JSX V4. [https://github.com/rescript-lang/rescript-compiler/pull/6399](https://togithub.com/rescript-lang/rescript-compiler/pull/6399) - Support `rescript.json` configuration file and deprecate `bsconfig.json`. [https://github.com/rescript-lang/rescript-compiler/pull/6382](https://togithub.com/rescript-lang/rescript-compiler/pull/6382) ##### :boom: Breaking Change - Update watcher rules to recompile only on config and `*.res`/`*.resi`/`*.ml`/`.mli` file changes. Solves the issue of unnecessary recompiles on `.css`, `.ts`, and other unrelated file changes. [https://github.com/rescript-lang/rescript-compiler/pull/6420](https://togithub.com/rescript-lang/rescript-compiler/pull/6420) - Add smart printer for pipe chains. [https://github.com/rescript-lang/rescript-compiler/pull/6411](https://togithub.com/rescript-lang/rescript-compiler/pull/6411) (the formatter will reformat existing code in certain cases) - `Js.Json.t` now uses `Boolean(bool)` instead of explicit `@as(true) True | @​as(false) False`. [https://github.com/rescript-lang/rescript-compiler/pull/6421](https://togithub.com/rescript-lang/rescript-compiler/pull/6421) ##### :bug: Bug Fix - Fix issue with GenType and labelled arguments. [https://github.com/rescript-lang/rescript-compiler/pull/6406](https://togithub.com/rescript-lang/rescript-compiler/pull/6406) - Fix dependencies reinitialization on every change in watch mode. Leads to faster rebuilds and cleaner terminal. [https://github.com/rescript-lang/rescript-compiler/pull/6404](https://togithub.com/rescript-lang/rescript-compiler/pull/6404) ##### :nail_care: Polish - A little performance improvement for JSX V4 runtime helper by removing one object allocation for components with key prop. [https://github.com/rescript-lang/rescript-compiler/pull/6376](https://togithub.com/rescript-lang/rescript-compiler/pull/6376) - The error message for "toplevel expressions should evaluate to unit" has been revamped and improved. [https://github.com/rescript-lang/rescript-compiler/pull/6407](https://togithub.com/rescript-lang/rescript-compiler/pull/6407) - Improve "Somewhere wanted" error messages by changing wording and adding more context + suggested solutions to the error messages where appropriate. [https://github.com/rescript-lang/rescript-compiler/pull/6410](https://togithub.com/rescript-lang/rescript-compiler/pull/6410) - Display the compile time for `rescript build` command. [https://github.com/rescript-lang/rescript-compiler/pull/6404](https://togithub.com/rescript-lang/rescript-compiler/pull/6404) - Improve help message for `build` and `clean` commands. [https://github.com/rescript-lang/rescript-compiler/pull/6404](https://togithub.com/rescript-lang/rescript-compiler/pull/6404) - Pass through the `-verbose` flag to builds in watch mode. [https://github.com/rescript-lang/rescript-compiler/pull/6404](https://togithub.com/rescript-lang/rescript-compiler/pull/6404) - Improve error message when defining duplicate labels in a record. [https://github.com/rescript-lang/rescript-compiler/pull/6415](https://togithub.com/rescript-lang/rescript-compiler/pull/6415) - Improve error message when trying to concatenate strings using the wrong operator. [https://github.com/rescript-lang/rescript-compiler/pull/6416](https://togithub.com/rescript-lang/rescript-compiler/pull/6416)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.