This release, which is nominally a patch release because it really contains no new user-facing features, is filled with a massive amount of bug fixes and code improvements. Highlights include:
- The tag parsing code above the tokenizer has been refactored into two classes.
- The
Memoizer
mixin was simplified back into a plain superclass. - JSON spec testing was added.
- Most of the plain
Error
objects thrown throughout the code have been replaced withIssueError
objects. - Validation of the
requireChild
schema attribute now occurs during tag conversion for HED 3 data. - Several other bugs were fixed.
- The CI was simplified.
What's Changed
- Streamline commands in package.json by @happy5214 in #166
- Fix XML file transformation by @happy5214 in #167
- Use commaMissing issue for missing comma before tag group by @happy5214 in #170
- Added codespell to the repository by @VisLab in #172
- Corrected COMMA MISSING hedCode to be COMMA_MISSING by @VisLab in #174
- Updated the NODE VERSION to latest for CI by @VisLab in #181
- Check if extension tag has valid name (allow UTF-8) by @VisLab in #185
- Initial commit of the spec testing by @VisLab in #186
- Separated the spec-tests into separate github action by @VisLab in #187
- Added Score 2.0.0 to the internal data by @VisLab in #188
- Started the implementation of special tag handling by @VisLab in #189
- Updated spec and corrected syntax error by @VisLab in #191
- Fix duplicate tag check by @happy5214 in #192
- Fix sidecar syntax issues by @happy5214 in #193
- Fix bug with tag group equivalence that was causing tests to fail by @happy5214 in #194
- Update spec -- corrected several tests and update JSON regex for value validation by @VisLab in #195
- Add isError method to Issue class by @happy5214 in #197
- Convert Memoizer back to plain class by @happy5214 in #199
- Move all throws of IssueError to new static method by @happy5214 in #201
- Throw errors from ParsedHedTag constructors instead of using field by @happy5214 in #200
- Move HED 3 requireChild testing to TagConverter and refactor that class by @happy5214 in #202
- Rewrite HED string parsing and splitting as classes by @happy5214 in #203
Full Changelog: v3.15.4...v3.15.5