Eureka 2.0.0 has been released. This release is a new effort and is not related to a previous preview of code released in the 2.x-archive branch which was an experimental re-architecture of Eureka.
The Eureka Server HTTP API and wire data formats have not changed for the 2.0.0 release. Eureka servers and clients should be backwards and forwards compatible over the wire. This release was primarily driven for compatibility with Spring Framework 6.0 and Spring Boot 3.0 and the change to Jakarta EE 9.
What has changed?
The Eureka 2.0.0 Java client API is not backwards compatible with 1.x.
Eureka 1.x included support for Jersey 1 and optional Support for Jersey 2. In many cases, Jersey 1 was the default and was baked into the eureka-core and eureka-client modules. Having a default client has been removed. The new eureka-client-jersey3 and eureka-core-jersey3 should now be used if no other implementation is provided (such as Spring Cloud support for a RestTemplate implementation).
The DiscoveryClient constructors have been updated to have a new required TransportClientFactories parameter. The majority of the Eureka 2.0.0 Java client API has remained unchanged.
All references to javax.* classes have been changed to jakarta.* classes and the appropriate modules have been added.
The eureka-server-governator module was removed. There is no current support for the JakartaEE version of @Inject.
The eureka-server module currently does not build a functional WAR file. The recommended way of creating a Eureka 2.0.0 server is via Spring Cloud Netflix as a Spring Boot application.
The build now requires JDK 11 because of some tests that require Jetty and the version of Jetty that supports Jakarta EE 9 requires Java 11. The build still targets Java 8.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.netflix.eureka:eureka-client from 1.10.18 to 2.0.3.
Release notes
Sourced from com.netflix.eureka:eureka-client's releases.
Commits
cf85ce1
Merge pull request #1552 from OlgaMaciaszek/2.x-xstream-1_4_20cd77cfc
Upgrade xstream to 1.4.20.9b3df32
Merge pull request #1526 from Netflix/josh/guava2x3a63288
Merge pull request #1531 from OlgaMaciaszek/2.xecdf048
Upgrade jettison to 1.5.4.10ba1fd
replace servo with spectator0b32fa1
Merge pull request #1511 from kilink/avoid-instances-set-copy-2418f1b1
Call size method on Application to avoid copying instance info40a91d5
Merge pull request #1506 from spencergibb/patch-118412ba
Update nebula-snapshot.yml to publish 2.0.1-SNAPSHOTDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show