Releases: tree-sitter/tree-sitter-scala
Releases · tree-sitter/tree-sitter-scala
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
0.20.0
enhancements
- Scala 3 SIP-44 Fewer braces support by @eed3si9n in #128
- Scala 3 Enums by @keynmol in #89
- Scala 3
given
instances by @eed3si9n in #99 - Scala 3 macros by @eed3si9n in #110
- Scala 3
using
clauses by @eed3si9n in #82 - Scala 3
inline if
,inline match
,inline def
, andinline
parameters by @keynmol in #45 - Scala 3
opaque
type aliases by @keynmol in #87 - Scala 3
extension
methods by @eed3si9n in #113 - Scala 3 Context functions
?=>
by @eed3si9n in #145 - Scala 3
transparent
,open
, andinfix
modifiers by @keynmol in #119 - Scala 3
export
clauses by @keynmol in #125 - Literal types by @keynmol in #88
- Self types by @eed3si9n in #115
- Vararg class params and operator identifiers by @keynmol in #112
- Structural types by @ghostbuster91 in #130
- Singleton types by @eed3si9n in #146
- Adds an explicit interpolator field by @ckipp01 in #165
- SIP-27 Trailing commas by @eed3si9n in #170
- String interpolation case pattern by @keynmol in #176
- Abstract type definitions by @keynmol in #185
- Spec-correct identifier by @eed3si9n in #118
bug fixes
- Fixes buffer overrun by @eed3si9n in #160
- Fixes crash, take 2 by @eed3si9n in #164
- fix: Removes hidden arrow node by @ckipp01 in #92
- Fixes givens by @eed3si9n in #108
- fix: Scala 3 enums: Fixes simple case inheritance by @keynmol in #117
- Fixes for expression by @eed3si9n in #124
- Fixes instance_expression by @eed3si9n in #131
- Fixes extends clause by @eed3si9n in #139
- Fixes operator_identifier by @eed3si9n in #140
- fix: ensure check for changed file uses id, not name by @ckipp01 in #152
- fix: typo
-
->=
in ci by @ckipp01 in #153 - Fixes annotation, sort of by @eed3si9n in #143
- fix: Ensure last commit is added to the commit by @ckipp01 in #155
- Fixes pattern match with guard by @eed3si9n in #171
- Fixes
as
import renaming in Scala 3 by @keynmol in #175 - Fixes semicolon on package by @eed3si9n in #184
- Fixes compilation error on "cargo build" by @smarter in #190
- fix: Correctly handle
_
separator in integer literals by @ghostbuster91 in #195 - fix: Incorrect string interpolation highlighting group by @ghostbuster91 in #196
- Fixes parsing for a few given cases by @susliko in #214
- fix: Anonymous parameters in
using
clauses by @susliko in #215 - fix: Handles newlines and comments in the middle of expressions by @susliko in #217
Neovim highlight queries
- Syncs and improves highlight queries, adds Scala 3 specific constructs and tests by @keynmol in #103
- Extra highlights for Scala 3 constructs by @keynmol in #120
- Uses
storageclass
by @eed3si9n in #138 - refactor(queries): change uppercase from constant to type by @ckipp01 in #174
- chore: sync highlights back with nvim-treesitter by @ckipp01 in #148
- test: Adds tests for optional braces highlights by @eed3si9n in #142
- test: A few more highlight tests by @ckipp01 in #167
behind the scene
- Smoke test by @eed3si9n in #81
- feat: add in a job to automatically generate and sync daily by @ckipp01 in #147
- Optimize codegen memory usage by @eed3si9n in #102
- Optimize codegen memory usage, part 2 by @eed3si9n in #106
- feat(ci): test against nvim-treesitter highlights by @ckipp01 in #169
- Bump tree sitter to 0.20.7 and expose highlights query in rust binding, take 3 by @eed3si9n in #101
- Setup nix with direnv by @ghostbuster91 in #129
- Improve expression hierarchy by @eed3si9n in #107
- Creates a dummy node for import_selectors by @eed3si9n in #126
- Includes operator-like identifier as simple expression by @eed3si9n in #116
- Generate and check parser code on CI by @keynmol in #83
- Make smoke test script better for diffing results + restore removed highlight by @keynmol in #105
- Test on macOS/Windows only on C changes by @eed3si9n in #86
- Fix grep to detect C changes by @eed3si9n in #93
- Fix the diff change detection by @eed3si9n in #95
- docs: add some basic contributing docs by @ckipp01 in #149
- chore: create an issue template by @ckipp01 in #150
- chore: generate latest changes by @ckipp01 in #122
- Downgrade tree-sitter-cli by @eed3si9n in #212
- chore: Update nixpkgs to 22.11 and add python3 to devshell by @ghostbuster91 in #213
- Changes directory structure to work well with query-linter module by @ghostbuster91 in #180
new contributors
- @ghostbuster91 made their first contribution in #130
- @github-actions made their first contribution in #154
- @smarter made their first contribution in #190
- @susliko made their first contribution in #214
Full Changelog: v0.19.1...v0.20.0