Skip to content

Commit 3ab579d

Browse files
committed
Announce release v0.6.5
Release announcement post for v0.6.5. Signed-off-by: Winford <[email protected]>
1 parent 35d43c3 commit 3ab579d

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
layout: post
3+
title: Announcing AtomVM v0.6.5
4+
excerpt_separator: <!--more-->
5+
---
6+
7+
## 2024/10/14 Announcing AtomVM v0.6.5
8+
9+
We are pleased to announce the release of v0.6.5 of the AtomVM virtual machine!
10+
11+
First and foremost our apologies to ESP32 users wanting to use all the great new Elixir features added in the V0.6.4 release. The binary images were corrupted and may Elixir features were unavailable. We have fixed the problem and now publish an Elixir flavored image that has a larger library partition. This change necessitates changing the application partition offset to 0x250000. The [ExAtomVM `mix`](https://github.com/atomvm/exatomvm) plugin repository has already been updated with the correct default offset, a new release should be available in the very near future.
12+
13+
>Note: We are investigating [a bug](https://github.com/atomvm/AtomVM/issues/1324) in the ESP32 `i2c` driver, that was reported hours before this release, `i2c:write_bytes` on ESP32 seems to be causing a hard fault, as a workaround use `i2c:write_byte` instead.
14+
15+
Expanded Erlang support includes:
16+
- `erlang:atom_to_binary/1` that is equivalent to `erlang:atom_to_binary(Atom, utf8)`
17+
- `is_bitstring/1`
18+
- `maps:merge_with/3`
19+
- `lists:keytake/3`, `lists:last/1`, `lists:mapfoldl/3`, and `lists:nthtail/2`
20+
- `support for handle_continue callback in gen_server`
21+
- `gen_server:start_monitor/3,4`
22+
- `code:ensure_loaded/1`
23+
- `io_lib:latin1_char_list/1`
24+
- `io:put_chars/2`
25+
- `erlang:list_to_integer/2`
26+
- `binary_to_integer/2`
27+
- `binary:copy/1,2`, `binary:split/3`, `binary:decode_hex/1`, and `binary:encode_hex/1,2`
28+
- `string:find/2,3`
29+
- Support for directory listing using POSIX APIs: (`atomvm:posix_opendir/1`,
30+
`atomvm:posix_readdir/1`, `atomvm:posix_closedir/1`)
31+
32+
Expanded Elixir support features:
33+
- `String.Chars` protocol, now functions such as `Enum.join` are able to take
34+
also non string parameters; e.g. `Enum.join([1, 2], ",")`
35+
- `Enumerable` protocol
36+
- `Process.send/2`, `Process.send_after/3/4`, and `Process.cancel_timer/1`
37+
- `List.Chars` protocol
38+
- `List.duplicate/2`
39+
- `Keyword.split/2`
40+
- `IO.chardata_to_string/1`
41+
- `Base.decode16/2` and `Base.encode16/2`
42+
- `Enum.find_index` and `Enum.find_value` support Enumerable and not just lists
43+
44+
Enhancements to the ESP32 platform:
45+
- The ESP32 platform now includes the [`esp_adc`](https://www.atomvm.net/doc/v0.6.5/apidocs/erlang/eavmlib/esp_adc.html) driver module for using the ADC peripheral to measure analog voltages. Building from source, and including the atomvm_adc component is no longer necessary (or even supported, now that ESP-IDF v4.4.x has been deprecated).
46+
- Support for mounting/unmounting storage on ESP32 (such as SD or internal flash) using
47+
`esp:mount/4` and `esp:umount/1`
48+
- Made the device_config properties list in `spi:open/1` optional (defaults to `[]`), so you can use the function with only a `bus_config`
49+
- The network driver supports a callback for beacon lost events (usually encountered when signal quality is poor or network congestion), `network:stop/0` works as expected.
50+
51+
Many bugs have been fixed in addition to the previously mentioned fix for ESP32 images, including:
52+
- Fixed memory corruption in `unicode:characters_to_binary`
53+
- Fixed handling of large literal indexes and large extended literal indexes
54+
- Fixed bogus out_of_memory error when using `unicode:characters_to_list` on some platforms such as ESP32
55+
- Fix crash in Elixir library when doing `inspect(:atom)`
56+
- General `inspect()` compliance with Elixir behavior (but there are still some minor differences)
57+
- On ESP32 `uart:open/1,2` now works with uppercase peripheral names
58+
- Several edge case memory bugs were fixed in the ESP32 network driver, ans when stopped all resources are freed.
59+
- Fixed a bug in decoding terms that led to some pin numbers being rejected when setting GPIO interrupts on the ESP32 platform.
60+
61+
For the full set of bug fixes, changes and additions consult the
62+
[Changelog](https://www.atomvm.net/doc/v0.6.5/CHANGELOG.html).
63+
64+
Download images and binaries are available for most platforms, except STM32, are available from
65+
[AtomVM Releases on GitHub](https://github.com/atomvm/AtomVM/releases/tag/v0.6.5). STM32 users as
66+
well as anyone needing to build a generic_unix port for a device without release binaries should
67+
consult the [Build Instructions](https://www.atomvm.net/doc/v0.6.5/build-instructions.html). MacOS
68+
users also have the option of
69+
[installing with `macports`](https://www.atomvm.net/doc/v0.6.5/getting-started-guide.html#installation-on-macos).
70+
71+
The git repository and tarballs of the AtomVM source release for all platforms can be found on our
72+
[GitHub AtomVM page](https://github.com/atomvm/AtomVM).
73+
74+
Documentation for the v0.6.5 release of the AtomVM virtual machine, including a
75+
[Getting Started Guide](https://www.atomvm.net/doc/v0.6.5/getting-started-guide.html), can be found in the
76+
[AtomVM Documentation](https://www.atomvm.net/doc/v0.6.5/).
77+
78+
As always, tools, drivers, and modules are available on the
79+
[GitHub AtomVM Project page](https://github.com/atomvm).
80+
81+
Many thanks go to [Davide Bettio](https://github.com/bettio), for creating and maintaining such a
82+
fine work of software. Special thanks to first time contributors [Yuto Oguchi](https://github.com/aiotter), [Rafał Trójniak](https://github.com/rafaltrojniak), [Jakub Gonet](https://github.com/jakub-gonet), and [Kevin Schweikert](https://github.com/kevinschweikert), as well as the rest of the [contributors](https://github.com/atomvm/AtomVM/graphs/contributors) and [bug reporters](https://github.com/atomvm/AtomVM/issues) who have helped make this release possible.
83+
84+
_The AtomVM team_

0 commit comments

Comments
 (0)