Commit Graph

1585 Commits

Author SHA1 Message Date
Oliver Drotbohm
fdb9c660ee Register MVC validator with Spring Data REST HandlerAdapter.
Fixes: #967.
Original pull request: 2108.
2023-02-21 15:46:51 +01:00
zhengchalei
0bbc8c0f05 Fix doc link end label in ResourceStatus.
Fixes #2139
2023-02-21 14:20:24 +01:00
Kai Toedter
96d59009b7 Fix link to HAL Explorer doc in README.adoc. 2023-02-21 14:17:44 +01:00
Oliver Drotbohm
585049b66c 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:03 +01:00
Oliver Drotbohm
a027727a46 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:31:43 +01:00
Mikołaj Matuszewski
34036ba3ab Fix missing explanation for resource type indicator in reference docs. 2023-02-21 11:52:54 +01:00
Oliver Drotbohm
5b592b25ab 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:44:30 +01:00
Mark Paluch
f6b947aa27 Upgrade to Maven Wrapper 3.9.0.
See #2232
2023-02-20 12:02:15 +01:00
Mark Paluch
3793b9a2c5 After release cleanups.
See #2217
2023-02-17 10:11:46 +01:00
Mark Paluch
c2b37b2e29 Prepare next development iteration.
See #2217
2023-02-17 10:11:44 +01:00
Mark Paluch
dd36389398 Release version 3.7.8 (2021.2.8).
See #2217
2023-02-17 10:08:25 +01:00
Mark Paluch
cb59057484 Prepare 3.7.8 (2021.2.8).
See #2217
2023-02-17 10:08:08 +01:00
Mark Paluch
37e50a7cae Update CI properties.
See #2217
2023-01-30 10:48:58 +01:00
Mark Paluch
87d3795e58 After release cleanups.
See #2202
2023-01-13 10:35:35 +01:00
Mark Paluch
1929667d99 Prepare next development iteration.
See #2202
2023-01-13 10:35:33 +01:00
Mark Paluch
94a0ee00d4 Release version 3.7.7 (2021.2.7).
See #2202
2023-01-13 10:32:46 +01:00
Mark Paluch
6da507dee1 Prepare 3.7.7 (2021.2.7).
See #2202
2023-01-13 10:32:32 +01:00
Mark Paluch
59765bf41f Extend license header copyright years to 2023.
See #2210
2023-01-02 09:52:07 +01:00
Mark Paluch
c0e77b8b5b Update CI properties.
See #2202
2022-11-18 15:33:54 +01:00
Mark Paluch
6f94fd77b6 After release cleanups.
See #2188
2022-11-18 10:55:38 +01:00
Mark Paluch
51ba1491db Prepare next development iteration.
See #2188
2022-11-18 10:55:36 +01:00
Mark Paluch
85b2a9eee2 Release version 3.7.6 (2021.2.6).
See #2188
2022-11-18 10:45:33 +01:00
Mark Paluch
89d84a52bc Prepare 3.7.6 (2021.2.6).
See #2188
2022-11-18 10:44:45 +01:00
Mark Paluch
e769fec8a1 Update CI properties.
See #2188
2022-10-31 13:18:17 +01:00
Spring Builds
2f07b63dff After release cleanups.
See #2187
2022-10-13 13:46:53 +00:00
Spring Builds
7518b58742 Prepare next development iteration.
See #2187
2022-10-13 13:46:40 +00:00
Spring Builds
edb0665061 Release version 3.7.5 (2021.2.5).
See #2187
2022-10-13 13:24:04 +00:00
Spring Builds
6405e3fda5 Prepare 3.7.5 (2021.2.5).
See #2187
2022-10-13 13:21:34 +00:00
Spring Builds
5a3db340f5 After release cleanups.
See #2178
2022-10-13 09:23:57 +00:00
Spring Builds
b221ddae7c Prepare next development iteration.
See #2178
2022-10-13 09:23:44 +00:00
Spring Builds
d1913cfbb8 Release version 3.7.4 (2021.2.4).
See #2178
2022-10-13 08:59:54 +00:00
Spring Builds
c14bfbe0b5 Prepare 3.7.4 (2021.2.4).
See #2178
2022-10-13 08:57:06 +00:00
Spring Builds
ea5d7a331b After release cleanups.
See #2160
2022-09-19 12:00:22 +00:00
Spring Builds
b2ec5ddad0 Prepare next development iteration.
See #2160
2022-09-19 12:00:10 +00:00
Spring Builds
984e1ffc00 Release version 3.7.3 (2021.2.3).
See #2160
2022-09-19 11:38:44 +00:00
Spring Builds
ef263cc8f6 Prepare 3.7.3 (2021.2.3).
See #2160
2022-09-19 11:36:21 +00:00
Oliver Drotbohm
2ad081f75b Improve JSON Patch implementation.
Refactor JSON Patch application implementation to improve the property detection for which values are supposed to be set.

Fixes #2177.
2022-09-19 10:21:02 +02:00
Christoph Strobl
5a4923a849 After release cleanups.
See #2154
2022-07-15 11:24:08 +02:00
Christoph Strobl
828fedd2ef Prepare next development iteration.
See #2154
2022-07-15 11:24:05 +02:00
Christoph Strobl
e4c294f5d8 Release version 3.7.2 (2021.2.2).
See #2154
2022-07-15 11:08:28 +02:00
Christoph Strobl
a9e6db5d39 Prepare 3.7.2 (2021.2.2).
See #2154
2022-07-15 11:07:51 +02:00
Oliver Drotbohm
d130d61e2e Polish annotation attribute aliasing in RepositoryRestController.
Related ticket: #2087.
2022-07-14 17:46:04 +02:00
Oliver Drotbohm
f89a458bc7 Forward StringValueResolver to DelegatingHandlerMappings targets.
RepositoryRestMvcConfiguration now implements EmbeddedValueResolver to forward the StringValueResolver given to both BasePathAwareHandlerMapping and RepositoryRestHandlerMapping.

Related ticket: #2087.
2022-07-13 23:43:37 +02:00
Oliver Drotbohm
86ff61cc10 Polishing.
Added test case and re-enabled the base URI to be prepended even in case a controller path prefix is configured. That functionality had been lost with the originally submitted changes.

Related ticket: #2087
Original pull request: #2088.
2022-07-06 16:17:24 +02:00
Yves Galante
c73d3816a6 Add support for controller base path on BasePathAwareController / RepositoryRestController.
This commit introduces support for a common base path shared amongst all handler methods of a controller annotated with @BasePathAwareController / @RepositoryRestController.

Related ticket: #2087
Original pull request: #2088.
2022-07-06 16:13:43 +02:00
Mark Paluch
71ae98132c After release cleanups.
See #2143
2022-06-20 11:40:07 +02:00
Mark Paluch
4ab1555ca8 Prepare next development iteration.
See #2143
2022-06-20 11:40:05 +02:00
Mark Paluch
55962885eb Release version 3.7.1 (2021.2.1).
See #2143
2022-06-20 11:29:30 +02:00
Mark Paluch
b96656c04a Prepare 3.7.1 (2021.2.1).
See #2143
2022-06-20 11:29:06 +02:00
Mark Paluch
56b422f9af Upgrade to Maven Wrapper 3.8.5.
See #2148
2022-06-03 16:13:07 +02:00