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
bigint
type. This requires ReScript compiler version "11.1.0-rc.6" or higher. #207 Int
,Float
,BigInt
: use optional args and deprecatexxxWithRadix
,xxxWithPrecision
etc. #209- BREAKING: Add optional
~message: string=?
toOption.getExn
. This also changes the error raised byOption.getExn
fromNot_found
to a regular JS error. #212
1.2.0
- Add optional arguments to
JSON.stringify
andJSON.parseExn
and deprecateJSON.stringifyWithIndent
,JSON.stringifyWithReplacer
,JSON.parseExnWithReviver
etc. #201 - Add
Array.join
and 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.find
etc.). #195 - BREAKING: Adds typed bindings to
Intl
, replacing the options type of{..}
with records. #65 - Add
Dict.forEach
,Dict.forEachWithKey
andDict.mapValues
#181 - Remove internal xxxU helper functions that are not needed anymore in uncurried mode. #191
- Rename
Object.empty
toObject.make
for consistency. - Add dynamic
import
. #178 - Add
Iterator.forEach
andAsyncIterator.forEach
helpers for iterators. #175
1.0.0
- Up ReScript dependency to 11+.
JSON
,Null
andNullable
untagged variants are now properly exposed.- BREAKING: Duplicated definition of
result
inResult
module removed, asresult
is now a built in. Switch out anyResult.t
type annotations to point to the built inresult
instead.
0.7.0
- Add
Dict.getUnsafe
#167 - Fixes mis-bound
Intl
functions #180Intl.DateTimeFormat.formatRangeToParts
was bound toformatRange
instead offormatRangeToParts
Intl.PluralRules.select
,Intl.PluralRules.selectInt
, andIntl.PluralRules.selectBigInt
were bound toformat
instead ofselect
Documentation
- Fix docstring for
Array.getUnsafe
andArray.filterMap
#168