- Cli build script behavior on release
- Remove top-level
corpus
dir for tests The cli will now only look intest/corpus
for tests - Remove redundant escape regex & curly brace regex preprocessing (tree-sitter#2838)
- bindings: Convert node bindings to NAPI (tree-sitter#3077)
- wasm: Make
current*
,is*
, andhas*
methods properties (tree-sitter#3103) - wasm: Keep API in-line with upstream and start aligning with node (tree-sitter#3149)
- Add xtasks to assist with bumping crates (tree-sitter#3065)
- Improve language bindings (tree-sitter#2438)
- Expose the allocator and array header files for external scanners (tree-sitter#3063)
- Add typings for the node bindings
- Replace
nan
withnode-addon-api
and conditionally print logs - bindings: Add more make targets
- bindings: Add peerDependencies for npm
- bindings: Add prebuildify to node
- bindings: Remove dsl types file (tree-sitter#3126)
- node: Type tag the language (tree-sitter#3109)
- test: Add attributes for corpus tests
- Apply some
scan-build
suggestions (unused assignment/garbage access) (tree-sitter#3056) - Wrap
||
comparison in parentheses when&&
is used (tree-sitter#3070) - Ignore unused variables in the array macros (tree-sitter#3083)
binding.cc
overwrite should replacePARSER_NAME
(tree-sitter#3116)- Don't use
__declspec(dllexport)
on windows (tree-sitter#3128) - Parsers should export the language function on windows
- Allow the regex
v
flag (tree-sitter#3154) - assertions: Case shouldn't matter for comment node detection
- bindings: Editorconfig and setup.py fixes (tree-sitter#3082)
- bindings: Insert
types
aftermain
if it exists (tree-sitter#3122) - bindings: Fix template oversights (tree-sitter#3155)
- cli: Only output the sources with
--no-bindings
(tree-sitter#3123) - generate: Add
.npmignore
, populate Swift's exclude list (tree-sitter#3085) - generate: Extern allocator functions for the template don't need to be "exported" (tree-sitter#3132)
- generate: Camel case name in
Cargo.toml
description (tree-sitter#3140) - lib: Include
api.h
sots_set_allocator
is visible (tree-sitter#3092)
- Add GitHub user and PR info to the changelog
- Add css for inline code (tree-sitter#2844)
- Document test attributes
- Add
Ohm
language parser - Remove duplicate
the
's (tree-sitter#3120) - Add discord and matrix badges (tree-sitter#3148)
- Rename TS_REUSE_ALLOCATOR flag (tree-sitter#3088)
- Remove extern/const where possible
- array: Use pragma GCC in clang too
- bindings: Remove npmignore (tree-sitter#3089)
- Don't use TS_REUSE_ALLOCATOR on Darwin systems (tree-sitter#3087)
- Add test case for parse stack merging with incorrect error cost bug (tree-sitter#3098)
- Improve changelog settings (tree-sitter#3064)
- Unify crate versions via workspace (tree-sitter#3074)
- Update
cc
to remove annoying debug output (tree-sitter#3075) - Adjust dependabot settings (tree-sitter#3079)
- Use c11 everywhere
- Add uninstall command
- Don't skip tests on failing lint (tree-sitter#3102)
- Remove unused deps, bump deps, and bump MSRV to 1.74.1 (tree-sitter#3153)
- bindings: Metadata improvements
- bindings: Make everything c11 (tree-sitter#3099)
- dependabot: Update weekly instead of daily (tree-sitter#3112)
- deps: Bump the cargo group with 1 update (tree-sitter#3081)
- deps: Bump the cargo group with 1 update (tree-sitter#3097)
- deps: Bump deps & lockfile (tree-sitter#3060)
- deps: Bump the cargo group with 4 updates (tree-sitter#3134)
- lint: Detect if
Cargo.lock
needs to be updated (tree-sitter#3066) - lint: Make lockfile check quiet (tree-sitter#3078)
- swift: Move 'cLanguageStandard' behind 'targets' (tree-sitter#3101)
- Make Node.js language bindings context aware (tree-sitter#2841) They don't have any dynamic global data, so all it takes is just declaring them as such
- Fix crash when attempting to load ancient languages via wasm (tree-sitter#3068)
- Use workspace dependencies for internal crates like Tree-sitter (tree-sitter#3076)
- Remove vendored wasmtime headers (tree-sitter#3084) When building rust binding, use wasmtime headers provided via cargo by the wasmtime-c-api crate.
- Fix invalid parse stack recursive merging with mismatched error cost (tree-sitter#3086) Allowing this invalid merge caused an invariant to be violated later on during parsing, when handling a later error.
- Fix regression in
subtree_compare
(tree-sitter#3111) - docs: Add
Ohm
language parser (tree-sitter#3114) - Delete
binding_files.rs
(tree-sitter#3106) - bindings: Consistent wording (tree-sitter#3096)
- bindings: Ignore more artifacts (tree-sitter#3119)
-
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.
- Use lockfiles to dedup recompilation
- Improve error message for files with an unknown grammar path (tree-sitter#2475)
- Implement first-line-regex (tree-sitter#2479)
- Error out if an empty string is in the
extras
array - Allow specifying an external scanner's files (tree-sitter#3031)
- Better error info when a scanner is missing required symbols
- cli: Add an optional
grammar-path
argument for the playground (tree-sitter#3014) - cli: Add optional
config-path
argument (tree-sitter#3050) - loader: Add more commonly used default parser directories
- Prettify xml output and add node position info (tree-sitter#2970)
- Inherited grammar generation
- Properly error out when the word property is an invalid rule
- Update schema for regex flags (tree-sitter#3006)
- Properly handle
Query.matches
when filtering out results (tree-sitter#3013) - Sexp format edge case with quoted closed parenthesis (tree-sitter#3016)
- Always push the default files if there's no
externals
- Don't log NUL characters (tree-sitter#3037)
- Don't throw an error if the user uses
map
in the grammar (tree-sitter#3041) - Remove redundant imports (tree-sitter#3047)
- cli: Installation via a HTTP tunnel proxy (tree-sitter#2824)
- cli: Don't update tests automatically if parse errors are detected (tree-sitter#3033)
- cli: Don't use
long
forgrammar_path
- test: Allow writing updates to tests without erroneous nodes instead of denying all of them if a single error is found
- test: Edge case when parsing
UNEXPECTED
/MISSING
nodes with an indentation level greater than 0 - wasm: Remove C++ mangled symbols (tree-sitter#2971)
- Create issue template (tree-sitter#2978)
- Document regex limitations
- Mention that
token($.foo)
is illegal - Explicitly mention behavior of walking outside the given "root" node for a
TSTreeCursor
(tree-sitter#3021) - Small fixes (tree-sitter#2987)
- Add
Tact
language parser (tree-sitter#3030) - web: Provide deno usage information (tree-sitter#2498)
- Extract regex check into a function and lower its precedence
&PathBuf
->&Path
(tree-sitter#3035)- Name anonymous types in api.h (tree-sitter#1659)
- Add quotes around bash variables (tree-sitter#3023)
- Update html tests
- Only create release for normal semver tags (tree-sitter#2973)
- Add useful development targets to makefile (tree-sitter#2979)
- Remove minimum glibc information in summary page (tree-sitter#2988)
- Use the native m1 mac runner (tree-sitter#2995)
- Add editorconfig (tree-sitter#2998)
- Remove symbolic links from repository (tree-sitter#2997)
- Move common Cargo.toml keys into the workspace and inherit them (tree-sitter#3019)
- Remove reviewers when drafting or closing a PR (tree-sitter#2963)
- Enable creating changelogs with git-cliff (tree-sitter#3040)
- Cache fixtures (tree-sitter#3038)
- Don't cancel jobs on master (tree-sitter#3052)
- Relax caching requirements (tree-sitter#3051)
- deps: Bump clap from 4.4.18 to 4.5.0 (tree-sitter#3007)
- deps: Bump wasmtime from v16.0.0 to v17.0.1 (tree-sitter#3008)
- deps: Bump wasmtime to v18.0.1 (tree-sitter#3057)
- sanitize: Add a timeout of 60 minutes (tree-sitter#3017)
- sanitize: Reduce timeout to 20 minutes (tree-sitter#3054)
- Document preferred language for scanner (tree-sitter#2972)
- Add java and tsx to corpus tests (tree-sitter#2992)
- Provide a CLI flag to open
log.html
(tree-sitter#2996) - Some more clippy lints (tree-sitter#3010)
- Remove deprecated query parsing mechanism (tree-sitter#3011)
- Print out full compiler arguments ran when it fails (tree-sitter#3018)
- Deprecate C++ scanners (tree-sitter#3020)
- Add some documentation to the playground page (tree-sitter#1495)
- Update relevant rust tests (tree-sitter#2947)
- Clippy lints (tree-sitter#3032)
- Error out when multiple arguments are passed to
token
/token.immediate
(tree-sitter#3036) - Tidying
- Prefer turbofish syntax where possible (tree-sitter#3048)
- Use published wasmtime crates
- Cleaner cast
- Update
Cargo.lock
- Get rid of
github_issue_test
file (tree-sitter#3055) - cli: Use spawn to display
emcc
's stdout and stderr (tree-sitter#2494) - cli: Warn users when a query path needed for a subcommand isn't specified in a grammar's package.json
- generate: Dedup and warn about duplicate or invalid rules (tree-sitter#2994)
- test: Use different languages for async tests (tree-sitter#2953)
- wasm: Use
SIDE_MODULE=2
to silence warning (tree-sitter#3003)