Skip to content

2.0.0

Compare
Choose a tag to compare
@SDABot SDABot released this 02 Sep 09:11
· 2055 commits to main since this release

2.0.0 (2020-09-02)

Bug Fixes

  • client-jersey: Remove deprecated methods (e0a3416)
  • deps: bump dropwizard-bom from 2.0.11 to 2.0.12 (7dc5800)
  • deps: bump dropwizard-bom from 2.0.12 to 2.0.13 (beff9a4)
  • deps: exclude jakarta.inject in favour of repacked module from Glassfish as provided by dropwizard (8b933d2)
  • deps: exclude javax.activation in favour of jakarta.activation (1ba01bc)
  • deps: exclude javax.servlet in favour of jakarta.servlet (7c75b18)
  • deps: prefer using jakarta.* over javax.* dependencies that are provided by dropwizard-dependencies (e505a78)
  • deps: reduce duplicated classes from *.interceptor (76b0120)
  • deps: reduce duplicated classes from apoalliance commons-logging and jakarta.el (94db602)
  • deps: reduce duplicated classes from javax.transaction (7303bd4)
  • deps: reduce duplicated classes to zero by managing javax.annotation in weld (99f87b8)
  • deps: remove duplicated classes of MongoDB driver by using the artifact that comes with Morphia (64bbb0f)
  • deps: reorganize dependencies and remove unused constraints (7a3703f)
  • deps: upgrade hamcrest and stop managing test dependencies managed by dropwizard (c341226)
  • deps: upgrade resilience4j to 1.5.0 (4db5317)
  • kafka: log a warning if the kafka health check fails (9d78a6a)
  • server-auth: don't include the exception class when a token decoding failed (2804c1a)
  • server-auth-testing: Remove deprecated builder methods (6da7edf)
  • server-hibernate: do not register the HibernateBundle at Jersey (19d09c3)
  • server-kafka-confluent: remove avro support and the *-kafka-confluent modules (85c1cf4)
  • server-morphia: Remove deprecated methods (a204420)
  • server-security: always enable useForwardedHeaders by default (6350648)
  • server-weld: exclude jakarta.transaction in favour of javax.transaction (fb506b5)

Features

  • server-dropwizard: add a convenience interface to allow the registration of instances in jersey (3772410)
  • server-kafka: remove legacy config (90b7232)
  • upgrade to Dropwizard 2.0.11 (304f4bb)

BREAKING CHANGES

  • server-kafka: Legacy config has been removed. All Kafka configuration must be refactored to MessageListenerRegistration.
    Builder for MessageListenerRegistration and ProducerRegistration have been refactored to avoid explicit typing on initialization like .<String, SimpleEntity >builder() in many cases.
  • server-kafka-confluent: Deprecated modules sda-commons-server-kafka-confluent and sda-commons-server-kafka-confluent-testing are removed.
    This also removes the support for Avro serializers and deserializers. Projects that need Avro support must manage the dependencies by themselves.
  • server-auth-testing: Deprecated method in OpaRule is removed. Use onRequest().withMethod(method).withPath(path) instead of .onRequest(method, path).
  • server-morphia: MorphiaBundle can not be initialized without LocalDateConverter any more.
    Consumers storing LocalDate in MongoDB without a converter or a custom converter that produces a different format need to upgrade their collections. If services use no converter or a custom converter for LocalDate in MongoDB entities the collection has to be migrated. No action must be taken if LocalDate is not used for properties in MongoDB entities. No action must be taken of PostgreSQL/JPA is used to persist data.
  • client-jersey: Deprecated methods in ClientFactory are removed.
  • Upgrades Dropwizard to version 2.0.x and updates all transitive dependencies.