You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
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. Remove obj keys mangle rescript#6354
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. Add %ffi as variation of %raw with arity checking. rescript#6251
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
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. Update watcher rules rescript#6420
Parse assert as a regular function. assert is no longer a unary expression. Example: before assert 1 == 2 is parsed as (assert 1) == 2, now it is parsed as assert(1 == 2). Parse assert as a regular function rescript#6180
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.
Activity
fhammerschmidt commentedon Oct 2, 2023
Here are some changes from the changelog that are still missing in the v11 docs:
int
tofloat
. Allow coercing int to float rescript#6448rescript.json
configuration file and deprecatebsconfig.json
. Supportrescript.json
rescript#6382%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. Add%ffi
as variation of%raw
with arity checking. rescript#6251zth commentedon Nov 14, 2023
Feels like a good amount of these don't need any actual documentation, unless the documentation explicitly states something contradicting the changes.
fhammerschmidt commentedon Nov 14, 2023
Consider them as hints to know where to check if the docs are still up to date.
zth commentedon Nov 14, 2023
Crossed off 2 that were handled in this PR: #740
zth commentedon Nov 14, 2023
Don't think we need to mention these in the docs, they were bug fixes:
zth commentedon Nov 14, 2023
Same with these, seem irrelevant to me for docs:
assert
as a regular function rescript#6180fhammerschmidt commentedon Nov 14, 2023
Thanks. Updated the list.