Releases: avaje/avaje-http
Releases · avaje/avaje-http
3.1
What's Changed
- Add Native JStachio support by @SentryMan in #567
- [Jex Generator] Use optimized Jex jsonb method by @SentryMan in #568
- [generators] Remove jsonb generation if no jsontypes available by @SentryMan in #569
- [sigma-generator] add jstachio support by @SentryMan in #571
- openapi.json - add reading operationId from swagger @operation annotation by @rbygrave in #573
- Add disableJsonB option to NOT use avaje-jsonb in code generation eve… by @rbygrave in #574
- When using @operation, treat deprecated false as NULL (reduce openap.json noise) by @rbygrave in #575
- Cancel generation if apt errors detected by @SentryMan in #577
- [jex-generator] use body stream methods by @SentryMan in #578
Dependencies
- Bump the dependencies group with 3 updates by @dependabot in #564
- Bump io.rest-assured:rest-assured from 5.5.0 to 5.5.1 in the dependencies group by @dependabot in #565
- Bump the dependencies group with 8 updates by @dependabot in #570
- Bump the dependencies group with 7 updates by @dependabot in #572
- Bump the dependencies group with 5 updates by @dependabot in #576
- Bump the dependencies group with 17 updates by @dependabot in #579
Full Changelog: 3.0...3.1
3.0
Breaking changes
- [Http-Client] now uses virtual thread executor by default when using JDK 21+
- [Http-Client] Rename @Client.Import(types=...) to @Client.Import(value=...)
- Jsonb controller generation updated for Jsonb 3.0
- Jex Generation overhauled for jex 3.0
What's Changed
- Generated $Route classes as final by @rbygrave in #524
- [Sigma-Generator] Filter Chain by @SentryMan in #526
- [helidon-generator] Support avaje-jsonb version 3 by @rbygrave in #532
- Add AWS CognitoAuthTokenProvider module by @rbygrave in #536
- Fix JsonB generic generation errors by @SentryMan in #543
- Add Bearer authentication intercept by @ferrazoli in #544
- Tidy test poms with auto included avaje-inject-maven-plugin by @rbygrave in #549
- added support for Optional Request Parameters by @LukasDetermann in #550
- Fix PR #550 Optional type wrapping of query parameters by @rbygrave in #555
- Tidy generator-core TypeMap with final modifiers and add unit tests by @rbygrave in #556
- Update to avaje-jsonb 3.0-RC7 with SimpleMapper renamed to JsonMapper by @rbygrave in #562
Http client
- [http-client] Make clients
AutoCloseable
by @SentryMan in #512 - [Http-Client] Use virtual thread executor by default by @SentryMan in #442
- [http-client] Add SingleBodyAdapter for client API with only a single body type by @rbygrave in #533
- [http-client] Add BasicAuthIntercept.header() helper method by @rbygrave in #534
- [client] Generate classes as final by @rbygrave in #547
- [client] Write clients to the same package by @SentryMan in #546
- [client] Followup #546 - put GeneratedHttpComponent into top package by @rbygrave in #548
- [client] Support Generics with Jackson by @SentryMan in #553
- [client] Fully support package private by @SentryMan in #551
- [client] Breaking change - Rename @Client.Import(types=...) to @Client.Import(value=...). That is, rename types -> value by @SentryMan in #557
- [client] Fix test generation overriding main components by @SentryMan in #559
Jex Generation
- [Jex] Modify generated code for Jex controllers to use handler methods by @rbygrave in #515
- [Jex] Update Jex Generation by @SentryMan in #517
- [Jex generation] Add check for non null result in generated code by @rbygrave in #519
- [jex-generator] Fix jex error controller generation by @SentryMan in #518
- [Jex generation] Add initial support for htmx by @rbygrave in #520
- [jex-generator] Update Filters and use enhanced switch by @SentryMan in #521
- [Jex-Generator] Jsonb Type generation by @SentryMan in #522
- [jex generation] fix newline in generated code by @rbygrave in #523
- [Jex-Generator] Handle Jex Exceptions by @SentryMan in #527
- [Jex generation] Raw JSON String handling in generated code by @rbygrave in #528
- [Jex-Generator] Update role generation by @SentryMan in #529
- [jex-generator] Remove Exception from generated signature by @SentryMan in #554
- Update jex context package by @SentryMan in #563
Dependencies
- Bump the dependencies group with 4 updates by @dependabot in #513
- Bump the dependencies group with 6 updates by @dependabot in #514
- Bump the dependencies group with 3 updates by @dependabot in #516
- Bump the dependencies group with 2 updates by @dependabot in #525
- Bump prisms and jex dependency versions by @rbygrave in #530
- Bump the dependencies group with 3 updates by @dependabot in #531
- Bump the dependencies group with 14 updates by @dependabot in #535
- Bump the dependencies group with 10 updates by @dependabot in #537
- Bump the dependencies group with 4 updates by @dependabot in #538
- Bump the dependencies group with 6 updates by @dependabot in #545
- Bump the dependencies group with 5 updates by @dependabot in #552
- Bump the dependencies group with 6 updates by @dependabot in #558
- Bump the dependencies group with 8 updates by @dependabot in #561
New Contributors
- @ferrazoli made their first contribution in #544
- @LukasDetermann made their first contribution in #550
Full Changelog: 2.8...3.0
2.8
What's Changed
- htmx: Initial add of htmx-api, htmx-nima request support and initial example by @rbygrave in #435
- Add htmx content cache feature by @rbygrave in #484
- Use Non-Deprecated Inject Plugin by @SentryMan in #491
- Update Dependabot Grouping by @SentryMan in #493
- Add Sigma Lambda Generator by @SentryMan in #498
- Optimize helidon optionals - io.helidon.common.mapper.OptionalValue by @re-thc in #505
- Add roles support for Helidon by @re-thc in #506
New Contributors
Full Changelog: 2.7...2.8
2.7
What's Changed
- Bump junit.version from 5.10.2 to 5.10.3 by @dependabot in #459
- Bump io.avaje:avaje-jsonb from 1.11 to 1.12 by @dependabot in #461
- Bump io.avaje:avaje-jsonb-generator from 1.11 to 1.12 by @dependabot in #462
- Bump io.rest-assured:rest-assured from 5.4.0 to 5.5.0 by @dependabot in #463
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.1 to 2.17.2 by @dependabot in #464
- Bump io.avaje:avaje-prisms from 1.27 to 1.28 by @dependabot in #460
Full Changelog: 2.6...2.7
2.6
What's Changed
- Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 by @dependabot in #438
- Bump swagger.version from 2.2.21 to 2.2.22 by @dependabot in #437
- [http-client] Fix BeanParam on Eclipse by @SentryMan in #436
- Bump jakarta.validation:jakarta.validation-api from 3.0.2 to 3.1.0 by @dependabot in #440
- Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 by @dependabot in #441
- [http-client] Remove http-api dependency by @SentryMan in #439
- Bump nima.version from 4.0.8 to 4.0.9 by @dependabot in #444
- Bump io.javalin:javalin from 6.1.4 to 6.1.6 by @dependabot in #443
- Bump org.avaje:java11-oss from 4.1 to 4.3 by @dependabot in #445
- Bump io.avaje:avaje-prisms from 1.21 to 1.24 by @dependabot in #446
- Update
proc
note by @SentryMan in #447 - Add EA workflow by @SentryMan in #448
- Bump nima.version from 4.0.9 to 4.0.10 by @dependabot in #449
- [workflow]: Bump actions/cache from 3 to 4 by @dependabot in #450
- [workflow]: Bump actions/checkout from 3 to 4 by @dependabot in #451
- #452 The generator does not work when using @produces to customize the JSON MIME type by @rbygrave in #454
- #453 - Compile error with nested enum type not imported in generated … by @rbygrave in #455
- Use avaje spi for service validation when available by @SentryMan in #456
- Bump io.avaje:avaje-prisms from 1.25 to 1.26 by @dependabot in #457
- Use prisms to validate modules by @SentryMan in #458
Full Changelog: 2.5...2.6
2.5
What's Changed
- Bump io.avaje:avaje-jsonb-generator from 1.10 to 1.11 by @dependabot in #417
- Bump avaje-inject.version from 9.11 to 9.12 by @dependabot in #418
- Bump io.avaje:avaje-jsonb from 1.10 to 1.11 by @dependabot in #419
- [workflow]: Bump actions/checkout from 3 to 4 by @dependabot in #421
- [workflow]: Bump actions/cache from 3 to 4 by @dependabot in #422
- [workflow]: Bump dependabot/fetch-metadata from 1 to 2 by @dependabot in #420
- [workflow]: Bump actions/setup-java from 3 to 4 by @dependabot in #423
- [http-client] Adds Moshi Body Adapter by @SentryMan in #424
- Bump nima.version from 4.0.7 to 4.0.8 by @dependabot in #425
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.0 to 2.17.1 by @dependabot in #428
- Bump io.javalin:javalin from 6.1.3 to 6.1.4 by @dependabot in #429
- httpclient: #426 Fix support for 204 no response body for HttpClient reading content by @rbygrave in #430
- [HttpClient] Generated client to use suffix of Impl or HttpClient by @rbygrave in #431
- Format code in client generator only by @rbygrave in #432
- Tidy ClientMethodWriter merge .map() and flatMap(identity()) into flatMap() by @rbygrave in #433
- [http-client] Update README.md by @SentryMan in #434
Full Changelog: 2.4...2.5
2.4
2.3
What's Changed
- Javadoc badges by @SentryMan in #393
- [helidon-generator] Fix Nested Types in other packages by @SentryMan in #399
- [http-client] Add
@Headers
Annotation by @SentryMan in #402 - Can now read record Javadocs for OpenApi by @SentryMan in #412
- Support Byte-Buddy / Mockito with JDK 23 via -Dnet.bytebuddy.experimental=true by @rob-bygrave in #414
- Dependabot Grouping by @SentryMan in #415
Dependabot
- Bump io.avaje:avaje-jsonb from 1.9 to 1.10 by @dependabot in #390
- Bump io.avaje:avaje-jsonb-generator from 1.9 to 1.10 by @dependabot in #392
- Bump avaje-inject.version from 9.10 to 9.11 by @dependabot in #391
- Bump io.javalin:javalin from 6.1.0 to 6.1.1 by @dependabot in #394
- Bump io.javalin:javalin from 6.1.1 to 6.1.2 by @dependabot in #396
- Bump io.javalin:javalin from 6.1.2 to 6.1.3 by @dependabot in #398
- Bump com.fasterxml.jackson.core:jackson-databind from 2.16.1 to 2.16.2 by @dependabot in #400
- Bump com.fasterxml.jackson.core:jackson-databind from 2.16.2 to 2.17.0 by @dependabot in #401
- Bump nima.version from 4.0.5 to 4.0.6 by @dependabot in #403
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 by @dependabot in #404
- Bump com.squareup.retrofit2:converter-scalars from 2.9.0 to 2.10.0 by @dependabot in #405
- Bump com.squareup.retrofit2:retrofit from 2.9.0 to 2.10.0 by @dependabot in #406
- Bump com.squareup.retrofit2:converter-gson from 2.9.0 to 2.10.0 by @dependabot in #407
- Bump swagger.version from 2.2.20 to 2.2.21 by @dependabot in #408
- Bump com.squareup.retrofit2:converter-scalars from 2.10.0 to 2.11.0 by @dependabot in #409
- Bump com.squareup.retrofit2:retrofit from 2.10.0 to 2.11.0 by @dependabot in #411
- Bump com.squareup.retrofit2:converter-gson from 2.10.0 to 2.11.0 by @dependabot in #410
- Bump nima.version from 4.0.6 to 4.0.7 by @dependabot in #413
Full Changelog: 2.2...2.3
2.2
What's Changed
- Remove
jdk.crypto.ec
by @SentryMan in #385 - Support Helidon Path Variable Patterns by @SentryMan in #387
Dependencies
- Bump io.javalin:javalin from 6.0.0 to 6.0.1 by @dependabot in #382
- Bump junit.version from 5.10.1 to 5.10.2 by @dependabot in #381
- Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 by @dependabot in #383
- Bump nima.version from 4.0.4 to 4.0.5 by @dependabot in #384
- Bump io.avaje:junit from 1.3 to 1.4 by @dependabot in #388
- Bump io.javalin:javalin from 6.0.1 to 6.1.0 by @dependabot in #389
Full Changelog: 2.1...2.2
2.1
What's Changed
- Javalin 6-beta Support by @SentryMan in #341
- Javadoc for AvajeJavalinPlugin and tidy javalin ControllerWriter only by @rob-bygrave in #342
- Test Javalin 6
beta.2
by @SentryMan in #346 - [http-core] Handle
@param
Newlines in Javadoc Reader by @SentryMan in #351 - Fix #354 - Add toEnum() to PathTypeConversion, also support non-upper case by @rob-bygrave in #357
- #358 Generated openapi.json should contain a servers section with loc… by @rbygrave in #359
- #355 Controller methods returning null should produce 204 no content … by @rbygrave in #360
- #358 Fix shade plugin for - Generated openapi.json should contain a s… by @rbygrave in #361
- Fix Java Lang imports by @SentryMan in #367
- Fix Javalin 5 generation not triggering properly by @SentryMan in #372
- [http client] Add
jdk.crypto.ec
to http client module by @SentryMan in #373
Dependabot
- Bump io.avaje:validator-constraints from 1.1 to 1.2 by @dependabot in #334
- Bump swagger.version from 2.2.17 to 2.2.18 by @dependabot in #336
- Bump io.avaje:junit from 1.1 to 1.3 by @dependabot in #335
- Bump avaje-inject.version from 9.8 to 9.9 by @dependabot in #337
- Bump io.avaje:avaje-jsonb-generator from 1.7-RC1 to 1.9 by @dependabot in #339
- Bump io.avaje:avaje-jsonb from 1.8 to 1.9 by @dependabot in #338
- Bump com.fasterxml.jackson.core:jackson-databind from 2.16.0 to 2.16.1 by @dependabot in #368
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.0 to 3.12.1 by @dependabot in #369
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.0 by @dependabot in #370
- Bump org.assertj:assertj-core from 3.25.0 to 3.25.1 by @dependabot in #371
- Bump junit.version from 5.10.0 to 5.10.1 by @dependabot in #343
- Bump swagger.version from 2.2.18 to 2.2.19 by @dependabot in #344
- Bump com.fasterxml.jackson.core:jackson-databind from 2.15.3 to 2.16.0 by @dependabot in #347
- Bump io.repaint.maven:tiles-maven-plugin from 2.38 to 2.39 by @dependabot in #348
- Bump nima.version from 4.0.0 to 4.0.1 by @dependabot in #349
- Bump avaje-inject.version from 9.9 to 9.10 by @dependabot in #350
- Bump io.rest-assured:rest-assured from 5.3.2 to 5.4.0 by @dependabot in #352
- Bump io.repaint.maven:tiles-maven-plugin from 2.39 to 2.40 by @dependabot in #353
- Bump io.avaje:avaje-prisms from 1.16 to 1.17 by @dependabot in #362
- Bump Javalin 6 version by @SentryMan in #363
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.0 by @dependabot in #364
- Bump swagger.version from 2.2.19 to 2.2.20 by @dependabot in #365
- Bump nima.version from 4.0.1 to 4.0.2 by @dependabot in #366
- Bump io.avaje:avaje-prisms from 1.17 to 1.18 by @dependabot in #374
- Bump io.avaje:avaje-prisms from 1.18 to 1.20 by @dependabot in #375
- Bump nima.version from 4.0.2 to 4.0.3 by @dependabot in #376
- Bump io.avaje:avaje-prisms from 1.20 to 1.21 by @dependabot in #377
- Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 by @dependabot in #378
- Bump nima.version from 4.0.3 to 4.0.4 by @dependabot in #379
- Bump io.javalin:javalin from 5.6.3 to 6.0.0 by @dependabot in #380
Full Changelog: 2.0...2.1