Stephane Nicoll
4b150fd451
Update copyright date in reference manual
...
Closes gh-28237
2022-03-27 09:59:12 +02:00
Brian Clozel
7161940b53
Merge branch '5.3.x'
2022-03-24 13:44:38 +01:00
Yanming Zhou
acf2955b96
Ban jetbrains annotations imports
...
Closes gh-28226
2022-03-24 13:31:36 +01:00
Sam Brannen
b570f60560
Merge branch '5.3.x'
...
# Conflicts:
# spring-aop/src/main/java/org/springframework/aop/support/AopUtils.java
# spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationClassFilter.java
# spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMatchingPointcut.java
# spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMethodMatcher.java
# spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java
# spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java
# spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedNotification.java
# spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedOperationParameter.java
# spring-core/src/main/java/org/springframework/javapoet/support/package-info.java
# spring-core/src/main/java/org/springframework/util/TypeUtils.java
# spring-web/src/main/java/org/springframework/http/HttpMethod.java
2022-03-18 16:47:12 +01:00
Sam Brannen
64b64d9ba0
Stop referring to features as "Java 5" features
...
With a Java 8 baseline in place for quite some time now, it no longer
makes sense to refer to features such as annotations as "Java 5
annotations".
This commit also removes old `Tiger*Tests` classes, thereby avoiding
duplicate execution of various tests.
2022-03-18 16:32:30 +01:00
Sam Brannen
9764f0e59b
Merge branch '5.3.x'
...
# Conflicts:
# spring-test/src/test/java/org/springframework/mock/http/server/reactive/MockServerHttpRequestTests.java
# spring-web/src/test/java/org/springframework/http/server/reactive/HeadersAdaptersTests.java
# spring-web/src/test/java/org/springframework/web/client/RestTemplateIntegrationTests.java
# spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java
# spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/SseIntegrationTests.java
# spring-webmvc/src/test/java/org/springframework/web/servlet/handler/MappedInterceptorTests.java
# spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HandlerMethodAnnotationDetectionTests.java
# spring-websocket/src/test/java/org/springframework/web/socket/AbstractWebSocketIntegrationTests.java
2022-03-16 15:07:53 +01:00
Sam Brannen
c462fe30ed
Use Named arguments in parameterized tests
2022-03-16 14:45:47 +01:00
Sam Brannen
c249b578b5
Merge branch '5.3.x'
2022-03-12 16:05:39 +01:00
Sam Brannen
d9c22e657f
Document the effect of @DirtiesContext on test execution events
...
See gh-27757
2022-03-12 16:05:14 +01:00
Sam Brannen
0e7c7b444c
Merge branch '5.3.x'
2022-03-10 19:28:51 +01:00
Sam Brannen
af977c0891
Improve documentation for @EnabledIf and @DisabledIf test support
...
Closes gh-28157
2022-03-10 19:27:41 +01:00
Sam Brannen
5119aafe4f
Merge branch '5.3.x'
2022-03-06 17:52:21 +01:00
Sam Brannen
a2f02dbfc0
Improve documentation for TestContext events
...
This commit improves the documentation for test execution events,
especially with regard to the fact that, by default, a
BeforeTestClassEvent is not published for the first test class using a
particular ApplicationContext.
This commit also introduces tests that verify the default behavior and
the ability to change the default behavior with a custom
TestExecutionListener that eagerly loads the context.
Closes gh-27757
2022-03-06 17:51:49 +01:00
Sam Brannen
f7d49e3957
Merge branch '5.3.x'
2022-03-05 14:54:19 +01:00
Sam Brannen
8cbb188455
Fix links to Spring Security in the reference guide
...
Closes gh-28135
2022-03-05 14:53:52 +01:00
Sam Brannen
bc973d7001
Fix broken link to "CORS WebFilter" in ref docs
2022-03-05 14:36:52 +01:00
Sam Brannen
c1033dbfb3
Support type-safe transaction rollback rules
...
Prior to this commit, there was no way to configure type-safe rollback
rules for transactions.
Even though a rollback rule could be defined using a Class reference
via the `rollbackFor` and `noRollbackFor` attributes in @Transactional,
those Class references got converted to Strings (as the fully qualified
class names of the exception types) in RollbackRuleAttribute which then
applied a pattern-based matching algorithm as if the Class references
had been supplied as Strings/patterns to begin with, thereby losing the
type information.
Pattern-based rollback rules suffer from the following three categories
of unintentional matches.
- identically named exceptions in different packages when the pattern
does not include the package name -- for example,
example.client.WebException and example.server.WebException both
match against a "WebException" pattern.
- similarly named exceptions in the same package when a given exception
name starts with the name of another exception -- for example,
example.BusinessException and example.BusinessExceptionWithDetails
both match against an "example.BusinessException" pattern.
- nested exceptions when an exception type is declared in another
exception -- for example, example.BusinessException and
example.BusinessException$NestedException both match against an
"example.BusinessException" pattern.
This commit prevents the latter two categories of unintentional matches
for rollback rules defined using a Class reference by storing the
exceptionType in RollbackRuleAttribute and using that type in the
implementation of RollbackRuleAttribute.getDepth(Class, int), resulting
in type-safe rollback rules whenever the `rollbackFor` and
`noRollbackFor` attributes in `@Transactional` are used.
Note that the first category of unintentional matches never applied to
rollback rules created from a Class reference since the fully qualified
name of a Class reference always includes the package name.
Closes gh-28098
2022-03-04 19:33:39 +01:00
Sam Brannen
9cb4783296
Merge branch '5.3.x'
...
# Conflicts:
# spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java
# spring-tx/src/main/java/org/springframework/transaction/interceptor/RollbackRuleAttribute.java
2022-03-04 16:51:26 +01:00
Sam Brannen
fa3130d716
Document that TX rollback rules may result in unintentional matches
...
Closes gh-28125
2022-03-04 16:39:11 +01:00
Stephane Nicoll
453c6d41f7
Fix Objenesis version
...
See gh-28100
2022-02-24 10:54:52 +01:00
izeye
a28b49ac27
Fix library name for JavaPoet in src/docs/dist/license.txt
...
This commit also updates Objenesis version in the file to align with the
version that Spring Framework is using.
See gh-28100
2022-02-24 10:51:54 +01:00
Stephane Nicoll
dfae8effa8
Repackage Javapoet in org.springframework.javapoet
...
This commit repackages the Javapoet library into spring-core so that it
can be used by the AOT engine without requiring a specific version.
Closes gh-27828
2022-02-10 14:56:36 +01:00
Sam Brannen
97582fd0a1
Update Eclipse template to @since 5.3.16
2022-02-10 13:43:02 +01:00
Sam Brannen
4358b48b08
Merge branch '5.3.x'
2022-02-04 20:01:48 +01:00
Sam Brannen
5d7a632965
Ensure Spring AOP generates JDK dynamic proxies for lambdas
...
Prior to this commit, if AOP proxy generation was configured with
proxyTargetClass=true (which is the default behavior in recent versions
of Spring Boot), beans implemented as lambda expressions or method
references could not be proxied with CGLIB on Java 16 or higher without
specifying `--add-opens java.base/java.lang=ALL-UNNAMED`.
This commit addresses this shortcoming by ensuring that beans
implemented as lambda expressions or method references are always
proxied using a JDK dynamic proxy even if proxyTargetClass=true.
Closes gh-27971
2022-02-04 19:59:35 +01:00
Stephane Nicoll
c064e90697
Merge branch '5.3.x'
2022-02-04 09:24:50 +01:00
Pavel Anisimov
05d3e820f9
Polish reference to ManagedBean annotation
...
See gh-28004
2022-02-04 09:23:32 +01:00
Sam Brannen
e5129c58f4
Merge branch '5.3.x'
2022-01-28 16:18:13 +01:00
Sam Brannen
0e670b1c15
Polish contribution
...
See gh-27984
2022-01-28 16:15:21 +01:00
wkwkhautbois
fadfcf4e43
Fix ServletUriComponentsBuilder examples in ref docs
...
Closes gh-27984
2022-01-28 16:10:54 +01:00
Sam Brannen
786d80c0bb
Merge branch '5.3.x'
2022-01-27 16:13:55 +01:00
Sam Brannen
6647023151
Document how to register annotated classes in a GenericWebApplicationContext
...
Closes gh-27778
2022-01-27 16:08:16 +01:00
Sam Brannen
4d54e5ad87
Merge branch '5.3.x'
2022-01-26 17:34:28 +01:00
Sam Brannen
7f65e17ff2
Improve documentation for implementing AspectJ around advice
...
Closes gh-27980
2022-01-26 17:32:48 +01:00
Sam Brannen
9095f1d584
Polish AspectJ documentation
2022-01-26 17:32:48 +01:00
Stephane Nicoll
f9a19c749b
Merge branch '5.3.x'
2022-01-22 10:42:18 +01:00
Antoine Rey
316764cad0
Fix CaffeineCacheManager configuration example in reference doc
...
See gh-27967
2022-01-22 10:40:47 +01:00
rstoyanchev
d61d0d41a3
Merge branch '5.3.x' into main
2022-01-12 09:02:07 +00:00
rstoyanchev
01231fe923
Minor refactoring in STOMP documentation
...
Closes gh-27906
2022-01-12 08:55:32 +00:00
Sam Brannen
5a76939a15
Merge branch '5.3.x'
2022-01-09 17:26:48 +01:00
waahhh
edabde8a11
Fix syntax in WebFlux Validation example
...
Closes gh-27907
2022-01-09 17:26:11 +01:00
Sam Brannen
ae5d8b645b
Merge branch '5.3.x'
2022-01-08 16:36:21 +01:00
Sam Brannen
709a41fd43
Fix broken links to WebSocket support in Spring Security & Spring Session
2022-01-08 16:35:58 +01:00
Sam Brannen
338f8907ac
Merge branch '5.3.x'
2022-01-04 16:51:06 +01:00
Johannes Wengert
fdd6e50721
Correct not compiling example code in Data Access docs
...
The EntityManager interface does not implement AutoCloseable until
JPA 3.1.
This commit therefore partially reverts 189e1afc6e
so that the
example code compiles with the supported JPA version.
See gh-22269
Closes gh-27886
2022-01-04 16:50:23 +01:00
Sam Brannen
eb783e6690
Merge branch '5.3.x'
2022-01-04 14:52:50 +01:00
Sam Brannen
c942d789c3
Ignore unsupported @SuppressWarnings tokens in Eclipse IDE
...
This helps to reduce noise in the "Problems" view by not displaying
warnings resulting from @SuppressWarnings tokens that Eclipse does not
understand -- for example, tokens supported by IntelliJ IDEA or other
tools.
2022-01-04 14:52:23 +01:00
Juergen Hoeller
bfdb93b406
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# src/docs/asciidoc/integration.adoc
2021-12-14 16:51:00 +01:00
Juergen Hoeller
d7b9270672
Clarify SchedulerFactoryBean's LocalDataSourceJobStore overriding
...
Includes clarification of interface-level cache annotations for target-class proxies.
Closes gh-27709
See gh-27726
2021-12-14 16:46:13 +01:00
Kwangyong Kim
ceea00f733
Fix cache annotation tip
...
Even if using cglib proxy mode, annotations on an interface can be recognized.
Signed-off-by: Kwangyong Kim <banana.yong@gmail.com>
2021-12-14 13:51:20 +01:00
Rossen Stoyanchev
32b8710489
Typo
...
See gh-22154
2021-12-14 07:31:18 +00:00
Rossen Stoyanchev
3600644ed1
Require type-level @Controller annotation
...
Closes gh-22154
2021-12-14 07:09:08 +00:00
Stephane Nicoll
b5ffcfb4ba
Merge branch '5.3.x'
2021-12-09 15:19:25 +01:00
Stephane Nicoll
98ce171b30
Revert "Mention explicitly that @EventListener should be put on public methods"
...
This reverts commit 57a5370eec
.
See gh-27777
2021-12-09 15:18:56 +01:00
Stephane Nicoll
866708942c
Merge branch '5.3.x'
2021-12-09 14:44:20 +01:00
Stephane Nicoll
57a5370eec
Mention explicitly that @EventListener should be put on public methods
...
Closes gh-27777
2021-12-09 14:43:00 +01:00
Rossen Stoyanchev
a9d2016007
Merge branch '5.3.x' into main
2021-12-03 09:27:11 +00:00
Rossen Stoyanchev
5649a6f8ef
Update exchangeToMono Javadoc
...
This time showing a more representative example.
See gh-27645
2021-12-03 09:21:21 +00:00
Arjen Poutsma
be6eeafe78
Revert change createException to createError
...
createError is not available in 5.3.
See gh-27645
2021-12-02 15:59:51 +01:00
Arjen Poutsma
720c30ce84
Merge branch '5.3.x'
2021-12-02 15:12:01 +01:00
Arjen Poutsma
b77b45434f
Change createException to createError
...
See gh-27645
2021-12-02 15:11:15 +01:00
Rossen Stoyanchev
2d2db530b1
Merge branch '5.3.x' into main
2021-12-02 12:35:48 +00:00
Rossen Stoyanchev
8b89128c7b
Update createException example for WebClient
...
Closes gh-27645
2021-12-02 11:53:43 +00:00
Rossen Stoyanchev
1ebe62f646
Merge branch '5.3.x' into main
2021-11-29 17:38:23 +00:00
Rossen Stoyanchev
0d478ca8dd
Add link to WebSocket scope from the Spring Core section
...
Closes gh-25172
2021-11-29 17:37:37 +00:00
Rossen Stoyanchev
445c0def0c
Update docs on heartbeats with simple broker
...
Closes gh-27746
2021-11-29 17:13:57 +00:00
Brian Clozel
fab9abd7fe
Polish
...
Closes gh-1581
2021-11-25 19:21:08 +01:00
Stephane Nicoll
ac46338fdb
Merge branch '5.3.x'
2021-11-22 13:28:09 +01:00
julianladisch
1e0bdf95d0
Fix simple data format in appendix
...
See gh-1025
2021-11-22 13:26:57 +01:00
Rossen Stoyanchev
dcc7154641
Polishing contribution
...
See gh-23432
2021-11-22 12:20:30 +00:00
Julien Eyraud
d930617442
JDK HttpClient connector for WebClient
...
See gh-21014
2021-11-22 12:20:30 +00:00
Stephane Nicoll
ab2b3d91fc
Merge branch '5.3.x'
2021-11-22 12:55:56 +01:00
Thomas Darimont
767299c6dd
Document @Bean definitions via default methods
...
See gh-767
Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
2021-11-22 12:55:22 +01:00
Stephane Nicoll
aa80c4873a
Merge branch '5.3.x'
2021-11-22 10:31:27 +01:00
Yanming Zhou
b4b3c2ead6
Fix typo
...
See gh-27699
2021-11-22 10:30:45 +01:00
Juergen Hoeller
b88ed7f4bb
Update API version and package references for Jakarta EE 9
...
Closes gh-27689
See gh-25354
2021-11-17 12:39:23 +01:00
xixingya
5593e1e406
Fix javax.servlet doc to jakarta.servlet ( #27692 )
2021-11-17 11:29:54 +01:00
Juergen Hoeller
75036fa0ad
Merge branch '5.3.x'
2021-11-10 14:22:58 +01:00
Juergen Hoeller
2a268701c4
Introduce optimizeLocations flag for resource location filtering on startup
...
This flag is off by default since it requires jar files with directory entries.
Closes gh-27624
2021-11-10 14:21:48 +01:00
Juergen Hoeller
0e1ba7aae5
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# spring-context/src/main/java/org/springframework/context/annotation/Lazy.java
2021-11-09 22:39:58 +01:00
Juergen Hoeller
9bc09631d6
Recommend ObjectProvider as alternative to @Lazy for optional dependencies
...
Closes gh-27649
2021-11-09 22:29:56 +01:00
Sam Brannen
8de58f4f32
Merge branch '5.3.x'
2021-11-09 14:23:36 +01:00
Abdullah Khan
6ac780d595
Fix grammar in webflux-webclient.adoc
...
Closes gh-27657
2021-11-09 14:22:50 +01:00
Sam Brannen
fe8518dcb2
Merge branch '5.3.x'
2021-10-19 16:46:25 +02:00
Sam Brannen
6fa6bfe421
Fix link to Spring Framework project page in Javadoc overview
2021-10-19 16:46:01 +02:00
Rossen Stoyanchev
e3b48c23dd
Remove AsyncRestTemplate and related types
2021-10-08 17:59:53 +01:00
Sam Brannen
359661df9d
Merge branch '5.3.x'
2021-10-06 15:43:09 +02:00
Sam Brannen
5d3b16cd3a
Indent with tabs instead of spaces
2021-10-06 15:42:52 +02:00
Sam Brannen
2c583517cb
Change Eclipse project source/target/compliance to JDK 17
...
See gh-27407
2021-10-06 12:51:44 +02:00
Sam Brannen
2d1e0d5e38
Merge branch '5.3.x'
2021-10-06 12:13:21 +02:00
Sam Brannen
41ae9632d1
Upgrade to Checkstyle 9.0 and spring-javaformat 0.0.29
...
This commit upgrades the Gradle build to use Checkstyle 9.0 and
spring-javaformat 0.0.29 (which internally uses Checkstyle 8.45.1).
Closes gh-27520
2021-10-06 12:11:19 +02:00
Sam Brannen
545b1a33c6
Merge branch '5.3.x'
2021-10-01 14:39:15 +02:00
Sam Brannen
678fd8344e
Polishing
2021-10-01 14:37:07 +02:00
Sam Brannen
b452d1b41d
Remove obsolete references to Ehcache 2.x from ref docs
2021-10-01 13:06:57 +02:00
Sam Brannen
543738ca58
Merge branch '5.3.x'
2021-10-01 12:52:25 +02:00
Sam Brannen
fd11789db9
Polish JSR-107 caching ref docs
2021-10-01 12:51:52 +02:00
Jens Schauder
d6ec6f0fe9
Remove remark about missing caching API.
2021-10-01 11:56:36 +02:00
Juergen Hoeller
4d7fa9a632
Merge branch '5.3.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java
2021-09-28 18:18:23 +02:00
Juergen Hoeller
2feedb98cc
Remove lineSeparator LF requirement (accept LF/CR/CRLF by default)
...
See gh-27481
2021-09-28 18:15:00 +02:00
Sam Brannen
16bf39ea1b
Merge branch '5.3.x'
2021-09-28 10:35:18 +02:00
Sam Brannen
2567b20949
Upgrade to spring-javaformat 0.0.28 and downgrade to Checkstyle 8.41
...
In order to be able to use text blocks and other new Java language
features, we are upgrading to a recent version of Checkstyle.
The latest version of spring-javaformat-checkstyle (0.0.28) is built
against Checkstyle 8.32 which does not include support for language
features such as text blocks. Support for text blocks was added in
Checkstyle 8.36.
In addition, there is a binary compatibility issue between
spring-javaformat-checkstyle 0.0.28 and Checkstyle 8.42. Thus we cannot
use Checkstyle 8.42 or higher.
In this commit, we therefore upgrade to spring-javaformat-checkstyle
0.0.28 and downgrade to Checkstyle 8.41.
This change is being applied to `5.3.x` as well as `main` in order to
benefit from the enhanced checking provided in more recent versions of
Checkstyle.
Closes gh-27481
2021-09-28 10:29:31 +02:00
Juergen Hoeller
b0c424b376
Deprecate RxJava 2 in favor of RxJava 3
...
Closes gh-27474
2021-09-27 16:56:28 +02:00
Juergen Hoeller
e6112344d2
Remove support for RxJava 2.x as well
...
Includes realignment of Reactor adapter registration.
Closes gh-27443
2021-09-27 13:01:32 +02:00
Rossen Stoyanchev
693ab84347
Merge branch '5.3.x' into main
2021-09-24 15:59:26 +01:00
Rossen Stoyanchev
93f8706dd3
Update docs for ControllerAdvice
...
In 5.3 it became possible to handle exceptions from any handler through
ExceptionHandler's in a ControllerAdvice class, but this is not
mentioned in the docs
See gh-22619, gh-27338
2021-09-24 15:57:15 +01:00
Sam Brannen
d6570fa2ac
Merge branch '5.3.x'
2021-09-21 12:39:38 +02:00
Sam Brannen
b0dceb484a
Remove Eclipse Web Tools Platform (WTP) configuration
...
Since the team no longer needs the ability to treat Eclipse projects as
WTP modules, this commit removes the obsolete custom WTP configuration
for importing projects into Eclipse IDE.
See gh-27407
2021-09-21 12:37:51 +02:00
Sam Brannen
e0a4b05142
Merge branch '5.3.x'
2021-09-16 14:11:44 +02:00
Sam Brannen
008aa48d5c
Fix formatting for SQL `IN` clause example in ref docs
...
See gh-27388
2021-09-16 14:10:54 +02:00
Sam Brannen
350d3e8b22
Update @since tag in code template to 6.0
2021-09-15 14:24:14 +02:00
Sam Brannen
4322ee1944
Polish Eclipse IDE support
2021-09-14 21:42:00 +02:00
Sam Brannen
813dbbce58
Polish contribution
...
See gh-27388
2021-09-14 15:06:37 +02:00
Dmitriy Bogdanov
c46cc666d6
Fix some typos and mistakes in ref docs
...
Closes gh-27388
2021-09-14 15:06:19 +02:00
Radek Crlik
78dd219787
Fix misplaced comma in AOP doc
...
See gh-27387
2021-09-12 08:52:07 +02:00
Grant Fleming
8f33450df2
Fix typo in core-beans.adoc
...
Closes gh-27377
2021-09-09 13:26:44 +02:00
Rossen Stoyanchev
a3655c4858
Add tip related to user destinations in STOMP
...
See gh-26986
2021-09-07 16:33:54 +01:00
Manish
9cf8cca96d
Minor language corrections.
2021-09-06 09:57:35 +01:00
Sam Brannen
310bdbb1b2
Fix error in ApplicationEvents example
2021-09-01 10:34:16 +02:00
Georgi Ushev
e5a5f8b20b
Remove unnecessary brace in websocket documenation
...
Closes gh-#27339
2021-08-31 09:37:29 +02:00
Steve Wei
b120e0b8f4
Fix Kotlin example for filtering handler functions
...
Closes gh-#27337
2021-08-30 16:47:31 +02:00
Sam Brannen
bd72e4498b
Revise and document TimeUnit support in @Scheduled
...
This commit also fixes a bug introduced in commit e99b43b91e
, where
java.time.Duration strings were converted to milliseconds and then
converted again using the configured TimeUnit.
See gh-27309
2021-08-25 20:55:55 +02:00
Sam Brannen
3c2dfebf4e
Polish soft assertion support for WebTestClient
...
See gh-26969
2021-08-23 19:09:34 +02:00
Sam Brannen
dd9b99e13d
Introduce ResultActions.andExpectAll() for soft assertions in MockMvc
...
Closes gh-26917
2021-08-23 15:27:07 +02:00
Sam Brannen
7da7a976e6
Document when prepareTestInstance() is invoked by the SpringMethodRule
...
Closes gh-27305
2021-08-22 15:56:58 +02:00
Sam Brannen
161c9dc3bd
Improve @Cacheable documentation regarding java.util.Optional
...
This commit improves the documentation for @Cacheable to point out that
`null` will be stored in the cache for an empty `Optional` return value.
Closes gh-27184
2021-07-27 15:05:43 +02:00
Sam Brannen
9c0825629b
Reintroduce left-hand side navigation in ref docs
...
A side effect of 71995a9087
caused the
dynamic table of contents in the left-hand side navigation to no longer
be displayed, likely due to the missing "details" DIV.
This commit addresses this issue by applying the custom header only to
index.adoc.
Consequently, the TOC is now displayed again on all pages except the
index page, but the customized header is no longer applied to those
pages.
We may revisit this issue if we decide that we want the custom header
on all pages (and not just the index page).
Closes gh-27177
2021-07-17 17:53:43 +03:00
Sam Brannen
e0c0e7f878
Fix typo in ref docs
2021-07-17 17:03:51 +03:00
Arjen Poutsma
bf2790498b
Document ResourceBundle limitations
...
This commit adds a note to the documentation saying that ResourceBundle
does not support multiple bundles with the same base name.
Closes gh-27038
2021-07-13 13:45:03 +02:00
Rossen Stoyanchev
95d7f883ae
Deprecate LastModified
...
See gh-27075
2021-07-13 12:11:20 +01:00
Juergen Hoeller
1ff8da3635
StandardServletMultipartResolver provides strict Servlet compliance option
...
Closes gh-26826
2021-07-12 23:18:54 +02:00
Sviatoslav Hryb
f3f0bd22c5
Fix content negotiation description
2021-07-12 15:23:35 +01:00
Stephane Nicoll
98685e8be7
Fix link to Javadoc API
...
See gh-27151
2021-07-11 09:09:46 +02:00
Hubert Wo
e719bc2cda
Fix link to Javadoc API
...
See gh-27151
2021-07-11 09:05:20 +02:00
Rossen Stoyanchev
39442143b7
Fix and improve docs on {*var} pattern
...
Closes gh-27132
2021-07-09 20:09:06 +01:00
devorio
6427a4b5c0
Fix typo in core-beans.adoc
...
See gh-27113
2021-06-30 20:27:55 +02:00
Sam Brannen
3214786757
Define global Asciidoc attributes once
...
This commit defines the doc-root and api-spring-framework attributes
once in docs.gradle instead of duplicating them in each *.adoc file.
This commit also introduces a new docs-spring-framework global
attribute.
2021-06-22 18:39:33 +02:00
Rossen Stoyanchev
eb964542b4
Add doc-root to index.adoc
...
See gh-27015
2021-06-21 18:09:53 +01:00
Sam Brannen
71995a9087
Introduce custom header for HTML5 ref docs
...
This commit disables the automatic header generation from Asciidoc's
default template and replaces it with a custom header that omits the
"Version" label before the revision number. The revision number is also
displayed in a simple span tag in order to reduce the amount of
vertical space taken by the header.
2021-06-21 17:52:18 +02:00
Rossen Stoyanchev
f9bcb99040
Minor layout refactoring of index asciidoc page
...
Closes gh-27015
2021-06-21 16:19:17 +01:00
Jay Bryant
791134c53c
Link the HTML to the PDF docs and vice-versa
...
See gh-27015
2021-06-21 16:19:08 +01:00
Brian Clozel
c7c35aff42
Fix missing attribute in reference documentation
...
This commit adds the missing `spring-framework-main-code` asciidoctor
attribute in the reference documentation.
Fixes gh-27041
2021-06-09 09:21:28 +02:00
Sébastien Deleuze
5420d7113b
Polish Kotlin reference documentation
2021-06-08 11:44:03 +02:00
Sébastien Deleuze
6251222a23
Remove jackson-module-kotlin warning
...
Closes gh-26962
2021-06-08 11:44:03 +02:00
jbotuck
491d1c4c78
issue-26994 add missing ) to kotlin example
2021-06-02 12:51:37 +01:00
Sam Brannen
da9ee06e05
Improve @Transactional docs regarding method visibility
...
Closes gh-27003
2021-05-30 17:10:01 +02:00
Sviatoslav Hryb
4c28266eb6
Fix @Transactional docs regarding method visibility
...
Closes gh-27001
2021-05-30 13:48:31 +02:00
hunjipo
f45a852aca
Fix typo in code example
...
See gh-26980
2021-05-27 08:37:44 +02:00
Johnny Lim
a2e5d9a14f
Polishing
...
Closes gh-26960
2021-05-20 15:49:13 +02:00
Qimiao Chen
cab20d1202
Fix punctuation in Custom Cache Resolution section of ref docs
...
Closes gh-26938
2021-05-13 15:30:58 +02:00
Rossen Stoyanchev
29790d5bb1
Update docs on how a `@ModelAttribute` is sourced
...
Closes gh-26873
2021-05-10 07:19:17 +01:00
Sviatoslav Hryb
3b247a9c19
Fix MethodMatcher API doc description
...
Closes gh-26893
2021-05-05 12:21:46 +02:00
Brian Clozel
85eb589c2e
Fix Gradle Java Toolchain configuration
...
This commit fixes various issues with the configuration of the Gradle
Java toolchain in the build.
First, the configuration of build properties is fixed in the CI pipeline
because it wasn't properly checked.
The JMH plugin is also upgraded and we now configure its toolchain
support.
This commit also rewrites the XJC tasks in the spring-oxm module,
leveraging a Gradle plugin that creates actual compile tasks we can
configure.
See gh-25787
2021-05-03 15:02:09 +02:00
Sviatoslav Hryb
ae7d5200e5
Fix @Scope documentation in ref docs
...
Closes gh-26773
2021-04-29 18:08:54 +02:00
K
26ed6d8bce
Fix syntax for RequestEntity headers example in ref docs
...
Closes gh-26876
2021-04-29 17:34:04 +02:00
Sam Brannen
8456eaca8e
Polish SpEL selection/projection in ref docs
2021-04-28 15:54:39 +02:00
Sviatoslav Hryb
59015344a7
Fix SpEL selection description in ref docs
...
Closes gh-26852
2021-04-28 15:47:16 +02:00
Sam Brannen
c03162e616
Polishing
...
See gh-26862
2021-04-28 15:43:52 +02:00
Sam Brannen
1dde30a7fd
Fix grammar in ref docs
2021-04-28 15:39:21 +02:00
Sviatoslav Hryb
35196d3c62
Fix aspect autodetection description
...
Closes gh-26862
2021-04-28 15:37:59 +02:00
Sviatoslav Hryb
719e7394d6
Fix MessageSource doc description
2021-04-28 11:04:01 +01:00
Stephane Nicoll
e4a5d2aaa5
Fix reference to assets on the default branch in ref doc
...
See gh-26863
2021-04-27 07:18:23 +02:00
Rossen Stoyanchev
b595dc1dfa
Add advice on Spring MVC path matching for 5.3+
...
Closes gh-26750
2021-04-26 17:17:14 +01:00
Sam Brannen
01e50fb60a
Polish SpEL chapter
2021-04-22 18:55:40 +02:00
Sviatoslav Hryb
3bded7659a
Improve documentation for SpEL constructor support
...
Closes gh-26846
2021-04-22 18:33:37 +02:00
Rossen Stoyanchev
d275a4e28d
Asciidoc typo from previous commits
2021-04-21 17:37:06 +01:00
Rossen Stoyanchev
42a23098de
Update docs on Principal controller method arguments
...
Closes gh-26791
2021-04-21 17:28:14 +01:00
Rossen Stoyanchev
d25ae4b02c
Add advice on using exchange from an ExchangeFilterFunction
...
Closes gh-26819
2021-04-21 17:04:10 +01:00
Sam Brannen
5740eaf33e
Polishing
2021-04-21 14:15:27 +02:00
Sviatoslav Hryb
80d46ba80e
Update FactoryBean generic description in ref docs
...
Closes gh-26758
2021-04-21 14:06:43 +02:00
Sviatoslav Hryb
b153b5e53b
Fix Kotlin code formatting for Inline Maps section of ref docs
...
Closes gh-26836
2021-04-21 11:13:00 +02:00
Sviatoslav Hryb
e03fdeaf8b
Improve ref docs regarding @Bean method visibility constraints
...
Closes gh-26797
2021-04-20 19:08:27 +02:00
Sviatoslav Hryb
0286549466
Fix formatting for PersonValidator Kotlin example in ref docs
...
Closes gh-26832
2021-04-20 18:59:50 +02:00
Sam Brannen
5d297c6387
Polishing
2021-04-16 11:44:48 +02:00
Sviatoslav Hryb
320f5836b4
Fix LocaleEditor description & formatting in reference manual
...
Closes gh-26816
2021-04-16 11:39:45 +02:00
Sviatoslav Hryb
af06b80bdf
Update FormatterRegistry interface in reference manual
...
Closes gh-26812
2021-04-15 18:45:13 +02:00
Sam Brannen
5b1ab31559
Polishing
2021-04-15 11:17:04 +02:00
Sviatoslav Hryb
bf05da1f8c
Remove unnecessary semicolon in BeanInfo example
...
Closes gh-26806
2021-04-15 11:10:15 +02:00
Juergen Hoeller
c7989c78c8
Polishing
2021-04-13 12:26:31 +02:00
Sam Brannen
bcc6171a72
Polish contribution
...
See gh-26785
2021-04-13 11:21:56 +02:00
Sviatoslav Hryb
a80c5fcfaf
Improve @EventListener documentation in reference manual
...
Closes gh-26785
2021-04-13 11:17:09 +02:00
Sviatoslav Hryb
f7606ba51b
Update ref docs regarding RequiredAnnotationBPP registration
...
The RequiredAnnotationBeanPostProcessor is no longer automatically
registered via XML namespace elements.
Closes gh-26783
2021-04-09 16:59:48 +02:00
Sam Brannen
0f54585f05
Polish contribution
...
See gh-26782
2021-04-09 16:54:49 +02:00
Sviatoslav Hryb
35ea33e13a
Update documentation for <context:annotation-config/>
...
Closes gh-26782
2021-04-09 16:32:17 +02:00
nara
2dc203ffdc
Polish web docs example
2021-03-29 11:40:56 +01:00
Rossen Stoyanchev
4982b5fcb9
Improve docs on SSE tests for Spring MVC
...
Closes gh-26687
2021-03-16 17:55:43 +00:00
Sam Brannen
f7678cdcdd
Polish core-beans.adoc
2021-03-16 13:09:36 +01:00
Stephane Nicoll
a3451f9908
Polish "Fix Commons FileUpload URL in reference guide"
...
See gh-26678
2021-03-15 08:45:51 +01:00
heqiang
5c38b89f4e
Fix Commons FileUpload URL in reference guide
...
See gh-26678
2021-03-15 08:44:48 +01:00
Oleksandr Kravchuk
21d77dd7c7
Fixed typo in ref docs
2021-03-05 14:07:23 +00:00
Oleksandr Kravchuk
0087578469
Fix @EventListener example in reference manual
...
Closes gh-26622
2021-03-01 20:22:58 +01:00
Sam Brannen
a9240e0bac
Document all supported SpringProperties keys in the reference manual
...
Closes gh-26554
2021-02-24 17:18:04 +01:00
Sam Brannen
f7cef2ab20
Remove section on RequiredAnnotationBeanPostProcessor in ref docs
...
In order to reduce the focus on the deprecated @Required support, this
commit removes the RequiredAnnotationBeanPostProcessor section and
replaces it with a TIP and an updated NOTE.
See gh-26578
2021-02-23 16:21:07 +01:00
Sam Brannen
6d2fec383b
Reduce focus on RequiredAnnotationBeanPostProcessor in ref docs
...
See gh-26578
2021-02-22 18:41:50 +01:00
Oleksandr Kravchuk
90ee22f2af
Update reference manual regarding deprecated @Required annotation
...
Closes gh-26578
2021-02-22 17:54:53 +01:00
Sam Brannen
87761397b0
Document @Value support for Resource/Resource[] injection in ref docs
...
See gh-26447
2021-02-17 12:55:53 +01:00
Sam Brannen
ac58614be8
Polish Resources section of the reference manual
...
See gh-26447
2021-02-16 18:56:29 +01:00
Sam Brannen
efc335e198
Remove remaining Kotlin "translations" of Java APIs in the reference manual
2021-02-16 11:16:14 +01:00
Sam Brannen
1e57e572dd
Link to all built-in `Resource` implementations
...
See gh-26447
2021-02-16 10:29:41 +01:00
Sam Brannen
829000d511
Remove Kotlin "translations" of Java APIs in the reference manual
...
See gh-26447
2021-02-16 10:24:24 +01:00
Sam Brannen
a315abfd32
Polish ResourcePatternResolver docuementation in the reference manual
...
See gh-26447
2021-02-16 10:18:13 +01:00