Skip to content

Commit 7c3ac74

Browse files
committed
Release 0.16.0
1 parent 785f7f4 commit 7c3ac74

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66
## [Unreleased]
7+
8+
## 0.16.0 - 2021-12-08
79
- Upgraded `tree-sitter` crate to 0.20.0, which:
810
+ Changed the semantics of range-restricted query to report matches that intersect the range, instead of only fully-contained matches. See [tree-sitter#1130](https://github.com/tree-sitter/tree-sitter/pull/1130).
911
+ Fixed [an issue](https://github.com/tree-sitter/tree-sitter/pull/1372#issuecomment-924958513) where multiple patterns with the same capture names can result in the first capture being omitted.
10-
- Disabled query-region extension, to improve performance. Added a flag to turn it back on: `tree-sitter-hl-enable-query-region-extension`.
12+
- Improved performance:
13+
+ Disabled query-region extension. Added a flag to turn it back on: `tree-sitter-hl-enable-query-region-extension`.
14+
+ Increased default chunk size for parsing from 1024 to 4096.
1115

1216
## [0.15.2] - 2021-09-12
1317
- Reduced GC pressure by not making the text property `face` a list if there is only one face.

core/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "emacs-tree-sitter"
3-
version = "0.15.2"
3+
version = "0.16.0"
44
authors = ["Tuấn-Anh Nguyễn <[email protected]>"]
55
edition = "2018"
66
publish = false

core/tsc.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;; Jorge Javier Araya Navarro <[email protected]>
77
;; Keywords: languages tools parsers dynamic-modules tree-sitter
88
;; Homepage: https://github.com/emacs-tree-sitter/elisp-tree-sitter
9-
;; Version: 0.15.2
9+
;; Version: 0.16.0
1010
;; Package-Requires: ((emacs "25.1"))
1111
;; SPDX-License-Identifier: MIT
1212

@@ -24,7 +24,7 @@
2424

2525
;; Load the dynamic module at compile time as well, to satisfy the byte compiler.
2626
(eval-and-compile
27-
(defconst tsc--dyn-version "0.15.2"
27+
(defconst tsc--dyn-version "0.16.0"
2828
"Required version of the dynamic module `tsc-dyn'.")
2929
(require 'tsc-dyn-get)
3030
(tsc-dyn-get-ensure tsc--dyn-version))

lisp/tree-sitter.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
;; Author: Tuấn-Anh Nguyễn <[email protected]>
66
;; Keywords: languages tools parsers tree-sitter
77
;; Homepage: https://github.com/emacs-tree-sitter/elisp-tree-sitter
8-
;; Version: 0.15.2
9-
;; Package-Requires: ((emacs "25.1") (tsc "0.15.2"))
8+
;; Version: 0.16.0
9+
;; Package-Requires: ((emacs "25.1") (tsc "0.16.0"))
1010
;; SPDX-License-Identifier: MIT
1111

1212
;;; Commentary:

0 commit comments

Comments
 (0)