Commit Graph

960 Commits

Author SHA1 Message Date
Mark Paluch
70d6bb241a DATAREST-1185 - Release version 2.6.11 (Ingalls SR11). 2018-04-04 14:21:29 +02:00
Mark Paluch
26d6618324 DATAREST-1185 - Prepare 2.6.11 (Ingalls SR11). 2018-04-04 14:20:47 +02:00
Mark Paluch
82b833202c DATAREST-1185 - Updated changelog. 2018-04-04 14:20:44 +02:00
Oliver Gierke
83eba22a36 DATAREST-1222 - Switched to SimpleEvaluationContext for SpEL-based PATCH handling. 2018-03-28 09:56:22 +02:00
Oliver Gierke
4c71f818b6 DATAREST-1219 - Removed explicit declaration of Jackson library versions. 2018-03-27 19:54:28 +02:00
Oliver Gierke
7c328797f8 DATAREST-1219 - Removed explicit declaration of Jackson library versions. 2018-03-27 19:47:42 +02:00
Oliver Gierke
9063881f14 DATAREST-1215 - Added project.root configuration to make JavaDoc generation work again.
Related ticket: https://github.com/spring-projects/spring-data-build/issues/527.
2018-03-14 10:07:30 +01:00
Mark Paluch
e63b7c2b4e DATAREST-1200 - Updated changelog. 2018-02-28 11:17:41 +01:00
Mark Paluch
4812fe22ff DATAREST-1187 - Updated changelog. 2018-02-19 20:30:10 +01:00
Christoph Strobl
d0f3033833 DATAREST-1141 - Updated changelog. 2018-02-06 11:13:59 +01:00
Mark Paluch
e4de581f29 DATAREST-1162 - Updated changelog. 2018-01-24 13:41:26 +01:00
Mark Paluch
e98886efc8 DATAREST-1161 - After release cleanups. 2018-01-24 11:40:30 +01:00
Mark Paluch
a219c1a297 DATAREST-1161 - Prepare next development iteration. 2018-01-24 11:40:28 +01:00
Mark Paluch
f916233f41 DATAREST-1161 - Release version 2.6.10 (Ingalls SR10). 2018-01-24 11:19:08 +01:00
Mark Paluch
e3b407bfca DATAREST-1161 - Prepare 2.6.10 (Ingalls SR10). 2018-01-24 11:18:29 +01:00
Mark Paluch
f7a5545a80 DATAREST-1161 - Updated changelog. 2018-01-24 11:18:26 +01:00
Tobias Weiß
f3a0e111e6 DATAREST-1176 - RepositoryRestConfiguration now allows to disable the default exposure.
The default exposure of repository methods is now controlled via RepositoryRestConfiguration.setExposeRepositoryMethodsByDefault(…). If set to true (the default), a repository that is detected for exposure (which in turn can be controlled via RepositoryDetectionStrategy) will have default resources exposed in case of the mere presence of CRUD methods. Setting this to false will require you to explicitly annotated those methods with @RestResource.

Added RepositoryRestConfiguration.disableDefaultExposure() to set the RepositoryDetectionStategy to ANNOTATED and disables default method exposure in one go. That can be exposed via a Spring Boot configuration property downstream.
2018-01-24 09:14:15 +01:00
Simon Allegraud
ce17416e16 DATAREST-1181 - Prevent NullPointerException during JsonLateObjectEvaluator.evaluate(…).
Original pull request: #287.
2018-01-18 13:49:46 +01:00
Oliver Gierke
9b0f0c7101 DATAREST-1174 - Enable constructor properties to make sure WrappedPropertiesUnitTests continue to work.
Removed Lombok constructor and accessor generation to avoid having to deal with the changed default in Lombok 1.16.20 not generating @ConstructorProperties by default anymore.
2018-01-10 12:53:57 +01:00
Mark Paluch
623075adeb DATAREST-1157 - Updated changelog. 2017-11-27 16:43:45 +01:00
Mark Paluch
ac34940a58 DATAREST-1150 - After release cleanups. 2017-11-27 15:56:40 +01:00
Mark Paluch
c07fc27f63 DATAREST-1150 - Prepare next development iteration. 2017-11-27 15:56:38 +01:00
Mark Paluch
6f83d86552 DATAREST-1150 - Release version 2.6.9 (Ingalls SR9). 2017-11-27 15:17:06 +01:00
Mark Paluch
970c0dcad5 DATAREST-1150 - Prepare 2.6.9 (Ingalls SR9). 2017-11-27 15:16:09 +01:00
Mark Paluch
1ad169f57b DATAREST-1150 - Updated changelog. 2017-11-27 15:16:06 +01:00
Oliver Gierke
5039bdadc8 DATAREST-1159 - Fixed link to contribution guidelines in Spring Data Build. 2017-11-17 15:21:36 +01:00
Oliver Gierke
6278da28ad DATAREST-1140 - Updated changelog. 2017-10-27 16:36:55 +02:00
Oliver Gierke
1bc7982d52 DATAREST-1152 - Overhaul of patch expression handling.
Significantly refactored the way that patch path expressions are handled and evaluated. The new design is centered around SpelPath that is aware of the original path as well as the derived SpEL expression. That SpelPath then requires clients to bind it to a type so that the original path can be validated (and rejected if invalid) and provide API to read, set, copy and move values backed by the original path. Both SpelPath and TypedSpelPath instances are cached to avoid repeated creation.

PatchOperation implementations now provide more fluent factory methods, in some cases via intermediate builders. Removed a lot of obsolete code that created JsonNodes from a list of PatchOperations as we don't actually use that functionality anywhere. Removed obsolete generics where possible.
2017-10-25 17:35:29 +02:00
Simmo Saan
28bb6abfea DATAREST-1148 - Fix eager toString() call on domain object in ResourceStatus.
Originl pull request: #282.
2017-10-12 23:12:50 +02:00
Oliver Gierke
80e2fc3a3a DATAREST-1128 - After release cleanups. 2017-10-11 19:00:16 +02:00
Oliver Gierke
9cf10c6a7f DATAREST-1128 - Prepare next development iteration. 2017-10-11 19:00:12 +02:00
Oliver Gierke
0eab5ea1a2 DATAREST-1128 - Release version 2.6.8 (Ingalls SR8). 2017-10-11 16:42:43 +02:00
Oliver Gierke
7f69c69809 DATAREST-1128 - Prepare 2.6.8 (Ingalls SR8). 2017-10-11 16:41:09 +02:00
Oliver Gierke
c1a2489c91 DATAREST-1128 - Updated changelog. 2017-10-11 16:41:03 +02:00
Oliver Gierke
d47e87aee0 DATAREST-1006 - Polishing.
Fixed assertions to use Hamcrest instead of AssertJ.
2017-10-10 09:28:08 +02:00
Oliver Gierke
dde3d18f41 DATAREST-1006 - Polishing.
Added unit test on MappingProperties directly.

Original pull request: #258.
2017-10-04 11:35:11 +02:00
Mathias Düsterhöft
7704a435d9 DATAREST-1006 - MappedProperties now skips all ignored properties.
Original pull request: #258.
2017-10-04 11:35:08 +02:00
Mark Paluch
377ea346c8 DATAREST-1129 - Updated changelog. 2017-10-02 11:41:36 +02:00
Oliver Gierke
d330455e53 DATAREST-1137 - All patch operations now verify path expressions.
We now make sure that all patch operations now get the path they're supposed to be applied to verified before execution.
2017-09-25 19:11:22 +02:00
Oliver Gierke
1b959bd8f4 DATAREST-1132 - Fixed @BasePathAwareController annotation lookup from CGLib proxies.
We now inspect the user class of the given bean type in BasePathAwareHandlerMapping.isHandler(…). We can't use AnnotationUtils as @RepositoryRestController is also annotated with @BasePathAwareController but must not be handled by this mapping.
2017-09-25 12:02:55 +02:00
Oliver Gierke
cde2155a88 DATAREST-1112 - Updated changelog. 2017-09-11 17:42:49 +02:00
Mark Paluch
ac4de647a4 DATAREST-1114 - After release cleanups. 2017-09-11 12:23:36 +02:00
Mark Paluch
bcd5ea30ca DATAREST-1114 - Prepare next development iteration. 2017-09-11 12:23:35 +02:00
Mark Paluch
d1db334163 DATAREST-1114 - Release version 2.6.7 (Ingalls SR7). 2017-09-11 11:45:05 +02:00
Mark Paluch
66a967c63a DATAREST-1114 - Prepare 2.6.7 (Ingalls SR7). 2017-09-11 11:44:20 +02:00
Mark Paluch
e88832b3c8 DATAREST-1114 - Updated changelog. 2017-09-11 11:44:18 +02:00
Oliver Gierke
824e51a130 DATAREST-1127 - Patch operations now always verify paths before operation application.
Previously, the SpEL expression created from JSON Patch path expressions were executed without double checking whether these paths actually exist on the target object in the first place. This check is now in place.
2017-09-08 12:00:30 +02:00
Oliver Gierke
c575757093 DATAREST-1121 - Skip last modified detection for query methods that project.
For an execution of a projecting query method we now skip the last modified detection as it actually doesn't make sense if applied to non-aggregates.
2017-08-24 21:50:31 +02:00
Oliver Gierke
018b252165 DATAREST-1110 - After release cleanups. 2017-07-27 00:21:40 +02:00
Oliver Gierke
2fcfba09cc DATAREST-1110 - Prepare next development iteration. 2017-07-27 00:15:08 +02:00