Releases: tree-sitter/tree-sitter-scala
Releases · tree-sitter/tree-sitter-scala
v0.24.0
updates
- deps: Update tree-sitter to 0.24.7 by @eed3si9n in #455
- fix: Fix nested packages by @streichsbaer + @eed3si9n in #470
- feat: Support for string escape sequences by @jonshea in #459
- feat: Add tags.scm queries by @susliko in #461
behind the scene
- Add
-pending.txt
tests by @jonshea in #463 - Include
LICENSE
file by @michel-slm in #453 - Update CONTRIBUTING.md by @jonshea in #456
- build(deps-dev): bump tar-fs from 2.1.1 to 2.1.2 by @dependabot in #464
- build(deps-dev): bump tar-fs from 2.1.2 to 2.1.3 by @dependabot in #468
- ci: Update version to 0.24.0 by @eed3si9n in #472
new contributors
- @michel-slm made their first contribution in #453
- @jonshea made their first contribution in #456
Full Changelog: v0.23.4...v0.24.0
v0.23.4
updates
- SIP-47 Clause Interleaving support by @eed3si9n in #439
- SIP-58 Named tuples support by @eed3si9n in #446
- SIP-64 support by @eed3si9n in #442
- Polymorphic function type and lambda expression by @eed3si9n in #444
behind the scene
- test: Add test for SIP-62 for by @eed3si9n in #443
- ci: Reinstate prettier to fix the sync job by @eed3si9n in #435
- ci: Generate in all oses by @eed3si9n in #437
- ci: Update to 0.23.4 by @eed3si9n in #450
NOTE: Download tree-sitter-scala.tar.xz
for the complete source code.
Full Changelog: v0.23.3...v0.23.4
v0.23.3
NOTE: Download tree-sitter-scala.tar.xz
for the complete source code.
0.23.2
updates
- tree-sitter-scala 0.23.2 updates to tree-sitter 0.23.0.
behind the scene
- test: Nvim indents by @susliko in #378
- build: Add the package lock file by @eed3si9n in #413
- build: node-gyp-build 4.8.1 by @eed3si9n in #414
- build: Bump prebuildify by @eed3si9n in #415
- build: Fix check_complexity by @sideeffffect in #416
- build: Run cron action only on the tree-sitter repo by @eed3si9n in #419 / #420
- build: update bindings by @amaanq in #422
- build: Fix build by @eed3si9n in #424 / #425
- chore: Bump to 0.23.2 by @eed3si9n in #428
Full Changelog: v0.22.2...v0.23.2
0.22.1
tree-sitter-scala 0.22.1 is published to crates.io and npm.
updates
- Fixes literal types to be an operand of an infix type by @susliko in #409
- refactor(scanner): Use new array header for stack by @amaanq in #405
behind the scene
- ci: Add GitHub Actions to publish to NPM by @amaanq + @eed3si9n in #408
- Bump version number by @eed3si9n in #411
- Bump smoke test targets by @eed3si9n in #401
- Move corpus by @eed3si9n in #402
Full Changelog: v0.22.0...v0.22.1
0.22.0
0.21.0
0.20.3
bug fixes
- Fixes abstract extension method support by @susliko in #375
- Fixes anonymous givens by @eed3si9n in #341
- Fixes wildcards in tuple bindings by @susliko in #354
- Fixes parenthesized expressions in braceless
if
conditions by @susliko in #350 - Fixes
derives
clause on a new line by @susliko in #352 - Fixes
derives
clause for traits by @susliko in #353 - Fixes semicolon handling by @susliko in #357
- Fixes crashes inside Markdown by @susliko in #368
- Fixes
inline infix
modifier by @susliko in #369
other updates
- Supports shebang (
#!
) by @antosha417 in #363 - Supports abstract givens by @susliko in #372
behind the scene
- chore(deps): bump tj-actions/verify-changed-files from 13 to 17 in /.github/workflows by @dependabot in #371
new contributors
- @antosha417 made their first contribution in #363
- @dependabot made their first contribution in #371
Full Changelog: v0.20.2...v0.20.3
0.20.2
enhancements
- Scala 3: Type Lambdas by @KaranAhlawat in #312
- Scala 3:
given
pattern by @susliko in #330 - Structural types in declarations by @susliko in #297
- Lambda expression with
implicit
parameters by @G1ng3r in #308 - Scala 2 macros by @eed3si9n in #325
- Switches to using
match?
instead oflua-match?
for queries by @natsukagami in #321 - Adds "conditional" to
case
inindented_cases
by @natsukagami in #320
bug fixes
- Scala 3: Fixes
derives
by allowing$.stable_type_identifier
inderives_clause
by @susliko in #331 - Fixes lambda expression parsing by issuing
OUTDENT
with extra spaces before brackets by @susliko in #301 - Fixes nested comment parsing by @susliko in #306
- Fixes the handling of interpolations without spaces and
$$
in interpolated strings by @johannescoetzee in #324 - Fixes definitions parsing when the return types appear on new lines by @susliko in #333
- Fixes indented case in given by @Masynchin in #338
behind the scene
new contributors
- @G1ng3r made their first contribution in #308
- @KaranAhlawat made their first contribution in #312
- @natsukagami made their first contribution in #321
- @johannescoetzee made their first contribution in #324
- @Masynchin made their first contribution in #338
- @amaanq made their first contribution in #340
Full Changelog: v0.20.1...v0.20.2
0.20.1
See also https://eed3si9n.com/tree-sitter-scala-0.20.1
Rust and Swift bindings
tree-sitter-scala 0.20.1 is published to crates.io, as well as 0.20.0, which was back published. This allows easier consumption of the parser using Rust.
Swift bindings and Swift Package Manager (SPM) support were contributed by @mattmassicotte in #234
enhancements
- Scala 3:
derives
clause for classes and objects by @susliko in #222 - Scala 3:
using
in method call arguments by @susliko in #235 - Scala 3:
match
type by @eed3si9n in #244 - Scala 3: Self-types in braceless trait definitions by @susliko in #250
- By-name class parameters by @susliko in #249
val
definition with multiple left-hand-side identifiers by @eed3si9n in #254 and by @susliko in #292- Structural type (refinement) by @eed3si9n in #266
- Top-level expressions by @susliko in #271
- Enables parser on
*.sbt
files by @ghostbuster91 in #210 - Support Scala CLI
using
directives by @susliko in #273 - Adds block comments to the comment highlighting query by @domaspoliakas in #282
- Repeat pattern
*
by @eed3si9n in #281
bug fixes
- Fixes
case
clauses with guards by @susliko in #221 - Fixes
import
of symbolic identifiers by @eed3si9n in #241 - Fixes handling of multi-line string whose last character is a quote by @susliko in #239
- Fixes Scala 3
catch
clause by @susliko in #245 - Fixes type bounds by @susliko in #247
- Fixes handling of nested block comments by @susliko in #251
- Fixes Scala 3 annotations on
enums
by @susliko in #248 - Fixes soft keywords not recognized as identifiers by @susliko in #237
- Fixes closing paren/bracket not being able to outdent by @eed3si9n in #279
- Fixes structural type in
extends
by @eed3si9n in #285 - Fixes multi-line parameter lists by @susliko in #295
behind the scene
- Fixes smoke test by @eed3si9n in #240
- Adds complexity check to smoke_test.sh by @sideeffffect in #231
smoke_test.sh
: attribute the definition complexity to proper line by @sideeffffect in #232- Use Scala 3.3.0 for smoke test by @eed3si9n in #267
- Fixes typo in Cargo.toml by @eed3si9n in #280
- Uses Prettier to automatically format JavaScript file by @eed3si9n in #278
- Fixes C code fidelity check by @eed3si9n in #288
- Refactors
$.compilation_unit
, optimize grammar by @susliko in #269 - Reworks lambda expression (The Gordian Knot) by @susliko in #277
new contributors
- @sideeffffect made their first contribution in #231
- @mattmassicotte made their first contribution in #234
- @domaspoliakas made their first contribution in #282
Full Changelog: v0.20.0...v0.20.1