From a9f6911a108acc6b15851c4334016b2b7d57b535 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Wed, 12 Jun 2024 20:45:41 -0300 Subject: [PATCH] add initial v0.3.0 changelog --- src/SUMMARY.md | 3 ++- src/compiler/changelog/v0-3-0.md | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/compiler/changelog/v0-3-0.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index de65337..3c6c4c0 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -42,5 +42,6 @@ - [Nix Backend](./compiler/architecture/nix-backend.md) - [CLI modifications](./compiler/architecture/cli-modifications.md) - [Changelog](./compiler/changelog/README.md) - - [Glistix v0.2.0 (2024-06-12)](./compiler/changelog/v0-2-0.md) - [Glistix v0.1.0 (2024-04-27)](./compiler/changelog/v0-1-0.md) + - [Glistix v0.2.0 (2024-06-12)](./compiler/changelog/v0-2-0.md) + - [Glistix v0.3.0 (Unreleased)](./compiler/changelog/v0-3-0.md) diff --git a/src/compiler/changelog/v0-3-0.md b/src/compiler/changelog/v0-3-0.md new file mode 100644 index 0000000..94b1918 --- /dev/null +++ b/src/compiler/changelog/v0-3-0.md @@ -0,0 +1,12 @@ +# Glistix v0.3.0 (Unreleased) + +- **Base Gleam version:** v1.3.2 + +- Updated Glistix to Gleam v1.3.2 ([#8](https://github.com/Glistix/glistix/pull/8), [#11](https://github.com/Glistix/glistix/pull/11) and [#12](https://github.com/Glistix/glistix/pull/12)). + - This release improves LSP autocomplete, adds arithmetic operation support to case clause guards, adds version specifier support to `gleam add`, and brings several other improvements and bug fixes to the compiler. + - A prebuilt Wasm binary, in order to use the compiler in the browser, has been added to releases. +- Ported some fixes for the JavaScript target from Gleam 1.3 to the Nix target as well ([#13](https://github.com/Glistix/glistix/pull/13)). + - This fixes a miscompilation when using a record constructor alias in a constant (see [gleam-lang/gleam#3294](https://github.com/gleam-lang/gleam/issues/3294)). + - A similar fix has been made to record constructor aliases in case clause guards as well (see [gleam-lang/gleam#3447](https://github.com/gleam-lang/gleam/pull/3447)). + - This also adds a compile-time error when trying to use a non-byte-aligned bit array on the Nix target (which currently only supports byte-aligned bit arrays). + - Finally, this ensures `gleam.nix` (exported to the build folder and used to import the Nix prelude) isn't unnecessarily rewritten to avoid problems with watchers.