dropwizard

A damn simple library for building production-ready RESTful web services.

APACHE-2.0 License

Stars
8.5K
Committers
478

Bot releases are visible (Hide)

dropwizard - v3.0.2

Published by joschi about 1 year ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v3.0.1...v3.0.2

dropwizard - v4.0.1

Published by joschi over 1 year ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v4.0.0...v4.0.1

dropwizard - v3.0.1

Published by joschi over 1 year ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v3.0.0...v3.0.1

dropwizard - v2.1.7

Published by joschi over 1 year ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.1.6...v2.1.7

dropwizard - v4.0.0

Published by joschi over 1 year ago

Dropwizard 4.0.0

It's finally here, the next major release of Dropwizard! This one has been developed and released in tandem with Dropwizard 3.0.0.

If you're wondering what the differences are: Not much!

3️⃣ Dropwizard 3.0.0 is still based on and is using dependencies for Java EE and the javax.* package namespace. The effort to migrate from Dropwizard 2.x to Dropwizard 3.0.0 should be minimal for many projects.

4️⃣ Dropwizard 4.0.0 is based on and is using dependencies for Jakarta EE and the jakarta.* package namespace. The effort to migrate from Dropwizard 2.x to Dropwizard 4.0.0 might be bigger due to more package changes and more breaking changes in our dependencies.

📣 In any case, let us know how the migration went and if you were missing anything important in the upgrade notes in our GitHub Discussions!

⚠️ Breaking changes

For a full list of relevant changes please refer to the Upgrade Notes for Dropwizard 4.0.x.

Java 11 baseline

Dropwizard 4.0.0 and later require Java 11 as a baseline. Later versions of Java are also working.

Dropwizard Package Structure and JPMS

In order to properly support the Java Platform Module System (JPMS), the Java packages in modules must not overlap, or put differently, the packages may not be split into multiple modules.

Dropwizard 4.0.0 won’t enable full support for the JPMS. Instead, as a transition step, automatic modules are introduced.

Affected packages:

Maven module Old package New package
dropwizard-core io.dropwizard io.drowizard.core
dropwizard-logging io.dropwizard.logging io.dropwizard.logging.common
dropwizard-metrics io.dropwizard.metrics io.dropwizard.metrics.common
dropwizard-views io.dropwizard.views io.dropwizard.views.common

Transition to Jakarta EE

Previously released Dropwizard versions used Java/Jakarta EE dependencies under the javax namespace. Dropwizard 4.0.x transitioned to Jakarta EE 9 components and therefore utilize the new jakarta namespace for many components.

This means that most of the imports of existing applications using Dropwizard 2.x or 3.x will have to be changed from the javax to the jakarta namespace. However, other components still use the javax namespace, so a simple search and replace could break other imports.

Jakarta EE 9 compatibility

As stated above, Dropwizard 4.0.x will transition to Jakarta EE 9 components. This means, Dropwizard will now try to be consistent with one specific EE version.

Therefore Dropwizard 4.0.x will stay on components of Jakarta EE 9 and the transition to components of Jakarta EE 10 will be postponed to an other release series.

Since the EE version bump will probably introduce breaking changes, the Jakarta EE 10 components will be most likely integrated in Dropwizard 5.0.x and not in a 4.1.x release.

Jetty 11

The main change introduced in Dropwizard 4.0.0 is the upgrade to Jetty 11.0.x. Jetty 11.0.x is built for Java 11, therefore the Java version change was necessary.

This change comes with some migration cost. For detailed information regarding the changes introduced in Jetty 11.0.x, refer to the Jetty migration guide.

Apache HttpClient 5

The version of Apache HttpClient used in dropwizard-client has been updated to version 5.x.

For more information refer to the Apache HttpClient 5.0 migration guide.

Hibernate 6

Hibernate 5.6 provides compatible implementations for JPA 2.2 and for Jakarta Persistence 3.0.

But Hibernate 6.0 and 6.1 still provide compatible implementations for Jakarta Persistence 3.0, so we upgraded to Hibernate 6.1 in Dropwizard 4.0.x.

If any other aspects from Hibernate are used in an application rather than those provided by Dropwizard, there might be an additional migration cost. Please follow the Hibernate 6 migration guide and the Hibernate 6.1 migration guide, if you encounter any problems.

Removed Support for JUnit 4.x

Support for testing with JUnit 4.x has been moved from dropwizard-testing to dropwizard-testing-junit4.

🥇 Special thanks

The release of Dropwizard 3.0.0 wouldn't have been possible without the help of the community (YOU!) and especially the following contributors:

@zUniQueX, @rhowe, @pstackle, @dennyac, and countless others!

What's Changed since Dropwizard 4.0.0-beta.4

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v4.0.0-beta.4...v4.0.0

dropwizard - v3.0.0

Published by joschi over 1 year ago

Dropwizard 3.0.0

It's finally here, the next major release of Dropwizard! This one has been developed and released in tandem with Dropwizard 4.0.0.

If you're wondering what the differences are: Not much!

3️⃣ Dropwizard 3.0.0 is still based on and is using dependencies for Java EE and the javax.* package namespace. The effort to migrate from Dropwizard 2.x to Dropwizard 3.0.0 should be minimal for many projects.

4️⃣ Dropwizard 4.0.0 is based on and is using dependencies for Jakarta EE and the jakarta.* package namespace. The effort to migrate from Dropwizard 2.x to Dropwizard 4.0.0 might be bigger due to more package changes and more breaking changes in our dependencies.

📣 In any case, let us know how the migration went and if you were missing anything important in the upgrade notes in our GitHub Discussions!

⚠️ Breaking changes

For a full list of relevant changes please refer to the Upgrade Notes for Dropwizard 3.0.x.

Java 11 baseline

Dropwizard 3.0.0 and later require Java 11 as a baseline. Later versions of Java are also working.

Dropwizard Package Structure and JPMS

In order to properly support the Java Platform Module System (JPMS), the Java packages in modules must not overlap, or put differently, the packages may not be split into multiple modules.

Dropwizard 3.0.0 won’t enable full support for the JPMS. Instead, as a transition step, automatic modules are introduced.

Affected packages:

Maven module Old package New package
dropwizard-core io.dropwizard io.drowizard.core
dropwizard-logging io.dropwizard.logging io.dropwizard.logging.common
dropwizard-metrics io.dropwizard.metrics io.dropwizard.metrics.common
dropwizard-views io.dropwizard.views io.dropwizard.views.common

Jetty 10

The main change introduced in Dropwizard 3.0.0 is the upgrade to Jetty 10.0.x. Jetty 10.0.x is built for Java 11, therefore the Java version change was necessary.

This change comes with some migration cost. For detailed information regarding the changes introduced in Jetty 10.0.x, refer to the Jetty migration guide.

Apache HttpClient 5

The version of Apache HttpClient used in dropwizard-client has been updated to version 5.x.

For more information refer to the Apache HttpClient 5.0 migration guide.

Removed Support for JUnit 4.x

Support for testing with JUnit 4.x has been moved from dropwizard-testing to dropwizard-testing-junit4.

🥇 Special thanks

The release of Dropwizard 3.0.0 wouldn't have been possible without the help of the community (YOU!) and especially the following contributors:

@zUniQueX, @rhowe, @pstackle, @dennyac, and countless others!

What's Changed since Dropwizard 3.0.0-beta.5

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v3.0.0-beta.5...v3.0.0

dropwizard - v2.1.6

Published by joschi over 1 year ago

What's Changed

Bug fixes

Dependency updates

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.1.5...v2.1.6

dropwizard - v4.0.0-beta.4

Published by joschi over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v4.0.0-beta.3...v4.0.0-beta.4

dropwizard - v3.0.0-beta.5

Published by joschi over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v3.0.0-beta.4...v3.0.0-beta.5

dropwizard - v2.1.5

Published by joschi over 1 year ago

Important changes

Jersey 2.38 migrated from JUnit 4.x to JUnit Jupiter (JUnit 5.x): https://github.com/eclipse-ee4j/jersey/pull/5123

If you're still using JUnit 4.x in your projects, you might need to include org.junit.vintage:junit-vintage-engine for running JUnit 4 tests on the JUnit Platform.

<dependency>
    <groupId>org.junit.vintage</groupId>
    <artifactId>junit-vintage-engine</artifactId>
    <scope>test</scope>
</dependency>

See also JUnit 5 User Guide - Migrating from JUnit 4.

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.1.4...v2.1.5

dropwizard - v2.1.4

Published by joschi about 2 years ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.1.3...v2.1.4

dropwizard - v2.0.34

Published by joschi about 2 years ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.0.33...v2.0.34

dropwizard - v4.0.0-beta.3

Published by joschi about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v4.0.0-beta.2...v4.0.0-beta.3

dropwizard - v3.0.0-beta.4

Published by joschi about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v3.0.0-beta.3...v3.0.0-beta.4

dropwizard - v2.1.3

Published by joschi about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.1.2...v2.1.3

dropwizard - v2.0.33

Published by joschi about 2 years ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.0.32...v2.0.33

dropwizard - v2.1.2

Published by joschi about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.1.1...v2.1.2

dropwizard - v4.0.0-beta.2

Published by joschi over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v4.0.0-beta.1...v4.0.0-beta.2

dropwizard - v3.0.0-beta.3

Published by joschi over 2 years ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v3.0.0-beta.2...v3.0.0-beta.3

dropwizard - v2.0.32

Published by joschi over 2 years ago

What's Changed

Full Changelog: https://github.com/dropwizard/dropwizard/compare/v2.0.31...v2.0.32

Package Rankings
Top 1.15% on Repo1.maven.org
Top 3.77% on Proxy.golang.org
Badges
Extracted from project README
Build Quality Gate Status Maven Central Javadocs Documentation Status Maintainability Reproducible Builds Contribute with Gitpod