Skip to content

Commit 1742008

Browse files
committed
Release 0.15.0
1 parent dfdc798 commit 1742008

7 files changed

+24
-12
lines changed

CHANGELOG.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66
## [Unreleased]
77

8+
## [0.15.0] - 2021-03-15
9+
- Upgraded `tree-sitter` crate to 0.19.3, which:
10+
+ Added [negated-field query patterns](https://github.com/tree-sitter/tree-sitter/pull/983).
11+
+ Fixed some bugs, mostly query-related.
12+
+ Is required to support newer versions of the language grammars.
13+
+ Raised the minimum and maximum supported language ABI versions to 13. Older versions of the language bundle `tree-sitter-langs` (before 0.10.0) will not be loaded.
14+
815
## [0.14.0] - 2021-03-10
916
- Added ABI compatibility checks when loading a language object from a dynamic library.
1017
- Made `tsc-make-query` signal concrete error symbols, instead of `rust-panic`.
@@ -107,8 +114,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
107114

108115
## [0.1.0] - 2020-01-27
109116
Initial release
110-
c
111-
[Unreleased]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.14.0...HEAD
117+
118+
[Unreleased]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.15.0...HEAD
119+
[0.15.0]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.14.0...0.15.0
112120
[0.14.0]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.13.1...0.14.0
113121
[0.13.1]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.13.0...0.13.1
114122
[0.13.0]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.12.2...0.13.0

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.14.0"
3+
version = "0.15.0"
44
authors = ["Tuấn-Anh Nguyễn <[email protected]>"]
55
edition = "2018"
66
publish = false

core/tsc.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
;;; tsc.el --- Core Tree-sitter APIs -*- lexical-binding: t; coding: utf-8 -*-
22

3-
;; Copyright (C) 2019 Tuấn-Anh Nguyễn
3+
;; Copyright (C) 2021 Tuấn-Anh Nguyễn
44
;;
55
;; Author: Tuấn-Anh Nguyễn <[email protected]>
66
;; Jorge Javier Araya Navarro <[email protected]>
77
;; Keywords: languages tools parsers dynamic-modules tree-sitter
88
;; Homepage: https://github.com/ubolonton/emacs-tree-sitter
9-
;; Version: 0.14.0
9+
;; Version: 0.15.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.14.0"
27+
(defconst tsc--dyn-version "0.15.0"
2828
"Required version of the dynamic module `tsc-dyn'.")
2929
(require 'tsc-dyn-get)
3030
(tsc-dyn-get-ensure tsc--dyn-version))

langs

Submodule langs updated from 8f1f22d to 5d362ce

lisp/tree-sitter-tests.el

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@
1919
(let ((tree-sitter-langs--testing t))
2020
(require 'tree-sitter-langs))
2121
;;; Build the grammars, if necessary.
22-
(dolist (lang-symbol '(rust python javascript c bash))
22+
(dolist (lang-symbol '(rust python javascript c))
2323
(tree-sitter-langs-ensure lang-symbol))
2424

25+
;; XXX: Bash grammar failed 'tree-sitter test' on Windows: 'Escaped newlines'.
26+
(with-demoted-errors "Failed to ensure bash grammar %s"
27+
(tree-sitter-langs-ensure 'bash))
28+
2529
(require 'ert)
2630

2731
(eval-when-compile

lisp/tree-sitter.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
;;; tree-sitter.el --- Incremental parsing system -*- lexical-binding: t; coding: utf-8 -*-
22

3-
;; Copyright (C) 2019 Tuấn-Anh Nguyễn
3+
;; Copyright (C) 2021 Tuấn-Anh Nguyễn
44
;;
55
;; Author: Tuấn-Anh Nguyễn <[email protected]>
66
;; Keywords: languages tools parsers tree-sitter
77
;; Homepage: https://github.com/ubolonton/emacs-tree-sitter
8-
;; Version: 0.14.0
9-
;; Package-Requires: ((emacs "25.1") (tsc "0.14.0"))
8+
;; Version: 0.15.0
9+
;; Package-Requires: ((emacs "25.1") (tsc "0.15.0"))
1010
;; SPDX-License-Identifier: MIT
1111

1212
;;; Commentary:

0 commit comments

Comments
 (0)