drftpd-ng / drftpd

Distributed Daemon FTP Server (aka DrFTPD)
GNU General Public License v2.0
54 stars 21 forks source link

Bump com.cedarsoftware:json-io from 4.14.2 to 4.22.0 #362

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps com.cedarsoftware:json-io from 4.14.2 to 4.22.0.

Changelog

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

  • 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.
  • 4.19.13
    • ReadOptionsBuilder did not have the withExtendedAliases() option. This adds in all the config/extendedAliases.txt aliases, dramatically shrinking the size of common Java class names in the JSON @type field.
    • Both ReadOptionsBuilder and WriteOptionsBuilder can take an existing ReadOptions or WriteOptions as a starting point, allowing you to copy from an exist options, and then tweak it from there.
  • 4.19.12
    • Added JsonIo.getReadOptionsBuilder(Map options) and JsonIo.getWriteOptionsBuilder(Map options) to facilitate porting over code that users older Map-based options.
    • Removed classes that were packaged in the adapter layer com.cedarsoftware.util.io.* All classes now start at com.cedarsoftware.io.* You will have to adjust your imports.
    • Bug fix: Arrays that did not have a type specified, but the array type could be inferred, the component types was incorrectly being set as the array type, not the component type.
    • Updated java-util from 2.4.6 to 2.4.8.
  • 4.19.11
    • Removed references to JsonObject from transition classes com.cedarsoftware.util.io.JsonReader.
  • 4.19.10
    • Updated transition class com.cedarsoftware.util.io.JsonReader. This API is for temporary transition to JsonIo class static APIs.
    • Added transition class com.cedarsoftware.util.io.JsonWriter. This API is for temporary transition to JsonIo class static APIs.
    • The entire packaging of JsonIo has been moved from com.cedarsoftware.util.io to com.cedarsoftware.io, except for the transition APIs.
    • Added the ability to put custom options (key/value pairs) on WriteOptions and ReadOptions.
  • 4.19.9
    • NOTE: Repackaged resources into config/resources
  • 4.19.8
    • NOTE: Repackaged com.cedarsoftware.util.io to com.cedarsoftware.io
    • NOTE: Repackaged com.cedarsoftware.util.reflect to com.cedarsoftware.io.reflect
    • You will need to adjust the import statements for any consuming classes.
  • 4.19.7
    • Handle NoSuchMethodError() quietly, for shaded accessFactories that were added by containing platform, that no logner exist.
  • 4.19.6
    • Added additional build properties to manifest.mf
    • Renamed method on AccessorFactory that changed signature, due to conflicts running inside container that also uses this library.
  • 4.19.5
    • Updated JsonReader for backwards compatibility by adding jsonToJava(), jsonToMaps(), jsonObjectsToJava() static APIs.
  • 4.19.4
    • In ReadOptionsBuilder and WriteOptionsBuilder, when loading dynamic items (class names, aliases, etc.) from resources, output warnings as opposed to throwing exceptions.
  • 4.19.3
    • Remove ReflectionUtils from json-io as it is part of java-util.
    • Updated java-util from 2.4.4 to 2.4.5.
  • 4.19.2

... (truncated)

Commits
  • 2d1a18d updated changelog and readme
  • 1ec73c2 Added better exception checking.
  • 5e30a02 - Root level returned JSON now fully leverages all Converter options.
  • 7702533 More aliases, more tests, Collections with Convertable types in them, convert...
  • d416634 wip
  • bc5e4a9 Removed resolving during parsing - for speed
  • a4f4075 minor changes + prep for 4.22.0
  • d482c43 Merging changes from 4.21.0 to master
  • d14fd0b wip
  • 778d997 Updated to version 4.21.0
  • 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)
dependabot[bot] commented 4 months ago

Superseded by #369.