Skip to content

Conversation

mariari
Copy link
Member

@mariari mariari commented Oct 2, 2025

Please use this topic for seeing how the various topics I've been writing can fit into a release.

Next contains some evil commits which can be squashed into the merge right before them.

If you have any issues or questions before cutting a release don't be afraid to ask.

Also feel free to add your own topics into this

mariari added 17 commits October 2, 2025 17:43
V0.7.0 introduces the Digest types and converts Vecs into fixed sized
arrays
This reduces the amount of typing slightly with no functional change
This allows us to decode directly into a Binary saving us if we wish
to convert it to some other type than always going through Vec<u8>
which will encur another copy
This is helpful as often we need to serialize bincode data, and having
a uniform way to handle the error type lets us not worry about doing
these conversions by hand.
Unwraps that don't change signatures are now converted to being
safer. However this is not everything and further work is
required. Namely tests are not converted, this would normally be fine,
but tests are exported to Elixir and thus have a chance to crash the
VM.

Further functions like:

tests::create_an_action

Have non Result outputs, meaning greater refactoring is required to
handle these.
rustler is already imported so rustler:: only adds noise

This is it's own topic as this is not related to any of the other
changes I've done
This allows us to encode and decode Option<T>
Before it would mix the None and Some decoding, however using the
Option<T> decoder fixes this for you
make the work with v0.8.0 Please squash this into the merge commit
Doing this improperly can crash the Erlang VM. Every instnace of this
where the end type is a result type or something analygous (like the
Term<'a> type) now is expectless.

More work needs to be done for functions that do not fit this
architype which is 13 methods in arm/src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

1 participant