Releases
0.2.0
zth
released this
11 Mar 09:23
API changes
Change Map.set
to not return self, to indicate that it's mutable. #34
Change Set.add
to not return self, to indicate that it's mutable. #35
Change Iterator
bindings to have the same shape as AsyncIterator
for consistency. #34
Add Iterator.toArray
binding for turning an iterator into an array. #34
Add Array.at
binding for returning an array item by its index. #48
Fixed type signatures of Array.fromArrayLikeWithMap
and Array.fromIteratorWithMap
. #50
Remove internal async/await helpers that do not need to be exposed in Core
.
Add locale and formatting options to localeDateString
, localeString
and localTimeString
functions #30
Remove Undefined
module. Nullable
or option
directly (where appropriate) can be used instead. #59
Change RegExp.source
to return a string
. Was previously returning a bool
, which is wrong. #47
Remove Date.valueOf
as it returns the same as Date.getTime
. #61
Change Float.fromString
signature. Now accepts only string. #54
Change Float.parseFloat
signature. Now accepts only string. #54
Add getExn
, getUnsafe
, getWithDefault
, map
, mapWithDefault
and flatMap
to Nullable
. #67
Add getExn
, getUnsafe
, getWithDefault
, map
, mapWithDefault
and flatMap
to Null
. #73
Add make
, fromInitializer
, findMap
, keepSome
, reduceRight
and reduceRightWithIndex
. #49
Remove reduceReverse
in favor of reduceRight
. #49
Fixed type signatures of reduce
and reduceWithIndex
. #49
Add panic
/Error.panic
. #72
The globally available null
value now originates from Nullable
and not Null
, just like the globally available undefined
value does. #88
Add Int.range
and Int.rangeWithOptions
, #52
Remove Array.fromIterator
and Array.fromIteratorWithMap
. The same functions exist in Iterator
as Iterator.fromArray
and Iterator.fromArrayWithMapper
. #78
Remove unsafe Array.from
and Array.fromWithMap
. #78
Documentation
Docstrings for Map
and Iterator
. #34
Docstrings for Global
. #39
Docstrings for Set
. #35
Docstrings for AsyncIterator
. #33
Docstrings for Type
. #32
Docstrings for Int
. #37
Docstrings for Dict
. #40
Docstrings for RegExp
. #47
Docstrings for Date
. #61
Docstrings for Float
. #54
Docstrings for String
. #27
Docstrings from Array
. #78
You can’t perform that action at this time.