Repository navigation
Support TOML 1.1 syntax in Toml.parse - #10184
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: d0ef170 The changes in this PR will be included in the next version bump. This PR includes changesets to release 33 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
effect-bot
force-pushed
the
agent/effect-bot/6ef803e451f3
branch
from
October 30, 2026 04:09
f782130 to
d0ef170
Compare
tim-smart
pushed a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 3, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
tim-smart
pushed a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 4, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 6, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 7, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 7, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 7, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 8, 2026
tim-smart
pushed a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 16, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 17, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 18, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 19, 2026
effect-bot
added a commit
that referenced
this pull request
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Toml.parsenow accepts the syntax added in TOML 1.1.0. TOML 1.1 only adds to the 1.0 grammar, so every document that parsed before still gives the same value.{ , }and{ a = 1,, }are still rejected.\e(ESC) and\xHH.\xHHgoes through the same hex check as\u/\U. Literal strings stay raw, so'\x41'is still the four characters\x41.Tor a space as the separator. Seconds are filled in as:00before the existing range checks run, so13:37gives"13:37:00",1979-05-27T07:32gives"1979-05-27T07:32:00", and24:00is still rejected.There is no version option: TOML 1.1 is the current spec and accepts everything 1.0 does. The module and
parsedoc comments now say the parser follows TOML 1.1 and describe the seconds normalization. Ships as aneffectminor.Against toml-test 1.1.0, valid documents the parser wrongly rejects go from 12 to 1, and no extra invalid documents are accepted. The one still rejected is the optional
integer/long.toml(int64 max); integer range is out of scope here.Closes #10179
Closes EFF-3172