Update dependency tomlkit to v0.15.1#189
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #189 +/- ##
=======================================
Coverage 83.31% 83.31%
=======================================
Files 47 47
Lines 1139 1139
=======================================
Hits 949 949
Misses 190 190
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
August 14, 2022 14:38
9c40b5f to
3e5bf38
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
August 20, 2022 02:55
3e5bf38 to
524af9d
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
August 20, 2022 06:15
524af9d to
0060ca2
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
August 20, 2022 10:31
0060ca2 to
b7a732b
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
September 10, 2022 13:34
b7a732b to
f7bd637
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
September 28, 2022 04:21
f7bd637 to
0f0e596
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
September 28, 2022 15:22
0f0e596 to
4ffd35e
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
October 27, 2022 09:18
4ffd35e to
9fc5bd3
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
November 29, 2022 06:26
9fc5bd3 to
3cf9912
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
December 2, 2022 10:43
3cf9912 to
ce44e60
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
July 30, 2023 05:26
052f5e2 to
4935656
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
November 2, 2023 14:14
4935656 to
a9e3d6f
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
November 15, 2023 00:51
a9e3d6f to
919e8ad
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
February 27, 2024 04:38
919e8ad to
e71fe3c
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
May 8, 2024 16:51
e71fe3c to
c43dbb0
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
July 10, 2024 14:42
c43dbb0 to
1660a01
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
August 14, 2024 03:04
1660a01 to
b9fb85a
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
August 14, 2024 11:55
b9fb85a to
ed9c5fe
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
June 5, 2025 09:37
ed9c5fe to
08ce344
Compare
renovate
Bot
force-pushed
the
renovate/tomlkit-0.x
branch
from
January 13, 2026 01:43
08ce344 to
b32d2af
Compare
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.
This PR contains the following updates:
==0.11.1→==0.15.1Release Notes
python-poetry/tomlkit (tomlkit)
v0.15.1Compare Source
Changed
key in ...) onContainer,TableandInlineTablewith native__contains__implementations, avoiding the inheritedMutableMappinground-trip through__getitem__(which resolves the value and builds an exception on every absent key). (#483)Sourceindex-based: it now tracks an integer position over the input string instead of materializing a list of(index, char)tuples up front, so construction is O(1) and state save/restore no longer copies an iterator. (#489)Source.advance_while/advance_untilconsume a whole run of whitespace, bare-key or number characters in a single pass over the input string instead of oneinc()call per character. (#490)TOMLCharwrapper: the parser now reads plainstrcharacters fromSourceand detects end-of-input positionally, avoiding a per-character object construction and method dispatch. (#492)StringTypemembers by identity (is) instead of building a set on everyis_basic/is_literal/is_singleline/is_multilinecall, avoiding millions of enum hashes while parsing. (#502)[a.b.c]/[a.b.d]headers) from O(n²) into O(n). (#503)key in ...) on out-of-order tables with a nativeOutOfOrderTableProxy.__contains__, completing #483 for the last mapping type that still inherited the slowMutableMappingmixin (which resolves the value and builds an exception on every absent key). (#515)files = [...]blocks that dominate lock files): the parser no longer attempts to read a value while sitting on the closing], which previously built anUnexpectedCharErrorjust to discard it — and constructing that exception eagerly computes a line/column by scanning the whole document, making it O(document size) per such array. (#517)"""/'''bodies the single-line fast path added in #491; a\rstill stops the scan so\r\nstays validated and byte-for-byte preserved. (#518)unwrap()(converting a parsed document to a plaindict) by resolving each key directly from the container's key map instead of iterating the inheritedMutableMappingview, which rebuilt aSingleKeyfrom the bare string for every key just to re-look-up the value. Out-of-order tables still resolve through their proxy, so their validation is unchanged. (#521)as_string()/dumps()) of inline tables with many keys by precomputing the last-key and last-deleted-element indices in a single pass, instead of rescanning the remaining body on every separator comma — turning an O(n²) render into O(n). (#525)Fixed
string()dropping a leading newline of a multiline string on round-trip: a value beginning with a newline is now rendered with an extra leading newline (the one the parser trims after the opening delimiter) so it survives re-parsing.ParseErrorwhen a sub-table extends the last element of an array of tables after an unrelated table. (#261)doc["a"] = {...}whereacame froma.b = ...): the dotted prefix was duplicated onto the new[a]header, and the header then swallowed any sibling that follows it on round-trip. The replacement now renders as a plain table and, when needed, moves before the inline entries (values and dotted keys) it would otherwise capture. (#513, #524)dumps()rendering mapping-like wrappers around a parsed document (e.g.dotty_dict'sDotty) through their delegatedas_string, preserving the original table order and layout instead of re-encoding through a plain dict — a 0.15.0 regression. (#482)RecursionError. Values nested more than 100 levels deep and keys with more than 100 dotted fragments now raiseParseError. (#459)comment()producing invalid TOML for a multiline string by prefixing every line with#, not just the first. (#449)KeyAlreadyPresenterror when parsing or accessing an out-of-order table whose array-of-tables elements are split across the table's parts. (#505)tomllibbehaviour. (#523)doc["a"] = aot(...)whereacame froma.b = ...): the new[[a]]header kept the dotted key's inline position and swallowed the following dotted sibling on round-trip. The array of tables now renders past the inline entries it would otherwise capture, mirroring the table fix for #513. (#542)a.b = 1) whose table had gained a[a.c]-style child placed the scalar inside that table's scope, silently re-nesting it on round-trip. Scalars now move before such an entry, like they do before regular tables. (#543)[table]header when adding a key to an out-of-order table whose concrete header is declared after its sub-tables; the new key now lands in the existing concrete part instead of giving the header-less super part a second header. (#545)doc[k] = doc[k]rewriting[keys .'a'.'c']to[keys.a.'c']. (#291)str()andrepr()of out-of-order table proxies to show their merged values. (#536)v0.15.0Compare Source
Changed
v0.14.0Compare Source
Changed
Added
_parentand_sort_keysparameters to enable proper encoding of nested structures. (#429)String.typeproperty to get the string type. (#443)v0.13.3Compare Source
Added
.item()method to array and tables to retrieve an item by key. (#390)Fixed
v0.13.2Compare Source
Fixed
v0.13.1Compare Source
Fixed
Table.is_super_table()check for tables with dotted key as the only child. (#374)v0.13.0Compare Source
Changed
TypeErrorfrom a custom encoder. (#355)Fixed
datetime.replace()change. (#333)v0.12.5Compare Source
Fixed
v0.12.4Compare Source
Fixed
|and|=operator for tables, and support+and+=operator for arrays. (#331)v0.12.3Compare Source
Fixed
v0.12.2Compare Source
Fixed
v0.12.1Compare Source
Fixed
v0.12.0Compare Source
Added
Fixed
datetime.utcnow(). (#308)v0.11.8Compare Source
Fixed
v0.11.7Compare Source
Fixed
unwrap()method forContainerchildren values which sometimes returns an internal object if the table is an out-of-order table. (#264)v0.11.6Compare Source
Fixed
v0.11.5Compare Source
Fixed
unwrap()and datetime parsing. (#229)v0.11.4Compare Source
Fixed
lru_cacheon methods. (#227)v0.11.3Compare Source
Fixed
Noneitems. (#221)array.add_linethat it incorrectly adds a comma to non-value lines. (#223)v0.11.2Compare Source
Fixed
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.