-
Notifications
You must be signed in to change notification settings - Fork 35
4.5.2 Deprecations and breaking changes
Julien Viet edited this page Jan 28, 2024
·
3 revisions
https://github.com/eclipse-vertx/vert.x/pull/5053
This name has a typo, instead DEFAULT_SEARCH_DOMAINS
shall be used.
https://github.com/eclipse-vertx/vert.x/pull/5060
There is no need to keep two object mappers if a single one can be used to encode JSON in both compact and pretty forms.
This change relieves users from configuring two object mappers if they have customizations.
// Before
DatabindCodec.prettyMapper().writeValueAsString(jsonObject);
// After
DatabindCodec.mapper().writerWithDefaultPrettyPrinter().writeValueAsString(jsonObject);
https://github.com/eclipse-vertx/vertx-http-proxy/pull/59
The ProxyRequest#authority
property type has been changed to HostAndPort
instead of a string.
// Before
proxyRequest.authority("example.com");
// After
proxyRequest.authority(HostAndPort.authority("example.com"));
``