Skip to content

Commit 2677584

Browse files
Jay Bryantrstoyanchev
authored andcommitted
Add introductory paragraphs where missing
Issue: SPR-15585
1 parent 9923675 commit 2677584

File tree

1 file changed

+49
-19
lines changed

1 file changed

+49
-19
lines changed

src/asciidoc/whats-new.adoc

Lines changed: 49 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[[spring-whats-new]]
22
= What's New in Spring Framework 4.x
33

4+
This chapter provides an overview of the new features and improvements that have been introduced with Spring Framework 4.3. If you are interested in more details, please see the link:https://jira.spring.io/issues/?jql=project%20%3D%20SPR%20AND%20fixVersion%20in%20(%224.3%20RC1%22%2C%20%224.3%20RC2%22%2C%20%224.3%20GA%22)%20ORDER%20BY%20issuetype%20DESC&startIndex=50[Issue Tracker tickets] that were resolved as part of the 4.3 development process.
5+
46

57
[[new-in-4.0]]
68
== New Features and Enhancements in Spring Framework 4.0
@@ -220,7 +222,15 @@ Framework 4.0 introduces several new features for use in unit and integration te
220222
[[new-in-4.1]]
221223
== New Features and Enhancements in Spring Framework 4.1
222224

223-
=== JMS Improvements
225+
Version 4.1 included a number of improvements, as described in the following sections:
226+
227+
* <<v4_1-JMS-Improvements>>
228+
* <<v4_1-Caching-Improvements>>
229+
* <<v4_1-Web-Improvements>>
230+
* <<v4_1-WebSocket-Messaging-Improvements>>
231+
* <<v4_1-Testing-Improvements>>
232+
233+
=== JMS Improvements [[v4_1-JMS-Improvements]]
224234
Spring 4.1 introduces a much simpler infrastructure <<jms-annotated,to register JMS
225235
listener endpoints>> by annotating bean methods with
226236
{api-spring-framework}/jms/annotation/JmsListener.html[`@JmsListener`].
@@ -250,7 +260,7 @@ Finally, Spring 4.1 provides additional miscellaneous improvements:
250260
{api-spring-framework}/util/backoff/BackOff.html[`BackOff`] implementation
251261
* JMS 2.0 shared consumers are supported
252262

253-
=== Caching Improvements
263+
=== Caching Improvements [[v4_1-Caching-Improvements]]
254264

255265
Spring 4.1 supports <<cache-jsr-107,JCache (JSR-107) annotations>> using Spring's
256266
existing cache configuration and infrastructure abstraction; no changes are required
@@ -270,7 +280,7 @@ Spring 4.1 also improves its own caching abstraction significantly:
270280
Spring 4.1 also has a breaking change in the `Cache` interface as a new `putIfAbsent`
271281
method has been added.
272282

273-
=== Web Improvements
283+
=== Web Improvements [[v4_1-Web-Improvements]]
274284

275285
* The existing support for resource handling based on the `ResourceHttpRequestHandler`
276286
has been expanded with new abstractions `ResourceResolver`, `ResourceTransformer`,
@@ -327,7 +337,7 @@ method has been added.
327337
support (based on Groovy 2.3). See the `GroovyMarkupConfigurer` and respecitve
328338
`ViewResolver` and `View' implementations.
329339

330-
=== WebSocket Messaging Improvements
340+
=== WebSocket Messaging Improvements [[v4_1-WebSocket-Messaging-Improvements]]
331341

332342
* SockJS (Java) client-side support. See `SockJsClient` and classes in same package.
333343
* New application context events `SessionSubscribeEvent` and `SessionUnsubscribeEvent` published
@@ -345,7 +355,7 @@ method has been added.
345355
* Close STOMP/WebSocket connections that have no activity within 60 seconds after the
346356
WebSocket session is established. See https://jira.spring.io/browse/SPR-11884[SPR-11884].
347357

348-
=== Testing Improvements
358+
=== Testing Improvements [[v4_1-Testing-Improvements]]
349359

350360
* Groovy scripts can now be used to configure the `ApplicationContext` loaded for
351361
integration tests in the TestContext framework.
@@ -384,7 +394,16 @@ method has been added.
384394
[[new-in-4.2]]
385395
== New Features and Enhancements in Spring Framework 4.2
386396

387-
=== Core Container Improvements
397+
Version 4.2 included a number of improvements, as described in the following sections:
398+
399+
* <<v4_2-Core-Container-Improvements>>
400+
* <<v4_2-Data-Access-Improvements>>
401+
* <<v4_2-JMS-Improvements>>
402+
* <<v4_2-Web-Improvements>>
403+
* <<v4_2-WebSocket-Messaging-Improvements>>
404+
* <<v4_2-Testing-Improvements>>
405+
406+
=== Core Container Improvements [[v4_2-Core-Container-Improvements]]
388407

389408
* Annotations such as `@Bean` get detected and processed on Java 8 default methods as well,
390409
allowing for composing a configuration class from interfaces with default `@Bean` methods.
@@ -488,7 +507,7 @@ public @interface MyTestConfig {
488507
exposed through the `lang:std` element in XML. Supports e.g. JavaScript and JRuby.
489508
(Note: JRubyScriptFactory and `lang:jruby` are deprecated now, in favor of using JSR-223.)
490509

491-
=== Data Access Improvements
510+
=== Data Access Improvements [[v4_2-Data-Access-Improvements]]
492511

493512
* `javax.transaction.Transactional` is now supported via AspectJ.
494513
* `SimpleJdbcCallOperations` now supports named binding.
@@ -498,7 +517,7 @@ public @interface MyTestConfig {
498517
`<jdbc:embedded-database>` supports a new `database-name` attribute.
499518
See "Testing Improvements" below for further details.
500519

501-
=== JMS Improvements
520+
=== JMS Improvements [[v4_2-JMS-Improvements]]
502521

503522
* The `autoStartup` attribute can be controlled via `JmsListenerContainerFactory`.
504523
* The type of the reply `Destination` can now be configured per listener container.
@@ -507,7 +526,7 @@ public @interface MyTestConfig {
507526
* `@JmsListener` is now a repeatable annotation to declare several JMS containers on the same
508527
method (use the newly introduced `@JmsListeners` if you're not using Java8 yet).
509528

510-
=== Web Improvements
529+
=== Web Improvements [[v4_2-Web-Improvements]]
511530

512531
* HTTP Streaming and Server-Sent Events support, see <<mvc-ann-async-http-streaming>>.
513532
* Built-in support for CORS including global (MVC Java config and XML namespace) and
@@ -540,7 +559,7 @@ public @interface MyTestConfig {
540559
* Introduced `ScriptTemplateView` as a JSR-223 based mechanism for scripted web views,
541560
with a focus on JavaScript view templating on Nashorn (JDK 8).
542561

543-
=== WebSocket Messaging Improvements
562+
=== WebSocket Messaging Improvements [[v4_2-WebSocket-Messaging-Improvements]]
544563

545564
* Expose presence information about connected users and subscriptions:
546565
** new `SimpUserRegistry` exposed as a bean named "userRegistry".
@@ -556,7 +575,7 @@ public @interface MyTestConfig {
556575
`@MessageMapping` and `@SubscribeMapping` methods.
557576
* `MarshallingMessageConverter` for XML payloads.
558577

559-
=== Testing Improvements
578+
=== Testing Improvements [[v4_2-Testing-Improvements]]
560579

561580
* JUnit-based integration tests can now be executed with JUnit rules instead of the
562581
`SpringJUnit4ClassRunner`. This allows Spring-based integration tests to be run with
@@ -620,7 +639,18 @@ public @interface MyTestConfig {
620639
[[new-in-4.3]]
621640
== New Features and Enhancements in Spring Framework 4.3
622641

623-
=== Core Container Improvements
642+
Version 4.3 included a number of improvements, as described in the following sections:
643+
644+
* <<v4_3-Core-Container-Improvements>>
645+
* <<v4_3-Data-Access-Improvements>>
646+
* <<v4_3-Caching-Improvements>>
647+
* <<v4_3-JMS-Improvements>>
648+
* <<v4_3-Web-Improvements>>
649+
* <<v4_3-WebSocket-Messaging-Improvements>>
650+
* <<v4_3-Testing-Improvements>>
651+
* <<v4_3-Support-for-new-library-and-server-generations>>
652+
653+
=== Core Container Improvements [[v4_3-Core-Container-Improvements]]
624654

625655
* Core container exceptions provide richer metadata to evaluate programmatically.
626656
* Java 8 default methods get detected as bean property getters/setters.
@@ -640,12 +670,12 @@ public @interface MyTestConfig {
640670
custom _composed annotations_ with attribute overrides.
641671
* `@Scheduled` is properly supported on beans of any scope.
642672

643-
=== Data Access Improvements
673+
=== Data Access Improvements [[v4_3-Data-Access-Improvements]]
644674

645675
* `jdbc:initialize-database` and `jdbc:embedded-database` support a configurable
646676
separator to be applied to each script.
647677

648-
=== Caching Improvements
678+
=== Caching Improvements [[v4_3-Caching-Improvements]]
649679

650680
Spring 4.3 allows concurrent calls on a given key to be synchronized so that the
651681
value is only computed once. This is an opt-in feature that should be enabled via
@@ -662,13 +692,13 @@ Spring 4.3 also improves the caching abstraction as follows:
662692
* `@Cacheable`, `@CacheEvict`, `@CachePut`, and `@Caching` may now be used as
663693
_meta-annotations_ to create custom _composed annotations_ with attribute overrides.
664694

665-
=== JMS Improvements
695+
=== JMS Improvements [[v4_3-JMS-Improvements]]
666696

667697
* `@SendTo` can now be specified at the class level to share a common reply destination.
668698
* `@JmsListener` and `@JmsListeners` may now be used as _meta-annotations_ to create
669699
custom _composed annotations_ with attribute overrides.
670700

671-
=== Web Improvements
701+
=== Web Improvements [[v4_3-Web-Improvements]]
672702

673703
* Built-in support for <<mvc-ann-requestmapping-head-options,HTTP HEAD and HTTP OPTIONS>>.
674704
* New `@GetMapping`, `@PostMapping`, `@PutMapping`, `@DeleteMapping`, and `@PatchMapping`
@@ -691,11 +721,11 @@ Spring 4.3 also improves the caching abstraction as follows:
691721
* `RestTemplate` and `AsyncRestTemplate` support strict URI variable encoding via `DefaultUriTemplateHandler`.
692722
* `AsyncRestTemplate` supports request interception.
693723

694-
=== WebSocket Messaging Improvements
724+
=== WebSocket Messaging Improvements [[v4_3-WebSocket-Messaging-Improvements]]
695725

696726
* `@SendTo` and `@SendToUser` can now be specified at class-level to share a common destination.
697727

698-
=== Testing Improvements
728+
=== Testing Improvements [[v4_3-Testing-Improvements]]
699729

700730
* The JUnit support in the _Spring TestContext Framework_ now requires JUnit 4.12 or higher.
701731
* New `SpringRunner` _alias_ for the `SpringJUnit4ClassRunner`.
@@ -724,7 +754,7 @@ Spring 4.3 also improves the caching abstraction as follows:
724754
whether the order of declaration for expectations should be ignored (see <<spring-mvc-test-client>>).
725755
* Client-side REST Test supports expectations for form data in the request body.
726756

727-
=== Support for new library and server generations
757+
=== Support for new library and server generations [[v4_3-Support-for-new-library-and-server-generations]]
728758

729759
* Hibernate ORM 5.2 (still supporting 4.2/4.3 and 5.0/5.1 as well, with 3.6 deprecated now)
730760
* Hibernate Validator 5.3 (minimum remains at 4.3)

0 commit comments

Comments
 (0)