Skip to content

Commit

Permalink
Version bump: 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erezsh committed Nov 15, 2021
1 parent 2ec9636 commit 4181e47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ v1.0

- `maybe_placeholders` is now True by default

- `use_accepts` in `UnexpectedInput.match_examples()` is now True by default

- Token priority is now 0 by default

- `v_args(meta=True)` now gives meta as the first argument. i.e. `(meta, children)`

- Renamed TraditionalLexer to BasicLexer, and 'standard' lexer option to 'basic'

- Default priority is now 0, for both terminals and rules (used to be 1 for terminals)

- Discard mechanism is now done by returning Discard, instead of raising it as an exception.
- Discard mechanism is now done by returning Discard, instead of raising it as an exception.

- `use_accepts` in `UnexpectedInput.match_examples()` is now True by default

- `v_args(meta=True)` now gives meta as the first argument. i.e. `(meta, children)`
2 changes: 1 addition & 1 deletion lark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .lexer import Token
from .lark import Lark

__version__: str = "1.0.0a"
__version__: str = "1.0.0"

0 comments on commit 4181e47

Please sign in to comment.