Wavesonics / hammer-editor

A simple tool for building stories.
MIT License
126 stars 6 forks source link

Update dependency net.peanuuutz.tomlkt:tomlkt to v0.3.7 #145

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.peanuuutz.tomlkt:tomlkt 0.3.5 -> 0.3.7 age adoption passing confidence

Release Notes

Peanuuutz/tomlkt (net.peanuuutz.tomlkt:tomlkt) ### [`v0.3.7`](https://togithub.com/Peanuuutz/tomlkt/releases/tag/v0.3.7): tomlkt 0.3.7 #### New - Add extensions to `(TomlArray|TomlTable).get` for easier access to entries. - Add `TomlArrayBuilder` and `TomlTableBuilder` for dynamic construction. - Add `buildTomlArray` and `buildTomlTable` as shorthand. - Add extensions to `(TomlArrayBuilder|TomlTableBuilder).element` for easier population. #### Change - Now a super-table can be defined after a sub-table without causing `ConflictEntryException`. - Fix a bug in `TomlElementEncoder` where `TomlElement` family does not bypass the encoding process with `encodeTomlElement`. - Major performance improvement in `TomlElementParser` (originally `TomlFileParser`). ### [`v0.3.6`](https://togithub.com/Peanuuutz/tomlkt/releases/tag/v0.3.6): tomlkt 0.3.6 #### New - Add `(TomlArray|TomlTable).annotations` for storing metadata (`@SerialInfo` annotations). - Add `(TomlArray|TomlTable).(annotated|annotatedAll)` extensions for adding metadata manually. - Add linuxArm64 target. ([#​56](https://togithub.com/Peanuuutz/tomlkt/issues/56)) #### Change - Refactor encoding process. - Now `TomlElementEncoder` will transfer `@SerialInfo` annotations from properties to `(TomlArray|TomlTable).annotations`. - Now all the tables and array of tables will be encoded as non-inline eagerly (as long as it is not annotated with `@TomlInline`). - Now `NullInArrayOfTableException` and `EmptyArrayOfTableInMapException` don't exist anymore. - Fix a bug in table-like encoding when an empty array of table is after a table-like. ```kotlin val table = TomlTable( "string" to TomlArray( TomlTable( 1 to true ), TomlTable( 'c' to Float.POSITIVE_INFINITY ) ), "key" to TomlTable( false to 114514L ), 1.0 to null ) Toml.encodeToString(table) /* "1.0" = null [key] false = 114514 [[string]] 1 = true [[string]] c = inf */ ```

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 1 year ago

Codecov Report

Merging #145 (64a7ac1) into develop (d34c496) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #145   +/-   ##
========================================
  Coverage    13.48%   13.48%           
========================================
  Files          311      311           
  Lines        13589    13589           
  Branches      2141     2141           
========================================
  Hits          1832     1832           
  Misses       11582    11582           
  Partials       175      175           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more