Skip to content

Commit c2a5599

Browse files
committed
Bump to version 2.1.0
1 parent cdf6a9e commit c2a5599

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [2.1.0] - 2022-04-12
10+
11+
### Added
12+
13+
- The `SyntaxTree::Visitor` class now implements the visitor pattern for Ruby nodes.
14+
- The `SyntaxTree::Visitor.visit_method(name)` method.
15+
- Support for Ruby 2.7.
16+
- Support for comments on `rescue` and `else` keywords.
17+
- `SyntaxTree::Location` now additionally has `start_column` and `end_column`.
18+
- The CLI now accepts content over STDIN for the `ast`, `check`, `debug`, `doc`, `format`, and `write` commands.
19+
20+
### Removed
21+
22+
- The missing hash value inlay hints have been removed.
23+
924
## [2.0.1] - 2022-03-31
1025

1126
### Changed
@@ -128,7 +143,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
128143

129144
- 🎉 Initial release! 🎉
130145

131-
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.0.1...HEAD
146+
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.1.0...HEAD
147+
[2.1.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.0.1...v2.1.0
132148
[2.0.1]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.0.0...v2.0.1
133149
[2.0.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v1.2.0...v2.0.0
134150
[1.2.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v1.1.1...v1.2.0

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
syntax_tree (2.0.1)
4+
syntax_tree (2.1.0)
55

66
GEM
77
remote: https://rubygems.org/

lib/syntax_tree/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module SyntaxTree
4-
VERSION = "2.0.1"
4+
VERSION = "2.1.0"
55
end

0 commit comments

Comments
 (0)