Releases: gleam-lang/tree-sitter-gleam
v1.0.0
Updates tree-sitter-gleam to support version 1.0.0 of the Gleam programming language. Specifically, the reserved words are now highlighted as errors rather than warnings.
- Highlight reserved keywords as errors [tree-sitter-gleam change]
v0.34.1
Ostensibly updates the tree-sitter grammar to support version 0.34.1 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.34.0 and 0.34.1, this is simply a version bump for the grammar.
v0.34.0
Updates tree-sitter-gleam to support version 0.34.0 of the Gleam programming language. Specifically, the echo
identifier is now highlighted as a warning in the reference highlights since it is reserved for future use as a keyword.
Changes:
- Reserve the
echo
keyword [tree-sitter-gleam change] [Gleam change]
v0.33.0
Updates tree-sitter-gleam to support version 0.33.0 of the Gleam programming language. Specifically, tree-sitter-gleam now supports using the !
operator in guard clauses and \u{...}
escape sequences in strings.
Changes:
- Support boolean negation in guard clauses [tree-sitter-gleam PR] [Gleam commit]
- Add support for unicode escape sequences [tree-sitter-gleam PR] [Gleam PR]
v0.32.4
Ostensibly updates the tree-sitter grammar to support version 0.32.4 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.32.3 and 0.32.4, this is simply a version bump for the grammar.
v0.32.3
Updates tree-sitter-gleam to support version 0.32.3 of the Gleam programming language. Specifically, tree-sitter-gleam now supports discarding module imports, for example import wibble.{wobble} as _
.
Changes:
- Allow discarding imported modules [tree-sitter-gleam PR] [Gleam PR]
v0.32.2
Ostensibly updates the tree-sitter grammar to support version 0.32.2 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.32.1 and 0.32.2, this is simply a version bump for the grammar.
v0.32.1
Ostensibly updates the tree-sitter grammar to support version 0.32.1 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.32.0 and 0.32.1, this is simply a version bump for the grammar.
v0.32.0
Updates tree-sitter-gleam to support version 0.32.0 of the Gleam programming language. Specifically, tree-sitter-gleam now supports the import module.{type Typename}
syntax for importing types.
Changes:
- Support
type Typename
syntax in unqualified imports [tree-sitter-gleam PR] [Gleam PR]
This release also removes support from try
from the parser. The try
syntax was removed from Gleam a few minors ago but not fully removed from tree-sitter-gleam until this release.
Thanks to @lpil for reporting the issues! 💫
v0.31.0
Updates tree-sitter-gleam to support version 0.31.0 of the Gleam programming language. Specifically, tree-sitter-gleam now supports the as
keyword for assigning a literal prefix to a variable when pattern matching on a string.
Changes:
- Support record access syntax within case clause guards [tree-sitter-gleam change] [Gleam PR]. Coincidentally, this syntax was already supported by tree-sitter-gleam so the only change was to add a test case.
- Allow
as
in binary pattern match expressions [tree-sitter-gleam PR] [Gleam PR]
Thanks to @lpil for reporting the issues! 💫