diff --git a/docs/src/main/docbook/migration.xml b/docs/src/main/docbook/migration.xml index c63990939a..2dad58158b 100644 --- a/docs/src/main/docbook/migration.xml +++ b/docs/src/main/docbook/migration.xml @@ -28,9 +28,9 @@ xml:id="migration"> Migration Guide -
- Migrating from Jersey 2.23 to 2.27 -
+
+ Migrating from Jersey 2.25 to &version;. +
Breaking Changes @@ -49,7 +49,7 @@ Spring version used in the extension module was upgraded to 4.2.1.RELEASE. The reason for that is lack - of Java 8 support with Spring 3.x versions. + of Java 8 support with Spring 3.x versions. Optionally, an extension module for Spring 5 can be used. Jersey proprietary reactive client API has been dropped and replaced by JAX-RS 2.1 Reactive Client API. @@ -60,7 +60,7 @@
-
+
Breaking Changes - Injection Manager Following breaking changes are caused by removing and replacing HK2 (ServiceLocator) by &jersey.common.internal.inject.InjectionManager;. Jersey injection API is considered as an internal API (except @@ -118,6 +118,21 @@ to Jersey with an adjusted package. + + If the internal Jersey injection API is to be backed by HK2, since 2.26, the following additional HK2 + support module is required: + <dependency> + <groupId>org.glassfish.jersey.inject</groupId> + <artifactId>jersey-hk2</artifactId> + <version>&version;</version> +</dependency> + + + The direct support for HK2 Binder being able to be registered as in pre 2.26 Jersey has + been returned back in Jersey 2.29. Note, however, this is for backward compatibility purposes and + not a preferred way of registering injectables; the HK2 Binder support may be removed + in the future versions of Jersey. +
@@ -138,7 +153,7 @@
- Migrating from Jersey 2.22.1 to 2.23 + Migrating from Jersey 2.22.1 to 2.25
Release 2.23 Highlights