chore(deps): update dependency rescript to v11 #38
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
->11.1.4
Release Notes
rescript-lang/rescript-compiler (rescript)
v11.1.4
: 11.1.4Compare Source
🐛 Bug Fix
...
. https://github.com/rescript-lang/rescript-compiler/pull/6949type
keyword. https://github.com/rescript-lang/rescript-compiler/pull/6997v11.1.3
Compare Source
🐛 Bug Fix
@uncurry
attribute in uncurried mode, to avoid generating calls toCurry
at runtime. https://github.com/rescript-lang/rescript-compiler/pull/6869-warn-error
, see https://github.com/rescript-lang/rescript-compiler/issues/6868 for more details. https://github.com/rescript-lang/rescript-compiler/pull/6877_param
in recursive functions with unit argument. https://github.com/rescript-lang/rescript-compiler/pull/6907v11.1.2
Compare Source
🐛 Bug Fix
v11.1.1
Compare Source
🐛 Bug Fix
v11.1.0
Compare Source
🐛 Bug Fix
v11.0.1
Compare Source
🐛 Bug Fix
Not_found
instead of giving a proper error message. https://github.com/rescript-lang/rescript-compiler/pull/6574💅 Polish
v11.0.0
Compare Source
No changes compared to rc.9.
v10.1.4
Compare Source
🐛 Bug Fix
lib
dir is included in the sources of bsconfig.json https://github.com/rescript-lang/rescript-compiler/pull/6055🚀 New Feature
await
https://github.com/rescript-lang/rescript-compiler/pull/6054💅 Polish
j`$(a)$(b)`
interpolation: use string templates`${a}${b}`
instead https://github.com/rescript-lang/rescript-compiler/pull/6067v10.1.3
Compare Source
🚀 New Feature
@@​directive("use client;")
emitsuse client;
verbatim before imports https://github.com/rescript-lang/rescript-compiler/pull/5999genType
: addCore
standard 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<_>
https://github.com/rescript-lang/rescript-compiler/pull/6024💥 Breaking Change
genType
: streamline the treatment of optionals as undefined https://github.com/rescript-lang/rescript-compiler/pull/6024option<t>
asundefined | t
instead 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
async
https://github.com/rescript-lang/rescript-compiler/pull/5984Js.Promise2
wherethen
andcatch
were returningundefined
https://github.com/rescript-lang/rescript-compiler/pull/5996@uncurry
external would be inlined and transformed in a way that loses async https://github.com/rescript-lang/rescript-compiler/pull/6011async
functions where hovering on the body with a type error would show'a => promise<'a>
everywhere https://github.com/rescript-lang/rescript-compiler/pull/6014switch
expressions that contain bracedcases
inside https://github.com/rescript-lang/syntax/pull/735@gentype.import
as an alias to@genType.import
in the compiler https://github.com/rescript-lang/rescript-compiler/pull/6021.gen.tsx
file https://github.com/rescript-lang/rescript-compiler/pull/5903float
values would be different from the compare for typefloat
https://github.com/rescript-lang/rescript-compiler/pull/6043~p as module(...)
https://github.com/rescript-lang/syntax/pull/739v10.1.2
Compare Source
🐛 Bug Fix
v10.1.1
Compare Source
💥 Breaking Change
@as
instead🚀 New Feature
{}
for inlined records where all fields are optional https://github.com/rescript-lang/rescript-compiler/pull/5900🐛 Bug Fix
_
in the make function with JSX V4. https://github.com/rescript-lang/rescript-compiler/pull/5881v10.1.0
Compare Source
🐛 Bug Fix
v10.0.1
Compare Source
🐛 Bug Fix
v10.0.0
Compare Source
Compiler
💥 Breaking Change
bsconfig.json
does not support// line
comments anymore."suffix": ".bs.js" // determine the suffix
Js.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 https://github.com/rescript-lang/rescript-compiler/pull/5364)🐛 Bug Fix
rescript build
on Windows #5516rescript init
command 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.pipe
is 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@val
annotations 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 = int
import 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@foo
is allowed, or a syntax error is given. Similarly for module-level/*** comments */
that can go where@@​attributes
go.🐛 Bug Fix
Libraries
💥 Breaking Change
See an exampe of how to update a ppx
rescript-relay
0.23.0 is not supported.rescript-relay@beta
or the new version when released.🐛 Bug Fix
bytes_to_string
https://github.com/rescript-lang/rescript-compiler/issues/5573 https://github.com/rescript-lang/rescript-compiler/pull/5589💅 Polish
Playground
🏠 Internal
jsoo_playground_main.ml
as the rescript-lang.org playground bundle entrypoint💥 Breaking Change
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.