Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Commit

Permalink
Release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seven1m committed Oct 25, 2022
1 parent da6dc53 commit ad0e71c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,35 @@
# Changelog

## 2.2.0 (2022-10-24)

- FIX: Allow backreference as first arg of implicit call
- FIX: Exclude `?` and `!` from class/instance/global variable name
- FIX: Fix parsing of hashes containing assignments
- FIX: Parse aliases of unary operators and methods named as keywords
- FIX: Parse alias of keyword-like method to assignment method
- FIX: Parse alias/undef of assignment methods
- FIX: Parse backtick as method name
- FIX: Parse class/module definition in dynamic class/module
- FIX: Parse `def !`
- FIX: Parse `def foo::bar`
- FIX: Parse `foo(<<FOO)`
- FIX: Parse `for ... do` and `while ... do`
- FIX: Parse global variables beginning with `$_`
- FIX: Parse keywords/operators as method names for `::`
- FIX: Parse __LINE__ constant
- FIX: Parse more percent strings
- FIX: Parse more regexes
- FIX: Parse more stabby procs without parentheses
- FIX: Parse multiple parameters set to the same default value
- FIX: Parse parentheses-less stabby proc with keyword arg
- FIX: Parse undef of methods with special names
- FIX: Parse `unless ... then`
- FIX: Parse variable names starting with extended ASCII characters
- FIX: Raise SyntaxError for `def ====`
- FIX: Raise syntax error for `def +@.foo`
- FIX: Tokenize unterminated ternary at EOF
- FIX: Use lower precedence for block pass

## 2.1.0 (2022-08-12)

- FEAT: Parse for loops
Expand Down
2 changes: 1 addition & 1 deletion lib/natalie_parser/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

class NatalieParser
VERSION = '2.1.0'
VERSION = '2.2.0'
end

0 comments on commit ad0e71c

Please sign in to comment.