rinchinov / ij-dbt-plugin

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

Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 #75

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps com.google.code.gson:gson from 2.10.1 to 2.11.0.

Release notes

Sourced from com.google.code.gson:gson's releases.

gson-parent-2.11.0

Most important changes

  • Added default ProGuard / R8 rules (@​Marcono1234, #2397, #2420; @​sgjesse, #2448; @​sfreilich)
    If you are using ProGuard or R8 (for example for Android projects) you might not need any special Gson configuration anymore if your classes have a no-args constructor and use @SerializedName for their fields.
  • On Android, Gson now requires API level 21 or newer
  • Added new Strictness API (@​marten-voorberg & fellow students, #2437)
    Some of Gson's API is still lenient by default, but you can now use the newly added methods GsonBuilder#setStrictness, JsonReader#setStrictness and JsonWriter#setStrictness with Strictness.STRICT to override this behavior and to instead strictly adhere to the JSON specification when parsing.
  • New FormattingStyle class to allow configuring line breaks in JSON output (@​mihnita, #2231)
    Can be set using GsonBuilder#setFormattingStyle and JsonWriter#setFormattingStyle.
  • TypeToken can no longer capture type variables by default (@​Marcono1234, #2376)
    This was previously a common source of issues. The newly thrown exception refers to a Troubleshooting Guide article which explains this in more detail and provides suggestions for updating affected code.
  • Added serialization support for anonymous and local classes with a custom adapter (@​Marcono1234, #2498)
    This affects for example List implementations returned by libraries such as Guava which are implemented as anonymous class, which were previously serialized as null. Anonymous and local classes without custom adapter will still be serialized as null.
  • Added dependency on com.google.errorprone:error_prone_annotations
    This dependency can be considered optional, but if missing it might lead to compiler warnings. Therefore Gson does not declare it as optional.
  • Many exception messages now refer to the Troubleshooting Guide (@​Marcono1234, #2357)
    Feedback regarding the Troubleshooting Guide is appreciated!
  • Officially documented that JVM languages other than Java might not be fully supported, see the README.
  • Guarantee that JsonElement#toString produces JSON output (@​Marcono1234, #2659)

Other changes

Bug fixes

  • Fixed incorrect JsonPrimitive#equals results for large BigInteger values (@​MaicolAntali, #2311)
  • Fixed incorrect JsonPrimitive#equals results for large BigDecimal values (@​MaicolAntali, #2364)
  • Fixed JsonReader throwing NumberFormatException instead of MalformedJsonException for malformed Unicode escape sequences (@​MaicolAntali, #2337)
  • Fixed TypeToken#getParameterized returning bogus ParameterizedType for non-generic types (@​Marcono1234, #2447)
  • Fixed Java Record adapter not working for GraalVM Native Image (@​eamonnmcmanus, #2465)
  • Fixed JsonWriter#name not throwing exception when no JSON object is currently being written (@​shivam-sehgal, #2475; @​Marcono1234, #2476)
  • Fixed Gson#getDelegateAdapter not working properly for @JsonAdapter (@​Marcono1234, #2435)
    Note that null is now not allowed as skipPast value anymore, which was previously allowed but undocumented.
  • Fixed GsonBuilder not rejecting type adapters for Object and JsonElement, whose default adapters cannot be overridden (@​sachinp97; #2479)
  • Fixed no limits being enforced when deserializing BigDecimal and BigInteger (@​Marcono1234, #2510)
    The new limits prevent potential performance problems when user code uses the deserialized numbers. Gson itself was and is not affected by these performance problems. The limits should be high enough to not cause issues for most use cases, but feedback is appreciated.
  • Fixed GsonBuilder#setDateFormat not rejecting invalid date formats (@​Carpe-Wang, #2538)
  • Fixed GsonBuilder#setDateFormat not rejecting invalid date styles (@​Marcono1234, #2545)
  • Fixed GsonBuilder#setDateFormat ignoring partial DEFAULT style (@​Marcono1234, #2556)
  • Fixed TypeToken#isAssignableFrom throwing AssertionError in some cases (@​Marcono1234, #2544)
  • Fixed date adapters not restoring time zone after parsing (@​Carpe-Wang, #2549)
  • Fixed TypeToken#equals erroneously returning false for equal generic type parameters in some cases (@​d-william, #2599)
  • Fixed incorrect inherited URLs in pom.xml (@​Marcono1234, #2351)

Performance improvements

Gson maintenance

... (truncated)

Commits
  • 828a97b [maven-release-plugin] prepare release gson-parent-2.11.0
  • 93bc0f2 Skip signing graal-native-test module. (#2675)
  • b153ca1 [maven-release-plugin] rollback the release of gson-parent-2.11.0
  • 0e3d2aa [maven-release-plugin] prepare for next development iteration
  • 545b802 [maven-release-plugin] prepare release gson-parent-2.11.0
  • 8bfdbb4 Guarantee that JsonElement.toString() produces JSON (#2659)
  • 9008b09 Extend Troubleshooting Guide with some ProGuard / R8 information (#2656)
  • 05652c3 Document that other JVM languages are not fully supported (#2666)
  • 454a491 Improved Long-Double Number Policy (#2674)
  • 570d911 Bump the github-actions group with 4 updates (#2671)
  • 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)
github-actions[bot] commented 2 months ago

Qodana Community for JVM

32 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 5
Unused import directive 🔶 Warning 3
Constant conditions 🔶 Warning 2
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 2
Redundant nullable return type 🔶 Warning 1
Useless call on not-null type 🔶 Warning 1
Accessor call that can be replaced with property access syntax ◽️ Notice 3
Sealed subclass without state and overridden equals ◽️ Notice 2
Function or property has platform type ◽️ Notice 2
Class member can have 'private' visibility ◽️ Notice 2
Property naming convention ◽️ Notice 2
Redundant empty primary constructor ◽️ Notice 2
Unnecessary type argument ◽️ Notice 2
'when' that can be simplified by introducing an argument ◽️ Notice 1
Package name does not match containing directory ◽️ Notice 1
Unnecessary local variable ◽️ 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: - Register at [Qodana Cloud](https://qodana.cloud/) and [configure the action](https://github.com/jetbrains/qodana-action#qodana-cloud) - Use [GitHub Code Scanning with Qodana](https://github.com/jetbrains/qodana-action#github-code-scanning) - Host [Qodana report at GitHub Pages](https://github.com/JetBrains/qodana-action/blob/3a8e25f5caad8d8b01c1435f1ef7b19fe8b039a0/README.md#github-pages) - 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@v2024.1.5 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