Releases: avaje/avaje-jsonb
Releases · avaje/avaje-jsonb
3.3
What's Changed
- add failOnNullPrimitives plugin config by @SentryMan in #359
- Bump dependency for prism and spi-service by @rbygrave in #360
- Bump org.springframework.boot:spring-boot-dependencies from 3.4.3 to 3.4.4 in the dependencies group by @dependabot in #361
- Bump the dependencies group with 2 updates by @dependabot in #362
- Bump io.avaje:avaje-spi-service from 2.11 to 2.12 in the dependencies group by @dependabot in #363
Full Changelog: 3.2...3.3
3.2
What's Changed
- Bump the dependencies group with 2 updates by @dependabot in #350
- Fix JAXB collections deserializing null by @rob-bygrave in #351
- Fix NPE when custom JsonAdapter (not nullSafe()) is registered via Supplier by @rob-bygrave in #353
- Collection adapter nullsafety by @SentryMan in #352
- Remove adapters from jsonb that were moved to json-core (as they are now unused) by @SentryMan in #355
- Add failOnNullPrimitives option, default to allowing NULL by @rbygrave in #356
- Make methods final on internal class JParser by @rbygrave in #357
- Make serialVersionUID private on Exception types by @rbygrave in #358
Full Changelog: 3.1...3.2
3.1
What's Changed
- Add Jsonb.toJson() using JsonOutput by @rbygrave in #336
- @Json.Property name not used to match getters/setters/constructors using property name by @SentryMan in #337
- Add support for JAX-B style collections that don't have setters by @rbygrave in #339
- Improve the compiler errors with Json.Import / Json.Mixin prefix by @rbygrave in #341
- Add support for java.util.Calendar as epoch millis or string format with timezone by @rbygrave in #342
- Cancel generation if a previous apt round fails by @SentryMan in #343
- Add avaje-jsonb-bom BOM Bill of materials module by @rbygrave in #340
- Fix JDT package errors by @SentryMan in #345
- Fix JDT
@Property
records by @SentryMan in #346 - Generated code with "direct return" when no setters required by @rbygrave in #347
Full Changelog: 3.0...3.1
3.0
Adds avaje-json-core and avaje-json-node
Adds 2 new modules - avaje-json-core and avaje-json-node.
avaje-json-core can be used by itself without avaje-jsonb for case that only need the basic json types (numbers, boolean, string) or provide a JsonAdapter.
avaje-json-node is an optional module for applications that prefer to use those types over the plain java types for String, Numbers, and Boolean. This provides some nicer easier helper methods to extract values but note that avaje-json-core has JsonExtract to provide similar helper methods.
What's Changed
- Split Stream off into a separate avaje-json module by @rbygrave in #293
- Rename
Metadata.Factory
by @SentryMan in #296 - Fix the inject-plugin due to move of BufferRecycleStrategy by @rbygrave in #298
- Fix circular dependency with jsonb-inject-plugin by @rbygrave in #299
- Initial add of avaje-json-node by @rbygrave in #297
- [json-node] Add extract() methods to assist filtering and mapping by @rbygrave in #300
- Feature/json array add methods by @rbygrave in #301
- [json-node] Add copy() and unmodifible() for deep copy options by @rbygrave in #302
- [json-node] Simplify JsonNode.Type enum by @rbygrave in #303
- [json-node] Add extractNode() and empty() helpers for JsonArray and JsonObject by @rbygrave in #304
- [json-node] Make avaje-json-node an optional component for JsonB by @rbygrave in #305
- [json-node] Rename JsonNodeAdapter to JsonNodeMapper by @rbygrave in #306
- [json-core] Add SimpleMapper API to core to make it easier for reading/writing simple Maps, Lists etc by @rbygrave in #307
- [json-node] Fix javadoc comments for JsonNodeMapper by @rbygrave in #308
- [json-node] Add equals/hashcode to JsonNode by @rbygrave in #309
- [json-core] SimpleMapper add type support for customer JsonAdapters by @rbygrave in #310
- [json-node] JsonNodeMapper add type support for customer JsonAdapters by @rbygrave in #311
- [json-node] Add JsonObject.remove() method by @rbygrave in #312
- [json-node] Add JsonNode.toPlain() method to return as plain java types by @rbygrave in #313
- [json-core] Rename the Maven ArtifactId to avaje-json-core by @rbygrave in #314
- [jsonb] JsonB support use of JsonObject for @Json.Unmapped type by @rbygrave in #315
- [json-node] Make JsonNode Serializable by @rbygrave in #316
- [json-core] Add SimpleMapper.properties() method, option to use PropertyNames optimisation by @rbygrave in #317
- [json-core] Fix reading NULL value in a Map or List by @rbygrave in #318
- [json-node] Use SimpleMapper.Type interface to replace NodeMapper by @rbygrave in #319
- [json-core] Add SimpleMapper.Type list() and map() methods by @rbygrave in #320
- [json-node] Add JsonNodeMapper.properties() method by @rbygrave in #321
- [json-node] Fix NULL value bug with JsonObject by @rbygrave in #322
- [json-core] Add helper toJson() fromJson() methods that use JsonReader JsonWriter by @rbygrave in #323
- [json-node] Add extract() method for double type (was missing) by @rbygrave in #324
- [json-core] Add JsonExtract helper to ease extracting values and number types from raw Map<String,Object> by @rbygrave in #325
- Add pom descriptions for json-core and json-node + more consistent pom names by @rbygrave in #327
- [core] Add type() method to SimpleMapper that takes a function that creates JsonAdapter by @rbygrave in #328
- [core] Refactor rename SimpleMapper to JsonMapper (+ package simple -> mapper) by @rbygrave in #329
Full Changelog: 2.4...3.0
2.4
What's Changed
- Fix Repeatable Annotation Name Collision by @SentryMan in #291
- Reproducible Build by @SentryMan in #290
- Improve Constructor Detection by @SentryMan in #295
Full Changelog: 2.3...2.4
2.3
2.2
What's Changed
Dependencies
- Bump io.helidon.webserver:helidon-webserver from 4.0.11 to 4.1.0 by @dependabot in #284
- Bump org.springframework.boot:spring-boot-dependencies from 3.3.2 to 3.3.3 by @dependabot in #285
- Bump io.avaje:avaje-spi-service from 2.4 to 2.5 by @dependabot in #286
- Dependabot Grouping by @SentryMan in #287
Full Changelog: 2.1...2.2
2.1
What's Changed
- Simplify custom adapters by @SentryMan in #280
- Add something like
@JsonSerialize
by @SentryMan in #282 - Write value classes when running on Valhalla by @SentryMan in #283
Dependencies
- Bump io.avaje:avaje-inject from 10.0-RC11 to 10.0 by @dependabot in #262
- Bump io.avaje:avaje-inject-generator from 10.0-RC11 to 10.0 by @dependabot in #263
- Bump io.avaje:avaje-inject-generator from 10.0 to 10.1 by @dependabot in #265
- Bump io.avaje:avaje-inject from 10.0 to 10.1 by @dependabot in #264
- Bump org.springframework.boot:spring-boot-dependencies from 3.3.1 to 3.3.2 by @dependabot in #266
- Bump io.helidon.webserver:helidon-webserver from 4.0.10 to 4.0.11 by @dependabot in #268
- Bump io.avaje:avaje-prisms from 1.28 to 1.30 by @dependabot in #269
- Bump io.avaje:avaje-inject from 10.1 to 10.2 by @dependabot in #271
- Bump io.avaje:avaje-inject-generator from 10.1 to 10.2 by @dependabot in #272
- Bump io.avaje:avaje-prisms from 1.30 to 1.31 by @dependabot in #274
- Bump io.avaje:avaje-spi-service from 2.1 to 2.4 by @dependabot in #275
- Bump io.avaje:avaje-inject from 10.2 to 10.3 by @dependabot in #276
- Bump io.avaje:avaje-inject-generator from 10.2 to 10.3 by @dependabot in #277
Full Changelog: 2.0...2.1
2.0
What's Changed
- Refactor SPI interfaces, use io.avaje.jsonb.spi.JsonbExtension + other breaking changes by @SentryMan in #246
- Use Prisms for SPI validation by @SentryMan in #249
- Re-Add avaje-api-service and @service to JsonbExtension by @SentryMan in #250
- Enable
package-private
Getters/Setters/Constructors by @SentryMan in #251 - Make Annotations
SOURCE
retention by @SentryMan in #252 - Fix Mixins/AdapterName Generation by @SentryMan in #253
- Writes a file to signal the generator's presence by @SentryMan in #254
- Remove Wildcards and
package-private
Imports by @SentryMan in #257 - Fix Creator Generation Error by @SentryMan in #261
Dependencies
- Bump io.avaje:avaje-inject from 10.0-RC7 to 10.0-RC10 by @dependabot in #255
- Bump io.avaje:avaje-inject-generator from 10.0-RC9 to 10.0-RC10 by @dependabot in #256
- Bump io.avaje:avaje-inject-generator from 10.0-RC10 to 10.0-RC11 by @dependabot in #258
- Bump io.avaje:avaje-inject from 10.0-RC10 to 10.0-RC11 by @dependabot in #259
- Bump com.fasterxml.jackson.core:jackson-core from 2.17.1 to 2.17.2 by @dependabot in #260
Full Changelog: 1.12...2.0
1.12
What's Changed
- Fix
Json.Creator
Interaction withJson.Property
by @SentryMan in #244
Dependencies
- Bump io.avaje:avaje-inject from 9.11 to 9.12 by @dependabot in #230
- Bump org.springframework.boot:spring-boot-dependencies from 3.2.4 to 3.2.5 by @dependabot in #231
- Bump io.helidon.webserver:helidon-webserver from 4.0.7 to 4.0.8 by @dependabot in #232
- Bump com.fasterxml.jackson.core:jackson-core from 2.17.0 to 2.17.1 by @dependabot in #233
- Bump org.springframework.boot:spring-boot-dependencies from 3.2.5 to 3.3.0 by @dependabot in #234
- Bump io.helidon.webserver:helidon-webserver from 4.0.8 to 4.0.9 by @dependabot in #235
- Bump io.avaje:avaje-prisms from 1.21 to 1.22 by @dependabot in #236
- Bump io.avaje:avaje-prisms from 1.22 to 1.23 by @dependabot in #237
- Bump io.avaje:avaje-prisms from 1.23 to 1.24 by @dependabot in #238
- Run EA builds on PRs by @SentryMan in #239
- Bump org.avaje:java11-oss from 4.1 to 4.3 by @dependabot in #240
- Bump io.helidon.webserver:helidon-webserver from 4.0.9 to 4.0.10 by @dependabot in #241
- Adds EA stable workflow by @SentryMan in #242
- Bump org.springframework.boot:spring-boot-dependencies from 3.3.0 to 3.3.1 by @dependabot in #243
- Bump io.avaje:avaje-prisms from 1.24 to 1.26 by @dependabot in #247
Full Changelog: 1.11...1.12