Skip to content

Commit e0d0fc5

Browse files
committed
Update new features section in the reference doc
1 parent 63a1348 commit e0d0fc5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/asciidoc/whats-new.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public @interface MyTestConfig {
509509
* Custom `@RequestMapping` annotations.
510510
* Public methods in `AbstractHandlerMethodMapping` to register and unregister request mappings at runtime.
511511
* New `RequestBodyAdvice` extension point and a built-in implementation to support Jackson's `@JsonView`
512-
on`@RequestBody` method arguments.
512+
on `@RequestBody` method arguments.
513513
* `HandlerMethod` as a method argument on `@ExceptionHandler` methods, especially
514514
handy in `@ControllerAdvice` components.
515515
* `java.util.concurrent.CompletableFuture` as an `@Controller` method return value type.
@@ -519,7 +519,11 @@ public @interface MyTestConfig {
519519
** `DefaultUriTemplateHandler` exposes `baseUrl` property and path segment encoding options.
520520
** the extension point can also be used to plug in any URI template library.
521521
* http://square.github.io/okhttp/[OkHTTP] integration with the `RestTemplate`.
522-
* Custom `baseUrl" alternative for methods in `MvcUriComponentsBuilder`.
522+
* Custom `baseUrl` alternative for methods in `MvcUriComponentsBuilder`.
523+
* Serialization/deserialization exception messages are now logged at WARN level.
524+
* When using GSON or Jackson 2.6+, the handler method return type is used to improve
525+
serialization of parameterized types like `List<Foo>`.
526+
* Default JSON prefix has been changed from "{} && " to the safer ")]}', " one.
523527

524528
=== WebSocket Messaging Improvements
525529

0 commit comments

Comments
 (0)