Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump kotlinx-serialization-json-jvm from 1.2.1 to 1.2.2 #977

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 12, 2021

Bumps kotlinx-serialization-json-jvm from 1.2.1 to 1.2.2.

Release notes

Sourced from kotlinx-serialization-json-jvm's releases.

1.2.2

This release contains various bugfixes, some useful features and important performance improvements. It also uses Kotlin 1.5.20 as default.

Features

  • Support for @JsonNames and coerceInputValues in Json.decodeFromDynamic (#1479)
  • Add factory function to wrap a serial descriptor with a custom name for custom delegating serializers (#1547) (thanks to Fadenfire)
  • Allow contextually serialized types to be used as map keys in Json (#1552) (thanks to pdvrieze)

Bugfixes and performance improvements

  • Update size in JsonStringBuilder slow-path to avoid excessive array-copies for large strings with escape symbols (#1491)
  • Optimize integer encoding length in CBOR (#1570) (thanks to davertay)
  • Throw JsonDecodingException instead of ClassCastException during unexpected null in TreeJsonDecoder (#1550)
  • Prohibit 'null' strings in lenient mode in order to get rid of 'null' and "null" ambiguity (#1549)
  • Avoid usage of reflective-like serialDescriptor<KType> in production sources (#1540)
  • Added correct error message when deserializing missing enum member for Properties format (#1539)
  • Make DescriptorSchemaCache in Json thread-local on Native (#1484)
Changelog

Sourced from kotlinx-serialization-json-jvm's changelog.

1.2.2 / 2021-07-08

This release contains various bugfixes, some useful features and important performance improvements. It also uses Kotlin 1.5.20 as default.

Features

  • Support for @JsonNames and coerceInputValues in Json.decodeFromDynamic (#1479)
  • Add factory function to wrap a serial descriptor with a custom name for custom delegating serializers (#1547) (thanks to Fadenfire)
  • Allow contextually serialized types to be used as map keys in Json (#1552) (thanks to pdvrieze)

Bugfixes and performance improvements

  • Update size in JsonStringBuilder slow-path to avoid excessive array-copies for large strings with escape symbols (#1491)
  • Optimize integer encoding length in CBOR (#1570) (thanks to davertay)
  • Throw JsonDecodingException instead of ClassCastException during unexpected null in TreeJsonDecoder (#1550)
  • Prohibit 'null' strings in lenient mode in order to get rid of 'null' and "null" ambiguity (#1549)
  • Avoid usage of reflective-like serialDescriptor<KType> in production sources (#1540)
  • Added correct error message when deserializing missing enum member for Properties format (#1539)
  • Make DescriptorSchemaCache in Json thread-local on Native (#1484)
Commits
  • f305d70 Prepare 1.2.2 release
  • 8262081 Merge remote-tracking branch 'origin/master' into dev
  • 9f8d050 Fix repository for dokka dependency
  • ab5bbb0 Optimize CBOR Integer encoding length (#1570)
  • 48cf9e8 Added tests on calculated default value of properties depending on other prop...
  • 98ead98 Add task to put jmh benchmarks results to teamcity statistics (#1568)
  • 4982507 Added tests on caching serializer for serializer() function
  • 36d4dee Upgrade Kotlin to 1.5.20
  • a765cfd Added tests on serialization of sealed classes from different files
  • d489d96 Fix link to Static Types section (#1565)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [kotlinx-serialization-json-jvm](https://github.com/Kotlin/kotlinx.serialization) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json-jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 12, 2021
@codecov
Copy link

codecov bot commented Jul 12, 2021

Codecov Report

Merging #977 (0463bfa) into master (0028f77) will increase coverage by 4.03%.
The diff coverage is 86.57%.

❗ Current head 0463bfa differs from pull request most recent head a789be2. Consider uploading reports for the commit a789be2 to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##             master     #977      +/-   ##
============================================
+ Coverage     79.75%   83.79%   +4.03%     
- Complexity     2016     2409     +393     
============================================
  Files            97      101       +4     
  Lines          5074     6079    +1005     
  Branches       1621     1799     +178     
============================================
+ Hits           4047     5094    +1047     
- Misses          246      269      +23     
+ Partials        781      716      -65     
Flag Coverage Δ
unittests 83.79% <86.57%> (+4.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ktat/common/config/reader/ApplicationProperties.kt 0.00% <0.00%> (ø)
...t/common/config/reader/JsonResourceConfigReader.kt 45.45% <ø> (ø)
...rg/cqfn/diktat/plugin/gradle/DiktatGradlePlugin.kt 100.00% <ø> (ø)
...lin/org/cqfn/diktat/plugin/maven/DiktatBaseMojo.kt 74.13% <ø> (-4.81%) ⬇️
...n/kotlin/org/cqfn/diktat/ruleset/utils/PsiUtils.kt 50.00% <ø> (+4.54%) ⬆️
...eset/utils/indentation/CustomIndentationChecker.kt 100.00% <ø> (ø)
...fn/diktat/common/config/rules/RulesConfigReader.kt 35.29% <15.38%> (-6.17%) ⬇️
.../kotlin/org/cqfn/diktat/ruleset/utils/KdocUtils.kt 20.00% <20.00%> (+4.21%) ⬆️
.../cqfn/diktat/ruleset/utils/indentation/Checkers.kt 74.77% <44.44%> (-2.90%) ⬇️
...kotlin/org/cqfn/diktat/ruleset/rules/DiktatRule.kt 61.90% <45.45%> (-13.10%) ⬇️
... and 155 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f8f0e6...a789be2. Read the comment docs.

@petertrr petertrr merged commit 502baa7 into master Jul 16, 2021
@petertrr petertrr deleted the dependabot/maven/org.jetbrains.kotlinx-kotlinx-serialization-json-jvm-1.2.2 branch July 16, 2021 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants