tree-sitter/CHANGELOG.md
2024-10-05 21:50:28 -04:00

39 KiB

Changelog

[0.24.2] - 2024-10-06

Features

  • Drop legacy binding updates

Bug Fixes

  • templates: Properly replace author email

Build System and CI

  • bindings: Improve cmake file
  • cmake: Support amalgamated build
  • cmake: Correct library scopes
  • make: Fix tree-sitter.pc generation (#3745)

Other

  • templates: Update npm packages

[0.24.1] - 2024-10-04

Bug Fixes

  • generate: Move generated header files into the generate crate

Other

  • 0.24.1

[0.24.0] - 2024-10-04

Breaking

Features

Bug Fixes

Documentation

Refactor

Build System and CI

Other

[0.23.2] - 2024-10-01

This release only corrected the version in a crate so publishing wouldn't fail.

[0.23.1] - 2024-09-30

Features

  • bindings: Bump go-tree-sitter version
  • generate: Bump tree-sitter dev dependency to 0.23
  • language: Derive Clone and Copy on LanguageFn

Bug Fixes

  • Correct comment quote
  • Properly handle utf8 code points for highlight and tag assertions
  • Do not generate spurious files if the grammar path is not the default path
  • Disallow empty string literals in rules
  • Correct test name parsing when the prior test has equal signs
  • Handle more cases of editing subtrees that depend on column values
  • Exclude APIs that dup given file descriptors from WASI builds
  • binding_web: Correct edit signature
  • binding_web: Remove nonexistent function definition
  • cli: Remove conflicting short flags in the fuzz subcommand
  • cli: Keep skipped tests unchanged in the test/corpus
  • cli: Remove duplicate short options from fuzz command (#3635)
  • docs: Fix highlight readme example using compatible versions
  • fuzz: Skip tests marked with :skip & don't report errors on tests marked with :error
  • generate: Remove necessary files from gitignore template
  • generate: Disallow inline variables referencing themselves
  • generate: Add tree-sitter to the dev-dependencies of the Cargo.toml
  • generate: Do not generate large character sets for unused variables
  • generate: Remove excludes in Package.swift
  • lib: Correct extra node creation from non-zero root-alias cursors
  • lib: Backtrack to the last relevant iterator if no child was found
  • lib: Peek at the next sibling when iterating to find the child that contains a given descendant
  • lib: Correct descendant-for-range behavior with zero-width tokens
  • rust: Add missing TSNode functions
  • test: Exit with an error if a test marked with :error has no error
  • test: Retain attributes when running test -u
  • wasm: Use / paths for workdir

Build System and CI

  • deps: Bump the cargo group across 1 directory with 11 updates
  • make: Support darwin cross-compile

Other

  • bindings: Update rust lib docs

[0.23.0] - 2024-08-26

Breaking

Features

Bug Fixes

Performance

Documentation

Refactor

Testing

Build System and CI

Other

[0.22.6] — 2024-05-05

Features

Bug Fixes

Documentation

Refactor

Build System and CI

[0.22.5] — 2024-04-14

Bug Fixes

[0.22.4] — 2024-04-12

Bug Fixes

  • Fix sorting of transitions within a lex state
  • Include 2-character ranges in array-based state transitions

Build System and CI

  • Always bump at least the patch version in bump xtask

[0.22.3] — 2024-04-12

Features

Bug Fixes

Performance

Documentation

  • Add NGINX grammar

Refactor

Testing

Build System and CI

[0.22.2] — 2024-03-17

Breaking

  • cli: Add a separate build command to compile parsers

Features

Bug Fixes

Documentation

Refactor

Testing

Build System and CI

[0.22.1] — 2024-03-10

Bug Fixes

  • Cli build script behavior on release

[0.22.0] — 2024-03-10

Breaking

Features

Bug Fixes

Documentation

Refactor

Testing

Build System and CI

Other

[0.21.0] — 2024-02-21

Breaking

  • Remove the apply-all-captures flag, make last-wins precedence the default

    NOTE: This change might cause breakage in your grammar's highlight tests. Just flip the order around of the relevant queries, and keep in mind that the last query that matches will win.

Features

Bug Fixes

Documentation

Refactor

Testing

Build System and CI

Other