Commit Graph

875 Commits

Author SHA1 Message Date
Jens Schauder
480d31427b Prepare next development iteration.
See #2390
2024-07-12 13:36:34 +02:00
Jens Schauder
022ace3898 Release version 4.2.8 (2023.1.8).
See #2390
2024-07-12 13:33:06 +02:00
Mark Paluch
91baa4d039 Prepare next development iteration.
See #2385
2024-06-14 10:06:42 +02:00
Mark Paluch
99f643ff11 Release version 4.2.7 (2023.1.7).
See #2385
2024-06-14 10:04:21 +02:00
Mark Paluch
4bbdfac6e0 Prepare next development iteration.
See #2381
2024-05-17 11:24:37 +02:00
Mark Paluch
89faab7f9c Release version 4.2.6 (2023.1.6).
See #2381
2024-05-17 11:22:24 +02:00
Mark Paluch
9af3c98203 Prepare next development iteration.
See #2375
2024-04-12 10:17:28 +02:00
Mark Paluch
4dbfec293b Release version 4.2.5 (2023.1.5).
See #2375
2024-04-12 10:15:11 +02:00
Mark Paluch
e9e9985fdf Prepare next development iteration.
See #2367
2024-03-15 10:20:08 +01:00
Mark Paluch
ce783949f7 Release version 4.2.4 (2023.1.4).
See #2367
2024-03-15 10:17:49 +01:00
Mark Paluch
b464cc4fa0 Prepare next development iteration.
See #2354
2024-02-16 13:53:51 +01:00
Mark Paluch
2f04f004c1 Release version 4.2.3 (2023.1.3).
See #2354
2024-02-16 13:50:30 +01:00
Oliver Drotbohm
cebd491760 Properly append all superfluous elements to an array during merge patch.
Fixes GH-2357.
2024-01-19 18:36:25 +01:00
Oliver Drotbohm
d9e5fa5022 Fix broken merge of nested arrays.
Fixes GH-2350.
2024-01-15 17:14:37 +01:00
Mark Paluch
b12fad6df7 Prepare next development iteration.
See #2345
2024-01-12 10:54:31 +01:00
Mark Paluch
190a9c0de5 Release version 4.2.2 (2023.1.2).
See #2345
2024-01-12 10:51:32 +01:00
Mark Paluch
ee17e78469 Extend license header copyright years to 2024.
See #2348
2024-01-02 13:54:44 +01:00
Mark Paluch
9def53fed7 Prepare next development iteration.
See #2332
2023-12-15 14:15:19 +01:00
Mark Paluch
adf0ecaad5 Release version 4.2.1 (2023.1.1).
See #2332
2023-12-15 14:11:52 +01:00
Oliver Drotbohm
7e4fc926db Polish Javadoc.
Related ticket GH-1947.
2023-12-15 12:33:58 +01:00
Oliver Drotbohm
e612cd0b27 Fix potential NullPointerException in ProjectionSerializer.
Fixes GH-1947.
2023-12-15 12:19:18 +01:00
Oliver Drotbohm
630d610936 Fix BasePathAwareHandlerMappingUnitTests.
Fixes GH-2338.
2023-12-13 17:45:17 +01:00
Mark Paluch
4caf6079b2 Prepare next development iteration.
See #2321
2023-11-17 14:33:54 +01:00
Mark Paluch
7248dc016a Release version 4.2 GA (2023.1.0).
See #2321
2023-11-17 14:29:59 +01:00
Oliver Drotbohm
5b05e59ce4 Runtime hints to include rest-messages files.
Fixes GH-2330.
2023-11-16 15:11:58 +01:00
Oliver Drotbohm
d6f0f3aa99 Properly merge non-entity arrays.
Fixes #2325.
2023-11-16 15:01:03 +01:00
John Blum
22428a51a7 Prepare next development iteration.
See #2310
2023-10-13 08:51:59 -07:00
John Blum
cb4277ec11 Release version 4.2 RC1 (2023.1.0).
See #2310
2023-10-13 08:44:25 -07:00
Mark Paluch
cc7060a9a6 Prepare next development iteration.
See #2303
2023-09-15 14:59:01 +02:00
Mark Paluch
597ee76830 Release version 4.2 M3 (2023.1.0).
See #2303
2023-09-15 14:59:01 +02:00
Oliver Drotbohm
1fadf164ae Reinstate new object addition for collections in patch operations.
The removal of manual collection value appendance for primitives in the context of GH-2261 lead to complex object to be appended onto a collection not being deserialized at all. This deserialization is now reinstantiated with the value to be added looked up by reading the parent node into the collections element type using a JSON Pointer expression of /$propertyName/$index. This is done to make sure that @JsonDeserialize annotations on the property kick in for the deserialization of the individual elements.

We now also shortcut the entire merge algorithm for collections that are empty, contain primitives or enums.

Fixes GH-2287.
2023-08-30 21:34:46 +02:00
Julia Lee
388475d40f Prepare next development iteration.
See #2290
2023-08-18 08:59:36 -04:00
Julia Lee
b4ae1635e1 Release version 4.2 M2 (2023.1.0).
See #2290
2023-08-18 08:50:32 -04:00
Mark Paluch
69f6edbabd Prepare next development iteration.
See #2260
2023-07-14 14:57:11 +02:00
Mark Paluch
108ab2af8f Release version 4.2 M1 (2023.1.0).
See #2260
2023-07-14 14:53:19 +02:00
Mark Paluch
aa7262b038 Delombok code.
Closes #2286
2023-07-07 14:51:03 +02:00
Oliver Drotbohm
36300cfa1f Fix regression in PUT handling for empty nested documents.
The fix for #2174 introduced a bug for our PUT handling of nested documents in case the target object's field value is null as it would only apply the nested value if all Optionals were present. This is, of course not the case.

Fixes #2264.
2023-06-12 11:38:28 +02:00
Oliver Drotbohm
d6d8c50592 Avoid manually handling additional primitive elements in collection merging for PATCHes.
Fixes #2261.
2023-05-23 16:22:24 +02:00
Christoph Strobl
73738bb3c0 Prepare next development iteration.
See #2255
2023-05-12 14:18:52 +02:00
Christoph Strobl
e1877c3f9f Release version 4.1 GA (2023.0.0).
See #2255
2023-05-12 14:14:39 +02:00
Oliver Drotbohm
9020e1d10d Upgrade optional Jackson/JPA integration to Hibernate 6.
Fixes #2234.
2023-05-03 23:01:57 +02:00
Will Fleury
816ca84e70 Populate custom ExceptionHandlerExceptionResolver with ApplicationContext.
Fixes #2245.
Original pull request #2246.
2023-05-03 17:05:52 +02:00
Greg L. Turnquist
3a7c81df17 Prepare next development iteration.
See #2243
2023-04-14 11:59:58 -05:00
Greg L. Turnquist
2039a15e59 Release version 4.1 RC1 (2023.0.0).
See #2243
2023-04-14 11:54:00 -05:00
Christoph Strobl
e5bc3be69a Prepare next development iteration.
See #2229
2023-03-20 15:05:34 +01:00
Christoph Strobl
00884c09c7 Release version 4.1 M3 (2023.0.0).
See #2229
2023-03-20 15:01:48 +01:00
Oliver Drotbohm
e4bca534bf Support to receive aggregate references as request parameters.
We now support using AggregateReference as type to bind request parameters taking URIs pointing to related aggregates. The default resolution will try to resolve the entire URI via UriToEntityConverter but one can also provide a function that can extract any part of the URI to be then resolved into either an identifier, aggregate instance or jMolecules Association against the ConversionService.

Fixes #2239.
2023-03-19 23:56:39 +01:00
Oliver Drotbohm
6d0034f15f Support for query methods returning a Slice.
Built on the the just introduced RepresentationModelAssembler implementations based on Slice in Spring HATEOAS and Spring Data Commons we now support returning a SlicedModel from the controller backing search resources ultimately triggering repository query methods.

The introduction triggered the refactoring to introduce RepresentationModelAssemblers (RMA) to remove the need for controllers inheriting from AbstractRepositoryController to access RepresentationModel assembly functionality. RMA acts as a facade for both Paged-/SlicedResourceAssembler as well as PersistentEntityResourceAssembler.

Fixes #2235.
2023-03-02 17:20:09 +01:00
Oliver Drotbohm
fb1924286a 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:19 +01:00
Oliver Drotbohm
d02d1bb0c1 Support for returning response bodies on deletion of item resources.
RepositoryRestConfiguration now allows to configure to return a response body for the deletion of item resources. The controller implementation follows the same patter we have already established for creation and updates: unless explicitly enabled or disabled we now consider the presence of an accept header as indicator of whether a response body should be rendered.

This could be a "breaking" change for clients having explicitly expected 204 until now even for requests with an Accept header. If that's an issue, those should either explicitly disable the setting, do not submit an Accept header or loosen their expectations to expect either 200 or 2xx as indicator of success in general.

Fixes #2225.
2023-02-21 17:25:28 +01:00