v0.17.0
v0.17.0 has been released with two new artifacts and many smaller improvements.
Thank you for your feedback on the AsyncApiDocket deprecation (#445). A couple improvements are included in this release while we try - with your help - to address the remaining ones.
Users of the kafka plugin
will have to update to Spring Boot 3.2. due to a change in an underlying library.
JMS
Plugin
Big Shout-out to @krzysztofxkwiecien for creating a new plugin to natively detect the @JmsListener
along the AsyncAPI JMS
binding.
json-schema
Add-on
Next to the AsyncAPI schema, which is very similar to the OpenAPI schema, json-schema
is also commonly used in applications.
The newly added add-on translates the detected AsyncAPI schema to json-schema
schema.
Want to try it? Just add the add-on. Everything else is handled by the library. More details.
Support for multiple brokers / servers
In advanced use-cases, an application is connected to multiple message brokers. How to indicate which broker a listener belongs to?
Specify the servers
property of the AsyncListener
/ AsyncPublisher
annotation.
Payload extractor (beta)
Springwolf tries to extract the payload of listeners and publishers. Not all methods pass in the type directly, and instead it can be wrapped like List<Message<String>>
where the actual payload is String
.
In earlier version, the classes like List
were hard-coded to be extracted. Now, the classes to extract can be specified per configuration - to also support custom generic classes. More details will follow on springwolf.dev.
Please note that we release this in beta (we may completely change how this is configured) and are happy to listen to your feedback.
What's Changed
- chore(deps): Bump com.bmuschko.docker-spring-boot-application from 9.3.4 to 9.3.6 by @dependabot in #428
- feat(kafka): demonstrate cloud event headers in example by @timonback in #426
- Refactor: Remove publishing code duplication by @timonback in #425
- chore(deps): Bump org.mockito:mockito-junit-jupiter from 5.6.0 to 5.7.0 by @dependabot in #437
- chore(deps): Bump io.awspring.cloud:spring-cloud-aws-dependencies from 3.0.2 to 3.0.3 by @dependabot in #438
- chore(deps): Bump junitJupiterVersion from 5.10.0 to 5.10.1 by @dependabot in #440
- chore(deps): Bump org.mockito:mockito-core from 5.6.0 to 5.7.0 by @dependabot in #439
- fix: Improved error message by @ctasada in #436
- chore(amqp): Align example producer by @timonback in #429
- Docs/update contributors by @timonback in #424
- support channel server assignments by @tvahrst in #264
- Defer fail-fast initialization to ApplicationReadyEvent by @tvahrst in #431
- fix: Minor fix with SQS Message Binding by @ctasada in #435
- chore: Upgrade to Gradle 8.4 by @ctasada in #442
- chore(deps): Bump swaggerVersion from 2.2.18 to 2.2.19 by @dependabot in #452
- chore(deps): Bump com.bmuschko.docker-spring-boot-application from 9.3.6 to 9.3.7 by @dependabot in #453
- chore(deps): Bump io.spring.dependency-management from 1.1.3 to 1.1.4 by @dependabot in #454
- add gh action timeout of 10m by @timonback in #461
- chore: update to angular 17 by @timonback in #444
- test(core): use wrapper class around generics (i.e. extends ArrayList) by @timonback in #451
- feat(core): handle multiple payloads in methodLevelListener by @timonback in #450
- chore(deps): Bump actions/github-script from 6 to 7 by @dependabot in #455
- Create json-schema Springwolf add-on by @timonback in #447
- feat: ignore listeners methods introduced by java generic type erasure by @timonback in #463
- Chore/align cloudstream example by @timonback in #464
- test: introduce systemTest target by @timonback in #465
- chore(deps): Bump org.owasp.dependencycheck from 8.4.2 to 8.4.3 by @dependabot in #467
- chore(deps): Bump jacksonVersion from 2.15.3 to 2.16.0 by @dependabot in #469
- feat(jms): JMS support by @krzysztofxkwiecien in #432
- chore: switch examples to application properties configuration by @timonback in #466
- chore(deps): Bump testcontainersVersion from 1.19.1 to 1.19.3 by @dependabot in #477
- chore(deps): Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 by @dependabot in #479
- chore(deps): Bump org.springframework.boot from 3.1.5 to 3.2.0 by @dependabot in #481
- feat: Add users of Springwolf to README.md by @timonback in #476
- feat: interceptor filter pattern for serialization/deserialization common cases such as Message and KStream by @SheheryarAamir in #441
- Feat/process meta annotations by @timonback in #475
- feat(core): add library name to info object extension field by @timonback in #430
New Contributors
- @krzysztofxkwiecien made their first contribution in #432
Full Changelog: v0.16.0...v0.17.0