Releases: alex-pinkus/tree-sitter-swift
Releases · alex-pinkus/tree-sitter-swift
0.5.0
What's Changed
- Declare
lambda_expression
in scopes by @alex-pinkus in #408 - Update tree-sitter to 0.21.1 with
napi
bindings by @trevor-e in #404 - Parse
package
visibility modifier by @patrickt in #383 - Wait for tree-sitter from node-gyp by @alex-pinkus in #410
New Contributors
Full Changelog: 0.4.3...0.5.0
0.4.3
What's Changed
- Recognize
distributed
as a modifier on actors and functions. by @patrickt in #380 - Highlight precedencegroup components. by @patrickt in #382
- Add injections for regex highlighting. by @patrickt in #384
- Add support for SE-0393 by @alex-pinkus in #385
- Revert "Loosen tree-sitter dependency versions" by @alex-pinkus in #387
Full Changelog: 0.4.2...0.4.3
0.4.2
What's Changed
- Highlight
mutating
andassociatedtype
keywords. by @patrickt in #371 - Highlight
deinit
the same asinit
. by @patrickt in #372 - Add willSet/didSet to indents by @alex-pinkus in #374
- Create a separate identifier for constructors by @alex-pinkus in #375
- Indent on init and deinit declarations by @alex-pinkus in #376
Full Changelog: 0.4.1...0.4.2
0.4.1
What's Changed
- Add support for if/switch expressions by @alex-pinkus in #354
- Switch the default ABI on
with-generated-files
by @alex-pinkus in #355 - Incorporate changes made in Helix highlight queries by @alex-pinkus in #356
- Highlight
try?
andtry!
as compound keyword+operator by @alex-pinkus in #358 - Fix error in
for await in await
by @alex-pinkus in #359 - Add explicit support for willSet/didSet blocks by @alex-pinkus in #363
- Allow assignment to be split over multiple lines by @alex-pinkus in #365
- Bring back support for optional types in constructors by @alex-pinkus in #366
- Add borrowing and consuming as keywords by @alex-pinkus in #367
- Highlight
Self
anddefer
appropriately by @alex-pinkus in #368 - Create tags pointing at with-generated-files commits by @alex-pinkus in #369
Full Changelog: 0.4.0...0.4.1
0.4.0
What's Changed
- Expose binding pattern kind by @ketkarameya in #304
- Add wrapper around value aruments's label by @ketkarameya in #314
- Add indents used in nvim-treesitter by @alex-pinkus in #325
- Loosen the restrictions around directly assignable expressions by @alex-pinkus in #324
- Update availability conditions to support #unavailable by @alex-pinkus in #326
- Remove unpublished top repository by @alex-pinkus in #332
- Update nan 2.15 -> 2.18 by @peterkos in #330
- Add initial textobjects.scm by @peterkos in #331
New Contributors
Full Changelog: 0.3.6...0.4.0
0.3.6 release
What's Changed
- Revert "Fix precedence of prefix expressions vs nav expressions" by @alex-pinkus in #279
Full Changelog: 0.3.5...0.3.6
0.3.5
What's Changed
- Sync queries with nvim-treesitter by @alex-pinkus in #249
- Add highlight tests by @alex-pinkus in #250
- Add await to highlighted keywords by @alex-pinkus in #251
- Allow lazy as a local modifier by @alex-pinkus in #273
- Regenerate using ABI 14 before publishing to crates.io by @alex-pinkus in #274
- Fix precedence of prefix expressions vs nav expressions by @alex-pinkus in #275
Full Changelog: 0.3.4...0.3.5
0.3.4
What's Changed
- Added instructions for tree-sitter-swift in Web Assembly by @jspears in #237
- Include Make stuff in with-generated-files by @mattmassicotte in #241
- Ignore SPM .build directory by @mattmassicotte in #242
- Pin tree-sitter-cli to 0.20.6 by @alex-pinkus in #243
- Partial regex literal support by @alex-pinkus in #244
- Build ABI 14 as well as 13 when generating the grammar by @alex-pinkus in #245
New Contributors
Full Changelog: 0.3.3...0.3.4
0.3.3
What's Changed
- Move custom operator handling to
scanner.c
by @alex-pinkus in #220- Fix
scanner.c
operator handling with custom ops that start with/
by @alex-pinkus in #227 - Fix warning about unsigned to signed int casts by @alex-pinkus in #224
- Fix
- Fix impossible pattern in highlight queries by @alex-pinkus in #221
- Check queries against older tree-sitter versions by @alex-pinkus in #223
- Use pure Javascript-specified parsing for
...
by @alex-pinkus in #228 - Regenerate parser.c in Makefile when grammar changes by @alex-pinkus in #231
Full Changelog: 0.3.2...0.3.3
0.3.2
What's Changed
- Treat foo() { } as one call, not two by @alex-pinkus in #211
- Allow complex types in more places by @alex-pinkus in #212
- Allow pattern initializers without initialization expressions by @alex-pinkus in #212
- Differentiate between implicit and explicit semicolons by @alex-pinkus in #213
- Disallow
lazy
as a local variable modifier by @alex-pinkus in #214 - Allow a slash right before a string escape by @alex-pinkus in #215
- Allow actor to be used as an identifier by @alex-pinkus in #216
- Add support for very old Swift constructs by @alex-pinkus in #217
Full Changelog: 0.3.1...0.3.2