-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Comparing changes
Open a pull request
base repository: spring-projects/spring-framework
base: v5.2.13.RELEASE
head repository: spring-projects/spring-framework
compare: v5.2.14.RELEASE
Commits on Feb 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for da5f410 - Browse repository at this point
Copy the full SHA da5f410View commit details
Commits on Feb 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9d4bfb1 - Browse repository at this point
Copy the full SHA 9d4bfb1View commit details -
Support cookie w/ only Expires attribute in MockHttpServletResponse
Prior to this commit, MockHttpServletResponse only included the Expires attribute in the generated Cookie header if the Max-Age attribute had also been set. This commit supports including the Expires attribute in the generated Cookie Header even when the Max-Age attribute has not been set. Closes gh-26558
Configuration menu - View commit details
-
Copy full SHA for 8f2010d - Browse repository at this point
Copy the full SHA 8f2010dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33add33 - Browse repository at this point
Copy the full SHA 33add33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7926560 - Browse repository at this point
Copy the full SHA 7926560View commit details -
Fix ResourceUrlProvider handler auto-detection
Prior to this commit, `ResourceUrlProvider` would listen and consider all `ContextRefreshedEvent` and use the given context to detect `SimpleUrlHandlerMapping`. This could lead to situations where a `ResourceUrlProvider` uses another application context than its own (in a parent/child context setup) and detect the wrong set of handlers. Because `ResourceUrlProvider` locks itself once the auto-detection is done, we need to ensure that it considers only events sent by its application context. Fixes gh-26562
Configuration menu - View commit details
-
Copy full SHA for 9f7c8ae - Browse repository at this point
Copy the full SHA 9f7c8aeView commit details
Commits on Feb 22, 2021
-
Support load-time weaving for @component classes again
Since Spring Framework 5.2, the LoadTimeWeaver no longer weaves bean classes annotated with @component. This is a regression caused by the changes in 40c6213, stemming from the fact that any class annotated or meta-annotated with @component is considered to be a candidate configuration class in 'configuration lite' mode (i.e., a class without the @configuration annotation and without any @bean methods) and therefore now has its class eagerly loaded. This results in the class being loaded before the LoadTimeWeaver has a chance to weave it. This commit fixes this regression by explicitly avoiding eager class loading for any 'lite' @configuration or @component class without @bean methods. Closes gh-26199
Configuration menu - View commit details
-
Copy full SHA for 2ec7d5c - Browse repository at this point
Copy the full SHA 2ec7d5cView commit details
Commits on Feb 25, 2021
-
Correctly set auto-growing array's element
Prior to this commit, the implementation of processKeyedProperty() in AbstractNestablePropertyAccessor resulted in a `java.lang.IllegalArgumentException: array element type mismatch` when the property expression had more than one property key and the last key should cause the array to grow automatically. For example, given a property `int[][] multiArray` and property expression `multiArray[1][3]`, the `processKeyedProperty()` method created a new array object and assigned it to `multiArray`; whereas, the new array object should have be assigned to `multiArray[1]`. This commit fixes this issue. Closes gh-26600
Configuration menu - View commit details
-
Copy full SHA for 4530e36 - Browse repository at this point
Copy the full SHA 4530e36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e4189 - Browse repository at this point
Copy the full SHA 60e4189View commit details -
getResource can throw IllegalArgumentException
Class.getResource, ClassLoader.getResource, and ClassLoader.getSystemResource will throw IllegalArgumentException if a malformed URL is provided to them. According to its javadoc, resolveURL should return null if not resolvable, so catch the IllegalArgumentException and return null. Closes gh-26574
Configuration menu - View commit details
-
Copy full SHA for 74b248a - Browse repository at this point
Copy the full SHA 74b248aView commit details -
Fix handling of file: paths to non-existent files
For setAsText, if the text argument is a file: URL for a path that does not exist, Paths.get(text) is called where text is a file: URL, which doesn't work - the result is an InvalidPathException. To fix this issue, also check that the resource isn't a file before calling Paths.get(). That way, resources that are files skip to the other branch. Closes gh-26575
Configuration menu - View commit details
-
Copy full SHA for fdafd38 - Browse repository at this point
Copy the full SHA fdafd38View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd3262b - Browse repository at this point
Copy the full SHA dd3262bView commit details
Commits on Feb 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 428dbc4 - Browse repository at this point
Copy the full SHA 428dbc4View commit details
Commits on Mar 2, 2021
-
Ensure local @crossorigin maxAge overrides global value
Prior to this commit, a method-level @crossorigin maxAge value did not override a class-level @crossorigin maxAge value. This contradicts the Javadoc for @Crossorgin which states the following. For those attributes where only a single value can be accepted such as allowCredentials and maxAge, the local overrides the global value. This commit ensures that a method-level @crossorigin maxAge value overrides a class-level @crossorigin maxAge value. Closes gh-26619
Configuration menu - View commit details
-
Copy full SHA for e8f685e - Browse repository at this point
Copy the full SHA e8f685eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c5fc6 - Browse repository at this point
Copy the full SHA 31c5fc6View commit details
Commits on Mar 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dd96721 - Browse repository at this point
Copy the full SHA dd96721View commit details
Commits on Mar 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0fc831e - Browse repository at this point
Copy the full SHA 0fc831eView commit details
Commits on Mar 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c978fb4 - Browse repository at this point
Copy the full SHA c978fb4View commit details
Commits on Mar 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5291c5b - Browse repository at this point
Copy the full SHA 5291c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fbf3a5 - Browse repository at this point
Copy the full SHA 3fbf3a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63912f8 - Browse repository at this point
Copy the full SHA 63912f8View commit details
Commits on Mar 11, 2021
-
Use ".RELEASE" suffix for releases on 5.2.x branch
This commit ensures that the release scripts generate a ".RELEASE" suffixed release version, since the 5.2.x branch is still using this naming scheme. See https://github.com/spring-io/concourse-java-scripts#get_next_release See gh-26659
Configuration menu - View commit details
-
Copy full SHA for a7db92b - Browse repository at this point
Copy the full SHA a7db92bView commit details
Commits on Mar 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a6ab716 - Browse repository at this point
Copy the full SHA a6ab716View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae27118 - Browse repository at this point
Copy the full SHA ae27118View commit details -
Configuration menu - View commit details
-
Copy full SHA for 215514f - Browse repository at this point
Copy the full SHA 215514fView commit details
Commits on Mar 16, 2021
-
Fix release pipeline for Maven Central publication
This commit fixes the missing pieces in our Maven Central publication pipeline. Our first attempt at releasing with it showed a few problems: * the promote task did not have the artifacts downladed with the artifactory repository * we applied the wrong Sonatype credentials to the task * the github changelog task would fail because of docker rate limiting since we were not using the right type of resource, which is configured with the proper caching mechanism See gh-26654
Configuration menu - View commit details
-
Copy full SHA for f765045 - Browse repository at this point
Copy the full SHA f765045View commit details
Commits on Mar 18, 2021
-
Honor class-level @DirtiesContext if test class is disabled via SpEL
Prior to this commit, if a test class annotated with @DirtiesContext and @EnabledIf/@DisabledIf with `loadContext = true` was disabled due to the evaluated SpEL expression, the ApplicationContext would not be marked as dirty and closed. The reason is that @EnabledIf/@DisabledIf are implemented via JUnit Jupiter's ExecutionCondition extension API which results in the entire test class (as well as any associated extension callbacks) being skipped if the condition evaluates to `disabled`. This effectively prevents any of Spring's TestExecutionListener APIs from being invoked. Consequently, the DirtiesContextTestExecutionListener does not get a chance to honor the class-level @DirtiesContext declaration. This commit fixes this by implementing part of the logic of DirtiesContextTestExecutionListener in AbstractExpressionEvaluatingCondition (i.e., the base class for @EnabledIf/@DisabledIf support). Specifically, if the test class for an eagerly loaded ApplicationContext is disabled, AbstractExpressionEvaluatingCondition will now mark the test ApplicationContext as dirty if the test class is annotated with @DirtiesContext. Closes gh-26694
Configuration menu - View commit details
-
Copy full SHA for 4a6fea3 - Browse repository at this point
Copy the full SHA 4a6fea3View commit details
Commits on Mar 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 07e18df - Browse repository at this point
Copy the full SHA 07e18dfView commit details
Commits on Mar 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5f9a6ce - Browse repository at this point
Copy the full SHA 5f9a6ceView commit details
Commits on Apr 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 20cbd68 - Browse repository at this point
Copy the full SHA 20cbd68View commit details
Commits on Apr 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 34fcbfb - Browse repository at this point
Copy the full SHA 34fcbfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e2212 - Browse repository at this point
Copy the full SHA e4e2212View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb530dc - Browse repository at this point
Copy the full SHA bb530dcView commit details
Commits on Apr 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4307110 - Browse repository at this point
Copy the full SHA 4307110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19474e2 - Browse repository at this point
Copy the full SHA 19474e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ceacfa - Browse repository at this point
Copy the full SHA 4ceacfaView commit details
There are no files selected for viewing