rinchinov / ij-dbt-plugin

intelllij Idea plugin for DBT
https://plugins.jetbrains.com/plugin/23789-dbt
GNU General Public License v3.0
14 stars 1 forks source link

Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.3.2 to 1.6.3 #17

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps org.jetbrains.kotlinx:kotlinx-serialization-json from 1.3.2 to 1.6.3.

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's releases.

1.6.3

This release provides a couple of new features and uses Kotlin 1.9.22 as default.

Class discriminator output mode

Class discriminator provides information for serializing and deserializing polymorphic class hierarchies. In case you want to encode more or less information for various third party APIs about types in the output, it is possible to control addition of the class discriminator with the JsonBuilder.classDiscriminatorMode property. For example, ClassDiscriminatorMode.NONE does not add class discriminator at all, in case the receiving party is not interested in Kotlin types. You can learn more about this feature in the documentation and corresponding PR.

Other features

Bugfixes and improvements

  • Fix: Hocon polymorphic serialization in containers (#2151) (thanks to LichtHund)
  • Actualize lenient mode documentation (#2568)
  • Slightly improve error messages thrown from serializer() function (#2533)
  • Do not try to coerce input values for properties (#2530)
  • Make empty objects and arrays collapsed in pretty print mode (#2506)
  • Update Gradle dokka configuration to make sure "source" button is visible in all API docs (#2518, #2524)

1.6.2

This is a patch release accompanying Kotlin 1.9.21. It also provides additional targets that were not available in 1.6.1: wasm-wasi and (deprecated) linuxArm32Hfp.

  • Add Wasm WASI target (#2510)
  • Bring back linuxArm32Hfp target because it is deprecated, but not removed yet. (#2505)

1.6.1

This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.

Trailing commas in Json

Trailing commas are one of the most popular non-spec Json variations. A new configuration flag, allowTrailingComma, makes Json parser accept them instead of throwing an exception. Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas. See details in the corresponding PR.

Support of WasmJs target

Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries. Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more functionality. As usual, just add serialization dependencies to your build and declare wasmJs target. Please remember that Kotlin/Wasm is still experimental, so changes are expected.

Bugfixes and improvements

  • Fix TaggedDecoder nullable decoding (#2456) (thanks to Phillip Schichtel)
  • Fix IllegalAccessException for some JPMS boundaries (#2469)
  • Cbor: check if inline value classes are marked as @ByteString (#2466) (thanks to eater)
  • Improve polymorphic deserialization optimization (#2481)
  • Update Okio dependency to 3.6.0 (#2473)
  • Add protobuf conformance tests (#2404) (thanks to Doğaç Eldenk)

... (truncated)

Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's changelog.

1.6.3 / 2024-02-16

This release provides a couple of new features and uses Kotlin 1.9.22 as default.

Class discriminator output mode

Class discriminator provides information for serializing and deserializing polymorphic class hierarchies. In case you want to encode more or less information for various third party APIs about types in the output, it is possible to control addition of the class discriminator with the JsonBuilder.classDiscriminatorMode property. For example, ClassDiscriminatorMode.NONE does not add class discriminator at all, in case the receiving party is not interested in Kotlin types. You can learn more about this feature in the documentation and corresponding PR.

Other features

Bugfixes and improvements

  • Fix: Hocon polymorphic serialization in containers (#2151) (thanks to LichtHund)
  • Actualize lenient mode documentation (#2568)
  • Slightly improve error messages thrown from serializer() function (#2533)
  • Do not try to coerce input values for properties (#2530)
  • Make empty objects and arrays collapsed in pretty print mode (#2506)
  • Update Gradle dokka configuration to make sure "source" button is visible in all API docs (#2518, #2524)

1.6.2 / 2023-11-30

This is a patch release accompanying Kotlin 1.9.21. It also provides additional targets that were not available in 1.6.1: wasm-wasi and (deprecated) linuxArm32Hfp.

  • Add Wasm WASI target (#2510)
  • Bring back linuxArm32Hfp target because it is deprecated, but not removed yet. (#2505)

1.6.1 / 2023-11-15

This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.

Trailing commas in Json

Trailing commas are one of the most popular non-spec Json variations. A new configuration flag, allowTrailingComma, makes Json parser accept them instead of throwing an exception. Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas. See details in the corresponding PR

Support of WasmJs target

... (truncated)

Commits
  • 3efe324 Prepare 1.6.3 release, update Kotlin to 1.9.22 (#2571)
  • 6e234b2 Merge remote-tracking branch 'origin/master' into dev
  • 5b28d33 Actualize lenient mode documentation (#2568)
  • ab64422 Better approach to configuring common sources for KotlinJvmCompile task
  • a6c4d67 Added annotation to keep generated serializer when a custom one is specified ...
  • 729fc24 Fix AbstractKotlinCompile.ownModuleName usage (#2567)
  • 54840e0 Fix a typo in polymorphism.md (#2562)
  • 8b58c60 Align Kotlin Native targets with Kotlin documentation (#2560)
  • 41c0bb1 Minor, move decodeDuration logic to a function reference (#2550)
  • 8a3ed23 Add kebab-case naming strategy (#2531)
  • 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 show 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)
rinchinov commented 6 months ago

https://github.com/dependabot rebase

dependabot[bot] commented 6 months ago

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

github-actions[bot] commented 6 months ago

Qodana Community for JVM

25 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 13
Constant conditions 🔶 Warning 2
Unused import directive 🔶 Warning 2
Constructor parameter is never used as a property 🔶 Warning 1
Sealed subclass without state and overridden equals ◽️ Notice 2
Function or property has platform type ◽️ Notice 2
Redundant empty primary constructor ◽️ Notice 2
Accessor call that can be replaced with property access syntax ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report To be able to view the detailed Qodana report, you can either: 1. Register at [Qodana Cloud](https://qodana.cloud/) and [configure the action](https://github.com/jetbrains/qodana-action#qodana-cloud) 2. Use [GitHub Code Scanning with Qodana](https://github.com/jetbrains/qodana-action#github-code-scanning) 3. Host [Qodana report at GitHub Pages](https://github.com/JetBrains/qodana-action/blob/3a8e25f5caad8d8b01c1435f1ef7b19fe8b039a0/README.md#github-pages) 4. Inspect and use `qodana.sarif.json` (see [the Qodana SARIF format](https://www.jetbrains.com/help/qodana/qodana-sarif-output.html#Report+structure) for details) To get `*.log` files or any other Qodana artifacts, run the action with `upload-result` option set to `true`, so that the action will upload the files as the job artifacts: ```yaml - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.3.1 with: upload-result: true ```
Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions