Skip to content

Commit 2bbfbb1

Browse files
committed
What's New updated for significant refinements in 4.3.3
1 parent ace25d4 commit 2bbfbb1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/asciidoc/whats-new.adoc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ public @interface MyTestConfig {
631631

632632
* Core container exceptions provide richer metadata to evaluate programmatically.
633633
* Java 8 default methods get detected as bean property getters/setters.
634+
* Lazy candidate beans are not being created in case of injecting a primary bean.
634635
* It is no longer necessary to specify the `@Autowired` annotation if the target
635636
bean only defines one constructor.
636637
* `@Configuration` classes support constructor injection.
@@ -640,6 +641,8 @@ public @interface MyTestConfig {
640641
with a single element of the component type of the array. For example, the
641642
`String[] path` attribute of `@RequestMapping` can be overridden with
642643
`String path` in a composed annotation.
644+
* `@PersistenceContext`/`@PersistenceUnit` selects a primary `EntityManagerFactory`
645+
bean if declared as such.
643646
* `@Scheduled` and `@Schedules` may now be used as _meta-annotations_ to create
644647
custom _composed annotations_ with attribute overrides.
645648
* `@Scheduled` is properly supported on beans of any scope.
@@ -688,6 +691,7 @@ Spring 4.3 also improves the caching abstraction as follows:
688691
* New `@SessionAttribute` annotation for access to session attributes (see <<mvc-ann-sessionattrib-global, example>>).
689692
* New `@RequestAttribute` annotation for access to request attributes (see <<mvc-ann-requestattrib, example>>).
690693
* `@ModelAttribute` allows preventing data binding via `binding=false` attribute (see <<mvc-ann-modelattrib-method-args, reference>>).
694+
* `@PathVariable` may be declared as optional (for use on `@ModelAttribute` methods).
691695
* Consistent exposure of Errors and custom Throwables to MVC exception handlers.
692696
* Consistent charset handling in HTTP message converters, including a UTF-8 default for multipart text content.
693697
* 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:
730734
=== Support for new library and server generations
731735

732736
* Hibernate ORM 5.2 (still supporting 4.2/4.3 and 5.0/5.1 as well, with 3.6 deprecated now)
737+
* Hibernate Validator 5.3 (minimum remains at 4.3)
733738
* Jackson 2.8 (minimum raised to Jackson 2.6+ as of Spring 4.3)
734739
* OkHttp 3.x (still supporting OkHttp 2.x side by side)
740+
* Tomcat 8.5 as well as 9.0 milestones
735741
* Netty 4.1
736742
* Undertow 1.4
737-
* Tomcat 8.5.2 as well as 9.0 M6
743+
* WildFly 10.1
738744

739-
Furthermore, Spring Framework 4.3 embeds the updated ASM 5.1 and Objenesis 2.4 in
740-
`spring-core.jar`.
745+
Furthermore, Spring Framework 4.3 embeds the updated ASM 5.1, CGLIB 3.2.4, and Objenesis 2.4
746+
in `spring-core.jar`.

0 commit comments

Comments
 (0)