- The
gleam/erlang/process
module gains functionsselecting_record5
through toselecting_record8
. - The
file
module loses theis_file
function; gains theFileType
,Access
, andFileInfo
types; and gains theis_regular
,file_info
,link_info
,file_exists
, andlink_exists
functions.
- Updated for Gleam 0.27.0.
- The
process.send_abnormal_exit
function no longer has labels.
- Fixed a bug where the
to_string
andfrom_string
functions in thecharlist
module would handle some unicode characters incorrectly.
- The
gleam/file
module gains theappend
andappend_bits
functions.
- This library now requires OTP 23.0 or higher.
atom.create_from_string
calls theerlang:binary_to_atom
built-in function directly, enabling the compilers to optimise the call to an atom literal when the argument is a string literal.atom.to_string
calls theerlang:atom_to_binary
built-in function directly, enabling the compilers to optimise the call to a string literal when the argument is an atom literal.
- The
gleam/erlang/process
module'sselecting_subjectless_record
function has been replaced by theselecting_record2
,selecting_record3
, andselecting_record4
functions. - The
gleam/erlang/process
module gains theselecting_anything
function.
- The
gleam/erlang/process
module gains theflush_messages
andselecting_trapped_exits
functions.
- The
gleam/erlang/process
module gains themap_selector
andmerge_selector
functions.
- The
gleam/erlang/process.select_forever
function no longer returns a result.
- The
gleam/erlang/process
module gains thesend_after
,cancel_timer
,send_exit
,send_abnormal_exit
,kill
,trap_exits
,link
, andunlink
functions.
- The
gleam/erlang
module gains theReference
type andmake_reference
function. - The
gleam/erlang/process
module has been created with thePid
,Subject
,Selector
, andCallError
types and theself
,start
,new_subject
,subject_owner
,receive
,new_selector
,select
,selecting
,sleep
,sleep_forever
,monitoring_process
,selecting_process_down
demonitor_process
,try_call
,call
,selecting_subjectless_record
, andis_alive
functions. - The
sleep
andsleep_forever
functions have been moved to thegleam/erlang/process
module.
- Fixed some warnings with latest version of Gleam.
- Switched from
atom_to_binary/1
toatom_to_binary/2
to support older versions of Erlang.
- Corrected the
NotUTF8
file error variant name toNotUtf8
.
- The
os
module gains thefamily
function. - Fixed a bug where the
erlang.sleep
function would fail.
- Use
DecodeErrors
in theatom
module for thefrom_dynamic
function.
- Add
is_directory
,is_file
,make_directory
,list_directory
,delete_directory
,recursive_delete
functions tofile
module. - Add
os
module withget_all_env
,get_env
,set_env
, andunset_env
functions.
- Add
file
module featuringread
,read_bits
,write
,write_bits
, anddelete
functions.
- The
erlang
module gains thesleep
andsleep_forever
functions.
- The
erlang
module gains theensure_all_started
function.
- The
erlang
module gains thestart_arguments
function.
- Converted from rebar3 to the Gleam build tool.
- Initial release