Commit Graph

1641 Commits

Author SHA1 Message Date
Mark Paluch
24070f2b59 Upgrade to Maven Wrapper 3.8.7.
See #2221
2023-01-30 10:48:17 +01:00
Oliver Drotbohm
0db1adadd0 Register StdValueInstantiator._constructorArguments for reflection.
The field is looked up by reflection in ValueInstantiatorCustomizer.

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

Fixes #2218.
2023-01-18 10:02:13 +01:00
Oliver Drotbohm
0938b9726e Fix links to Spring Framework's CORS documentation.
Fixes #2215.
2023-01-09 17:00:49 +01:00
Oliver Drotbohm
77c0322d1b Upgrade test source compile level to Java 17.
Also, remove custom Jackson library version for Hibernate integration.
2023-01-09 16:47:53 +01:00
Oliver Drotbohm
b77f6cead7 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:41:48 +01:00
Oliver Drotbohm
1bfa83cb73 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:31:57 +01:00
Oliver Drotbohm
2c8ff9fe04 Upgrade to HAL Explorer 1.2.
Fixes GH-2214.
2023-01-06 20:02:01 +01:00
Mark Paluch
f0e86b9a17 Extend license header copyright years to 2023.
See #2211
2023-01-02 09:53:37 +01:00
Christoph Strobl
6f68fe814f Add Nullable annotation to parameter of overridden equals method.
Closes: #2196
Original pull request: #2197
2022-12-02 11:16:15 +01:00
Mark Paluch
a9bfcfeb57 Update CI properties.
See #2204
2022-11-18 15:31:11 +01:00
Mark Paluch
3e762efbdd After release cleanups.
See #2190
2022-11-18 14:30:20 +01:00
Mark Paluch
98aefe0c85 Prepare next development iteration.
See #2190
2022-11-18 14:30:19 +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
Mark Paluch
fd5715c829 Release version 4.0 RC2 (2022.0.0).
See #2192
2022-11-04 15:23:17 +01:00
Mark Paluch
009fd1d158 Prepare 4.0 RC2 (2022.0.0).
See #2192
2022-11-04 15:23:07 +01:00
Mark Paluch
3e5895fd16 Update CI properties.
See #2192
2022-10-31 10:36:35 +01:00
Christoph Strobl
b3e8489085 Added AOT metadata.
We now register @BasePathAwareController instances for class proxy generation. Also, we scan the packages of repository definitions for projection interfaces to register reflective access for them.

Fixes #2183.
2022-10-27 11:50:57 +02:00
Mark Paluch
f48ab5a44a After release cleanups.
See #2180
2022-10-13 17:31:16 +02:00
Mark Paluch
9c05312d36 Prepare next development iteration.
See #2180
2022-10-13 17:31:15 +02:00
Mark Paluch
47f2ac1a8a Release version 4.0 RC1 (2022.0.0).
See #2180
2022-10-13 17:24:25 +02:00
Mark Paluch
406e131ca1 Prepare 4.0 RC1 (2022.0.0).
See #2180
2022-10-13 17:24:04 +02:00
Mark Paluch
ce64c552a3 Remove Geode tests.
Closes #2189
2022-10-13 16:37:43 +02:00
Mark Paluch
a72a767bcf Switch to Jackson Hibernate module 2.13.4.
This is because the micropatch hasn't released the Hibernate module.

See #2180
2022-10-13 09:05:30 +02:00
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