Skip to content

Commit

Permalink
Release 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ubolonton committed Dec 8, 2021
1 parent 785f7f4 commit 7c3ac74
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## 0.16.0 - 2021-12-08
- Upgraded `tree-sitter` crate to 0.20.0, which:
+ 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).
+ 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.
- Disabled query-region extension, to improve performance. Added a flag to turn it back on: `tree-sitter-hl-enable-query-region-extension`.
- Improved performance:
+ Disabled query-region extension. Added a flag to turn it back on: `tree-sitter-hl-enable-query-region-extension`.
+ Increased default chunk size for parsing from 1024 to 4096.

## [0.15.2] - 2021-09-12
- Reduced GC pressure by not making the text property `face` a list if there is only one face.
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emacs-tree-sitter"
version = "0.15.2"
version = "0.16.0"
authors = ["Tuấn-Anh Nguyễn <[email protected]>"]
edition = "2018"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions core/tsc.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Jorge Javier Araya Navarro <[email protected]>
;; Keywords: languages tools parsers dynamic-modules tree-sitter
;; Homepage: https://github.com/emacs-tree-sitter/elisp-tree-sitter
;; Version: 0.15.2
;; Version: 0.16.0
;; Package-Requires: ((emacs "25.1"))
;; SPDX-License-Identifier: MIT

Expand All @@ -24,7 +24,7 @@

;; Load the dynamic module at compile time as well, to satisfy the byte compiler.
(eval-and-compile
(defconst tsc--dyn-version "0.15.2"
(defconst tsc--dyn-version "0.16.0"
"Required version of the dynamic module `tsc-dyn'.")
(require 'tsc-dyn-get)
(tsc-dyn-get-ensure tsc--dyn-version))
Expand Down
4 changes: 2 additions & 2 deletions lisp/tree-sitter.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
;; Author: Tuấn-Anh Nguyễn <[email protected]>
;; Keywords: languages tools parsers tree-sitter
;; Homepage: https://github.com/emacs-tree-sitter/elisp-tree-sitter
;; Version: 0.15.2
;; Package-Requires: ((emacs "25.1") (tsc "0.15.2"))
;; Version: 0.16.0
;; Package-Requires: ((emacs "25.1") (tsc "0.16.0"))
;; SPDX-License-Identifier: MIT

;;; Commentary:
Expand Down

0 comments on commit 7c3ac74

Please sign in to comment.