Releases: balena-io-modules/odata-parser
Releases · balena-io-modules/odata-parser
v4.2.10
v4.2.9
v4.2.8
Update dependency lint-staged to v16
Notable changes
- #1610
e93578eThanks @iiroj! - Try to improve terminating of subprocess of tasks by usingSIGKILL, and only callingpidtreewhen the the main task process has a known pid. - #1608
4e3ce22Thanks @srsatt! - Detect the git repo's top-level directory correctly when in a worktree. - #1604
90b37b0Thanks @iiroj! - Add anothertypesfield topackage.jsonto make even more sure NPM detects that lint-staged includes built-in TypeScript type definitions. - #1602
7ea700bThanks @dword-design! - Add thetypesfield topackage.jsonto make sure NPM detects lint-staged includes built-in TypeScript type definitions. - #1570
a7c0c88Thanks @ItsNickBarry! - When using--diff-filterwith theDoption to include deleted staged files, lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error fromgit addlikefatal: pathspec 'deleted-file' did not match any files. 38f942eThanks @iiroj! - Removed an extraneous log entry that printedshouldHidePArtiallyStagedFilesto console output.- #1565
3686977Thanks @iiroj! - Lint-staged now explicitly warns about potential data loss when using--no-stash. - #1571
02299a9Thanks @iiroj! - Function tasks (introduced in v16.0.0) only receive the staged files matching the configured glob, instead of all staged files. - #1563
bc61c74Thanks @iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the--no-stashoption. This happened because--no-stashimplied--no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit by lint-staged; this is no longer the case. - #1536
e729daaThanks @iiroj! - A new flag--no-reverthas been introduced for when task modifications should be applied to the index before aborting the commit in case of errors. By default, lint-staged will clear all task modifications and revert to the original state. - #1550
b27fa3fThanks @iiroj! - Lint-staged now ignores symlinks and leaves them out from the list of staged files. - #1558
c37dc38Thanks @iiroj! - The minimum required Node.js version is lowered to20.17following [email protected]. - #1546
158d15cThanks @iiroj! - Processes are spawned using nano-spawn instead of execa. If you are using Node.js scripts as tasks, you might need to explicitly run them withnode, especially when using Windows: - #1546
158d15cThanks @iiroj! - The--shellflag has been removed and lint-staged no longer supports evaluating commands directly via a shell. To migrate existing commands, you can create a shell script and invoke it instead. Lint-staged will pass matched staged files as a list of arguments, accessible via"$@​":
lint-staged/lint-staged (lint-staged)
v16.1.6
Patch Changes
- #1610
e93578eThanks @iiroj! - Try to improve terminating of subprocess of tasks by usingSIGKILL, and only callingpidtreewhen the the main task process has a known pid.
v16.1.5
Patch Changes
- #1608
4e3ce22Thanks @srsatt! - Detect the git repo's top-level directory correctly when in a worktree.
v16.1.4
Patch Changes
- #1604
90b37b0Thanks @iiroj! - Add anothertypesfield topackage.jsonto make even more sure NPM detects that lint-staged includes built-in TypeScript type definitions.
v16.1.3
Patch Changes
- #1602
7ea700bThanks @dword-design! - Add thetypesfield topackage.jsonto make sure NPM detects lint-staged includes built-in TypeScript type definitions.
v16.1.2
Patch Changes
-
#1570
a7c0c88Thanks @ItsNickBarry! - When using--diff-filterwith theDoption to include deleted staged files, lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error fromgit addlikefatal: pathspec 'deleted-file' did not match any files. -
38f942eThanks @iiroj! - Removed an extraneous log entry that printedshouldHidePArtiallyStagedFilesto console output.
v16.1.1
Patch Changes
- #1565
3686977Thanks [@iiroj](https://redirect...
v4.2.7
Update dependency peggy to v5
Notable changes
- Now supports testing with -t and -T with "amd", "umd", and "globals" format. Fork/exec no longer needed in basic generation path.
- Adjust repository's Git configuration around CR/LF normalization. #639
- Now uses tsup for code generation instead of tsc and rollup. This may be user-visible, since tsup injects different polyfills than typescript was. #644
- Fix unicode ranges whose upper bound is astral.
- Update dependencies.
- Tweak TypeScript output from --dts to make error type more clear. #623
- Test on Node 24, but not Node 23.
- Write a message after failing a compile in watch mode.
- Fix TypeScript error in peg.d.ts, SyntaxError constructor should not have a return type.
- Add more Unicode to fizzbuzz example.
- Catch invalid unicode property escapes at compile time.
- Fix TypeScript error in peg.d.ts.
- Fix SyntaxError definition in peg.d.ts
- BREAKING: Generated code no longer supports ES5. You can still generate
- BREAKING: Node.js v20+ is now required for the CLI tools. No testing is
- BREAKING: The SyntaxError class exported from generated parsers is now a
- BREAKING: The grammar parser now uses your JavaScript environment's understanding
- Extend library mode to include a success flag and a function for throwing
- Slightly better verbose output from the CLI, showing where files are written.
- Merged class rules (rules which consist of a character class like
- Superfluous rules (rules which cannot be reached from an allowedStartRule)
- Character classes now process characters not in the Basic Multi-Lingual
- Unicode characters may now be specified with the
\u{hex}syntax, allowing - Errors pointing to non-BMP characters as the "found" text will now show the
- Character classes can now be annotated with the "u" flag, which will force
- Empty inverted character classes such as
[^]or[^]unow match one - String literals may now contain characters from outside the BMP.
- Character classes may now contain
\p{}or\P{}escapes to match or - A new "semantic" pass has been added to the compiler, which occurs after all
- Unreachable code in rules like
'b'* / 'c',![],&[],!('f'*), and - Globals, UMD, and CommonJS are now downloadable from the online version. The
- Switch to pnpm-action instead of corepack for GitHub Actions. Ensure that help text always wraps the same in tests, no matter the actual terminal width. #588
- All libraries used in the web site brought up-to-date, versioned with all
- Code coverage increased for Peggy Grammar parser.
- Minor changes in code generation for parsers. More consistent indentation,
- Avoid performance cliff for deeply-nested grammars when checking for
- Small measures to try to get
deno run -A npm:peggyto work. We will not - Fix a bug with named NEVER_MATCH expressions.
- Warnings from grammar parsing are now presented more fully to the user in
- One of the intermediate files that is generated in tests was not getting
- Link to browserlist support matrix in documentation.
- When clicking on the link to the examples grammar, do not download the
- Set a minimum height for the editors in the online version.
- Update the docs for newly-created compiler passes. Make pluck and literal
peggyjs/peggy (peggy)
v5.0.6
Released: 2025-08-05
New features
- Now supports testing with -t and -T with "amd", "umd", and "globals" format. Fork/exec no longer needed in basic generation path.
#643
Bug fixes
- Adjust repository's Git configuration around CR/LF normalization. #639
- Now uses tsup for code generation instead of tsc and rollup. This may be user-visible, since tsup injects different polyfills than typescript was. #644
v5.0.5
Released: 2025-07-10
Bug fixes
- Fix unicode ranges whose upper bound is astral.
#636
v5.0.4
Released: 2025-06-20
Bug fixes
- Update dependencies.
#630
v5.0.3
Released: 2025-05-30
Bug fixes
- Tweak TypeScript output from --dts to make error type more clear. #623
- Test on Node 24, but not Node 23.
#624 - Write a message after failing a compile in watch mode.
#624
Documentation
v5.0.2
Released: 2025-05-07
Bug fixes
- Fix TypeScript error in peg.d.ts, SyntaxError constructor should not have a return type.
#619 - Add more Unicode to fizzbuzz example.
#619 - Catch invalid unicode property escapes at compile time.
#619
v5.0.1
Released: 2025-05-07
Bug fixes
v5.0.0
Released: 2025-05-03
Major Changes
- BREAKING: Generated code no longer supports ES5. You can still generate
commonjs or es6 exports, but the code itself requires ES2020. If you need
to support earlier runtimes, you should use a transpiler such as Babel.
Generated code now usesconstandlet, but is still not strict about
usingconstwherever possible, due to the complexities of code generation.
Work-arounds and polyfills for class extension, padding, andObject.assign
have been removed in favor of their ES2020 equivalents.
#593 - BREAKING: Node.js v20+ is now required for the CLI tools. No testing is
performed on earlier versions of Node, and no issues will be fixed for
earlier versions. #593 - BREAKING: The SyntaxError class exported from generated parsers is now a
proper subclass of the built-in ECMAscript SyntaxError class. The name of
the type has changed toPeggySyntaxError, which may cause some slight need
for rework in TypeScript-aware projects. This was the main driver behind
moving away from ES5. #593 - BREAKING: The grammar parser now uses your JavaScript environment's understanding
of Unicode classes, rather than a partial copy of Unicode 8 as before. This
should be more correct and evolve over time while staying backward-compatible
to the extent that the Unicode Consortium keeps to its goals. Because this
might slightly affect what rule names are valid, we are marking this as a
breaking change just in case.
#602
New features
- Extend library mode to include a success flag and a function for throwing
syntax errors when needed. Library mode is still intended as internal-only,
and subject to backward-incompatible changes in future versions.
#501 - Slightly better verbose output from the CLI, showing where files are written.
#601 - Merged class rules (rules which consist of a character class like
foo = [0-9]that are only called from a rule likebar = foo / [a-z], which
merges the two classes together into a single rule likebar = [0-9a-z]),
and which are not allowedStartRules, are no longer output into the generated
parser, since there is no way for that code to be called. This has a chance
of generating issues for people who are calling the internals of the
generated parser using
@peggyjs/coverage, but that's a
lightly-documented feature of that library.
#594 - Superfluous rules (rules which cannot be reached from an allowedStartRule)
no longer generate code into the parser. An INFO-level debug statement is
generated for each of these removals. Like merged class rules above, this
should only be removing dead code.
[#594](https://redirect.github.com/peggyjs/peg...
v4.2.6
v4.2.5
v4.2.4
v4.2.3
v4.2.2
Update dependency mocha to v11
Notable changes
- bump yargs to 17 (#5165) (8f1c8d8)
- replace
strip-ansiwithutil.stripVTControlCharacters(#5267) (3c191c0), closes #5265 - catch exceptions setting Error.stackTraceLimit (#5254) (259f8f8)
- error handling for unexpected numeric arguments passed to cli (#5263) (210d658)
- correct outdated
status: accepting prslink (#5268) (f729cd0) - replace "New in" with "Since" in version annotations (#5262) (6f10d12)
- bumped glob dependency from 8 to 10 (#5250) (43c3157)
- fix examples for
linkPartialObjectsmethods (#5255) (34e0e52) - adapt new engine range for Mocha 11 (#5216)
- allow calling hook methods (#5231) (e3da641)
- adapt new engine range for Mocha 11 (#5216) (80da25a)
- downgrade example/tests chai to 4.5.0 (#5245) (eac87e1)
mochajs/mocha (mocha)
v11.1.0
🌟 Features
- bump yargs to 17 (#5165) (8f1c8d8)
- replace
strip-ansiwithutil.stripVTControlCharacters(#5267) (3c191c0), closes #5265
v11.0.2
🩹 Fixes
- catch exceptions setting Error.stackTraceLimit (#5254) (259f8f8)
- error handling for unexpected numeric arguments passed to cli (#5263) (210d658)
📚 Documentation
- correct outdated
status: accepting prslink (#5268) (f729cd0) - replace "New in" with "Since" in version annotations (#5262) (6f10d12)
v11.0.1
🌟 Features
📚 Documentation
v11.0.0
⚠ BREAKING CHANGES
- adapt new engine range for Mocha 11 (#5216)
🌟 Features
🩹 Fixes
📚 Documentation
List of commits
118d834 (Update dependency mocha to v11, 2025-03-18)