Update CHANGELOG.md and UPGRADING.md for v3.0.0

This commit is contained in:
Josh Holtrop 2026-02-09 22:08:20 -05:00
parent ef6a0f9552
commit 9c787f0e89
2 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,21 @@
## v3.0.0
### New Features
- Add support for multiple starting rules (#38)
- Add `p_free_tree()` functions to reclaim generated tree memory
- Add `free_token_node` grammar statement to reclaim user-allocated memory stored in a Token tree node `pvalue` field
- Add valgrind memory leak tests to unit tests
- Fix build issues for C++ to officially support C++ target output
### Improvements
- Document `p_lex()` and `p_token_info_t` in user guide (#37)
### Breaking changes
- Rename AST generation mode to tree generation mode (see [UPGRADING.md]())
## v2.3.0 ## v2.3.0
### New Features ### New Features

7
UPGRADING.md Normal file
View File

@ -0,0 +1,7 @@
## v3.0.0
### Grammar changes
- Rename `ast;` statement to `tree;`.
- Rename `ast_prefix;` statement to `tree_prefix;`.
- Rename `ast_suffix;` statement to `tree_suffix;`.