Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2025

Bumps petitparser from 6.0.2 to 7.0.1.

Changelog

Sourced from petitparser's changelog.

7.0.1

  • Dart and Flutter 3.9 compatibility.
  • Minor optimization to repeating character parsers.
  • Assertion on looping trim parser.

7.0.0

  • Dart 3.8 requirement.
  • Support for unicode character parsing in all relevant character parsers.
  • Most character parser constructors now uniformly support the following named arguments (breaking-change):
    • message: to customize the default error message;
    • ignoreCase: to accept lower- and upper-case variations; and
    • unicode: to decode surrogate pairs and instead of UTF-16 only.
  • For consistency and better flexibility in the future, replaced optional arguments to a named ones in various other constructors: Parser.flatten({String message}), Parser.not({String message}), Parser.neg({String message}), Parser.end({String message}), Parser.starString([String? message]), Parser.plusString({String? message}), Parser.timesString(int count, {String? message}), Parser.repeatString(int min, int max, {String? message}), failure({String message}), newline({String message}), undefined({String message}) (breaking-change).
  • Cleanup, simplifications, and optimizations to the codebase.
  • Removal of long deprecated code.

6.1.0

  • Improve documentation and fix broken links.
  • Prevent infinite recursion in repeating parsers.
  • Improve performance of case-insensitive string matching and the permutation parser.
  • Make the loopback variable in the expression builder public (thanks to joranmulderij).
  • Fix various bugs in equality testing of character predicates (thanks to North101).

6.0.0

  • Dart 3.0 requirement.
  • Use Dart Records for typed sequences:
    • Add convenience converter: (char('a'), char('b')).toSequenceParser()
    • And extension methods to emulate the old Sequence classes, deprecate old accessors.
  • Make Result a sealed class to be able to pattern match Success and Failure.
    • Removed the unused generic type of Failure, which is of type Result<Never> now.
    • Deprecated isSuccess and isFailure, instead use the more efficient is Success and is Failure operators.
  • Reintroduce hasSideEffect in MapParser and consider callbacks to be side-effect free by default.
  • The above changes give typical parser speed improvements between 10% and 30%.

5.4.0

  • Dart 2.19 requirement, enabled strict casts and type inference.
  • Introduce repeating character parser starString, plusString, timesString and repeatString for extra fast reading of strings.
  • Renamed AnyParser to AnyCharacterParser, and CharacterParser to SingleCharacterParser for consistency.
  • Add support for optional expression groups in the ExpressionBuilder.
  • Optimize, cleanup, and improve code and documentation.
  • Add optimize to in-place optimize parser graphs.

5.3.0

  • Maintenance release deprecating some old code in anticipation of the upcoming major release.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [petitparser](https://github.com/petitparser/dart-petitparser) from 6.0.2 to 7.0.1.
- [Changelog](https://github.com/petitparser/dart-petitparser/blob/main/CHANGELOG.md)
- [Commits](petitparser/dart-petitparser@v6.0.2...v7.0.1)

---
updated-dependencies:
- dependency-name: petitparser
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants