Tree-sitter-scala

Latest version: v0.23.3

Safety actively analyzes 688126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.20.2

enhancements

* Scala 3: Type Lambdas by KaranAhlawat in https://github.com/tree-sitter/tree-sitter-scala/pull/312
* Scala 3: `given` pattern by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/330
* Structural types in declarations by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/297
* Lambda expression with `implicit` parameters by G1ng3r in https://github.com/tree-sitter/tree-sitter-scala/pull/308
* Scala 2 macros by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/325
* Switches to using `match?` instead of `lua-match?` for queries by natsukagami in https://github.com/tree-sitter/tree-sitter-scala/pull/321
* Adds "conditional" to `case` in `indented_cases` by natsukagami in https://github.com/tree-sitter/tree-sitter-scala/pull/320

bug fixes

* Scala 3: Fixes `derives` by allowing `$.stable_type_identifier` in `derives_clause` by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/331
* Fixes lambda expression parsing by issuing `OUTDENT` with extra spaces before brackets by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/301
* Fixes nested comment parsing by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/306
* Fixes the handling of interpolations without spaces and `$$` in interpolated strings by johannescoetzee in https://github.com/tree-sitter/tree-sitter-scala/pull/324
* Fixes definitions parsing when the return types appear on new lines by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/333
* Fixes indented case in given by Masynchin in https://github.com/tree-sitter/tree-sitter-scala/pull/338

behind the scene

* Refactor the scanner code by amaanq in https://github.com/tree-sitter/tree-sitter-scala/pull/340

new contributors
* G1ng3r made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/308
* KaranAhlawat made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/312
* natsukagami made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/321
* johannescoetzee made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/324
* Masynchin made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/338
* amaanq made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/340

**Full Changelog**: https://github.com/tree-sitter/tree-sitter-scala/compare/v0.20.1...v0.20.2

0.20.1

Rust and Swift bindings

tree-sitter-scala 0.20.1 is published to [crates.io](https://crates.io/crates/tree-sitter-scala/), 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 https://github.com/tree-sitter/tree-sitter-scala/pull/234

enhancements

* Scala 3: `derives` clause for classes and objects by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/222
* Scala 3: `using` in method call arguments by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/235
* Scala 3: `match` type by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/244
* Scala 3: Self-types in braceless trait definitions by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/250
* By-name class parameters by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/249
* `val` definition with multiple left-hand-side identifiers by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/254 and by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/292
* Structural type (refinement) by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/266
* Top-level expressions by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/271
* Enables parser on `*.sbt` files by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/210
* Support Scala CLI `using` directives by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/273
* Adds block comments to the comment highlighting query by domaspoliakas in https://github.com/tree-sitter/tree-sitter-scala/pull/282
* Repeat pattern `*` by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/281

bug fixes

* Fixes `case` clauses with guards by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/221
* Fixes `import` of symbolic identifiers by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/241
* Fixes handling of multi-line string whose last character is a quote by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/239
* Fixes Scala 3 `catch` clause by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/245
* Fixes type bounds by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/247
* Fixes handling of nested block comments by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/251
* Fixes Scala 3 annotations on `enums` by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/248
* Fixes soft keywords not recognized as identifiers by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/237
* Fixes closing paren/bracket not being able to outdent by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/279
* Fixes structural type in `extends` by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/285
* Fixes multi-line parameter lists by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/295

behind the scene

* Fixes smoke test by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/240
* Adds complexity check to smoke_test.sh by sideeffffect in https://github.com/tree-sitter/tree-sitter-scala/pull/231
* `smoke_test.sh`: attribute the definition complexity to proper line by sideeffffect in https://github.com/tree-sitter/tree-sitter-scala/pull/232
* Use Scala 3.3.0 for smoke test by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/267
* Fixes typo in Cargo.toml by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/280
* Uses Prettier to automatically format JavaScript file by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/278
* Fixes C code fidelity check by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/288
* Refactors `$.compilation_unit`, optimize grammar by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/269
* Reworks lambda expression (The Gordian Knot) by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/277

new contributors
* sideeffffect made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/231
* mattmassicotte made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/234
* domaspoliakas made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/282

**Full Changelog**: https://github.com/tree-sitter/tree-sitter-scala/compare/v0.20.0...v0.20.1

0.20.0

enhancements

* Scala 3 [SIP-44](https://docs.scala-lang.org/sips/fewer-braces.html) Fewer braces support by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/128
* Scala 3 Enums by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/89
* Scala 3 `given` instances by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/99
* Scala 3 macros by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/110
* Scala 3 `using` clauses by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/82
* Scala 3 `inline if`, `inline match`, `inline def`, and `inline` parameters by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/45
* Scala 3 `opaque` type aliases by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/87
* Scala 3 `extension` methods by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/113
* Scala 3 Context functions `?=>` by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/145
* Scala 3 `transparent`, `open`, and `infix` modifiers by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/119
* Scala 3 `export` clauses by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/125
* Literal types by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/88
* Self types by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/115
* Vararg class params and operator identifiers by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/112
* Structural types by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/130
* Singleton types by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/146
* Adds an explicit interpolator field by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/165
* [SIP-27](https://docs.scala-lang.org/sips/trailing-commas.html) Trailing commas by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/170
* String interpolation case pattern by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/176
* Abstract type definitions by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/185
* Spec-correct identifier by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/118

bug fixes

* Fixes buffer overrun by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/160
* Fixes crash, take 2 by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/164
* fix: Removes hidden arrow node by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/92
* Fixes givens by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/108
* fix: Scala 3 enums: Fixes simple case inheritance by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/117
* Fixes for expression by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/124
* Fixes instance_expression by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/131
* Fixes extends clause by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/139
* Fixes operator_identifier by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/140
* fix: ensure check for changed file uses id, not name by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/152
* fix: typo `-` -> `=` in ci by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/153
* Fixes annotation, sort of by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/143
* fix: Ensure last commit is added to the commit by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/155
* Fixes pattern match with guard by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/171
* Fixes `as` import renaming in Scala 3 by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/175
* Fixes semicolon on package by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/184
* Fixes compilation error on "cargo build" by smarter in https://github.com/tree-sitter/tree-sitter-scala/pull/190
* fix: Correctly handle `_` separator in integer literals by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/195
* fix: Incorrect string interpolation highlighting group by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/196
* Fixes parsing for a few given cases by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/214
* fix: Anonymous parameters in `using` clauses by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/215
* fix: Handles newlines and comments in the middle of expressions by susliko in https://github.com/tree-sitter/tree-sitter-scala/pull/217

Neovim highlight queries

* Syncs and improves highlight queries, adds Scala 3 specific constructs and tests by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/103
* Extra highlights for Scala 3 constructs by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/120
* Uses `storageclass` by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/138
* refactor(queries): change uppercase from constant to type by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/174
* chore: sync highlights back with nvim-treesitter by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/148
* test: Adds tests for optional braces highlights by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/142
* test: A few more highlight tests by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/167

behind the scene

* Smoke test by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/81
* feat: add in a job to automatically generate and sync daily by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/147
* Optimize codegen memory usage by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/102
* Optimize codegen memory usage, part 2 by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/106
* feat(ci): test against nvim-treesitter highlights by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/169
* Bump tree sitter to 0.20.7 and expose highlights query in rust binding, take 3 by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/101
* Setup nix with direnv by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/129
* Improve expression hierarchy by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/107
* Creates a dummy node for import_selectors by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/126
* Includes operator-like identifier as simple expression by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/116
* Generate and check parser code on CI by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/83
* Make smoke test script better for diffing results + restore removed highlight by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/105
* Test on macOS/Windows only on C changes by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/86
* Fix grep to detect C changes by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/93
* Fix the diff change detection by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/95
* docs: add some basic contributing docs by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/149
* chore: create an issue template by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/150
* chore: generate latest changes by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/122
* Downgrade tree-sitter-cli by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/212
* chore: Update nixpkgs to 22.11 and add python3 to devshell by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/213
* Changes directory structure to work well with query-linter module by ghostbuster91 in https://github.com/tree-sitter/tree-sitter-scala/pull/180

new contributors
* ghostbuster91 made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/130
* github-actions made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/154
* smarter made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/190
* susliko made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/214

**Full Changelog**: https://github.com/tree-sitter/tree-sitter-scala/compare/v0.19.1...v0.20.0

0.19.1

What's Changed

* Allow `catch` and `finally` in `try` expression to be on a new line by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/16
* Enhance/fix string interpolation model by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/20
* Add in support for boolean, character, and symbol literals. by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/22
* Feature/literals by gemelen in https://github.com/tree-sitter/tree-sitter-scala/pull/25
* Miscellaneous stuff by gemelen in https://github.com/tree-sitter/tree-sitter-scala/pull/27
* Add `while`/`do` loops and `for`-comprehension by stumash in https://github.com/tree-sitter/tree-sitter-scala/pull/30
* Allow `extends` to be on a new line by stevanmilic in https://github.com/tree-sitter/tree-sitter-scala/pull/31
* Update expression rule with postfix and ascription by stevanmilic in https://github.com/tree-sitter/tree-sitter-scala/pull/33
* Add recognition of multi-line field expression (23) by stevanmilic in https://github.com/tree-sitter/tree-sitter-scala/pull/32
* Add lambda expression and fix call expression by stevanmilic in https://github.com/tree-sitter/tree-sitter-scala/pull/34
* Fix pattern definition (38) by stevanmilic in https://github.com/tree-sitter/tree-sitter-scala/pull/39
* Add syntax highlighting queries by Wilfred in https://github.com/tree-sitter/tree-sitter-scala/pull/48
* Fix wildcard Scala 3 imports by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/44
* Allow `val` `def` at start of lambda by stumash in https://github.com/tree-sitter/tree-sitter-scala/pull/50
* Optional braces support by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/62
* Backquoted identifiers by keynmol in https://github.com/tree-sitter/tree-sitter-scala/pull/65
* Adds support for `$` in identifiers. by nrfulton in https://github.com/tree-sitter/tree-sitter-scala/pull/68

Behind the scene
* Move from Travis CI to Github Actions and update readme by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/17
* Fix Github Actions on Windows by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/64
* chore(ci): bump node to lts by ckipp01 in https://github.com/tree-sitter/tree-sitter-scala/pull/66
* Bump to 0.19.1 by eed3si9n in https://github.com/tree-sitter/tree-sitter-scala/pull/69

New Contributors
* ckipp01 made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/17
* gemelen made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/25
* stumash made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/30
* stevanmilic made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/31
* Wilfred made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/48
* keynmol made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/44
* eed3si9n made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/64
* nrfulton made their first contribution in https://github.com/tree-sitter/tree-sitter-scala/pull/68

**Full Changelog**: https://github.com/tree-sitter/tree-sitter-scala/compare/v0.19.0...v0.19.1

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.