- 29 3月, 2024 2 次提交
- 08 9月, 2023 1 次提交
-
-
由 项羽过江东 提交于
-
- 07 9月, 2023 1 次提交
-
-
由 项羽过江东 提交于
-
- 03 9月, 2023 5 次提交
- 01 9月, 2023 6 次提交
-
-
由 Sébastien Deleuze 提交于
-
由 Sébastien Deleuze 提交于
This commit refines Reactor field precomputing on native to only compute at build-time fields in the reactor.core package, since doing so in reactor.netty has unwanted side effects like Epoll always disabled. Closes gh-31141
-
由 Sébastien Deleuze 提交于
See gh-29549
-
由 Sébastien Deleuze 提交于
-
由 Sébastien Deleuze 提交于
As a workaround before a proper solution the Spring team is trying to find with the Hibernate team in a future version of Hibernate, this commit introduces 2 GraalVM substitutions that should allow to remove ByteBuddy reachability with Hibernate 6.3. Closes gh-29549
-
由 Marten Deinum 提交于
BlockingExecutionConfigurer#setExecutor takes an AsyncTaskExecutor not an Executor as the documentation states. With this commit, this has been corrected. Closes gh-31150
-
- 31 8月, 2023 5 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Closes gh-30195
-
由 Sam Brannen 提交于
See gh-30195
-
由 Anton-Vasilev 提交于
Closes gh-31145
-
由 Brian Clozel 提交于
This is a follow-up change related to gh-31104. This change reverts the changes previously made in `ExceptionHandlerExceptionResolver` and instead attempts to reset the response directly in `DispatcherServlet` in order to cover all types or exception handling. Unlike the previous change, we decided to continue even if the response was already committed: exception handlers will have a chance to be called, even if it means they'll have to operate on a garbled response. This change will cause less disruption, in case existing exception handlers were relying on this behavior. See gh-31104
-
- 30 8月, 2023 4 次提交
-
-
由 rstoyanchev 提交于
Closes gh-31120
-
由 Alec Musasa 提交于
Closes gh-31135
-
由 Brian Clozel 提交于
See gh-31049
-
由 Brian Clozel 提交于
Prior to this commit, the Spring Framework build would publish several zip artifacts: * a "*-schema.zip" containing all the XSD schemas produced * a "*-docs.zip" containing the API docs * a "*-dist.zip" containing all of the above, plus module jars Since the reference docs are now produced by Antora in a separate process, the "*-docs.zip" does not contain the reference docs anymore. But it still contains the API docs which are automatically fetched from the artifact repository and published on the docs.spring.io website. This commit intends to update the current arrangement and optimize the build. First, the "*-dist.zip" is not published anymore, since it cannot be consumed anyway by the community: repo.spring.io does not distribute release artifacts publicly, developers are expected to get them from Maven Central. This arrangement is quite dated anyway and is not really useful in current application build setups. The generation of API docs is moved to a new "framework-api" module, separating it from the reference docs module ("framework-docs") which contains Java, Kotlin and Asciidoctor sources. This removes the custom javadoc aggregation task and instead uses a dedicated Gradle plugin. This change also adds a new `-PskipDocs` Gradle project property that skips entirely the documentation tasks (javadoc, kdocs) as well as the "distrbution" tasks managed in the framework-api module. This allows developers to publish locally a SNAPSHOT of Spring Framework without creating the entire documentation distribution. This is particularly useful for local testing. For example, `$ ./gradlew pTML -PskipDocs`. Closes gh-31049
-
- 29 8月, 2023 10 次提交
-
-
由 Brian Clozel 提交于
See gh-31104
-
由 lihan 提交于
Prior to this commit, the `ExceptionHandlerExceptionResolver` would resolve exceptions and handle them by writing to the HTTP response body, even if the request was already partially handled and content was written to the response body. This could result in HTTP responses with some content for the intended application response, then other content for the handled exception. This would happen especially when the error would be raised while writing to the response (for example when serializing content). This commit attempts to reset the HTTP response before handling the exception. This effectively resets the response buffer for the body as well as response headers. If the response is already committed, the Servlet container raises an exception and the exception handling is skipped altogether in order to avoid garbled responses. Closes gh-31104
-
由 Anna Buyevich 提交于
Closes gh-31125
-
由 Sébastien Deleuze 提交于
This new function allows to customize the CoroutineContext potentially dynamically based on the incoming ServerRequest. Closes gh-27010
-
由 Brian Clozel 提交于
-
由 Brian Clozel 提交于
Prior to this commit, `@Async` and `@EventListener` annotated methods would lose the the logging and observation contexts whenever their execution was scheduled on a different Thread. The Context Propagation library supports this use case and can propagate context values in ThreadLocals, Reactor Context and more. This commit introduces a new `TaskDecorator` implementation that leverages the Context Propagation library. When configured on a `TaskExecutor`, this allows to properly propagate context value through the execution of the task. This implementation is completely optional and requires the "io.micrometer:context-propagation" library on the classpath. Enabling this feature must be done consciously and sometimes selectively, as context propagation introduces some overhead. Closes gh-31130
-
由 Sébastien Deleuze 提交于
Closes gh-26977
-
由 Sébastien Deleuze 提交于
Closes gh-31127
-
由 Sam Brannen 提交于
- for consistency with the changes made in e1826d23 See gh-31090
-
由 Sam Brannen 提交于
When use of the deprecated feature is detected, a WARNING log message will be generated analogous to the following. WARN o.s.c.a.AnnotationBeanNameGenerator - Support for convention-based stereotype names is deprecated and will be removed in a future version of the framework. Please annotate the 'value' attribute in @org.springframework.context.annotation.AnnotationBeanNameGeneratorTests$ConventionBasedComponent1 with @AliasFor(annotation=Component.class) to declare an explicit alias for @Component's 'value' attribute. See gh-31089 Closes gh-31093
-
- 28 8月, 2023 6 次提交
-
-
由 Stephane Nicoll 提交于
* pr/26725: Polish "Introduce reverse on ClassFilter and MethodFilter" Introduce reverse on ClassFilter and MethodFilter Closes gh-26725
-
由 Stephane Nicoll 提交于
See gh-26725
-
由 Jinhui-Z 提交于
See gh-26725
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-