Skip to content

build(deps): bump org.tomlj:tomlj from 1.1.1 to 1.3.0 - #1565

Merged
bmc08gt merged 1 commit into
code/cashfrom
dependabot/gradle/code/cash/org.tomlj-tomlj-1.3.0
Sep 28, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
dependabot/gradle/code/cash/org.tomlj-tomlj-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 25, 2026

Copy link
Copy Markdown
Contributor

Bumps org.tomlj:tomlj from 1.1.1 to 1.3.0.

Release notes

Sourced from org.tomlj:tomlj's releases.

Release 1.3.0

TomlJ is a parser for Tom's Obvious, Minimal Language (TOML).

This release is mostly about error reporting: what TomlJ says when a document is wrong, and how much of the document it can still make sense of afterwards.

Changes since last release

Error reporting and recovery

  • A line that could not begin a key/value pair or table header — one starting with @, =, . or ]], say — used to make the parser discard every later line, as did two or more stray tokens after an expression. Recovery now reports the line and resumes on the next one, so a document of a = 1, @ and b = 2 yields both a and b rather than only a.
  • An array, inline table or string that is never closed is reported where the document moves on, and the error now names the line and column at which the value was opened.
  • Error messages name the key or value at fault rather than only the token.
  • Text already reported as an error is passed over, rather than producing a second, misleading error for the same input.
  • A multi-line value ends at the first line that cannot continue it, so a missing value no longer swallows the remainder of the document.

Nesting depth

  • Tables and arrays may nest at most 128 levels deep by default. A document nested deeper is now reported as a parse error, where previously it could exhaust the stack and throw StackOverflowError.
  • The new TomlParseOptions sets that limit, and Toml.parse takes it alongside the existing TomlVersion overloads:
    Toml.parse(source, TomlParseOptions.defaults().withMaxNestingDepth(16));

Specification conformance

  • Unpaired surrogates in strings and comments are rejected, as is \' as an escape in a basic string, and extending an inline table with a table header or dotted key.
  • An invalid quoted key in a table header, a malformed zone offset, and a negative second fraction are each reported as errors instead of throwing out of Toml.parse.
  • Newlines in multi-line strings are normalized to \n.
  • The sign of a -00 zone offset hour is preserved, and a date or time directly before a closing bracket is accepted.
  • A surrogate pair split across two reads from a Reader is no longer duplicated.
  • Array elements are positioned at the value rather than at the preceding newline.
  • An invalid key passed to get(String) and the other dotted-key methods throws IllegalArgumentException.

Writing TOML

  • NaN and infinity are written as TOML float literals.
  • A standalone array of tables is written as an array literal, and an array mixing tables with other values is written inline.
  • Empty keys are quoted, and apostrophes are no longer escaped in basic strings.
  • Valid toml-test cases are now checked to survive a round trip through toToml().

Performance

  • Runs of digits and runs of string characters are lexed as single tokens rather than character by character, which makes integers dramatically faster to lex.
  • Allocation while parsing is reduced by around a fifth.

Note for existing users

Three of the above can change the result for a document that parsed before: the 128-level nesting limit, IllegalArgumentException for an invalid key, and newline normalization in multi-line strings.

Getting TomlJ

... (truncated)

Commits
  • 37d1634 Merge pull request #103 from tomlj/release-1.3.0
  • 99bb1a3 Update README for 1.3.0
  • 9087ff8 Increment version to 1.3.0
  • 8138843 Rewrite the README around error handling
  • 8e44a83 Ignore the .claude directory
  • 084f52f Merge pull request #102 from tomlj/context-children
  • 56d83eb Merge pull request #101 from tomlj/visitor-allocation
  • 2209b03 Size a rule context's child list to fit
  • 2d490b3 Strip a number's underscores without a regex
  • dba1a68 Read a one-token rule's text from its token
  • 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 [org.tomlj:tomlj](https://github.com/tomlj/tomlj) from 1.1.1 to 1.3.0.
- [Release notes](https://github.com/tomlj/tomlj/releases)
- [Commits](tomlj/tomlj@1.1.1...1.3.0)

---
updated-dependencies:
- dependency-name: org.tomlj:tomlj
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file type: build Build system, Gradle, dependencies labels Sep 25, 2026
@github-actions github-actions Bot added the area: build-system Gradle, convention plugins, build-logic label Sep 25, 2026
@bmc08gt
bmc08gt merged commit a08289a into code/cash Sep 28, 2026
4 checks passed
@dependabot
dependabot Bot deleted the dependabot/gradle/code/cash/org.tomlj-tomlj-1.3.0 branch September 28, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic dependencies Pull requests that update a dependency file type: build Build system, Gradle, dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant