cf-toolsuite / cf-butler

My purpose in life is to cleanup stale apps and services on a Cloud Foundry foundation. I can be configured to report on and remove orphaned services and stopped app instances older than a configurable duration. I do many other useful things too.
Apache License 2.0
42 stars 16 forks source link

Bump com.cedarsoftware:json-io from 4.19.1 to 4.26.0 #445

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 4 months ago

Bumps com.cedarsoftware:json-io from 4.19.1 to 4.26.0.

Changelog

Sourced from com.cedarsoftware:json-io's changelog.

4.26.0

  • Performance improvement for JsonIo: When using null for default ReadOptions or WriteOptions, the same static instance is used as the ReadOptions and WriteOptions are immutable.
  • Updated java-util from 2.10.0 to 2.13.0.

4.25.0

  • JsonParser now uses an instance-based cache for common values, not a static one. This will allow for more speed during concurrent parsing.
  • Within aliases.txt, java.time.zone.ZoneRules = ZoneRules is now correctly specified (it had java.time.ZoneRules before).
  • When null passed in for ReadOptions or WriteOptions to JsonIo APIs, an already created default instance of ReadOptions or WriteOptions is returned to improve performance (no need to reconstruct the default instance).
  • Updated java-util from 2.9.0 to 2.10.0.

4.24.0

  • All aliases have been moved to aliases.txt in the resources folder. It is a very complete list of class names to alias names. If you want less aliases (or more) substituted on writing JSON, use the addPermanentAlias() APIs on ReadOptionsBuilder and WriteOptionsBuilder. If you do not want a particular alias output, use WriteOptionsBuilder.removeAliasedClassName(wildcardPattern). The API is available for all Read/WriteOptions, the "permanent" APIs on the builder, or for a specific Read/WriteOptions instance.
  • The "extendedAliases" option has been removed from Read/Write options builders. By default, as many aliases are enabled as possible, and you can use the removeAliasXXX APIs to reduce them, or place your own version of aliases.txt in the classpath ahead of the one in json-io.jar.
  • WriterContext.getObjsReferenced() added, which has all objects id to Object to allow custom writers to write @id, @ref if desired.

4.23.0

  • Collections.unmodifiableXXX() instances when serialized, restore back to unmodifiable instances.
  • ImmutableList and ImmutableSet restore back unmodifiable instances.
  • ReadOptionsBuilder now include all extended aliases by default (.withExtendedAliases()). You can take advantage of this on the sending side by using the WriteOptionsBuilder().withExtendAliases(). We will default this on the WriteOptionsBuilder in the future as the new default makes it "out there." Remember: You can read them even if they are not sent, but you can't write them if the reader is not ready for them.

4.22.0

  • Many more @type aliases added to keep the JSON succinct and more human-readable.
  • Broader conversion support for rootTypes: JsonIo.toObjects(..., rootType) Includes all the java-utils Converter.convert() pairings (680+)
  • Removed stack argument from CustomReader. When creating a CustomReader, use the passed in resolver.push(node) to push objects onto the stack for later processing (custom or not). See example in UserGuide (coming shortly).

4.21.0

  • Empty Lists, Sets, and Maps enforce 'emptiness' on reconstruction
  • Singleton Lists, Sets, and Maps enforce 'singleton-ness' on reconstruction
  • Synchronized Lists, Sets, and Maps enforce 'synchronized-ness' on reconstruction
  • Fixed NPE on null writeOptions for JsonIo.toJson(). The writeOptions are now created with defaults for you if null is passed in.
  • Added Resolver as the last argument to the JsonClassReader.read() method. The author is not required to use the Resolver in their implementation, but it does it come in handy as it has the Map of IDs to JsonObjects, as well as the ReadOptions, and the Converter.
  • Deprecated the APIs on JsonIo that exist to show one how to convert the old style Map options to the new "builder" format.

4.20.0

  • MethodFilter can be applied to remove the use of a method accessor, useful when the method accessor is causing problems (additional unwanted side-effects) during the serialization (outputting of JSON). MethodFilter's are added to WriteOptions via the WriteOptionsBuilder. MethodFilter's can be added to a single WriteOptions instance or added permanently (jvm lifecyle) so that all created WriteOptions include it automatically (see WriteOptionsBuilder.addPermanent* APIs).
  • Significant updates made to User Guide documentation.
  • pom.xml file updated to support both OSGi Bundle and JPMS (Modules).
  • module-info.class resides in the root of the .jar but it is not referenced.
Commits
  • 1d53a20 updated javadocs, readme, changelog.md
  • a58d423 JsonParser - uses cache per thread - no contention.
  • ce76d1c Updated to use java-util 2.11.0
  • 31c880b * JsonParser now uses an instance-based cache for common values, not a stat...
  • 9adaeda * JsonParser now uses an instance-based cache for common values, not a stat...
  • 73a4315 removed member variable in favor of local var
  • f88e201 updated version info
  • 192dd10 - Added access to objReferenced to WriterContext so that custom writers can l...
  • 11769fe Extended aliases removed from source. Still need to update
  • bf76830 minor doc update
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 2 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.