22
33## Dropwizard 5.0
44
5- * [ dropwizard upgrade instructions] ( https://www.dropwizard.io/en/stable/manual/upgrade-notes/upgrade-notes-5_0_x.html )
5+ * [ Dropwizard upgrade instructions] ( https://www.dropwizard.io/en/stable/manual/upgrade-notes/upgrade-notes-5_0_x.html )
66
77Java 17 required.
88
99## Dropwizard 4.0
1010
1111Migration to jakarta namespace (` jakarta.inject ` , ` jakarta.servlet ` , ` jakarta.persistence ` instead of ` javax.* ` ).
1212
13- * [ dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-4.0.x/manual/upgrade-notes/upgrade-notes-4_0_x.html )
13+ * [ Dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-4.0.x/manual/upgrade-notes/upgrade-notes-4_0_x.html )
1414
1515Guice 7.0 [ drops javax.* support completely] ( https://github.com/google/guice/wiki/Guice700 ) , so you should either migrate
1616to guice annotations (like ` com.google.guice.Inject ` ) or use jakarta annotations (like ` jakarta.inject.Inject ` ).
1717
18- If you're upgrading from dropwizard 2.1 it is recommended to perform step-by-step migration (due to many breaking changes):
18+ If you're upgrading from Dropwizard 2.1 it is recommended to perform step-by-step migration (due to many breaking changes):
1919
20- * guicey 5.9.0 - dropwizard 2.1, guice 6 (changed guicey project structure - same as in guicey 6)
21- * guicey 6.1.0 - dropwizard 3, guice 6 (changed core dropwizard packaged)
22- * guicey 7.0.0 - dropwizard 4, guice 7
20+ * Guicey 5.9.0 - Dropwizard 2.1, guice 6 (changed Guicey project structure - same as in Guicey 6)
21+ * Guicey 6.1.0 - Dropwizard 3, guice 6 (changed core Dropwizard packaged)
22+ * Guicey 7.0.0 - Dropwizard 4, guice 7
2323
2424There might be problems with 3rd party guice libraries still using javax annotations - they would not work as planned
2525if ` javax.inject ` annotations used. If possible, migrate such libraries to jakarta namespace or, at least,
2626use guice native annotations (so library could work with all guice versions).
2727
2828As the last option, there is a [ gradle plugin] ( https://github.com/nebula-plugins/gradle-jakartaee-migration-plugin )
2929for automatic conversion of project dependencies from javax to jakarta. This way, application started from gradle project
30- would use repackaged dependencies with correct jakarta namespace. Application delivery would also contain
30+ would use repackaged dependencies with correct jakarta namespace. Application delivery would also contain
3131custom (repackaged) jars.
3232
3333Using this plugin, I did initial [ automatic guice migration] ( https://github.com/xvik/guice-jakartaee ) , (appeared before official
@@ -37,39 +37,39 @@ repackage.
3737
3838## Dropwizard 3.0
3939
40- Java 8 support dropped! Many core packages were changed so there might be problems with 3rd party modules.
40+ Java 8 support dropped! Many core packages were changed so there might be problems with 3rd party modules.
4141
42- * [ dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-4.0.x/manual/upgrade-notes/upgrade-notes-3_0_x.html )
42+ * [ Dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-4.0.x/manual/upgrade-notes/upgrade-notes-3_0_x.html )
4343
44- * Guicey core was merged with ext modules to unify versioning.
44+ * Guicey core was merged with extension modules to unify versioning.
4545* Examples repository was also merged into the [ main repository] ( https://github.com/xvik/dropwizard-guicey/tree/master/examples )
46- * There is only one BOM now: ` ru.vyarus.guicey:guicey-bom ` .
46+ * There is only one BOM now: ` ru.vyarus.guicey:guicey-bom ` .
4747* Dropwizard-guicey POM is not a BOM anymore (removing ambiguity). POM simplified by using direct exclusions instead of relying on BOM.
4848
4949!!! note
50- Guicey 5.8.0 (for dropwizard 2.1) applies the same project structure as in guicey 6 (dropwizard 3) and
50+ Guicey 5.8.0 (for Dropwizard 2.1) applies the same project structure as in Guicey 6 (Dropwizard 3) and
5151 so you can use it as the first migration step.
5252
5353## Dropwizard 2.1
5454
55- * [ dropwizard upgrade notes] ( https://www.dropwizard.io/en/release-4.0.x/manual/upgrade-notes/upgrade-notes-2_1_x.html )
55+ * [ Dropwizard upgrade notes] ( https://www.dropwizard.io/en/release-4.0.x/manual/upgrade-notes/upgrade-notes-2_1_x.html )
5656
57- Since dropwizard 2.1.0 [ jackson blackbird] ( https://github.com/FasterXML/jackson-modules-base/tree/jackson-modules-base-2.13.3/blackbird#readme )
57+ Since Dropwizard 2.1.0 [ jackson blackbird] ( https://github.com/FasterXML/jackson-modules-base/tree/jackson-modules-base-2.13.3/blackbird#readme )
5858[ used by default] ( https://www.dropwizard.io/en/release-2.1.x/manual/upgrade-notes/upgrade-notes-2_1_x.html#jackson-blackbird-as-default )
5959instead of [ afterburner] ( https://github.com/FasterXML/jackson-modules-base/tree/jackson-modules-base-2.13.3/afterburner#readme ) .
6060If you use ** java 8** then apply afterburner dependency in order to switch into it:
6161
62- ```
62+ ``` groovy
6363implementation 'com.fasterxml.jackson.module:jackson-module-afterburner:2.13.3'
6464```
6565
66- (omit version if guicey or dropwizard if BOM used).
66+ (omit the version if the Guicey or Dropwizard BOM is used).
6767Without it, you'll always see a nasty warning on startup (afterburner is better for java 8, but for java 9+ blackbird should be used)
6868
6969* [ Java 8 issue discussion] ( https://github.com/xvik/dropwizard-guicey/discussions/226 )
70- * [ dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-2.1.x/manual/upgrade-notes/upgrade-notes-2_1_x.html )
70+ * [ Dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-2.1.x/manual/upgrade-notes/upgrade-notes-2_1_x.html )
7171
7272## Dropwizard 2.0
7373
74- * [ dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-2.0.x/manual/upgrade-notes/upgrade-notes-2_0_x.html )
75- * [ guicey migration guide] ( http ://xvik.github.io/dropwizard-guicey/5.0.0/about/release-notes/#migration-guide) .
74+ * [ Dropwizard upgrade instructions] ( https://www.dropwizard.io/en/release-2.0.x/manual/upgrade-notes/upgrade-notes-2_0_x.html )
75+ * [ Guicey migration guide] ( https ://xvik.github.io/dropwizard-guicey/5.0.0/about/release-notes/#migration-guide) .
0 commit comments