chore(deps): bump tomlkit from 0.15.1 to 0.15.2 #59

Merged
dependabot[bot] merged 1 commits from dependabot/pip/tomlkit-0.15.2 into macos 2026-11-01 05:11:19 +00:00
dependabot[bot] commented 2026-11-01 04:54:23 +00:00 (Migrated from github.com)

Bumps tomlkit from 0.15.1 to 0.15.2.

Release notes

Sourced from tomlkit's releases.

0.15.2

What's Changed

... (truncated)

Changelog

Sourced from tomlkit's changelog.

[0.15.2] - 2026-10-16

Changed

  • Write the ESC control character as \u001b instead of \e, which is only valid in TOML 1.1, so the output stays readable by TOML 1.0 parsers such as tomllib. (#641)
  • key_value() now raises UnexpectedCharError on anything other than whitespace or a comment after the pair, instead of silently discarding it (e.g. key_value("a = 1 b = 2")), matching parse(). (#594)
  • integer() given a string now validates it against the TOML integer grammar and keeps the original text, so grouping underscores (e.g. integer("1_000")) survive dumps(); strings that are not valid TOML integers (e.g. "010") now raise ValueError. (#336)
  • Add a fold argument to DateTime and Time, mirroring the stdlib, and carry fold through item(), arithmetic (including datetime subtraction) and unwrap(), so a folded local time no longer converts an hour off. (#619, #623, #626)
  • Declare the project metadata in the PEP 621 [project] table; building from source now requires poetry-core>=2.2.0. (#607, #609)

Fixed

  • Fix valid TOML being rejected when an out-of-order table reopens an implicit super-table with a dotted key: [a.b.c] then [a] with b.z = 1 extends the implicit a.b super-table rather than redefining it (stdlib tomllib accepts it), so it now parses and round-trips instead of raising Redefinition of an existing table. The concrete-table case ([a.b] then [a] b.z = 1) stays rejected. (#565)
  • Fix uppercase E exponent after a leading-zero mantissa (e.g. 0E2) being rejected as an invalid number while 0e2 parsed fine. (#586)
  • Fix non-lowercase special floats (e.g. Inf, NaN, -INF) being accepted; TOML only allows lowercase inf and nan, so they now raise ParseError. (#628)
  • Fix parse errors reporting the wrong line and column in documents with CRLF or mixed line endings. (#642)
  • Fix item() reordering the keys of an inline table (dict-valued keys were forced last) under the default sort_keys=False. (#546)
  • Fix unwrap() moving a key to the end after its value was replaced (e.g. doc["b"] = 9), while dumps() and keys() kept the original order. (#591)
  • Fix appending a key to a parsed inline table that uses ", " separators emitting a bare "," for the new entry, leaving the table inconsistently spaced (e.g. {x = 1, y = 2,z = 3}). (#595)
  • Fix an emptied array of tables being dropped from the output: it now renders as key = [], placed and keyed relative to the nearest table header so it parses back into the same table. (#567)
  • Fix a single-line array whose last element is a trailing comment (e.g. from add_line(value, comment=...)) rendering its closing ] on the comment line, producing unparseable output. (#580)
  • Fix del array[start:stop:step] with a negative or omitted bound removing the wrong elements from the rendered output. (#599)
  • Fix array slice assignment mutating the array before raising ValueError("slice assignment is not supported"). (#600)
  • Fix String.__add__ splicing the appended text into a basic string without escaping it, so appending a quote or backslash produced invalid TOML. (#612)
  • Fix a bare carriage return in a multiline string producing invalid TOML: it is now escaped as \r in a multiline basic string and rejected with InvalidStringError in a multiline literal string; CRLF line endings are left intact. (#539)
  • Fix a tz-aware datetime.time rendering with a UTC offset (e.g. 07:32:00+02:00), which TOML local times do not allow; it now renders as a local time. (#613)
  • Fix arithmetic on a signed float producing +-0.0 (e.g. -1.5 times 0), which does not parse. (#629)
  • Fix two Bool items never comparing equal to each other; they now compare by value. (#660)
Commits
  • a0b15eb chore: release 0.15.2 (#668)
  • 18e7f98 Compare Bool items by value (#660)
  • 19edc23 [pre-commit.ci] pre-commit autoupdate (#654)
  • 6b5f079 Render an emptied array of tables as an empty array (#567)
  • 229ee86 fix: don't reject an out-of-order super-table extended by a dotted key (#565)
  • 096148f escape or reject a bare carriage return in multiline strings (#539)
  • 5fe4329 test: add coverage for tomlkit._types wrapper operators (#570)
  • 2279e18 Enable intersphinx so stdlib references resolve (#624)
  • a963fe1 Preserve inline table key order in item() (#546) (#552)
  • 446d6fa Reject non-lowercase special float literals (#628)
  • 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 [tomlkit](https://github.com/python-poetry/tomlkit) from 0.15.1 to 0.15.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-poetry/tomlkit/releases">tomlkit's releases</a>.</em></p> <blockquote> <h2>0.15.2</h2> <h2>What's Changed</h2> <ul> <li>Fix inline table separator after append by <a href="https://github.com/cyliu0"><code>@​cyliu0</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/477">python-poetry/tomlkit#477</a></li> <li>chore(deps): bump idna from 3.7 to 3.15 in /docs by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/481">python-poetry/tomlkit#481</a></li> <li>chore(deps-dev): bump idna from 3.7 to 3.15 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/480">python-poetry/tomlkit#480</a></li> <li>chore(deps): bump urllib3 from 2.5.0 to 2.7.0 in /docs by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/475">python-poetry/tomlkit#475</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/478">python-poetry/tomlkit#478</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/484">python-poetry/tomlkit#484</a></li> <li>Fix duplicated comma when removing a middle inline table element by <a href="https://github.com/sarathfrancis90"><code>@​sarathfrancis90</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/486">python-poetry/tomlkit#486</a></li> <li>Add native <strong>contains</strong> to Container, Table and InlineTable by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/487">python-poetry/tomlkit#487</a></li> <li>Make Source index-based instead of materializing a char list by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/489">python-poetry/tomlkit#489</a></li> <li>reject surrogate code points in \U unicode escapes by <a href="https://github.com/netliomax25-code"><code>@​netliomax25-code</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/493">python-poetry/tomlkit#493</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/496">python-poetry/tomlkit#496</a></li> <li>Scan character runs in bulk while parsing by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/490">python-poetry/tomlkit#490</a></li> <li>Fix doubled comma when inserting into a comma-first array by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/499">python-poetry/tomlkit#499</a></li> <li>reject tab characters in bare keys by <a href="https://github.com/netliomax25-code"><code>@​netliomax25-code</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/497">python-poetry/tomlkit#497</a></li> <li>reject non-hex digits in \u and \U escapes by <a href="https://github.com/netliomax25-code"><code>@​netliomax25-code</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/501">python-poetry/tomlkit#501</a></li> <li>Bulk-scan single-line string bodies by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/491">python-poetry/tomlkit#491</a></li> <li>Remove the internal TOMLChar wrapper by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/492">python-poetry/tomlkit#492</a></li> <li>Fix corrupt output when adding to a dotted key inside an inline table by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/500">python-poetry/tomlkit#500</a></li> <li>Compare StringType members by identity instead of building a set by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/502">python-poetry/tomlkit#502</a></li> <li>Merge super tables in place instead of deep-copying on every merge by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/503">python-poetry/tomlkit#503</a></li> <li>Move a value replacing a table out of the table region by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/506">python-poetry/tomlkit#506</a></li> <li>Restore dumps() delegating to as_string for non-Mapping wrappers by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/508">python-poetry/tomlkit#508</a></li> <li>Limit parser nesting depth instead of crashing with RecursionError by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/510">python-poetry/tomlkit#510</a></li> <li>Prefix every line of a multiline comment with # by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/511">python-poetry/tomlkit#511</a></li> <li>Add a native OutOfOrderTableProxy.<strong>contains</strong> by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/515">python-poetry/tomlkit#515</a></li> <li>Place inline-table separator after the value, not a trailing comment (fix <a href="https://redirect.github.com/python-poetry/tomlkit/issues/512">#512</a>) by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/514">python-poetry/tomlkit#514</a></li> <li>reject a table redefined after its parent table header by <a href="https://github.com/netliomax25-code"><code>@​netliomax25-code</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/516">python-poetry/tomlkit#516</a></li> <li>Don't build a discarded error when an array closes right after a value by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/517">python-poetry/tomlkit#517</a></li> <li>Validate out-of-order tables incrementally while parsing by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/509">python-poetry/tomlkit#509</a></li> <li>Return a single key from key() for a single-element list (fixes <a href="https://redirect.github.com/python-poetry/tomlkit/issues/430">#430</a>) by <a href="https://github.com/tienvantranspk-tech"><code>@​tienvantranspk-tech</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/520">python-poetry/tomlkit#520</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/522">python-poetry/tomlkit#522</a></li> <li>Speed up unwrap() by resolving keys from the key map instead of items() by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/521">python-poetry/tomlkit#521</a></li> <li>Merge AoT fragments when building an out-of-order table proxy by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/507">python-poetry/tomlkit#507</a></li> <li>Bulk-scan multiline string bodies by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/518">python-poetry/tomlkit#518</a></li> <li>reject array-of-tables header missing its second closing bracket by <a href="https://github.com/netliomax25-code"><code>@​netliomax25-code</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/519">python-poetry/tomlkit#519</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/541">python-poetry/tomlkit#541</a></li> <li>Fix ParseError when a sub-table extends an array of tables out of order by <a href="https://github.com/sarathfrancis90"><code>@​sarathfrancis90</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/498">python-poetry/tomlkit#498</a></li> <li>Render inline tables in O(n) instead of O(n²) by <a href="https://github.com/tfoutrein"><code>@​tfoutrein</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/525">python-poetry/tomlkit#525</a></li> <li>Fix duplicated prefix and captured sibling when replacing a dotted key with a table by <a href="https://github.com/Labib-Bin-Salam"><code>@​Labib-Bin-Salam</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/526">python-poetry/tomlkit#526</a></li> <li>Reject tables inserted into inline tables by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/532">python-poetry/tomlkit#532</a></li> <li>raise on malformed array element instead of dropping it by <a href="https://github.com/netliomax25-code"><code>@​netliomax25-code</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/527">python-poetry/tomlkit#527</a></li> <li>fix: reject out-of-order concrete+super table redefinitions at parse time by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/530">python-poetry/tomlkit#530</a></li> <li>fix: keep newline after dotted inline table by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/533">python-poetry/tomlkit#533</a></li> <li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/548">python-poetry/tomlkit#548</a></li> <li>chore(deps): bump soupsieve from 2.5 to 2.8.4 in /docs by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/560">python-poetry/tomlkit#560</a></li> <li>chore(deps-dev): bump soupsieve from 2.4.1 to 2.8.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/559">python-poetry/tomlkit#559</a></li> <li>Preserve whitespace when replacing super tables by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/534">python-poetry/tomlkit#534</a></li> <li>Preserve table display names on self assignment by <a href="https://github.com/binggao1230"><code>@​binggao1230</code></a> in <a href="https://redirect.github.com/python-poetry/tomlkit/pull/537">python-poetry/tomlkit#537</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python-poetry/tomlkit/blob/master/CHANGELOG.md">tomlkit's changelog</a>.</em></p> <blockquote> <h2>[0.15.2] - 2026-10-16</h2> <h3>Changed</h3> <ul> <li>Write the ESC control character as <code>\u001b</code> instead of <code>\e</code>, which is only valid in TOML 1.1, so the output stays readable by TOML 1.0 parsers such as <code>tomllib</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/641">#641</a>)</li> <li><code>key_value()</code> now raises <code>UnexpectedCharError</code> on anything other than whitespace or a comment after the pair, instead of silently discarding it (e.g. <code>key_value(&quot;a = 1 b = 2&quot;)</code>), matching <code>parse()</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/594">#594</a>)</li> <li><code>integer()</code> given a string now validates it against the TOML integer grammar and keeps the original text, so grouping underscores (e.g. <code>integer(&quot;1_000&quot;)</code>) survive <code>dumps()</code>; strings that are not valid TOML integers (e.g. <code>&quot;010&quot;</code>) now raise <code>ValueError</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/336">#336</a>)</li> <li>Add a <code>fold</code> argument to <code>DateTime</code> and <code>Time</code>, mirroring the stdlib, and carry <code>fold</code> through <code>item()</code>, arithmetic (including datetime subtraction) and <code>unwrap()</code>, so a folded local time no longer converts an hour off. (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/619">#619</a>, <a href="https://redirect.github.com/python-poetry/tomlkit/pull/623">#623</a>, <a href="https://redirect.github.com/python-poetry/tomlkit/pull/626">#626</a>)</li> <li>Declare the project metadata in the PEP 621 <code>[project]</code> table; building from source now requires <code>poetry-core&gt;=2.2.0</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/607">#607</a>, <a href="https://redirect.github.com/python-poetry/tomlkit/pull/609">#609</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Fix valid TOML being rejected when an out-of-order table reopens an implicit super-table with a dotted key: <code>[a.b.c]</code> then <code>[a]</code> with <code>b.z = 1</code> extends the implicit <code>a.b</code> super-table rather than redefining it (stdlib <code>tomllib</code> accepts it), so it now parses and round-trips instead of raising <code>Redefinition of an existing table</code>. The concrete-table case (<code>[a.b]</code> then <code>[a]</code> <code>b.z = 1</code>) stays rejected. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/565">#565</a>)</li> <li>Fix uppercase <code>E</code> exponent after a leading-zero mantissa (e.g. <code>0E2</code>) being rejected as an invalid number while <code>0e2</code> parsed fine. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/586">#586</a>)</li> <li>Fix non-lowercase special floats (e.g. <code>Inf</code>, <code>NaN</code>, <code>-INF</code>) being accepted; TOML only allows lowercase <code>inf</code> and <code>nan</code>, so they now raise <code>ParseError</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/628">#628</a>)</li> <li>Fix parse errors reporting the wrong line and column in documents with CRLF or mixed line endings. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/642">#642</a>)</li> <li>Fix <code>item()</code> reordering the keys of an inline table (dict-valued keys were forced last) under the default <code>sort_keys=False</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/546">#546</a>)</li> <li>Fix <code>unwrap()</code> moving a key to the end after its value was replaced (e.g. <code>doc[&quot;b&quot;] = 9</code>), while <code>dumps()</code> and <code>keys()</code> kept the original order. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/591">#591</a>)</li> <li>Fix appending a key to a parsed inline table that uses <code>&quot;, &quot;</code> separators emitting a bare <code>&quot;,&quot;</code> for the new entry, leaving the table inconsistently spaced (e.g. <code>{x = 1, y = 2,z = 3}</code>). (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/595">#595</a>)</li> <li>Fix an emptied array of tables being dropped from the output: it now renders as <code>key = []</code>, placed and keyed relative to the nearest table header so it parses back into the same table. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/567">#567</a>)</li> <li>Fix a single-line array whose last element is a trailing comment (e.g. from <code>add_line(value, comment=...)</code>) rendering its closing <code>]</code> on the comment line, producing unparseable output. (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/580">#580</a>)</li> <li>Fix <code>del array[start:stop:step]</code> with a negative or omitted bound removing the wrong elements from the rendered output. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/599">#599</a>)</li> <li>Fix array slice assignment mutating the array before raising <code>ValueError(&quot;slice assignment is not supported&quot;)</code>. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/600">#600</a>)</li> <li>Fix <code>String.__add__</code> splicing the appended text into a basic string without escaping it, so appending a quote or backslash produced invalid TOML. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/612">#612</a>)</li> <li>Fix a bare carriage return in a multiline string producing invalid TOML: it is now escaped as <code>\r</code> in a multiline basic string and rejected with <code>InvalidStringError</code> in a multiline literal string; CRLF line endings are left intact. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/539">#539</a>)</li> <li>Fix a tz-aware <code>datetime.time</code> rendering with a UTC offset (e.g. <code>07:32:00+02:00</code>), which TOML local times do not allow; it now renders as a local time. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/613">#613</a>)</li> <li>Fix arithmetic on a signed float producing <code>+-0.0</code> (e.g. <code>-1.5</code> times <code>0</code>), which does not parse. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/629">#629</a>)</li> <li>Fix two <code>Bool</code> items never comparing equal to each other; they now compare by value. (<a href="https://redirect.github.com/python-poetry/tomlkit/pull/660">#660</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-poetry/tomlkit/commit/a0b15ebb09167ede584fc36ad5362fc3039b0530"><code>a0b15eb</code></a> chore: release 0.15.2 (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/668">#668</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/18e7f98252f18db5c973435453cd25e1c7bd4c61"><code>18e7f98</code></a> Compare Bool items by value (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/660">#660</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/19edc23b0244e1546abbf3b7890c3d8a0deeaf81"><code>19edc23</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/654">#654</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/6b5f079099d4bd77b442f4fae96a10790ba3d55c"><code>6b5f079</code></a> Render an emptied array of tables as an empty array (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/567">#567</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/229ee8660872df482a56c93c83b14ac98fedf864"><code>229ee86</code></a> fix: don't reject an out-of-order super-table extended by a dotted key (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/565">#565</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/096148f8947adbfbae7b36bce356a3da7fc1dbf1"><code>096148f</code></a> escape or reject a bare carriage return in multiline strings (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/539">#539</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/5fe4329fee7943d2376104e5977f3e3baa6d6abd"><code>5fe4329</code></a> test: add coverage for tomlkit._types wrapper operators (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/570">#570</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/2279e18aacb8504a3d153ea623ad6f3edcf15cfe"><code>2279e18</code></a> Enable intersphinx so stdlib references resolve (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/624">#624</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/a963fe16d67afaa5293a2c21cfaf9bba666d5647"><code>a963fe1</code></a> Preserve inline table key order in item() (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/546">#546</a>) (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/552">#552</a>)</li> <li><a href="https://github.com/python-poetry/tomlkit/commit/446d6fab132ef38a2ec052a5b2124e04b427dea6"><code>446d6fa</code></a> Reject non-lowercase special float literals (<a href="https://redirect.github.com/python-poetry/tomlkit/issues/628">#628</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python-poetry/tomlkit/compare/0.15.1...0.15.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tomlkit&package-manager=pip&previous-version=0.15.1&new-version=0.15.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
S4NKALP (Migrated from github.com) reviewed 2026-11-01 04:54:23 +00:00
Sign in to join this conversation.