Sam Brannen
8a2acbeac1
Merge branch '6.0.x'
2023-10-30 13:32:08 +01:00
CroBurnt
f088d4a05b
Fix link text in @Transactional section of ref docs
...
Closes gh-31519
2023-10-30 13:29:30 +01:00
rstoyanchev
fe7b6ddf88
More polishing on forwarded header scenarios
...
See gh-31491
2023-10-25 16:17:37 +01:00
rstoyanchev
93528b60d7
Polishing
...
Closes gh-31491
2023-10-25 13:22:41 +01:00
Rob Winch
03d286c4a1
Document X-Forwarded-* Headers
...
Previously the documentation assumed that the readers knew how to use
the X-Forwarded-* headers. This commit documents details & examples
of how to use the X-Forwarded-* headers.
See gh-31491
2023-10-25 13:22:41 +01:00
Stéphane Nicoll
6585f1a208
Merge branch '6.0.x'
2023-10-25 11:23:45 +02:00
Stéphane Nicoll
84c28995fb
Improve documentation for the default profile
...
Closes gh-29071
2023-10-25 11:20:21 +02:00
Stéphane Nicoll
322013a30a
Clarify the semantic of lite mode
...
This commit removes the "plain old class" bit of the documentation as
it may be confusing. The gist of it is that it must be a bean but not
annotated with `@Configuration` so the updated sentence states exactly
that.
Closes gh-29957
2023-10-24 16:00:48 +02:00
Stéphane Nicoll
46cc75b3f1
Merge branch '6.0.x'
2023-10-18 10:13:49 +02:00
Stéphane Nicoll
69c92f9ac7
Document when to use multiple property placeholder configurers
...
This commit adds a warning in the reference guide to address the
use cases where users might be tempted to use several property
placeholder configurers.
Closes gh-14623
2023-10-18 10:12:26 +02:00
rstoyanchev
b5b9386be6
Polishing
...
Closes gh-31413
2023-10-13 11:47:47 +01:00
Olga MaciaszekSharma
0cd196e3dd
Add UriBuilderFactoryArgumentResolver
...
See gh-31413
2023-10-13 11:47:47 +01:00
rstoyanchev
3277b0d6ac
Handle STOMP messages to user destination in order
...
Closes gh-31395
2023-10-11 12:16:04 +01:00
Juergen Hoeller
de6692e7d8
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java
2023-10-10 21:58:31 +02:00
Juergen Hoeller
387a16bd4e
Revise transaction annotation recommendations
...
Closes gh-23538
2023-10-10 21:56:14 +02:00
Brian Clozel
99c673f3ea
Upgrade to Micrometer 1.12.0-RC1
...
Closes gh-31398
2023-10-10 15:40:32 +02:00
Sébastien Deleuze
22a2847809
Merge branch '6.0.x'
2023-10-09 12:42:44 +02:00
Sébastien Deleuze
63770fb074
Document Kotlin declaration-site variance subtleties
...
Closes gh-31370
2023-10-09 12:42:36 +02:00
Arjen Poutsma
1766d7598c
Minor fixes in RestTemplate to RestClient migration guide
...
See gh-23269
2023-10-05 10:53:31 +02:00
Arjen Poutsma
2b47b8942d
Added RestTemplate to RestClient migration guide
...
Closes gh-23269
2023-10-04 14:22:23 +02:00
Juergen Hoeller
a3e13c8ba8
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/util/backoff/ExponentialBackOff.java
2023-09-29 15:01:43 +02:00
Juergen Hoeller
4cf5c7796d
Explicit note on local bean access within @PostConstruct method
...
Closes gh-27876
2023-09-29 14:57:40 +02:00
Stéphane Nicoll
b9bbfb79a4
Merge branch '6.0.x'
2023-09-28 09:32:28 +02:00
纪华裕
867b9f61b2
Add missing `conversionService` field in doc example
...
See gh-31330
2023-09-28 09:30:50 +02:00
Stéphane Nicoll
d36c4f75e3
Merge branch '6.0.x'
2023-09-25 15:27:20 +02:00
Stéphane Nicoll
e1bd13d3d6
Fix note on CGLIB supported method visibility
...
CGLIB do support package-private and protected methods now so the
note in the reference doc should be changed accordingly.
Closes gh-25001
2023-09-25 15:27:07 +02:00
Brian Clozel
f0686094ff
Merge branch '6.0.x'
2023-09-22 11:33:30 +02:00
Brian Clozel
0f92ba1663
Fix typo in ref docs for pattern comparison
...
Closes gh-31294
2023-09-22 11:32:50 +02:00
Sébastien Deleuze
4128f4d5c9
Print JVM restoration time in DefaultLifecycleProcessor
...
Closes gh-31252
2023-09-18 10:57:09 +02:00
ghainesii
0a324ea9a7
Add missing period in RestClient documentation
...
See gh-31237
2023-09-15 08:57:47 +02:00
Juergen Hoeller
59961960dd
Merge branch '6.0.x'
2023-09-14 09:30:40 +02:00
Juergen Hoeller
a51eb29e50
Clarify IN clause resolution with List/Iterable parameter
...
Closes gh-31228
2023-09-14 09:24:18 +02:00
Sam Brannen
a220c545fc
Support declarative ContextCustomizerFactory registration in the TCF
...
Prior to this commit, it was only possible to register a
ContextCustomizerFactory in the TestContext framework (TCF) via the
SpringFactoriesLoader mechanism.
This commit introduces support for declarative registration of a
ContextCustomizerFactory local to a test class via a new
@ContextCustomizerFactories annotation.
Closes gh-26148
2023-09-13 19:59:50 +02:00
Sam Brannen
99a50e7cea
Polishing
2023-09-13 19:52:17 +02:00
Sam Brannen
a678be80ea
Merge branch '6.0.x'
2023-09-13 17:51:02 +02:00
Sam Brannen
f5f8eab405
Remove duplicated section links for test annotations
...
Since the auto-generated "Section Summary" includes the exact same
links, there's no need to manually duplicate them.
2023-09-13 17:50:12 +02:00
Juergen Hoeller
550f05c9dc
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
2023-09-13 17:28:54 +02:00
Juergen Hoeller
659500bc1f
Polishing
2023-09-13 17:27:32 +02:00
Juergen Hoeller
8f6c56fe9a
Support for one-time tasks with just @Scheduled(initialDelay=...)
...
Closes gh-31211
2023-09-13 16:48:54 +02:00
rstoyanchev
1f8913a96c
Support Jetty WebSocket server parameters
...
Closes gh-30344
2023-09-13 09:34:07 +01:00
Sam Brannen
b6fdfe8ee3
Remove duplicated terms in documentation
...
... using the following RegEx to find them:
(?<!\S)(\w+)(?:\s+\1)+(?!\S)
2023-09-12 19:00:28 +02:00
Sam Brannen
345910591a
Polishing
2023-09-12 15:08:11 +02:00
Sébastien Deleuze
dfd631e662
Merge branch '6.0.x'
2023-09-11 18:10:13 +02:00
Sébastien Deleuze
c892ce5537
Refine CORS documentation for wildcard processing
...
This commit adds a reference documentation section dedicated
to CORS credentialed requests and related wildcard processing.
Closes gh-31143
2023-09-11 18:07:47 +02:00
Sam Brannen
ed83461021
Support parameter injection in @[Before|After]Transaction methods
...
Prior to this commit, @BeforeTransaction and @AfterTransaction
methods could not accept any arguments. This is acceptable with testing
frameworks such as JUnit 4 and TestNG that do not provide support for
parameter injection. However, users of JUnit Jupiter have become
accustomed to being able to accept arguments in lifecycle methods
annotated with JUnit's @BeforeEach, @AfterEach, etc.
As a follow up to the previous commit (see gh-31199), this commit
introduces first-class support for parameter injection in
@BeforeTransaction and @AfterTransaction methods, as demonstrated in
the following example.
@BeforeTransaction
void verifyInitialDatabaseState(@Autowired DataSource dataSource) {
// Use the DataSource to verify the initial DB state
}
Closes gh-30736
2023-09-10 20:15:26 +02:00
Sam Brannen
0ebdd8cb98
Polishing
2023-09-10 20:15:04 +02:00
Sam Brannen
7305692005
Merge branch '6.0.x'
2023-09-10 14:37:01 +02:00
Zakaria Shahen
11dc11e989
Fix typo in comment in XML configuration example
...
Closes gh-31194
2023-09-10 14:36:17 +02:00
Sam Brannen
60d05d4204
Polishing
2023-09-08 19:29:28 +02:00
Sam Brannen
dfea3d05aa
Revise support for JSR-330 and Jakarta @Inject for autowiring test constructors
...
Closes gh-29851
2023-09-08 19:29:28 +02:00