Releases: rescript-lang/rescript-core
Releases · rescript-lang/rescript-core
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
This version requires ReScript >=11.1.0-rc.6.
- BREAKING: Use new native
biginttype. This requires ReScript compiler version "11.1.0-rc.6" or higher. #207 Int,Float,BigInt: use optional args and deprecatexxxWithRadix,xxxWithPrecisionetc. #209- BREAKING: Add optional
~message: string=?toOption.getExn. This also changes the error raised byOption.getExnfromNot_foundto a regular JS error. #212
1.2.0
- Add optional arguments to
JSON.stringifyandJSON.parseExnand deprecateJSON.stringifyWithIndent,JSON.stringifyWithReplacer,JSON.parseExnWithReviveretc. #201 - Add
Array.joinand deprecateArray.joinWith. #205 - BREAKING: Intl types: simplify bindings for constructors / functions with optional arguments. #198
- Fix: Expose Intl.Common. #197
- Add
Array.flatMapWithIndex#199 - Add
Promise.any,Promise.allSettled,Promise.withResolvers#204
1.1.0
- BREAKING: Align List api with other modules (
List.getBy->List.findetc.). #195 - BREAKING: Adds typed bindings to
Intl, replacing the options type of{..}with records. #65 - Add
Dict.forEach,Dict.forEachWithKeyandDict.mapValues#181 - Remove internal xxxU helper functions that are not needed anymore in uncurried mode. #191
- Rename
Object.emptytoObject.makefor consistency. - Add dynamic
import. #178 - Add
Iterator.forEachandAsyncIterator.forEachhelpers for iterators. #175
1.0.0
- Up ReScript dependency to 11+.
JSON,NullandNullableuntagged variants are now properly exposed.- BREAKING: Duplicated definition of
resultinResultmodule removed, asresultis now a built in. Switch out anyResult.ttype annotations to point to the built inresultinstead.
0.7.0
- Add
Dict.getUnsafe#167 - Fixes mis-bound
Intlfunctions #180Intl.DateTimeFormat.formatRangeToPartswas bound toformatRangeinstead offormatRangeToPartsIntl.PluralRules.select,Intl.PluralRules.selectInt, andIntl.PluralRules.selectBigIntwere bound toformatinstead ofselect
Documentation
- Fix docstring for
Array.getUnsafeandArray.filterMap#168