Skip to content

Bump rapidyaml from 0.10.0 to 0.12.1#651

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rapidyaml-0.12.1
Open

Bump rapidyaml from 0.10.0 to 0.12.1#651
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rapidyaml-0.12.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps rapidyaml from 0.10.0 to 0.12.1.

Release notes

Sourced from rapidyaml's releases.

Release 0.12.1

  • Fix #597: parse error when quoted scalars start with ... or --- (PR#598). This fixes a regression introduced in (PR#587), while trying to ensure a parse error when ... or --- occur in quoted scalars at a line begin.

Release 0.12.0

This release focuses in compliance with the YAML standard, mostly by ensuring parse errors in invalid YAML cases.

rapidyaml is now 100% compliant to the YAML test suite, both for valid and invalid YAML cases. 🎉

General fixes and improvements

  • Narrow the scope of %TAG to only the following document, as per the standard (PR#588). This required or prompted some API changes:
    • Added new type TagDirectives
    • Added ParseOptions::resolve_tags() and ParseOptions::resolve_tags_all() options to allow controling resolution of tags while parsing. When disabled (which is the default), the tree still has Tree::resolve_tags() to perform post-parsing or programmatic resolution.
    • Changed TagDirective to point at its in-scope document, changed API to reflect this.
    • ParseEngine now has an instance of TagDirectives, and is in charge of updating it and checking for directive errors.
    • Removed the old TagDirective m_tag_directives[] members from the ints and testsuite handlers. Tree also has its own TagDirectives member, redundantly updated during parsing: this enables programmatic manipulation the tree's tag directives .
    • The event handlers now track the current document id, in order to enable the document scope check for %TAG directives. This required adding node id tracking to the ints and testsuite handlers.
    • Added Tree::ancestor_doc(node_id) and ConstNodeRef::ancestor_doc() to query for the parent document of a node. This is needed to implement resolution of tags.
    • NodeType: rename tag directive types TAGD->TAGH (tag handle) and TAGV->TAGP (tag prefix).
    • Internal changes to improve the design of event handlers, moving relocation and error checking logic to ParseEngine, where it is most suited.
    • Fix warnings with clang-tidy 22
  • PR#596: Add TagCache accelerator structure (in c4/yml/tag.hpp), used by Tree::resolve_tags() and the parser engine. This reduces significantly the arena requirements for heavily-tagged YAML by ensuring reuse of resolved tags.

YAML fixes: valid cases

Fix parsing of valid YAML corner cases:

  • Ambiguity of tags/anchors in ? mode (PR#587):
    ? &mapanchor
      key: val
    ?
      &keyanchor key: val
  • flow tags/anchors with omitted plain scalar (PR#587):
    # ... likewise for !tag
    - [&anchor,&anchor]
    - {&anchor,&anchor}
    - [&anchor :,&anchor :]
    - {&anchor :,&anchor :}
    - [: &anchor,: &anchor]
    - {: &anchor,: &anchor}
    ---
    ? anchor
  • flow tags/anchors terminating with : (the colon is part of the tag/anchor) (PR#587):
    # ... likewise for !tag:

... (truncated)

Commits
  • b56567b v0.12.1
  • 5ab774e Merge pull request #598 from biojppm/fix/597_quoted_ellipsis
  • da5cc7a Fix parse error on quoted scalars beginning with ... or ---
  • b52185e v0.12.0
  • d2c5476 CI: ensure canary-dependent jobs only run on success
  • 6abbcff Merge pull request #596 from biojppm/add_tag_cache
  • c96d75a Add helper to dbgprint maybe null strings
  • 43269d3 Add TagCache
  • 40cc950 Merge pull request #595 from biojppm/remove_testsuite_handler
  • 078cc31 Remove EventHandlerTestSuite: use EventHandlerInts instead
  • Additional commits viewable in compare view

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 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 [rapidyaml](https://github.com/biojppm/rapidyaml) from 0.10.0 to 0.12.1.
- [Release notes](https://github.com/biojppm/rapidyaml/releases)
- [Commits](biojppm/rapidyaml@v0.10.0...v0.12.1)

---
updated-dependencies:
- dependency-name: rapidyaml
  dependency-version: 0.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants