v12.0.0-alpha.10
Pre-release
Pre-release
🚀 New Feature
- Add
Dict.has
and doubleDict.forEachWithKey
/Dict.mapValues
performance. #7316 - Add popover attributes to
JsxDOM.domProps
. #7317 - Add
Array.removeInPlace
helper based onsplice
. #7321 - Add
inert
attribute toJsxDOM.domProps
. #7326 - Make reanalyze exception tracking work with the new stdlib. #7328
- Fix
Pervasive.max
using boolean comparison for floats. #7333 - Experimental: Support nested/inline record types - records defined inside of other records, without needing explicit separate type definitions. #7241
- Add unified exponentiation (
**
) operator for numeric types using ES7**
. #7153 - Rename
raise
tothrow
to align with JavaScript vocabulary.raise
has been deprecated. #7346 - Add unified bitwise (
^
) operator. #7216 - Stdlib: rename binary operations to match JavaScript terms. #7353
💥 Breaking Change
- Replace
~date
with~day
inDate.make
. #7324 - Remove
-bs-jsx-mode
. #7327 - Drop Node.js version <20 support, as it is reaching End-of-Life. #7354
- Treat
int
multiplication as a normal int32 operation instead of usingMath.imul
. #7358
🏠 Internal
💅 Polish
- Deprecate
JSON.Classify.classify
. #7315 - Hide stdlib modules in output. #7305
- Deprecate unsafe host-specific bindings from stdlib. #7334
- Make unsafe function names consistent in
Stdlib.String
. #7337 rescript
package does not triggerpostinstall
script anymore. #7350- Add Stdlib
Bool
andChar
modules and improve Pervasives deprecation messages. #7361