Commit Graph

1560 Commits

Author SHA1 Message Date
Mark Paluch
2e551afa62 Prefer Java configuration over XML.
Closes #2182
2022-09-29 10:03:04 +02:00
Spring Builds
a47666ceec After release cleanups.
See #2162
2022-09-19 14:39:09 +00:00
Spring Builds
0450c88dfe Prepare next development iteration.
See #2162
2022-09-19 14:38:58 +00:00
Spring Builds
04c620ce40 Release version 4.0 M6 (2022.0.0).
See #2162
2022-09-19 14:15:25 +00:00
Spring Builds
97f7d45be7 Prepare 4.0 M6 (2022.0.0).
See #2162
2022-09-19 14:13:00 +00:00
Oliver Drotbohm
5d0687d1a1 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:19 +02:00
Christoph Strobl
6030f857e3 After release cleanups.
See #2144
2022-07-15 15:30:54 +02:00
Christoph Strobl
5a4f98213c Prepare next development iteration.
See #2144
2022-07-15 15:30:46 +02:00
Christoph Strobl
630568b05b Release version 4.0 M5 (2022.0.0).
See #2144
2022-07-15 15:18:30 +02:00
Christoph Strobl
823f0a8a62 Prepare 4.0 M5 (2022.0.0).
See #2144
2022-07-15 15:17:57 +02:00
Oliver Drotbohm
23dfeafee4 Add explicit qualifier names to references to RepositoryInvokerFactory in RepositoryRestMvcConfiguration.
Fixes #2161.
2022-07-15 14:01:11 +02:00
Oliver Drotbohm
1205ef1eb8 Polish annotation attribute aliasing in RepositoryRestController.
Related ticket: #2157.
2022-07-14 17:45:26 +02:00
Oliver Drotbohm
753886fa2c Forward StringValueResolver to DelegatingHandlerMappings targets.
RepositoryRestMvcConfiguration now implements EmbeddedValueResolver to forward the StringValueResolver given to both BasePathAwareHandlerMapping and RepositoryRestHandlerMapping.

Related ticket: #2157.
2022-07-13 23:47:36 +02:00
Mark Paluch
070d284e69 Upgrade to Hibernate 6.
Introduce bytebuddy exclusions to avoid clashes with Mockito-provided byte buddy versions. Extend version range in Jackson Hibernate module registrar.

Closes #2158
2022-07-13 08:54:26 +02:00
Oliver Drotbohm
07ebc501cd 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: #2157
Original pull request: #2088.
2022-07-06 17:26:07 +02:00
Yves Galante
8daacadb1e 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: #2157
Original pull request: #2088.
2022-07-06 17:26:07 +02:00
Oliver Drotbohm
4bff95a180 Remove obsolete test case from RepositoryRestHandlerMappingUnitTests.
The test started to fail when Spring Framework 6 disabled trailing slash path matching (see spring-projects/spring-framework#28552 for details). If adapted to the non-trailing version, it basically duplicates another test already present in the test class.
2022-07-06 17:26:07 +02:00
John Blum
29b7305d71 Remove punctuation in Exception messages.
Closes #2152.
2022-06-08 16:08:03 -07:00
Mark Paluch
93d0d7426e Downgrade Java version to container images based on Ubuntu 20.04.
Closes #2150
2022-06-03 14:38:01 +02:00
Mark Paluch
6611ffd747 Update CI properties.
See #2144
2022-06-03 09:34:21 +02:00
Mark Paluch
f12929805b Upgrade to Maven Wrapper 3.8.5.
See #2147
2022-06-03 09:32:44 +02:00
John Blum
70e704161e Remove Docker Registry login.
Closes #2145.
2022-05-16 13:24:40 -07:00
Christoph Strobl
eebb9b66b6 Fix pom.xml formatting.
This commit reverts formatting changes introduced via 17eba53aeb.

See #2128
2022-05-13 13:39:12 +02:00
Christoph Strobl
09f268b873 After release cleanups.
See #2128
2022-05-13 10:53:26 +02:00
Christoph Strobl
33dd0c44f7 Prepare next development iteration.
See #2128
2022-05-13 10:53:23 +02:00
Christoph Strobl
4da2ea3e1d Release version 4.0 M4 (2022.0.0).
See #2128
2022-05-13 10:43:59 +02:00
Christoph Strobl
17eba53aeb Prepare 4.0 M4 (2022.0.0).
See #2128
2022-05-13 10:43:21 +02:00
Oliver Drotbohm
adcd7e74ef Fix PUT merge handling for polymorphic properties.
We now replace the original value of polymorphic properties with the newly deserialized one if the type of the new one is different from the old one. We still copy all JSON ignored properties to the new instance to make sure that non-exposed, server-side state is retained. We apply the same handling for explicitly immutable source and/or target types.

Fixes #2130.
2022-04-04 14:53:15 +02:00
Oliver Drotbohm
ed822390d8 Fix potential NullPointerException in HalFormsAdaptingResponseBodyAdvice.
Fixes #2123.
2022-03-28 16:50:34 +02:00
Oliver Drotbohm
e656c89101 Tweak upstream project CI build triggers after branch renames. 2022-03-23 11:49:22 +01:00
Mark Paluch
685a6b57fa After release cleanups.
See #2127
2022-03-22 14:07:38 +01:00
Mark Paluch
27a7f0d50e Prepare next development iteration.
See #2127
2022-03-22 14:07:36 +01:00
Mark Paluch
bd4230c0b7 Release version 4.0 M3 (2022.0.0).
See #2127
2022-03-22 14:00:23 +01:00
Mark Paluch
520cd9d91f Prepare 4.0 M3 (2022.0.0).
See #2127
2022-03-22 14:00:01 +01:00
Mark Paluch
cf76b2da7e After release cleanups.
See #2100
2022-03-21 16:44:41 +01:00
Mark Paluch
fc8885a09c Prepare next development iteration.
See #2100
2022-03-21 16:44:39 +01:00
Mark Paluch
fd01f85d92 Release version 4.0 M2 (2022.0.0).
See #2100
2022-03-21 16:35:08 +01:00
Mark Paluch
02d5e7316c Prepare 4.0 M2 (2022.0.0).
See #2100
2022-03-21 16:34:36 +01:00
Kai Toedter
64f386460b Improve documentation on HAL Explorer.
Fixes #2120.
2022-03-02 16:48:56 +01:00
Oliver Drotbohm
96044174e5 Upgrade to HAL Explorer 1.1
Fixes #2122.
2022-03-02 16:34:23 +01:00
Mark Paluch
8d7852a25d Update CI properties.
See #2100
2022-02-22 14:10:51 +01:00
Greg L. Turnquist
c9e7f3fe5c Update CI properties.
See #2100
2022-02-15 09:00:21 -06:00
Mark Paluch
ff9336d2b5 Upgrade to MongoDB Driver 4.5.0.
Closes #2107
2022-02-11 16:01:19 +01:00
Mark Paluch
f411a5e41c Disable Geode integration tests on 4.0.x branch.
Closes #2106
2022-02-11 13:51:20 +01:00
Mark Paluch
61dd2313eb Upgrade to Spring Security 6.0 M1.
There are currently no snapshots available.

See #2100
2022-02-11 11:50:16 +01:00
Mark Paluch
218bedff06 Adopt tests to PagingAndSortingRepository split.
Closes #2105
2022-02-11 11:49:41 +01:00
Oliver Drotbohm
b7d6b2b78c Update copyright years to 2022. 2022-02-07 10:26:46 +01:00
Oliver Drotbohm
cb7d8dce0f Adapt to latest changes in Spring Data MongoDB 4.0.
Switch from getMappingBasePackage() to getMappingBasePackages().
2022-02-07 10:00:47 +01:00
Mark Paluch
50511d1789 Externalize build properties.
Closes #2103.
2022-02-07 09:22:06 +01:00
Mark Paluch
a8391088b6 After release cleanups.
See #2096
2022-01-14 14:43:24 +01:00