Skip to content

Commit 98b8939

Browse files
committed
Release 0.3.0
1 parent 288a3a5 commit 98b8939

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ 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-
- Changed all APIs to use Emacs's 1-based byte positions instead of 0-based byte offsets.
8-
- Changed all APIs to use Emacs's 1-based line numbers instead of 0-based row numbering.
9-
- Changed representation of tree-sitter point from 2-element vector to cons cell.
10-
- Changed representation of query match/capture from 2-element vector to cons cell.
7+
8+
## [0.3.0] - 2020-02-21
9+
- Used Emacs's 1-based byte positions and line numbers instead of 0-based byte offsets and row coordinates.
10+
- Used cons cells instead of 2-element vectors to represent tree-sitter points and query matches/captures.
1111

1212
## [0.2.0] - 2020-02-02
1313
- Upgraded `tree-sitter` to 0.6.0.
@@ -17,5 +17,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1717
## [0.1.0] - 2020-01-27
1818
Initial release
1919

20-
[Unreleased]: https://github.com/ubolonton/emacs-tree-sitte/compare/0.2.0...HEAD
20+
[Unreleased]: https://github.com/ubolonton/emacs-tree-sitte/compare/0.3.0...HEAD
21+
[0.3.0]: https://github.com/ubolonton/emacs-tree-sitte/compare/0.2.0...0.3.0
2122
[0.2.0]: https://github.com/ubolonton/emacs-tree-sitte/compare/0.1.0...0.2.0

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ If you want to hack on `emacs-tree-sitter` itself, see the section [Setup for De
8282
These types are understood only by this package. They are not recognized by `type-of`, but have corresponding type-checking predicates, which are useful for debugging: `ts-language-p`, `ts-tree-p`, `ts-node-p`...
8383
8484
For consistency with Emacs's conventions, this binding has some differences compared to the tree-sitter's C/Rust APIs:
85-
- It uses 1-based byte position, not 0-based byte offset.
86-
- It uses 1-based line number, not 0-based row.
85+
- It uses 1-based byte positions, not 0-based byte offsets.
86+
- It uses 1-based line numbers, not 0-based row coordinates.
8787
8888
### Functions
8989

tree-sitter.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Tuấn-Anh Nguyễn <[email protected]>
66
;; Keywords: languages tools parsers dynamic-modules tree-sitter
77
;; Homepage: https://github.com/ubolonton/emacs-tree-sitter
8-
;; Version: 0.2.0
8+
;; Version: 0.3.0
99
;; Package-Requires: ((emacs "25.1"))
1010
;; License: MIT
1111

0 commit comments

Comments
 (0)