Browse Source

What's New updated for significant refinements in 4.3.3

pull/1177/head
Juergen Hoeller 10 years ago
parent
commit
2bbfbb1d50
  1. 12
      src/asciidoc/whats-new.adoc

12
src/asciidoc/whats-new.adoc

@ -631,6 +631,7 @@ public @interface MyTestConfig { @@ -631,6 +631,7 @@ public @interface MyTestConfig {
* Core container exceptions provide richer metadata to evaluate programmatically.
* Java 8 default methods get detected as bean property getters/setters.
* Lazy candidate beans are not being created in case of injecting a primary bean.
* It is no longer necessary to specify the `@Autowired` annotation if the target
bean only defines one constructor.
* `@Configuration` classes support constructor injection.
@ -640,6 +641,8 @@ public @interface MyTestConfig { @@ -640,6 +641,8 @@ public @interface MyTestConfig {
with a single element of the component type of the array. For example, the
`String[] path` attribute of `@RequestMapping` can be overridden with
`String path` in a composed annotation.
* `@PersistenceContext`/`@PersistenceUnit` selects a primary `EntityManagerFactory`
bean if declared as such.
* `@Scheduled` and `@Schedules` may now be used as _meta-annotations_ to create
custom _composed annotations_ with attribute overrides.
* `@Scheduled` is properly supported on beans of any scope.
@ -688,6 +691,7 @@ Spring 4.3 also improves the caching abstraction as follows: @@ -688,6 +691,7 @@ Spring 4.3 also improves the caching abstraction as follows:
* New `@SessionAttribute` annotation for access to session attributes (see <<mvc-ann-sessionattrib-global, example>>).
* New `@RequestAttribute` annotation for access to request attributes (see <<mvc-ann-requestattrib, example>>).
* `@ModelAttribute` allows preventing data binding via `binding=false` attribute (see <<mvc-ann-modelattrib-method-args, reference>>).
* `@PathVariable` may be declared as optional (for use on `@ModelAttribute` methods).
* Consistent exposure of Errors and custom Throwables to MVC exception handlers.
* Consistent charset handling in HTTP message converters, including a UTF-8 default for multipart text content.
* Static resource handling uses the configured `ContentNegotiationManager` for media type determination.
@ -730,11 +734,13 @@ Spring 4.3 also improves the caching abstraction as follows: @@ -730,11 +734,13 @@ Spring 4.3 also improves the caching abstraction as follows:
=== Support for new library and server generations
* Hibernate ORM 5.2 (still supporting 4.2/4.3 and 5.0/5.1 as well, with 3.6 deprecated now)
* Hibernate Validator 5.3 (minimum remains at 4.3)
* Jackson 2.8 (minimum raised to Jackson 2.6+ as of Spring 4.3)
* OkHttp 3.x (still supporting OkHttp 2.x side by side)
* Tomcat 8.5 as well as 9.0 milestones
* Netty 4.1
* Undertow 1.4
* Tomcat 8.5.2 as well as 9.0 M6
* WildFly 10.1
Furthermore, Spring Framework 4.3 embeds the updated ASM 5.1 and Objenesis 2.4 in
`spring-core.jar`.
Furthermore, Spring Framework 4.3 embeds the updated ASM 5.1, CGLIB 3.2.4, and Objenesis 2.4
in `spring-core.jar`.

Loading…
Cancel
Save