Commit Graph

1620 Commits

Author SHA1 Message Date
Greg L. Turnquist
5d51e199bc Test against Java 20 on CI.
See #2244.
2023-03-30 10:47:51 -05:00
Greg L. Turnquist
4fc6309b58 Update CI properties.
See #2242
2023-03-28 14:01:09 -05:00
Christoph Strobl
4a850f776e After release cleanups.
See #2237
2023-03-20 14:26:21 +01:00
Christoph Strobl
200f308a40 Prepare next development iteration.
See #2237
2023-03-20 14:26:19 +01:00
Christoph Strobl
68b677e205 Release version 4.0.4 (2022.0.4).
See #2237
2023-03-20 14:22:48 +01:00
Christoph Strobl
6e351989d3 Prepare 4.0.4 (2022.0.4).
See #2237
2023-03-20 14:22:20 +01:00
Mark Paluch
a03f5f3dec After release cleanups.
See #2227
2023-03-03 11:02:48 +01:00
Mark Paluch
b542bef517 Prepare next development iteration.
See #2227
2023-03-03 11:02:46 +01:00
Mark Paluch
071c78a15d Release version 4.0.3 (2022.0.3).
See #2227
2023-03-03 10:59:33 +01:00
Mark Paluch
7bcb437721 Prepare 4.0.3 (2022.0.3).
See #2227
2023-03-03 10:59:17 +01:00
Oliver Drotbohm
3def6a180d Use FormattingConversionService in JSON Patch binding.
We no pipe the Spring MVC ConversionService into the JSON Patch path binding. That usually is a FormattingConversionService at runtime and also supports the conversion of dates.

The ConversionServices is configured into the BindContext(Factory) we use for binding. The context then exposes the EvaluationContext set up with it.

Fixes #2233.
2023-02-21 18:43:29 +01:00
Oliver Drotbohm
ece8108811 Register MVC validator with Spring Data REST HandlerAdapter.
Fixes: #967.
Original pull request: 2108.
2023-02-21 15:46:18 +01:00
zhengchalei
b50b0f8dd1 Fix doc link end label in ResourceStatus.
Fixes #2139
2023-02-21 14:19:56 +01:00
Kai Toedter
b2fc38987e Fix link to HAL Explorer doc in README.adoc. 2023-02-21 14:17:38 +01:00
Oliver Drotbohm
2f1771ee4f Avoid obsolete inspection of DefaultedPageable.
The instance can never be null and thus we don't actually have to check for that.
2023-02-21 14:13:11 +01:00
Oliver Drotbohm
cd3f9cb462 Adapt to renamed properties by using MappedProperties in association deserialization.
Revert the changes that employed manual annotation lookup as that would cause invalid associations of fields and accessor methods for properties shadow renamed. Instead, we now use MappedProperties that already contains a mapping between the Jackson field names and Spring Data property names.

Fixes: #2165

$ Conflicts:
$	spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2Module.java
$	spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2ModuleUnitTests.java
2023-02-21 13:30:37 +01:00
Mikołaj Matuszewski
4ca26918f8 Fix missing explanation for resource type indicator in reference docs. 2023-02-21 11:52:44 +01:00
Oliver Drotbohm
f2c9ec32e2 Properly deep-merge nested documents on PUT.
This is needed to consider read-only properties within those objects as those would otherwise get overridden.

Fixes: #2174
2023-02-21 10:43:25 +01:00
Mark Paluch
2885f76106 Upgrade to Maven Wrapper 3.9.0.
See #2231
2023-02-20 11:59:41 +01:00
Mark Paluch
1b5b2414ae After release cleanups.
See #2219
2023-02-17 11:02:27 +01:00
Mark Paluch
bcb673da66 Prepare next development iteration.
See #2219
2023-02-17 11:02:25 +01:00
Mark Paluch
8727d9e542 Release version 4.0.2 (2022.0.2).
See #2219
2023-02-17 10:59:28 +01:00
Mark Paluch
7c3c36ec56 Prepare 4.0.2 (2022.0.2).
See #2219
2023-02-17 10:59:14 +01:00
Mark Paluch
6e166320b6 Update CI properties.
See #2219
2023-01-30 10:49:31 +01:00
Mark Paluch
555bd39835 Upgrade to Maven Wrapper 3.8.7.
See #2220
2023-01-30 10:47:23 +01:00
Oliver Drotbohm
8819cdc741 Register StdValueInstantiator._constructorArguments for reflection.
The field is looked up by reflection in ValueInstantiatorCustomizer.

Fixes #2213.
2023-01-20 16:35:46 +01:00
Oliver Drotbohm
2c9b0c829f Fix links in reference documentation.
Primarily references to Spring Framework docs and one https update.

Fixes #2218.
2023-01-18 10:02:28 +01:00
Mark Paluch
d289616ed6 After release cleanups.
See #2203
2023-01-13 11:43:31 +01:00
Mark Paluch
46f26a5221 Prepare next development iteration.
See #2203
2023-01-13 11:43:30 +01:00
Mark Paluch
010a647337 Release version 4.0.1 (2022.0.1).
See #2203
2023-01-13 11:40:51 +01:00
Mark Paluch
215c1e90c8 Prepare 4.0.1 (2022.0.1).
See #2203
2023-01-13 11:40:40 +01:00
Oliver Drotbohm
01784db520 Fix links to Spring Framework's CORS documentation.
Fixes #2215.
2023-01-09 17:00:42 +01:00
Oliver Drotbohm
9852d956fa Additional test cases for default CORS setup on repositories.
We now also assert on the Access-Control-Allow-Origin to default to * in case no more detailed configuration was set up.

Issue #2208.
2023-01-09 16:48:14 +01:00
Oliver Drotbohm
8d6aba1bff Upgrade test source compile level to Java 17.
Also, remove custom Jackson library version for Hibernate integration.
2023-01-09 16:48:09 +01:00
Oliver Drotbohm
aa1685d95d Register per-repository pattern for observability purposes.
The standard Spring MVC observability integration registers the plain request pattern for observations. For our repository controllers that would result in one pattern registered for all individual repository resources (e.g. /{repository}/{id} etc.). However, the insights users would like to gain rather follows the individual repositories exposed. That's why we have so far exposed repository specific path pattern (/myrepo/{id}) via a custom request attribute. To adhere to the new observability integration of Spring Framework 6, we need to expose that particular pattern on the ServerRequestObservationContext, too.

Fixes #2212.
2023-01-09 15:46:12 +01:00
Oliver Drotbohm
96f02a7365 Upgrade to HAL Explorer 1.2.
Fixes GH-2214.
2023-01-06 20:02:17 +01:00
Mark Paluch
4335e81d70 Extend license header copyright years to 2023.
See #2209
2023-01-02 09:50:14 +01:00
Christoph Strobl
be0e5a931f Add Nullable annotation to parameter of overridden equals method.
Closes: #2196
Original pull request: #2197
2022-12-02 11:16:34 +01:00
Mark Paluch
8da526875d Update CI properties.
See #2203
2022-11-18 15:31:28 +01:00
Mark Paluch
b5dd26e301 Enable upstream build triggers.
See #2190
2022-11-18 15:18:10 +01:00
Mark Paluch
7a47dc29c5 After release cleanups.
See #2190
2022-11-18 14:30:31 +01:00
Mark Paluch
ce0500eed2 Prepare next development iteration.
See #2190
2022-11-18 14:30:30 +01:00
Mark Paluch
eb10fb1e41 Release version 4.0 GA (2022.0.0).
See #2190
2022-11-18 14:26:23 +01:00
Mark Paluch
c35086c7c4 Prepare 4.0 GA (2022.0.0).
See #2190
2022-11-18 14:26:13 +01:00
Mark Paluch
f74daa349a Upgrade to MongoDB Driver 4.8.0.
Closes #2201
2022-11-17 09:12:30 +01:00
Jens Schauder
1968b4e76f Replace New and Noteworthy with links to release notes.
Closes #2199
See spring-projects/spring-data-relational#1351
2022-11-10 15:10:11 +01:00
Mark Paluch
f69ff86d59 Bump test dependency versions.
See #2195
2022-11-07 15:54:47 +01:00
Mark Paluch
c3c9da67f2 Upgrade to JPA API 3.1 and Servlet API 6.1.
Closes #2195
2022-11-07 15:54:22 +01:00
Mark Paluch
fa51cdc7fc After release cleanups.
See #2192
2022-11-04 15:26:39 +01:00
Mark Paluch
da86021c12 Prepare next development iteration.
See #2192
2022-11-04 15:26:38 +01:00