Skip to content

Commit

Permalink
Update changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
servilla committed Aug 31, 2021
1 parent a07ddf5 commit 793f4b8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/metapype/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed from using protected methods/attributes to public
methods/attributes in method `_validate_children` of `rule.py`.
- Fixed case where children index values may be out of range in method
`_validate_children_choice` of `rule.py`.
`_validate_children_choice` of `rule.py`.

## [0.0.4] 2021-08-30
### Added
- New method `Rule._validate_rule_child()` for verifying node child cardinality.
### Changed/Fixed
- Refactored `Rule._validate_children` using recursion to simplify logic, including
rewriting key `Rule` methods `_validate_choice()` and `_validate_sequence()`.
- Refactored `Rule.get_child_index()` to use `_rule_children_names` when
calculating the insertion index of new node children.

0 comments on commit 793f4b8

Please sign in to comment.