Skip to content

Commit

Permalink
Release 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ubolonton committed Mar 15, 2021
1 parent dfdc798 commit 1742008
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 12 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [0.15.0] - 2021-03-15
- Upgraded `tree-sitter` crate to 0.19.3, which:
+ Added [negated-field query patterns](https://github.com/tree-sitter/tree-sitter/pull/983).
+ Fixed some bugs, mostly query-related.
+ Is required to support newer versions of the language grammars.
+ 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.

## [0.14.0] - 2021-03-10
- Added ABI compatibility checks when loading a language object from a dynamic library.
- Made `tsc-make-query` signal concrete error symbols, instead of `rust-panic`.
Expand Down Expand Up @@ -107,8 +114,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.1.0] - 2020-01-27
Initial release
c
[Unreleased]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.14.0...HEAD

[Unreleased]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.15.0...HEAD
[0.15.0]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.14.0...0.15.0
[0.14.0]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.13.1...0.14.0
[0.13.1]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.13.0...0.13.1
[0.13.0]: https://github.com/ubolonton/emacs-tree-sitter/compare/0.12.2...0.13.0
Expand Down
2 changes: 1 addition & 1 deletion 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.14.0"
version = "0.15.0"
authors = ["Tuấn-Anh Nguyễn <[email protected]>"]
edition = "2018"
publish = false
Expand Down
6 changes: 3 additions & 3 deletions core/tsc.el
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
;;; tsc.el --- Core Tree-sitter APIs -*- lexical-binding: t; coding: utf-8 -*-

;; Copyright (C) 2019 Tuấn-Anh Nguyễn
;; Copyright (C) 2021 Tuấn-Anh Nguyễn
;;
;; Author: Tuấn-Anh Nguyễn <[email protected]>
;; Jorge Javier Araya Navarro <[email protected]>
;; Keywords: languages tools parsers dynamic-modules tree-sitter
;; Homepage: https://github.com/ubolonton/emacs-tree-sitter
;; Version: 0.14.0
;; Version: 0.15.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.14.0"
(defconst tsc--dyn-version "0.15.0"
"Required version of the dynamic module `tsc-dyn'.")
(require 'tsc-dyn-get)
(tsc-dyn-get-ensure tsc--dyn-version))
Expand Down
2 changes: 1 addition & 1 deletion langs
Submodule langs updated from 8f1f22 to 5d362c
6 changes: 5 additions & 1 deletion lisp/tree-sitter-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@
(let ((tree-sitter-langs--testing t))
(require 'tree-sitter-langs))
;;; Build the grammars, if necessary.
(dolist (lang-symbol '(rust python javascript c bash))
(dolist (lang-symbol '(rust python javascript c))
(tree-sitter-langs-ensure lang-symbol))

;; XXX: Bash grammar failed 'tree-sitter test' on Windows: 'Escaped newlines'.
(with-demoted-errors "Failed to ensure bash grammar %s"
(tree-sitter-langs-ensure 'bash))

(require 'ert)

(eval-when-compile
Expand Down
6 changes: 3 additions & 3 deletions lisp/tree-sitter.el
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
;;; tree-sitter.el --- Incremental parsing system -*- lexical-binding: t; coding: utf-8 -*-

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

;;; Commentary:
Expand Down

0 comments on commit 1742008

Please sign in to comment.