chore(deps): update dependency rescript to v12#43
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
37e0cc7 to
e33ddaa
Compare
e33ddaa to
74f881a
Compare
74f881a to
cf18fdd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.1.4→12.1.0Release Notes
rescript-lang/rescript (rescript)
v12.1.0Compare Source
🚀 New Feature
Set,Map,WeakSetandWeakMapto@unboxed. #8009-reactive,-runs,-churn) and Mermaid pipeline dumping (-mermaid). #8092reanalyze-server(long-lived server) with transparent delegation forrescript-tools reanalyze -json. #8127js-post-buildin Rewatch. Note that${file}is now an absolute path. #8151🐛 Bug fix
%todo). #8135stderr. #8147 #8148es6/es6-global. #8146💅 Polish
--create-sourcedirsby default (now deprecated when explicitly used). #8092v12.0.2Compare Source
🚀 New Feature
🐛 Bug fix
Reanalyze: make optional args analysis liveness-aware, preventing false positives when functions are only called from dead code. #8082
Fix: do not warn for "editor" field in
rescript.json. #8084Fix
@valshadowing (rewrite usingglobalThis). #8098Fix
@scopeshadowing (rewrite usingglobalThis). #8100Formatter: normalize underscore placeholders in pipe expressions to canonical form (e.g.,
a->map2(_, fn)formats toa->map2(fn)). #8033Fix rewatch panic on duplicate module name. #8102
Fix
let?unwrap to use actual variable names from pattern instead of hardcoded "x"/"e". #8085Fix "Ill-formed list of warnings" errors for PPXs with rescript-legacy. #8103
Fix gentype generating invalid syntax for exotic / escaped record field names and type names. #8087
Formatter: Improve multiline printing of record types and values. #7993
🏠 Internal
v12.0.1Compare Source
🐛 Bug fix
rescript.jsonfields. #8031ignorefunction in some Stdlib modules. #8060rescript.jsonparsing fails and improve error message. #8067💅 Polish
Exn.Error. #8036v12.0.0Compare Source
No changes compared to rc.5.
v11.1.4: 11.1.4Compare Source
🐛 Bug Fix
.... rescript-lang/rescript-compiler#6949typekeyword. rescript-lang/rescript-compiler#6997v11.1.3Compare Source
🐛 Bug Fix
@uncurryattribute in uncurried mode, to avoid generating calls toCurryat runtime. rescript-lang/rescript-compiler#6869-warn-error, see rescript-lang/rescript-compiler#6868 for more details. rescript-lang/rescript-compiler#6877_paramin recursive functions with unit argument. rescript-lang/rescript-compiler#6907v11.1.2Compare Source
🐛 Bug Fix
v11.1.1Compare Source
🐛 Bug Fix
v11.1.0Compare Source
🐛 Bug Fix
v11.0.1Compare Source
🐛 Bug Fix
Not_foundinstead of giving a proper error message. rescript-lang/rescript-compiler#6574💅 Polish
v11.0.0Compare Source
No changes compared to rc.9.
v10.1.4Compare Source
🐛 Bug Fix
libdir is included in the sources of bsconfig.json rescript-lang/rescript-compiler#6055🚀 New Feature
awaitrescript-lang/rescript-compiler#6054💅 Polish
j`$(a)$(b)`interpolation: use string templates`${a}${b}`instead rescript-lang/rescript-compiler#6067v10.1.3Compare Source
🚀 New Feature
@@​directive("use client;")emitsuse client;verbatim before imports rescript-lang/rescript-compiler#5999genType: addCorestandard library support for the following builtin types:Null.t,Nullable.t,Undefined.t,Dict.t<_>,Promise.t<_>,Date.t,BigInt.t,RegExp.t,Map.t<_, _>,WeakMap.t<_, _>,Set<_>,WeakSet<_>rescript-lang/rescript-compiler#6024💥 Breaking Change
genType: streamline the treatment of optionals as undefined rescript-lang/rescript-compiler#6024option<t>asundefined | tinstead ofnull | undefined | t. This is more permissive when importing functions taking optional values (allows to use option types), but stricter when e.g. exporting ReScript functions taking arguments of option type. Fallback: useJs.undefined<_>instead.{x:option<string>}as{x:(undefined | string)}instead of{x?: string}. This is more in line with TS's behaviour. Fallback: use{x?:string}.💅 Polish
🐛 Bug Fix
asyncrescript-lang/rescript-compiler#5984Js.Promise2wherethenandcatchwere returningundefinedrescript-lang/rescript-compiler#5996@uncurryexternal would be inlined and transformed in a way that loses async rescript-lang/rescript-compiler#6011asyncfunctions where hovering on the body with a type error would show'a => promise<'a>everywhere rescript-lang/rescript-compiler#6014switchexpressions that contain bracedcasesinside rescript-lang/syntax#735@gentype.importas an alias to@genType.importin the compiler rescript-lang/rescript-compiler#6021.gen.tsxfile rescript-lang/rescript-compiler#5903floatvalues would be different from the compare for typefloatrescript-lang/rescript-compiler#6043~p as module(...)rescript-lang/syntax#739v10.1.2Compare Source
🐛 Bug Fix
v10.1.1Compare Source
💥 Breaking Change
@asinstead🚀 New Feature
{}for inlined records where all fields are optional rescript-lang/rescript-compiler#5900🐛 Bug Fix
_in the make function with JSX V4. rescript-lang/rescript-compiler#5881v10.1.0Compare Source
🐛 Bug Fix
v10.0.1Compare Source
🐛 Bug Fix
v10.0.0Compare Source
Compiler
💥 Breaking Change
bsconfig.jsondoes not support// linecomments anymore."suffix": ".bs.js" // determine the suffixJs.String.match_as it was wrong. #5070Js.String.match_andJs.String2.match_🚀 New Feature
type opt = {x: int, y?: string}were added as an experimental feature #5423 #5452 New Syntax@new @​variadic(see rescript-lang/rescript-compiler#5364)🐛 Bug Fix
rescript buildon Windows #5516rescript initcommand not working #5526💅 Polish
Changed Linux build to depend on GLIBC 2.28 again for compatibility with Debian 10.
Proper M1 support (CI now supports M1 native builds)
Syntax
💥 Breaking Change
@bs.send.pipeis now removed. Earlier it was deprecated.let f = (x, ~z) => x + z; f(1, 2)let f = (x, ~z) => x + z; f(1, ~z=2)instead@valannotations do not work anymore, and externals with= ""give an error.external setTimeout: (unit => unit, int) => float = "setTimeout"is not supported anymore.@val external setTimeout: (unit => unit, int) => float = "setTimeout"instead.@val external setTimeout: (unit => unit, int) => float = ""is not supported anymore.@val external setTimeout: (unit => unit, int) => float = "setTimeout"instead.let blockCommentsRe = %re("/\\/\\*([^*]|[\\r\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+\\//g").let blockCommentsRe = %re("/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g")instead.export type t = int@genType type t = intimport realValue: complexNumber => float from "./MyMath"@genType.import("./MyMath") external realValue: complexNumber => float = "realValue"🚀 New Feature
let str = "Σ". And, you'll be able to pattern match on unicode chars:switch c { | 'Σ' => "what a fine unicode char" | _ => "unicode is fun" }/** ... */are now supported. Inernally, they are attributes, so are only valid at positions where@foois allowed, or a syntax error is given. Similarly for module-level/*** comments */that can go where@@​attributesgo.🐛 Bug Fix
Libraries
💥 Breaking Change
See an exampe of how to update a ppx
rescript-relay0.23.0 is not supported.rescript-relay@betaor the new version when released.0fd8bb0.🐛 Bug Fix
bytes_to_stringrescript-lang/rescript-compiler#5573 rescript-lang/rescript-compiler#5589💅 Polish
Playground
🏠 Internal
jsoo_playground_main.mlas the rescript-lang.org playground bundle entrypoint💥 Breaking Change
You can find more old changelog from docs/changelog
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.