Commit Graph

1021 Commits

Author SHA1 Message Date
Oliver Gierke
b2da264bea DATAREST-1267 - Release version 3.1 RC2 (Lovelace). 2018-08-20 10:40:11 +02:00
Oliver Gierke
380cfa5413 DATAREST-1267 - Prepare 3.1 RC2 (Lovelace). 2018-08-20 10:39:43 +02:00
Oliver Gierke
5b93ee684b DATAREST-1267 - Updated changelog. 2018-08-20 10:39:40 +02:00
Oliver Gierke
88b73de3b7 DATAREST-1274 - JsonPatch paths now properly verify multi-digit indexes. 2018-08-08 08:44:43 +02:00
Oliver Gierke
5635479dd1 DATAREST-1248 - SortTranslator now considers read-only properties sortable.
MappedProperties now exposes a factory method that uses the Jackson introspector for serialization (instead of deserialization) which now also includes read-only properties. Previously, read-only ones were not considered as they are excluded from the metadata if it is looked up for deserialization.
2018-08-07 15:43:50 +02:00
Oliver Gierke
501ddda59f DATAREST-1273 - Properly support adding to collections via indexes in JsonPatch expressions.
We now support adding a to a collection via JsonPatch expressions by using the collection's size as target index. Contrary to paths pointing to existing collection elements we cannot determine the type of the object to be created. Thus, we fall back to the common element type of all existing collection elements. We also reject indexes pointing to elements with an index greater than the current collection's size.
2018-08-07 10:47:41 +02:00
Mark Paluch
5bc96aa3bd DATAREST-1252 - Updated changelog. 2018-07-27 11:45:24 +02:00
Mark Paluch
3da4d94181 DATAREST-1254 - Updated changelog. 2018-07-26 16:23:58 +02:00
Mark Paluch
826c4a669d DATAREST-1245 - After release cleanups. 2018-07-26 12:32:28 +02:00
Mark Paluch
fd5cb8342a DATAREST-1245 - Prepare next development iteration. 2018-07-26 12:32:25 +02:00
Mark Paluch
a9aeb856fd DATAREST-1245 - Release version 3.1 RC1 (Lovelace). 2018-07-26 12:06:35 +02:00
Mark Paluch
20165017a6 DATAREST-1245 - Prepare 3.1 RC1 (Lovelace). 2018-07-26 12:04:30 +02:00
Mark Paluch
633a3bbb41 DATAREST-1245 - Updated changelog. 2018-07-26 12:04:26 +02:00
Mark Paluch
6aa6d3c92f DATAREST-1256 - Upgrade to Spring HATEOAS 0.25.0. 2018-07-26 08:49:27 +02:00
Mark Paluch
2ac02ddc86 DATAREST-1264 - Adapt to changed forwarded header behavior.
Forwarding headers handling is now centralized in ForwardedHeaderFilter and removed from ServletUriComponentsBuilder. We need to filter requests containing forwarding with ForwardedHeaderFilter.
2018-07-24 12:29:49 +02:00
Oliver Gierke
781e1affe2 DATAREST-1261 - Fixed invalid fallback to default delegate in UnwrappingRepositoryInvoker.invokeFindById(…).
Previously we fell back to the default by-id lookup even if a custom entity lookup was defined but returned an empty result.
2018-07-12 22:36:56 +02:00
Oliver Gierke
429706a77e DATAREST-1260 - Tweaked DomainObjectReader to support immutable entities.
DomainObjectReader now aborts the recursive merges in case it encounters an entity that's described as @Immutable (just introduced in Spring Data Commons).

Fixed some generics and removed DomainObjectMerger as it's unused.

Related ticket: DATACMNS-1322.
2018-07-12 10:30:54 +02:00
Oliver Gierke
c644eb979f DATAREST-1259 - Removed obsolete bean definition for HttpRequestHandlerAdapter. 2018-07-10 12:33:28 +02:00
Oliver Gierke
29ec187d48 DATAREST-811 - Improved documentation mentioning @Version in ETag calculation.
We now explain in detail which @Version annotation to use as it depends on which store is backing the entity.

Original pull request: #295.
2018-07-04 16:35:08 +02:00
Florian Lüdiger
3960318d36 DATAREST-811 - Fix incorrect @Version documentation.
Original pull request: #295.
2018-07-04 16:35:08 +02:00
Florian Lüdiger
10dedaefa3 DATAREST-810 - Fix minor typo in Javadoc.
Original pull request: #295.
2018-07-04 16:34:58 +02:00
Oliver Gierke
6ee2b1374a DATAREST-1256 - Upgraded to Spring HATEOAS 0.25.0.BUILD-SNAPSHOT.
Adapted RepositoryRestMvcConfiguration to now create a shared fallback ObjectMapper and avoid to register it as Spring Bean. Adapted test cases that previously were relying on such a bean being present.

Adapted test cases to verify on the correct ALPS document structure (see spring-projects/spring-hateoas#665).
2018-06-20 20:01:57 +02:00
Mark Paluch
3f208b3965 DATAREST-1244 - Updated changelog. 2018-06-13 21:39:54 +02:00
Mark Paluch
e17a2a9e25 DATAREST-1243 - Updated changelog. 2018-06-13 15:01:59 +02:00
Oliver Gierke
9f3443cde9 DATAREST-1251 - PersistentEntityProjector now uses lambdas instead of anonymous inner classes. 2018-06-13 14:44:10 +02:00
Oliver Gierke
7323b950b6 DATAREST-1198 - Polishing.
Fixed @since tag in new converter implementation as we're going to backport the fix to Kay. Simplified converter setup in RepositoryRestMvcConfiguration to expose less API until someone actually requests access.

Original pull request: #290.
2018-06-13 10:14:44 +02:00
Mark Paluch
65ad7cd3e1 DATAREST-1198 - Add Converter to convert String to javax.naming.ldap.LdapName.
We now provide and configure a converter for String to LdapName conversion so Spring Data LDAP can be used with Spring Data REST without further configuration.

Original pull request: #290.
2018-06-13 10:14:44 +02:00
Oliver Gierke
843540b746 DATAREST-1250 - Polishing.
Added unit test to verify new behavior and prevent regressions. Fixed author capitalization.
2018-06-05 10:11:37 +02:00
tigger
0cc1f22741 DATAREST-296 - ResourceMetadataHandlerMethodArgumentResolver now properly implements ….supports(…).
ResourceMetadataHandlerMethodArgumentResolver.supports(…) now properly checks for ResourceMetadata. It previously checked for RepositoryInformation which is probably a left-over from a previous state of the codebase and has been unnoticed so far as the class is only used as a direct dependency of other HandlerMethodArgumentResolvers.
2018-06-05 10:04:08 +02:00
Oliver Gierke
17c8c7ee2c DATAREST-1249 - Polishing. 2018-05-30 11:04:37 +02:00
Oliver Gierke
b61cb9ab28 DATAREST-1249 - DomainObjectMerger now properly binds to uninitialized target collections. 2018-05-30 10:40:34 +02:00
Oliver Gierke
a1454058d9 DATAREST-948 - Introduced ExposureConfiguration to allow customizing the exposure of HTTP methods of repositories.
ExposureConfiguration exposes methods to register AggregateResourceHttpMethodsFilter and AssociationResourceHttpMethodsFilter (both applied by type or globally) to customize the supported HTTP methods by collection, item and association resources. It also provides shortcuts for common use cases like disabling PUT for item resources etc.
2018-05-30 10:40:28 +02:00
Jay Bryant
3cc1af4939 DATAREST-1246 - Full edit of the reference docs.
I edited for grammar, punctuation, spelling, usage, and corporate voice. I also added the epub-cover image (and the SVG file from which it can be generated).
2018-05-25 12:06:36 -05:00
Christoph Strobl
8346e84537 DATAREST-1230 - After release cleanups. 2018-05-17 10:09:36 +02:00
Christoph Strobl
769a48d073 DATAREST-1230 - Prepare next development iteration. 2018-05-17 10:09:34 +02:00
Christoph Strobl
108d9106b8 DATAREST-1230 - Release version 3.1 M3 (Lovelace). 2018-05-17 09:51:42 +02:00
Christoph Strobl
cf1d6f47d0 DATAREST-1230 - Prepare 3.1 M3 (Lovelace). 2018-05-17 09:50:48 +02:00
Christoph Strobl
348b23f1ad DATAREST-1230 - Updated changelog. 2018-05-17 09:50:45 +02:00
Mark Paluch
3cc5b46fbd DATAREST-1227 - Updated changelog. 2018-05-08 15:27:22 +02:00
Mark Paluch
e7c36ce948 DATAREST-1226 - Updated changelog. 2018-05-08 12:22:52 +02:00
Mark Paluch
3438d168df DATAREST-1231 - Upgrade to Solr 7.2.1. 2018-04-13 15:53:51 +02:00
Mark Paluch
0daa25e330 DATAREST-1196 - After release cleanups. 2018-04-13 15:08:34 +02:00
Mark Paluch
6a968d0f9c DATAREST-1196 - Prepare next development iteration. 2018-04-13 15:08:32 +02:00
Mark Paluch
c2327c4ff2 DATAREST-1196 - Release version 3.1 M2 (Lovelace). 2018-04-13 14:30:58 +02:00
Mark Paluch
b14cd0d97d DATAREST-1196 - Prepare 3.1 M2 (Lovelace). 2018-04-13 14:30:01 +02:00
Mark Paluch
aae903d49d DATAREST-1196 - Updated changelog. 2018-04-13 14:29:58 +02:00
Mark Paluch
9a26f2a9fd DATAREST-1206 - Updated changelog. 2018-04-04 17:12:54 +02:00
Oliver Gierke
e76e5dd4f2 DATAREST-1225 - Upgrade to Spring Security 5.0.3 for integration tests. 2018-04-04 15:44:20 +02:00
Mark Paluch
081a8ddbdd DATAREST-1185 - Updated changelog. 2018-04-04 15:16:22 +02:00
Oliver Gierke
7eaf50d997 DATAREST-1222 - Switched to SimpleEvaluationContext for SpEL-based PATCH handling. 2018-03-28 09:56:50 +02:00