- The symbol type and functions have been moved to a new
symbol
module. - Removed the
raceN
andawaitN
functions from thepromise
module. - Removed the
map
module. - Removed the
type_of
function andTypeOf
type from thejavascript
module.
- Added
start
andwait
functions to thepromise
module.
- Fixed a bug where
array.to_list
could produce incorrect results. - The deprecated reference type and functions have been removed.
- Renamed FFI file to be scope with project name. No external facing changes.
- The
Reference
type has been deprecated.
- The
promise
module gains therace2
,race3
,race4
,race5
,race6
,race_list
andrace_array
functions.
- Add
reference_equal
to thejavascript
module.
- Relaxed the version constraint on
gleam_stdlib
to allow v0.x or v1.x.
- Updated for Gleam v0.32.0.
- Republished to resolve an error in the package release which caused some modules to be missing from documentation.
- Add
map
module native JavaScript maps. promise.new
is added to enable creating promises with a delayed resolve.
- Updated for Gleam v0.30.0.
array.length
was renamed toarray.size
to match Gleam conventions of size being used when the operation is constant time.
- The
then
andthen_try
function in thepromise
module have been renamed toawait
andtry_await
.
- The
promise.do_await_list
function has been removed.
- The
javascript
module was created with theTypeOf
, andSymbol
types, andfind_symbol
,make_reference
,set_reference
,update_reference
,dereference
, andtype_of
functions. - The
javascript/array
module was created with theArray(element)
type andto_list
,from_list
,map
,fold
,fold_right
,get
, andlength
functions. - The
javascript/promise
module was created with thePromise(value)
type andrescue
,resolve
,tap
,map_try
,map
,then_try
,await{2,6}
,await_list
,await_array
, andthen
functions.