Phillip Webb
4c0a4cb669
Polish
2 years ago
Andy Wilkinson
965fbf4494
Polish "Use java.util.HexFormat where appropriate"
...
See gh-31477
2 years ago
dreis2211
cc91009b70
Use java.util.HexFormat where appropriate
...
See gh-31477
2 years ago
Andy Wilkinson
390554a84f
Upgrade to Spring AMQP 2.4.6
...
Closes gh-31376
2 years ago
Andy Wilkinson
49fd727ef0
Upgrade to Spring AMQP 2.4.6
...
Closes gh-31348
2 years ago
Moritz Halbritter
bc931cb32c
Revert "Polish EndpointRequest"
...
This reverts commit 35997a30a3
.
2 years ago
Moritz Halbritter
35997a30a3
Polish EndpointRequest
...
- Remove redundant cast
2 years ago
Moritz Halbritter
e438338d98
Merge branch '2.7.x'
2 years ago
Moritz Halbritter
ae75d4386c
Merge branch '2.6.x' into 2.7.x
2 years ago
Moritz Halbritter
b56b95d429
Add Apache HttpClient WebClient support to documentation
2 years ago
Moritz Halbritter
c8c552d95b
Polish ObservationAutoConfiguration
...
- Use a better name for the "only metrics, no tracing" case
2 years ago
Moritz Halbritter
06cdc91c85
Polish ObservationAutoConfiguration
...
- Use a better name for the "only metrics, no tracing" case
- Use more concrete return types
2 years ago
Andy Wilkinson
d45e42f2e1
Upgrade to Spring Security 5.6.6
...
Closes gh-31351
2 years ago
Andy Wilkinson
79580617a6
Upgrade to Spring Security 5.7.2
...
Closes gh-31375
2 years ago
dreis2211
f2101684b7
Use pattern matching for instanceof where appropriate
...
Closes gh-28181
2 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2 years ago
Stephane Nicoll
8e569210ce
Merge branch '2.7.x'
...
Closes gh-31466
2 years ago
Sébastien Deleuze
b5d380c1cb
Make SpringApplication Kotlin samples idiomatic
...
See gh-31463
2 years ago
Stephane Nicoll
c04b407913
Upgrade to Spring Data 2021.2.1
...
Closes gh-31374
2 years ago
Stephane Nicoll
4f78f9556d
Upgrade to Spring HATEOAS 1.5.1
...
Closes gh-31465
2 years ago
Stephane Nicoll
46a5e5d9d4
Upgrade to Spring Data 2021.1.5
...
Closes gh-31349
2 years ago
Stephane Nicoll
87ecbc7073
Upgrade to Spring HATEOAS 1.4.4
...
Closes gh-31464
2 years ago
Stephane Nicoll
3118b7380d
Merge branch '2.7.x'
...
Closes gh-31461
2 years ago
Stephane Nicoll
8b9579eeb7
Polish "Harmonize Kotlin example"
...
See gh-31458
2 years ago
ningenMe
6685d49faa
Harmonize Kotlin example
...
See gh-31458
2 years ago
dreis2211
fb45fc4819
Use Files.writeString() and Files.readString() where possible
...
See gh-31459
2 years ago
dreis2211
93defdaa17
Use String.repeat() where possible
...
See gh-31456
2 years ago
Johnny Lim
43c2f1c03c
Polish AutoConfigureObservability changes
...
See gh-31457
2 years ago
Stephane Nicoll
e746dfa677
Polish "Allow configuring WebDriver with TestNG"
...
See gh-27947
2 years ago
AlexCD
4872523181
Allow configuring WebDriver with TestNG
...
See gh-27947
2 years ago
Johnny Lim
aab59c5f2e
Static-import Mockito.mock()
...
See gh-31443
2 years ago
dreis2211
b687e1c7ee
Use Runtime.version() instead of reflection
...
See gh-31444
2 years ago
dreis2211
a639685053
Remove obsolete Java compatibility code
...
See gh-31452
2 years ago
Stephane Nicoll
cb22905944
Merge branch '2.7.x'
...
Closes gh-31455
2 years ago
Johnny Lim
11a07a9d1e
Polish OAuth2ResourceServerAutoConfigurationTests
...
See gh-31453
2 years ago
Stephane Nicoll
b99295fff4
Revert "Polish contribution"
...
This reverts commit a000ed4beb
.
See gh-31454
2 years ago
Stephane Nicoll
a000ed4beb
Polish contribution
...
See gh-31454
2 years ago
Johnny Lim
c3f1b4f595
Add Javadoc since to AbstractApplicationContextRunner.prepare()
...
See gh-31454
2 years ago
dreis2211
3fcb6765b1
Fix checkstyle violation
...
See gh-31449
2 years ago
Johnny Lim
5d7d0d8047
Use 3.0.0 for Javadoc since tags
...
See gh-31448
2 years ago
Stephane Nicoll
a957efbdc5
Add missing org.yaml.snakeyaml.Yaml reflection hint
...
Closes gh-31441
2 years ago
Stephane Nicoll
3366e4de25
Upgrade to Spring LDAP 2.4.1
...
Closes gh-31373
2 years ago
Stephane Nicoll
c61fab2777
Upgrade to Undertow 2.2.18.Final
...
Closes gh-31438
2 years ago
Stephane Nicoll
4f95fdea82
Upgrade to Reactive Streams 1.0.4
...
Closes gh-31436
2 years ago
Stephane Nicoll
91d9d48446
Upgrade to Postgresql 42.3.6
...
Closes gh-31435
2 years ago
Stephane Nicoll
548e8728e4
Upgrade to Netty 4.1.78.Final
...
Closes gh-31434
2 years ago
Stephane Nicoll
e43e9c3c40
Upgrade to Neo4j Java Driver 4.4.6
...
Closes gh-31433
2 years ago
Stephane Nicoll
8e911affad
Upgrade to MongoDB 4.6.1
...
Closes gh-31432
2 years ago
Stephane Nicoll
c93d3201ff
Upgrade to MariaDB 3.0.5
...
Closes gh-31431
2 years ago
Stephane Nicoll
338d8d997b
Upgrade to Kotlin Coroutines 1.6.2
...
Closes gh-31430
2 years ago
Stephane Nicoll
dbf3677c0a
Upgrade to jOOQ 3.14.16
...
Closes gh-31429
2 years ago
Stephane Nicoll
26b64e7713
Upgrade to Hazelcast 5.1.2
...
Closes gh-31428
2 years ago
Stephane Nicoll
670876b52d
Upgrade to H2 2.1.214
...
Closes gh-31427
2 years ago
Stephane Nicoll
cd2a8a91da
Upgrade to Groovy 3.0.11
...
Closes gh-31426
2 years ago
Stephane Nicoll
4d03653b74
Upgrade to Flyway 8.5.13
...
Closes gh-31425
2 years ago
Stephane Nicoll
e60a235194
Upgrade to Embedded Mongo 3.4.6
...
Closes gh-31424
2 years ago
Stephane Nicoll
54e4ff8e81
Upgrade to Elasticsearch 7.17.4
...
Closes gh-31423
2 years ago
Stephane Nicoll
9590a9914a
Upgrade to Couchbase Client 3.3.1
...
Closes gh-31422
2 years ago
Stephane Nicoll
d82c6dc291
Upgrade to AppEngine SDK 1.9.97
...
Closes gh-31421
2 years ago
Stephane Nicoll
8548f1a1cb
Upgrade to Undertow 2.2.18.Final
...
Closes gh-31420
2 years ago
Stephane Nicoll
0edf12c07c
Upgrade to Reactive Streams 1.0.4
...
Closes gh-31418
2 years ago
Stephane Nicoll
898cf7665a
Upgrade to Postgresql 42.3.6
...
Closes gh-31417
2 years ago
Stephane Nicoll
854578c936
Upgrade to Netty tcNative 2.0.53.Final
...
Closes gh-31416
2 years ago
Stephane Nicoll
9076e38f06
Upgrade to Netty 4.1.78.Final
...
Closes gh-31415
2 years ago
Stephane Nicoll
71e5b90948
Upgrade to Neo4j Java Driver 4.4.6
...
Closes gh-31414
2 years ago
Stephane Nicoll
3b20c67f02
Upgrade to jOOQ 3.14.16
...
Closes gh-31413
2 years ago
Stephane Nicoll
78d0db7ff0
Upgrade to Infinispan 12.1.12.Final
...
Closes gh-31412
2 years ago
Stephane Nicoll
623a48fb03
Upgrade to Groovy 3.0.11
...
Closes gh-31411
2 years ago
Stephane Nicoll
ae1b47c245
Upgrade to AppEngine SDK 1.9.97
...
Closes gh-31410
2 years ago
Phillip Webb
657fa3e64e
Merge branch '2.7.x'
...
Closes gh-31409
2 years ago
Phillip Webb
7c91ebb1b0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31408
2 years ago
Phillip Webb
ae6311ddda
Prevent Logback from accidentally being used in Log4J2LoggingSystemTests
...
Update `Log4J2LoggingSystemTests` to exclude Logback and include
'log4j-slf4j-impl'. The `ModifiedClassPathClassLoader` has also been
updated so that it no longer automatically excludes `log4j` artifacts,
instead we now use `@ClassPathExclusions` on the relevant tests.
Fixes gh-19365
2 years ago
Andy Wilkinson
4f3180540c
Use Framework's MockSpringFactoriesLoader
...
Closes gh-31406
2 years ago
Andy Wilkinson
bde06a3115
Merge branch '2.7.x'
2 years ago
Andy Wilkinson
89bef73846
Polish
2 years ago
Andy Wilkinson
80ae3f36a9
Merge branch '2.7.x'
...
Closes gh-31404
2 years ago
Andy Wilkinson
a1cc5bf238
Allow multiple JWS algorithms to be configured
...
Closes gh-31321
2 years ago
Andy Wilkinson
d370d19e7a
Merge branch '2.7.x'
...
Closes gh-31403
2 years ago
Andy Wilkinson
5e1cd28d3f
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31402
2 years ago
Lars Grefer
e8a1a0399a
Upgrade to Bouncycastle 1.71
...
Closes gh-31400
2 years ago
Stephane Nicoll
e5bb1cd108
Upgrade to Micrometer 1.9.1
...
Closes gh-31372
2 years ago
Stephane Nicoll
7e6acfd2ab
Upgrade to Micrometer 1.8.7
...
Closes gh-31347
2 years ago
Phillip Webb
d84557f1f9
Merge branch '2.7.x'
...
Closes gh-31396
2 years ago
Phillip Webb
bcbcc53a09
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31395
2 years ago
Phillip Webb
b42f056ddb
Don't close jar files early
...
Update `JarFile` and related classes so that `close()` is not longer
called early.
Prior to this commit, we would always immediately close the underlying
jar file to prevent file locking issues with our build. This causes
issues on certain JVMs when they attempt to verify a signed jar.
The file lock issues have now been solved by returning a custom input
stream from `JarUrlConnection` which captures and delegates the close
method.
Fixes gh-29356
2 years ago
Madhura Bhave
55d6a87fef
Remove support for multiple batch jobs
...
Closes gh-25373
2 years ago
Andy Wilkinson
fabe0637cd
Raise the minimum supported version of Kotlin to 1.7
...
Closes gh-31391
2 years ago
Stephane Nicoll
8c7923da6a
Upgrade to Spring Framework 5.3.21
...
Closes gh-31319
2 years ago
Stephane Nicoll
49b71005de
Upgrade to Spring Framework 5.3.21
...
Closes gh-31318
2 years ago
Stephane Nicoll
d5695c1931
Add resource hints for configuration properties
...
This commits introduces a RuntimeHintsRegistrar for configuration
properties. By default, it provides the necessary hint to load
application properties and yaml files in default locations.
Closes gh-31311
2 years ago
Stephane Nicoll
1bf2e0bb8e
Upgrade to Reactor 2020.0.20
...
Closes gh-31371
2 years ago
Stephane Nicoll
cb4f5ed08e
Upgrade to Reactor 2020.0.20
...
Closes gh-31346
2 years ago
Phillip Webb
85dcbf6100
Merge branch '2.7.x'
...
Closes gh-31385
2 years ago
Phillip Webb
e0947459b6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31384
2 years ago
Phillip Webb
9f8a262e6b
Log a warning when a health indicator takes too long to run
...
Update `HealthEndpointSupport` so that it logs a warning if a health
indicator takes too long to respond.
Fixes gh-31231
2 years ago
Stephane Nicoll
b536b209ab
Refine assertions on exception messages
2 years ago
Stephane Nicoll
b0f5fb51fc
Adapt to deprecation of NestedServletException
2 years ago
Andy Wilkinson
6894f561ce
Merge branch '2.7.x'
...
Closes gh-31382
2 years ago
Andy Wilkinson
ab67136664
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31381
2 years ago
Andy Wilkinson
2094722e5d
Remove duplicate content from "The Spring WebFlux Framework"
...
Closes gh-31378
2 years ago
Andy Wilkinson
b1ea82c1e2
Merge branch '2.7.x'
...
Closes gh-31380
2 years ago
Andy Wilkinson
6de4ade0cf
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31379
2 years ago
Andy Wilkinson
5d7cab09b8
Revert BindConverter changes that are now handled by Framework
...
See gh-28592 and spring-projects/spring-framework#28609
Closes gh-31343
2 years ago
Stephane Nicoll
97e0c8e79c
Start building against Spring Kafka 2.8.7 snapshots
...
See gh-31377
2 years ago
Stephane Nicoll
2f40c52d81
Start building against Spring Session 2021.1.4 snapshots
...
See gh-31352
2 years ago
Stephane Nicoll
342d01314a
Start building against Spring Security 5.6.6 snapshots
...
See gh-31351
2 years ago
Stephane Nicoll
ba572e5e16
Start building against Spring Kafka 2.8.7 snapshots
...
See gh-31350
2 years ago
Stephane Nicoll
d22c0a22c3
Start building against Spring Data 2021.1.5 snapshots
...
See gh-31349
2 years ago
Stephane Nicoll
bc6d2ea16d
Start building against Spring AMQP 2.4.6 snapshots
...
See gh-31348
2 years ago
Stephane Nicoll
a2f323b4ed
Start building against Micrometer 1.8.7 snapshots
...
See gh-31347
2 years ago
Stephane Nicoll
2c7812e504
Start building against Reactor 2020.0.20 snapshots
...
See gh-31346
2 years ago
Stephane Nicoll
379344ea59
Start building against Spring AMQP 2.4.6 snapshots
...
See gh-31376
2 years ago
Stephane Nicoll
7841789735
Start building against Spring Security 5.7.2 snapshots
...
See gh-31375
2 years ago
Stephane Nicoll
ba4bb2ff32
Start building against Spring Data 2021.2.1 snapshots
...
See gh-31374
2 years ago
Stephane Nicoll
02da20ec98
Start building against Spring LDAP 2.4.1 snapshots
...
See gh-31373
2 years ago
Stephane Nicoll
37af43cb18
Start building against Micrometer 1.9.1 snapshots
...
See gh-31372
2 years ago
Stephane Nicoll
0e1417935d
Start building against Reactor 2020.0.20 snapshots
...
See gh-31371
2 years ago
Phillip Webb
6dea2f0e8d
Merge branch '2.7.x'
...
Closes gh-31370
2 years ago
Phillip Webb
0be5078a73
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31369
2 years ago
Phillip Webb
b3a46fc50e
Document that placeholders should us the canonical property name form
...
Closes gh-31309
2 years ago
Phillip Webb
378e56f1d3
Add Order annotation to GraphQL RouterFunction beans
...
Update GraphQL auto-configuration so that `RouterFunction` beans have
and `@Order` of 0.
Fixes gh-31314
2 years ago
Phillip Webb
e125b0c22d
Merge branch '2.7.x'
...
Closes gh-31368
2 years ago
Phillip Webb
7e2b325b36
Include auto-configuration and management import files in parent POM
...
Update the `maven-shade-plugin` configuration to include transformation
of the new `AutoConfiguration.imports` and
`ManagementContextConfiguration.imports` files.
Fixes gh-31316
2 years ago
Stephane Nicoll
cc4965ee8a
Merge branch '2.7.x'
...
Closes gh-31367
2 years ago
Stephane Nicoll
961b979d6e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31366
2 years ago
Anthony Vanelverdinghe
1fffdbae2a
Fix typos in the reference documentation
...
See gh-31328
2 years ago
Stephane Nicoll
99f71941cd
Merge branch '2.7.x'
...
Closes gh-31363
2 years ago
Stephane Nicoll
499f54a335
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31362
2 years ago
Lars Grefer
8c9557f552
Enable Links for the Javadoc of the Gradle Plugins
...
See gh-31279
2 years ago
Stephane Nicoll
59f6661166
Merge branch '2.7.x'
...
Closes gh-31361
2 years ago
Stephane Nicoll
56913a08b8
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31360
2 years ago
Anthony Vanelverdinghe
b1ccb600f3
Remove reference to outdated location
...
See gh-31276
2 years ago
Stephane Nicoll
41d327df51
Merge branch '2.7.x'
...
Closes gh-31359
2 years ago
Stephane Nicoll
06d7e67e79
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31358
2 years ago
Stern, Ittay (is9613)
e05363f9b0
Restore Custom Favicon section in the reference guide
...
The section about favicon was mistakenly removed in 5fceb9d
and this
commit reinstates it.
See gh-31224
2 years ago
Stephane Nicoll
ed7ff31d01
Merge branch '2.7.x'
...
Closes gh-31357
2 years ago
Stephane Nicoll
4b0fe63bdf
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31356
2 years ago
Stephane Nicoll
d896d995d1
Polish contribution
...
See gh-31190
2 years ago
tudormarc
e313aa5f6c
Document that Lombok must be configured before our annotation processor
...
See gh-31190
2 years ago
Stephane Nicoll
365d96daf6
Merge branch '2.7.x'
...
Closes gh-31355
2 years ago
Stephane Nicoll
72dd51ae0b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31354
2 years ago
Moritz Halbritter
42e8f65b80
Move @ConditionalOnClass from methods to inner classes
...
Closes gh-31353
2 years ago
Henning Poettker
9fdd471adf
Use Lambda-based API in Spring Security examples
...
See gh-31143
2 years ago
Stephane Nicoll
b3601643af
Add hints for web resource default locations
...
Closes gh-31278
2 years ago
Stephane Nicoll
063e56dbff
Polish
2 years ago
Phillip Webb
380776a9b2
Merge branch '2.7.x'
2 years ago
Phillip Webb
7bf82b5349
Merge branch '2.6.x' into 2.7.x
2 years ago
Phillip Webb
63fdd729f5
Refine conversion service type check
...
Update fix to account for primitive types.
See gh-28592
2 years ago
Phillip Webb
8937924508
Merge branch '2.7.x'
...
Closes gh-31342
2 years ago
Phillip Webb
beb1c15219
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31341
2 years ago
Phillip Webb
31b0264d94
Ensure conversion service actually converts to the correct type
...
Update `BindConverter` with a guard to ensure that the resulting object
is the correct type.
Fixes gh-28592
2 years ago
Phillip Webb
cb745b4259
Merge branch '2.7.x'
...
Closes gh-31340
2 years ago
Anthony Vanelverdinghe
ed1e7382ab
Fix typo in ImportCandidates javadoc
...
See gh-31277
2 years ago
Phillip Webb
ff4e6f7639
Merge branch '2.7.x'
...
Closes gh-31339
2 years ago
Phillip Webb
0f7fa84214
Polish 'Update Dynatrace documentation for Micrometer 1.9.0'
...
See gh-31132
2 years ago
Georg Pirklbauer
6df9f50642
Update Dynatrace documentation for Micrometer 1.9.0
...
Update the actuator documentation for Dynatrace to reflect the
updates and improvements that were made in Micrometer 1.9.0.
See gh-31132
2 years ago
Andy Wilkinson
2155aac464
Upgrade to REST Assured 5.1.1
...
Closes gh-31333
2 years ago
Andy Wilkinson
9ff411e6af
Upgrade to Mockito 4.6.1
...
Closes gh-31332
2 years ago
Andy Wilkinson
d4be484d27
Upgrade to AssertJ 3.23.1
...
Closes gh-31331
2 years ago
Moritz Halbritter
3799170c4d
Disable metrics and tracing in web endpoints integration tests
...
See gh-31308
2 years ago
Moritz Halbritter
486b3073ce
Add tracing in integration tests paragraph to the documentation
...
See gh-31308
2 years ago
Moritz Halbritter
8fab9f290c
Back off tracing auto-configurations if tracing is disabled
...
See gh-31308
2 years ago
Moritz Halbritter
b019ff6102
Wavefront sender configuration is no longer an auto-configuration
...
It's now a regular configuration class which is imported from
the Wavefront metrics and tracing auto-configurations
2 years ago
Moritz Halbritter
943e9033c0
Add @ConditionalOnEnabledTracing condition
...
See gh-31308
2 years ago
Moritz Halbritter
b250d8a1e4
Add @AutoConfigureObservability annotation
...
This annotation is read by ObservabilityContextCustomizerFactory, which
then sets test properties depending on the annotation attributes.
@AutoConfigureMetrics is deprecated, to support backwards compatability
it's now meta-annotated with @AutoConfigureObservability
See gh-31308
2 years ago
Andy Wilkinson
36f01eb40b
Fix compilation error with Tomcat 10
...
There's no setter for the max header size in Tomcat 10 as it's now
inherited from the underlying HTTP 1.1 protocol. The test that
was merged forwards from 2.7.x is retained to verify that this is
the case.
See gh-31330
2 years ago
Andy Wilkinson
b6ebf4a7db
Merge branch '2.7.x'
...
Closes gh-31330
2 years ago
Andy Wilkinson
7f584a95a6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31329
2 years ago
Andy Wilkinson
e02803d341
Configure max HTTP header size when using HTTP2 with Tomcat
...
Closes gh-31322
2 years ago
Moritz Halbritter
41e9867bc4
Register all ObservationHandler, regardless which context they use
...
Closes #31272
2 years ago
Andy Wilkinson
29cd148e05
Start building against Spring Framework 5.3.1 snapshots
...
See gh-31319
2 years ago
Andy Wilkinson
ed897fc922
Start building against Spring Framework 5.3.21 snapshots
...
See gh-31318
2 years ago
Moritz Halbritter
d1647cf68c
Don't back off on user-supplied SpanHandlers
...
Instead the auto-configuration now backs off only on ZipkinSpanHandler.
Closes gh-31273
2 years ago
Andy Wilkinson
91bb5aa222
Move auto-config of ReactiveElasticClient to elasticsearch pkg
...
Closes gh-28068
2 years ago
Phillip Webb
c56783064d
Support management contexts with AOT
...
Refactor child management configuration and add AOT generation support.
A new `ChildManagementContextInitializer` class now performs the child
context initialization and also handles AOT processing concerns.
Closes gh-31163
2 years ago
Phillip Webb
a729f71cba
Polish LogbackRuntimeHintsRegistrar
2 years ago
Phillip Webb
e8f9386594
Add Runnable variant of TestPropertyValues.applyToSystemProperties
...
Closes gh-31303
2 years ago
Phillip Webb
11184aae8d
Allow ApplicationContextRunner to return non-refreshed context
...
Add `AbstractApplicationContextRunner.prepare` which can be used to
test an `ApplicationContext` that has been prepared but not refreshed.
Closes gh-31302
2 years ago
Andy Wilkinson
46c262d3cc
Merge branch '2.7.x'
...
Closes gh-31283
2 years ago
Andy Wilkinson
12eb7a8795
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31282
2 years ago
Andy Wilkinson
a651061e2c
Remove SpringApplicationHierarchyTests
...
Closes gh-31281
2 years ago
Andy Wilkinson
62f40f2c38
Apply initializers and bean registrations before registering classes
...
Previously, classes were registered first which meant that their
conditions were evaluated before any initializers and bean
registrations were applied. This prevented the bean registrations and
initializers from affecting the outcome of the condition evaluation.
This commit inverts the ordering so that classes are not registerd,
and therefore their conditions are not evaluated, until after the
bean registrations and initializers have been applied.
Closes gh-31280
2 years ago
Stephane Nicoll
e30391ca7a
Use Application as target for generated code
...
Closes gh-31274
2 years ago
Stephane Nicoll
8413002bcb
Polish
...
See gh-31247
2 years ago
Andy Wilkinson
869bb91c80
Polish
2 years ago
Stephane Nicoll
ac16432fad
Add AOT support for immutable ConfigurationProperties bean definitions
...
This commit introduces a dedicated AotProcessors for immutable
configuration properties beans as their bean definition use an
instance supplier that needs special handling. If such a bean definition
is detected, dedicated code is generated that replicates the behavior
of the instance supplier.
Closes gh-31247
2 years ago
Brian Clozel
3f0c14187a
Register runtime hints for @ConfigurationProperties
...
Prior to this commit, the `@ConfigurationProperties` annotation would
not be registered for reflection hints: this means it could be missing
at runtime in a native image and would not be registered for JDK
proxying - this can fail the synthesized annotation resolution.
This commit ensures that hints are registered for this annotation if
configuration properties are declared in the bean factory.
Fixes gh-31227
2 years ago
Stephane Nicoll
e2c42e4bbf
Merge branch '2.7.x'
...
Closes gh-31262
2 years ago
Stephane Nicoll
8e550933a8
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31261
2 years ago
Stephane Nicoll
bbb5966bca
Upgrade integration tests to Apache Maven 3.8.5
...
Closes gh-31260
2 years ago
Stephane Nicoll
1c94f835c7
Copy AOT-generated classes
...
Closes gh-31245
2 years ago
Andy Wilkinson
11cbb2549e
Merge branch '2.7.x'
...
Closes gh-31256
2 years ago
Andy Wilkinson
c379456722
Remove dependency management for spring-ldap-ldif-batch
...
The spring-ldap-ldif-batch module was removed in Spring LDAP 2.4.0 in
favor of the equivalent code that already exists in Spring Batch.
This commit aligns Boot's dependency management with this removal.
Closes gh-31254
2 years ago
Stephane Nicoll
c996e4335a
Fix singleton handling of ConfigurationProperties hints
...
Closes gh-31248
2 years ago
Stephane Nicoll
cf19c176f6
Adapt test to change in Spring Framework snapshots
2 years ago
Stephane Nicoll
2a405c94a8
Add missing test
...
Closes gh-31249
2 years ago
Stephane Nicoll
fb439b6824
Permit AOT-generated code to run on the JVM as well
...
This commit updates the codebase so that AOT-generated code can run on
the JVM in an opt-in fashion alongside the existing support of native
images.
When optimizations have been generated, setting the "spring.aot.enabled"
spring property (JVM or spring.properties) allows to opt-in for that
behavior on the JVM.
Closes gh-31244
2 years ago
Stephane Nicoll
0dbcb5f6d3
Start building against Spring Framework 6.0.0-M5 snapshots
...
See gh-31241
2 years ago
Phillip Webb
13fba65638
Polish
3 years ago
Phillip Webb
6d80723598
Relocate AotProcessingHook
...
Relocate `AotProcessingHook` to be an static class of `AotProcessor`.
3 years ago
Stephane Nicoll
6e9ea85835
Adapt BasePackages bean definition for AOT processing
...
This commit adapts how the BasePackages bean is registered so that
AOT processing works with it out-of-the-box. Previously we were using
an instance supplier with the accumulated base packages. This commit
changes that to set a constructor argument values.
Closes gh-31223
3 years ago
Andy Wilkinson
4385926df1
Ensure that the main application class can be deduced
...
Closes gh-31222
3 years ago
Andy Wilkinson
5f54289e97
Allow WebApplicationType to be deduced in a native image
...
Closes gh-31217
3 years ago
Stephane Nicoll
44a8e91b9e
Prevent main method to continue once the AOT context has been optimized
...
This commit makes sure that processing of the main method upon
completion of SpringApplication#run. Previously, any instructions in
the user's main method were invoked, which is not suitable to build-time
processing.
Closes gh-31219
3 years ago
Andy Wilkinson
d044eaf69d
Merge branch '2.7.x'
...
Closes gh-31221
3 years ago
Andy Wilkinson
7f291f8da0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31220
3 years ago
Andy Wilkinson
348662b15e
Remove unused deduceFromApplicationContext and supporting code
...
Closes gh-31218
3 years ago
Andy Wilkinson
1ba1eff63a
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
430040415b
Merge branch '2.6.x' into 2.7.x
3 years ago
Andy Wilkinson
0b6c147a87
Polish
3 years ago
Andy Wilkinson
12465ea6b7
Merge branch '2.7.x'
...
Closes gh-31214
3 years ago
Andy Wilkinson
d1420b6abb
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31213
3 years ago
Andy Wilkinson
da8dafe138
Make afterResolve hook used by bootJar and bootWar more robust
...
Previously, ResolvedDependencies used hasError on
ResolvedConfiguration to check that it was safe to work with all
of the resolved configuration's artifacts and their files. This
check is not sufficient as errors can still occur later on.
This commit updates ResolvedDependencies to use a lenient
configuration, thereby avoiding any problems that may be caused by
errors that occur after the hasError check.
Closes gh-30586
3 years ago
Andy Wilkinson
85ad4fd4b4
Merge branch '2.7.x'
...
Closes gh-31212
3 years ago
Andy Wilkinson
70bcade232
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31211
3 years ago
Andy Wilkinson
419ac26e0d
Use conventions for source and encoding of aggregatedJavadoc
...
Closes gh-31210
3 years ago
Stephane Nicoll
b2e63db57f
Merge branch '2.7.x'
...
Closes gh-31209
3 years ago
Stephane Nicoll
dd437c4cf4
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31208
3 years ago
Stephane Nicoll
ad1214c972
Upgrade copyright year of changed files
...
See gh-31197
3 years ago
heqiang
3a0ab01066
Polish "Remove boxing"
...
See gh-31197
3 years ago
Stephane Nicoll
a27427b977
Merge branch '2.7.x'
...
Closes gh-31207
3 years ago
Stephane Nicoll
95dad34482
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31206
3 years ago
Matei Cernăianu
eb8b9e17c5
Fix "spring.factories" typos in database initialization documentation
...
See gh-31203
3 years ago
Andy Wilkinson
d354c03e63
Merge branch '2.7.x'
...
Closes gh-31191
3 years ago
Andy Wilkinson
682ac53f32
Ensure that config processor runs with only AutoConfiguration
...
Fixes gh-31186
3 years ago
Andy Wilkinson
f433d250e1
Merge branch '2.7.x'
...
Closes gh-31189
3 years ago
Andy Wilkinson
d2397bd34e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31188
3 years ago
Andy Wilkinson
83e8c039b3
Add application/wasm to MIME mappings
...
Closes gh-30885
3 years ago
Andy Wilkinson
a659e89dd4
Merge branch '2.7.x'
...
Closes gh-31187
3 years ago
Youri Bonnaffe
d38bc13fd5
Remove mimepull dependency
...
Mimepull dependency was introduced in 1c18fd8
for gh-14924 to force the
version as the one coming from saaj-impl was not on Maven Central.
This is no longer the case.
Version 1.10.0 of Mimepull has been built with Java 11, breaking
compatibility with Java 8 for Spring Boot.
See gh-31145
3 years ago
Andy Wilkinson
90752e559a
Polish "Auto-configure JvmCompilationMetrics"
...
See gh-31151
3 years ago
izeye
f720b65dfc
Auto-configure JvmCompilationMetrics
...
See gh-31151
3 years ago
Wim Deblauwe
1aad7bea8e
Add link to Error Handling Spring Boot Starter
...
See gh-31156
3 years ago
Andy Wilkinson
df99ad17bd
Merge branch '2.7.x'
...
Closes gh-31184
3 years ago
Andy Wilkinson
194e9f0f79
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31183
3 years ago
Andy Wilkinson
56c3a5f0ab
Polish "Assert that sources does not contain null elements"
...
See gh-30878
3 years ago
Guirong Hu
ebf276c005
Assert that sources does not contain null elements
...
See gh-30878
3 years ago
Andy Wilkinson
bf56665718
Polish "Add PUT shutdown operation for Prometheus Push Gateway"
...
See gh-31104
3 years ago
Mattia Cansirro Cortorillo
0f99c43198
Add PUT shutdown operation for Prometheus Push Gateway
...
See gh-31104
3 years ago
Andy Wilkinson
36a60d8e2e
Merge branch '2.7.x'
...
Closes gh-31181
3 years ago
Andy Wilkinson
137318a845
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31180
3 years ago
Damiano Albani
3f91ed037f
Fix Custom Layers Configuration section title in Maven plugin docs
...
See gh-31172
3 years ago
Andy Wilkinson
4bb5ba2bd0
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
935d1264e0
Merge branch '2.6.x' into 2.7.x
3 years ago
Andy Wilkinson
3d203d0215
Polish
3 years ago
Andy Wilkinson
14af1bb2dc
Polish
3 years ago
Andy Wilkinson
26b89bfc80
Remove redundant throws declarations from public APIs
...
Closes gh-31179
3 years ago
Andy Wilkinson
5dfa5adb75
Merge branch '2.7.x'
...
Closes gh-31178
3 years ago
Andy Wilkinson
455ee0ce22
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31177
3 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
3 years ago