v0.18.0
v0.18.0 has been released, including new features and fixes. Our focus has been on refactorings and we are working hard to upgrade to AsyncAPI 3.0 in the next release - which will include breaking changes.
Avro and Protobuf support
We improved support for Avro and Protobuf by removing extraneous fields related to the wire format.
At the same time, our kafka demo application show cases this, including the ability to consume and produce messages - all in one application. See CustomSpringwolfKafkaProducer for configuration.
Document also final classes (like String)
One issue from the beginning was the inability to enhance documentation on final classes as the @Schema
annotation could not be attached. Now, by defining an envelope class and marking the property with @AsyncApiPayload
, also final classes can be document. See the StringConsumer for more details.
Detect channels defined via bean configuration
Not everyone is using @Component
or related annotations to mark classes for Spring. Now, Springwolf does also detect marked listener and publisher methods in classes, which are instantiated as Spring beans via configuration classes.
What's Changed
- chore(deps): Bump com.bmuschko.docker-spring-boot-application from 9.3.7 to 9.4.0 by @dependabot in #488
- chore(deps): Bump actions/setup-java from 3 to 4 by @dependabot in #487
- chore(deps): Bump org.mockito:mockito-junit-jupiter from 5.7.0 to 5.8.0 by @dependabot in #491
- chore(deps): Bump com.diffplug.spotless from 6.22.0 to 6.23.3 by @dependabot in #489
- chore(deps): Bump org.mockito:mockito-core from 5.7.0 to 5.8.0 by @dependabot in #490
- Refactor/annotation scanner to composition by @timonback in #483
- Feat/detect channels defined via bean configuration by @timonback in #486
- chore(deps): Bump org.owasp.dependencycheck from 8.4.3 to 9.0.2 by @dependabot in #492
- chore(deps): Bump io.awspring.cloud:spring-cloud-aws-dependencies from 3.0.3 to 3.1.0 by @dependabot in #495
- chore(deps): Bump org.owasp.dependencycheck from 9.0.2 to 9.0.4 by @dependabot in #496
- chore(deps): Bump org.apache.kafka:kafka-clients from 3.6.0 to 3.6.1 by @dependabot in #499
- chore(deps): Bump org.apache.kafka:kafka-streams from 3.6.0 to 3.6.1 by @dependabot in #497
- chore(deps): Bump com.networknt:json-schema-validator from 1.0.87 to 1.0.88 by @dependabot in #498
- chore: simplify schemas service by @timonback in #500
- Refactor/change async annotations scanner to composition by @timonback in #502
- feat: Added AsyncAPI v3 internal implementation by @ctasada in #501
- chore(deps): Bump github/codeql-action from 2 to 3 by @dependabot in #504
- chore(deps): Bump org.owasp.dependencycheck from 9.0.4 to 9.0.7 by @dependabot in #505
- chore(deps): Bump com.networknt:json-schema-validator from 1.0.88 to 1.1.0 by @dependabot in #506
- doc: Minor improvements to the AsyncAPI module README by @ctasada in #508
- chore: Upgrade to Gradle 8.5 by @ctasada in #509
- chore: update README.md by @timonback in #482
- chore: Improved AsyncAPI interface by @ctasada in #511
- chore(deps): Bump org.springframework.boot from 3.2.0 to 3.2.1 by @dependabot in #514
- chore(deps): Bump jacksonVersion from 2.16.0 to 2.16.1 by @dependabot in #513
- chore(deps): Bump swaggerVersion from 2.2.19 to 2.2.20 by @dependabot in #512
- chore: Improved AsyncAPI interface by @ctasada in #515
- chore(deps): Bump org.slf4j:slf4j-api from 2.0.9 to 2.0.10 by @dependabot in #522
- chore(deps): Bump org.assertj:assertj-core from 3.24.2 to 3.25.0 by @dependabot in #521
- fix(core): handle meta annotations using spring
@AliasFor
by @timonback in #519 - feat(kafka): prepare to use different kafka templates per topic durin… by @timonback in #518
- chore: remove deprecated asyncapidocket bean by @timonback in #524
- feat: Remove avro fields from schema by @timonback in #503
- feat(core): add Optional to extractable classes by @timonback in #525
- Demonstrate protobuf in kafka example by @timonback in #526
- Feat/allow to document primitive data types (GH-377) by @timonback in #520
- chore: remove spectral linting in gh action by @timonback in #528
- feat(ui): better handling when binding is missing by @timonback in #529
- chore(deps): Bump org.assertj:assertj-core from 3.25.0 to 3.25.1 by @dependabot in #530
- chore(deps): Bump org.slf4j:slf4j-api from 2.0.10 to 2.0.11 by @dependabot in #531
- chore(deps-dev): Bump follow-redirects from 1.15.3 to 1.15.4 in /springwolf-ui by @dependabot in #535
- chore: disable owasp nodejs checking by @timonback in #537
- chore(deps): Bump zone.js from 0.14.2 to 0.14.3 in /springwolf-ui by @dependabot in #548
- chore(deps): Bump io.confluent:kafka-protobuf-serializer from 7.5.1 to 7.5.3 by @dependabot in #547
- chore(deps): Bump com.google.protobuf:protobuf-java from 3.25.1 to 3.25.2 by @dependabot in #545
- chore(deps): Bump com.google.protobuf:protoc from 3.21.1 to 3.25.2 by @dependabot in #544
- chore(deps): Bump com.diffplug.spotless from 6.23.3 to 6.24.0 by @dependabot in #546
- Revert "chore: remove deprecated asyncapidocket bean (#524)" by @timonback in #536
- chore(deps): Bump org.owasp.dependencycheck from 9.0.7 to 9.0.9 by @dependabot in #551
- Refactor/improve example schema generator by @timonback in #552
Full Changelog: v0.17.0...v0.18.0