Releases: python-poetry/tomlkit
Releases · python-poetry/tomlkit
Release list
0.15.1
What's Changed
- Fix inline table separator after append by @cyliu0 in #477
- chore(deps): bump idna from 3.7 to 3.15 in /docs by @dependabot[bot] in #481
- chore(deps-dev): bump idna from 3.7 to 3.15 by @dependabot[bot] in #480
- chore(deps): bump urllib3 from 2.5.0 to 2.7.0 in /docs by @dependabot[bot] in #475
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #478
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #484
- Fix duplicated comma when removing a middle inline table element by @sarathfrancis90 in #486
- Add native contains to Container, Table and InlineTable by @tfoutrein in #487
- Make Source index-based instead of materializing a char list by @tfoutrein in #489
- reject surrogate code points in \U unicode escapes by @netliomax25-code in #493
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #496
- Scan character runs in bulk while parsing by @tfoutrein in #490
- Fix doubled comma when inserting into a comma-first array by @gaoflow in #499
- reject tab characters in bare keys by @netliomax25-code in #497
- reject non-hex digits in \u and \U escapes by @netliomax25-code in #501
- Bulk-scan single-line string bodies by @tfoutrein in #491
- Remove the internal TOMLChar wrapper by @tfoutrein in #492
- Fix corrupt output when adding to a dotted key inside an inline table by @gaoflow in #500
- Compare StringType members by identity instead of building a set by @tfoutrein in #502
- Merge super tables in place instead of deep-copying on every merge by @tfoutrein in #503
- Move a value replacing a table out of the table region by @gaoflow in #506
- Restore dumps() delegating to as_string for non-Mapping wrappers by @gaoflow in #508
- Limit parser nesting depth instead of crashing with RecursionError by @gaoflow in #510
- Prefix every line of a multiline comment with # by @gaoflow in #511
- Add a native OutOfOrderTableProxy.contains by @tfoutrein in #515
- Place inline-table separator after the value, not a trailing comment (fix #512) by @gaoflow in #514
- reject a table redefined after its parent table header by @netliomax25-code in #516
- Don't build a discarded error when an array closes right after a value by @tfoutrein in #517
- Validate out-of-order tables incrementally while parsing by @gaoflow in #509
- Return a single key from key() for a single-element list (fixes #430) by @tienvantranspk-tech in #520
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #522
- Speed up unwrap() by resolving keys from the key map instead of items() by @tfoutrein in #521
- Merge AoT fragments when building an out-of-order table proxy by @gaoflow in #507
- Bulk-scan multiline string bodies by @tfoutrein in #518
- reject array-of-tables header missing its second closing bracket by @netliomax25-code in #519
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #541
- Fix ParseError when a sub-table extends an array of tables out of order by @sarathfrancis90 in #498
- Render inline tables in O(n) instead of O(n²) by @tfoutrein in #525
- Fix duplicated prefix and captured sibling when replacing a dotted key with a table by @Labib-Bin-Salam in #526
- Reject tables inserted into inline tables by @gaoflow in #532
- raise on malformed array element instead of dropping it by @netliomax25-code in #527
- fix: reject out-of-order concrete+super table redefinitions at parse time by @gaoflow in #530
- fix: keep newline after dotted inline table by @gaoflow in #533
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #548
- chore(deps): bump soupsieve from 2.5 to 2.8.4 in /docs by @dependabot[bot] in #560
- chore(deps-dev): bump soupsieve from 2.4.1 to 2.8.4 by @dependabot[bot] in #559
- Preserve whitespace when replacing super tables by @gaoflow in #534
- Preserve table display names on self assignment by @gaoflow in #537
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #561
- Represent out-of-order table proxies with merged values by @gaoflow in #536
- reject overlong decimal integer instead of coercing to inf by @netliomax25-code in #538
- Fix duplicate table header when adding a key to an out-of-order table by @sarathfrancis90 in #545
- Fix array of tables replacing a dotted key swallowing the next sibling (#542) by @HarperZ9 in #549
- fix: preserve leading newline of multiline string built with string() by @Sanjays2402 in #551
- reject a comment containing line breaks in Item.comment and add_line by @netliomax25-code in #544
- Fix top-level scalar captured by a table rendered from a dotted key by @vineethsaivs in #550
- Float is not a sequence by @dimbleby in #563
New Contributors
- @cyliu0 made their first contribution in #477
- @sarathfrancis90 made their first contribution in #486
- @tfoutrein made their first contribution in #487
- @netliomax25-code made their first contribution in #493
- @gaoflow made their first contribution in #499
- @tienvantranspk-tech made their first contribution in #520
- @Labib-Bin-Salam made their first contribution in #526
- @HarperZ9 made their first contribution in #549
- @Sanjays2402 made their first contribution in #551
- @vineethsaivs made their first contribution in #550
Full Changelog: 0.15.0...0.15.1
0.15.0
What's Changed
- feat(spec): update to toml spec v1.1 by @frostming in #456
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #455
- chore(deps-dev): bump virtualenv from 20.26.6 to 20.36.1 by @dependabot[bot] in #454
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #458
- chore(deps): bump pygments from 2.18.0 to 2.20.0 in /docs by @dependabot[bot] in #464
- chore(deps-dev): bump pygments from 2.17.2 to 2.20.0 by @dependabot[bot] in #463
- chore(deps): bump requests from 2.32.4 to 2.33.0 in /docs by @dependabot[bot] in #462
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #461
- Type annotations by @dimbleby in #460
- Honor sort_keys for parsed TOML documents by @ShipItAndPray in #471
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #469
- fix: fix a parser hang by @dimbleby in #470
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #472
- chore: bump version to 0.15.0 and update changelog for release by @frostming in #473
New Contributors
- @dimbleby made their first contribution in #460
- @ShipItAndPray made their first contribution in #471
Full Changelog: 0.14.0...0.15.0
0.14.0
What's Changed
- chore(deps-dev): bump requests from 2.32.2 to 2.32.4 by @dependabot[bot] in #426
- chore(deps): bump urllib3 from 2.2.2 to 2.5.0 in /docs by @dependabot[bot] in #428
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #424
- chore(deps): bump jinja2 from 3.1.5 to 3.1.6 in /docs by @dependabot[bot] in #433
- chore(deps): bump requests from 2.32.3 to 2.32.4 in /docs by @dependabot[bot] in #432
- fix: Add DottedKey to a super table gives wrong output (#431) by @deltamarnix in #435
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #434
- feat: enhance custom encoders to accept _parent and _sort_keys parameters by @frostming in #436
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #438
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #444
- chore: update Python version and GitHub Actions to use latest versions by @frostming in #451
- chore(deps-dev): bump urllib3 from 2.2.2 to 2.6.3 by @dependabot[bot] in #452
- chore(deps-dev): bump setuptools from 70.0.0 to 78.1.1 by @dependabot[bot] in #453
New Contributors
- @deltamarnix made their first contribution in #435
Full Changelog: 0.13.3...0.14.0
0.13.3
What's Changed
- fix: register encoder's doc incorrectly mentions TypeError by @mathieu-lemay in #384
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #380
- chore(deps-dev): bump virtualenv from 20.26.1 to 20.26.6 by @dependabot in #394
- chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs by @dependabot in #388
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #386
- chore(deps-dev): bump jinja2 from 3.1.4 to 3.1.5 by @dependabot in #395
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #396
- feat: add .item() method to retrieve the item object by @frostming in #397
- Fix: Inconsistent newlines on Windows by @DimmaDont in #402
- Replace pytest's legacy
tmpdirfixture withtmp_pathby @DimmaDont in #403 - Update README.md by @DimmaDont in #404
- Prevent repeated whitespace items in arrays by @DimmaDont in #406
- Aot setitem not implemented fix by @Annakan in #413
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #398
- Fix removal of items from
Arrays by @DimmaDont in #409 - Fix: reject single keys that aren't strings by @savente93 in #416
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #415
- fix: Invalid serialization when overwriting out-of-order table key by @frostming in #417
- fix: Dumping a subelement of a parsed toml fails starting on 4rd level of nesting by @frostming in #419
- chore(deps-dev): bump jinja2 from 3.1.5 to 3.1.6 by @dependabot in #418
- fix: ensure unique table indices when adding items to out-of-order tables by @frostming in #420
- fix: add newline indentation after existing items in Container class by @frostming in #421
- fix: Missing newline at end of file with multiple array of tables can corrupt during dumping by @frostming in #422
- chore: update version to 0.13.3 by @frostming in #423
New Contributors
- @mathieu-lemay made their first contribution in #384
- @DimmaDont made their first contribution in #402
- @Annakan made their first contribution in #413
- @savente93 made their first contribution in #416
Full Changelog: 0.13.2...0.13.3
0.13.2
What's Changed
- fix: delete keys from out of order table by @frostming in #379
Full Changelog: 0.13.1...0.13.2
0.13.1
What's Changed
- chore(deps-dev): bump setuptools from 68.0.0 to 70.0.0 by @dependabot in #367
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #368
- [docs] Add tomlkit.dump() example by @sburris0 in #370
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #369
- fix: Table header missing by @frostming in #375
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #372
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #376
- fix: Empty table dumped when number of subtables > 1 by @frostming in #378
New Contributors
Full Changelog: 0.13.0...0.13.1
0.13.0
What's Changed
- fix: Test failures with Python 3.13.0a4: test_dates_behave_like_dates and test_times_behave_like_times by @frostming in #349
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #350
- fix: Revert "fix: Construction of OutOfOrderTableProxy can cause newlines to be inserted (#347)" by @frostming in #353
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #354
- Update tests action by @waketzheng in #357
- fix:
tomlkit0.12.5 : Encoder contract interferes with externalTypeErrors raised in encoders by @frostming in #358 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #359
- chore(deps-dev): bump certifi from 2024.2.2 to 2024.7.4 by @dependabot in #362
- chore(deps-dev): bump urllib3 from 2.0.7 to 2.2.2 by @dependabot in #363
- chore(deps-dev): bump requests from 2.31.0 to 2.32.2 by @dependabot in #364
- chore(deps-dev): bump zipp from 3.15.0 to 3.19.1 by @dependabot in #365
- fix: keep the nested out of order table by @frostming in #366
New Contributors
- @waketzheng made their first contribution in #357
Full Changelog: 0.12.5...0.13.0
0.12.5
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #337
- chore(deps-dev): bump idna from 3.4 to 3.7 by @dependabot in #339
- fix: CI workflow for macos by @frostming in #342
- chore(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in #344
- fix: don't add sign if the float is negative by @frostming in #345
- fix: Construction of OutOfOrderTableProxy can cause newlines to be inserted by @frostming in #347
New Contributors
- @pre-commit-ci made their first contribution in #337
Full Changelog: 0.12.4...0.12.5
0.12.4
What's Changed
- indent exist check before accessing its property by @pinal005 in #328
- chore(deps-dev): bump jinja2 from 3.1.2 to 3.1.3 by @dependabot in #329
- fix:
|=does not work as expected on TOMLDocument by @frostming in #334 - fix: -1 index error when setting dotted key by @frostming in #335
New Contributors
Full Changelog: 0.12.3...0.12.4
0.12.3
What's Changed
- chore(deps-dev): bump urllib3 from 1.26.17 to 1.26.18 by @dependabot in #320
- fix: Newline lost when updating a table by @frostming in #323
- fix: Significant slowdown on nested tables depending on syntax by @frostming in #324
Full Changelog: 0.12.2...0.12.3