Releases: Glistix/glistix
Releases · Glistix/glistix
v0.4.0
-
Base Gleam version: v1.4.1
-
Updated Glistix to Gleam v1.4.1 (#15 and #19).
- This release adds label punning syntax (writing
function(data:)
instead offunction(data: data)
), adds support for the<>
(string concatenation) operator inconst
variables' definitions, as well as several language server improvements (listing document symbols, completion for record fields on access, signature help when calling functions, and so on). - The JavaScript target also received support for endianness (
little
andbig
) and signedness (signed
andunsigned
integers) options on bit arrays, as well as sized float options (32-bit and 64-bit) and pattern matching onutf8
bit arrays. These options are not yet supported on the Nix target (but will be on a future Glistix release). - The
gleam docs
(and thus the equivalentglistix docs
) command received support for--target
, allowing you to pick the target used to compile the project to retrieve docs for. This can be handy to generate Nix-specific docs withglistix docs --target nix
.
- This release adds label punning syntax (writing
v0.3.0
-
Base Gleam version: v1.3.2
-
Updated Glistix to Gleam v1.3.2 (#8, #11 and #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.
- This release improves LSP autocomplete, adds arithmetic operation support to case clause guards, adds version specifier support to
-
Ported some fixes for the JavaScript target from Gleam 1.3 to the Nix target as well (#13).
- This fixes a miscompilation when using a record constructor alias in a constant (see gleam-lang/gleam#3294).
- A similar fix has been made to record constructor aliases in case clause guards as well (see gleam-lang/gleam#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.
-
Added Nix target support to language tests in the compiler (#10).
- This change doesn't directly affect Glistix users, but adds some proper testing of Gleam's language features to the Nix target, improving the likelihood of bugs being caught in the Nix target implementation.
v0.2.0
- Updated Glistix to Gleam v1.2.1 (#1 and #3).
- This brings great improvements to the LSP, as well as many important bug fixes and improvements to diagnostics.
- Target
aarch64-unknown-linux-gnu
was added to CI.
- Ported some fixes for the JavaScript target from Gleam v1.2.0 to the Nix target as well (#2).
- This fixes a miscompilation when using a module alias in a guard clause (see gleam-lang/gleam#3045).
v0.1.0
Initial (beta) release of ✨ Glistix ❄️, a fork of the Gleam compiler which allows compiling Gleam to Nix.
Glistix v0.1.0 is based on Gleam v1.1.0, more specifically gleam-lang/gleam@a2180e7 .