You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add support for Java 17 and Spring 6, restructure project (#264)
- Add support for Java 17 and Spring Framework 6
- Restructure project into a multi-module Maven project
- Move smoke tests into their own module, `smoke-tests` for testing compatibility with different Java versions
- Update README with compatibility notes
@@ -28,7 +28,13 @@ Add this dependency to your `pom.xml` file:
28
28
</dependency>
29
29
```
30
30
31
-
**Note:** since version `3.0.0`, `Java 8` is no longer supported, `Java 11` is the minimum supported version.
31
+
_**Note:** since version `4.0.0`, `Java 11` is no longer supported, `Java 17` is the minimum supported version._
32
+
33
+
_This library is tested with Spring Framework `6.1.12` along with Java `17` and `21` (
34
+
see [smoke-tests](https://github.com/f-lopes/spring-mvc-test-utils/tree/main/smoke-tests/src/tests/java/io/florianlopes/spring/test/web/servlet/request/MockMvcRequestBuilderUtilsSmokeTests.java)
35
+
and [build.yml](https://github.com/f-lopes/spring-mvc-test-utils/blob/main/.github/workflows/build.yml#L15) workflow)_
This tool relies on default Spring's property editors (see https://github.com/spring-projects/spring-framework/blob/master/spring-beans/src/main/java/org/springframework/beans/PropertyEditorRegistrySupport.java#L200).
82
+
This tool relies on default Spring's property editors (
83
+
see https://github.com/spring-projects/spring-framework/blob/main/spring-beans/src/main/java/org/springframework/beans/PropertyEditorRegistrySupport.java#L200).
77
84
78
85
If you want to override one of those registered by default, simple use the `MockMvcRequestBuilderUtils.registerPropertyEditor(...)` method:
79
86
```
@@ -120,9 +127,9 @@ Feel free to contribute using this guide:
120
127
```git branch -b my-feature```
121
128
5. Commit your changes (and squash them if necessary using `git rebase -i` or `git add -p`)
122
129
6. Pull the latest changes from the original repository
0 commit comments