Commit Graph

343 Commits

Author SHA1 Message Date
Mark Paluch
2a594d0d57 Release version 4.0 M1 (2022.0.0).
See #2096
2022-01-14 14:35:11 +01:00
Jens Schauder
ee317f1b91 Remove Eclipse Non-Javadoc comments.
Closes #2093
2022-01-05 13:40:05 +01:00
Oliver Drotbohm
3966ce83e5 Prepare 4.0 development.
Fixes #2068.
2021-11-30 18:56:50 +01:00
Jens Schauder
87b2601b27 Prepare next development iteration.
See #2079
2021-11-12 10:59:42 +01:00
Jens Schauder
e31c9d49bf Release version 3.6 GA (2021.1.0).
See #2079
2021-11-12 10:49:37 +01:00
Mark Paluch
f556973a6c Prepare next development iteration.
See #2066
2021-10-18 13:55:39 +02:00
Mark Paluch
cecc161fe6 Release version 3.6 RC1 (2021.1.0).
See #2066
2021-10-18 13:48:15 +02:00
Oliver Drotbohm
1828a6a2a7 Switch to JUnit 5.
Issue #2075.
2021-10-12 22:29:45 +02:00
Oliver Drotbohm
c0125c99a8 Qualify references to ResourceType.COLLECTION to avoid ambiguities to AssertJ in tests.
Fixes #2071.
2021-10-06 12:35:09 +02:00
Oliver Drotbohm
c6b77e3dd9 Polish Javadoc to prepare builds with JDK 17.
Issue #2068.
2021-09-21 16:36:26 +02:00
Mark Paluch
0cb5c3289f Prepare next development iteration.
See #2052
2021-09-17 09:52:19 +02:00
Mark Paluch
907b15e83b Release version 3.6 M3 (2021.1.0).
See #2052
2021-09-17 09:44:58 +02:00
Oliver Drotbohm
78cdba8225 Upgrade to EvoInflector 1.3.
Fixes #2062
2021-09-16 14:41:55 +02:00
Jens Schauder
4f9ccaac0e Prepare next development iteration.
See #2046
2021-08-12 15:16:22 +02:00
Jens Schauder
f8bdb374ea Release version 3.6 M2 (2021.1.0).
See #2046
2021-08-12 15:03:18 +02:00
Jens Schauder
5e08842c1b Prepare next development iteration.
See #2001
2021-07-16 14:19:56 +02:00
Jens Schauder
8d0e00be94 Release version 3.6 M1 (2021.1.0).
See #2001
2021-07-16 14:09:26 +02:00
Oliver Drotbohm
b678ce6bc9 PersistentEntitiesResourceMapping.hasMappingFor(…) should lookup metadata on cache miss. 2021-07-13 09:27:03 +02:00
Oliver Drotbohm
940a676e6d RepositoryResourceMappings now processes all entities to detect repository mappings.
We now consider all registered PersistentEntity instances and try to detect repository metadata for them. A case we didn't cover before was that a repository was declared for an aggregate super type but the actual child aggregate class didn't have a dedicated repository declared. While this is a perfectly valid scenario, the mapping information was broken as it fell back on the plain domain type information and produced paths and relation names derived from that, even if there's a super type repository available.

Thus, solely traversing the aggregate types we have repositories registered for is not enough. We now traverse all known PersistentEntity types and also register repository metadata for all types that are assignable to a known domain type. The latter is actually implemented in Spring Data Commons' Repositories via spring-projects/spring-data-commons#2406.
2021-07-07 16:20:09 +02:00
Mark Paluch
0a31ef1d84 Prepare next development iteration.
See #1992
2021-04-14 14:30:12 +02:00
Mark Paluch
8a690929f0 Release version 3.5 GA (2021.0.0).
See #1992
2021-04-14 14:18:49 +02:00
Oliver Drotbohm
21ed68262f Properly handle associations in nested entities.
Nested entities that contain a reference to an aggregate root get a link to that attached to their representation. Previously, the creation of those links assumed that the reference is a materialized instance of the remote aggregate. That's now altered to be able to deal with associations, use identifiers directly or materialize to an intermediate aggregate instance to potentially use a custom lookup.
2021-04-07 20:07:53 +02:00
Oliver Drotbohm
20cb33512e Fixed potential NullPointerException in PersistentPropertyResourceMapping.isExported().
Fixes GH-1994.
2021-04-07 20:07:53 +02:00
Mark Paluch
8e42a2a221 Prepare next development iteration.
See #1976
2021-03-31 17:24:04 +02:00
Mark Paluch
d77e5192d8 Release version 3.5 RC1 (2021.0.0).
See #1976
2021-03-31 17:05:09 +02:00
Mark Paluch
0f93b050ce Prepare next development iteration.
See #1986
2021-03-17 11:30:29 +01:00
Mark Paluch
54696d4d5f Release version 3.5 M5 (2021.0.0).
See #1986
2021-03-17 11:17:50 +01:00
Oliver Drotbohm
cb75eaee90 #1974 - Polishing.
Deprecated configuration methods on RepositoryRestConfiguration for better naming.
2021-02-18 14:04:34 +01:00
Oliver Drotbohm
517bb5f202 #1974 - Improve default LinkRelationProvider setup to also consider @Relation.
RepositoryRestConfiguration now defaults the LinkRelationProvider instance to a delegating one considering both AnnotationLinkRelationProvider and EvoLinkRelationProvider so that @Relation annotations on entity types.
2021-02-18 14:04:34 +01:00
Christoph Strobl
08ca20422d Prepare next development iteration.
See #1978
2021-02-18 11:35:21 +01:00
Christoph Strobl
d03e364294 Release version 3.5 M4 (2021.0.0).
See #1978
2021-02-18 11:25:13 +01:00
Christoph Strobl
d5d2659a24 Prepare next development iteration.
See #1954
2021-02-17 14:17:48 +01:00
Christoph Strobl
44b93173a7 Release version 3.5 M3 (2021.0.0).
See #1954
2021-02-17 14:00:09 +01:00
Christoph Strobl
6384110dab Prepare next development iteration.
See #1944
2021-01-13 15:46:58 +01:00
Christoph Strobl
e2523e35d0 Release version 3.5 M2 (2021.0.0).
See #1944
2021-01-13 15:34:04 +01:00
Mark Paluch
7afe7f1a9c Update copyright year to 2021.
Closes #1952
2021-01-12 11:45:16 +01:00
Mark Paluch
fba7b7bd55 DATAREST-1578 - Prepare next development iteration. 2020-12-09 15:32:17 +01:00
Mark Paluch
2b61b8640f DATAREST-1578 - Release version 3.5 M1 (2021.0.0). 2020-12-09 15:21:57 +01:00
Oliver Drotbohm
328ea26244 DATAREST-1542 - Remove dependency to Spring WebMVC from core module.
Finally remove the dependency to Spring WebMVC from Spring Data REST's core module. Removed previously deprecated methods and update test configuration applying customizations.

Related tickets: DATAREST-1543.
2020-11-30 13:55:52 +01:00
Mark Paluch
378a7d3971 DATAREST-1570 - Prepare next development iteration. 2020-10-28 16:10:22 +01:00
Mark Paluch
3a05cca9b6 DATAREST-1570 - Release version 3.4 GA (2020.0.0). 2020-10-28 15:46:57 +01:00
Christoph Strobl
f301dcc0bc DATAREST-1562 - Prepare next development iteration. 2020-10-14 14:48:46 +02:00
Christoph Strobl
150ed4164e DATAREST-1562 - Release version 3.4 RC2 (2020.0.0). 2020-10-14 14:28:56 +02:00
Mark Paluch
0072676ab2 DATAREST-1554 - Prepare next development iteration. 2020-09-16 14:05:26 +02:00
Mark Paluch
8b2df69464 DATAREST-1554 - Release version 3.4 RC1 (2020.0.0). 2020-09-16 13:57:43 +02:00
Greg L. Turnquist
9737366174 DATAREST-1545 - Migrate away from proxy-based configuration. 2020-09-15 17:13:53 +02:00
Mark Paluch
5a57fafc2e DATAREST-1539 - Prepare next development iteration. 2020-08-12 12:00:21 +02:00
Mark Paluch
fe6192198a DATAREST-1539 - Release version 3.4 M2 (2020.0.0). 2020-08-12 11:52:06 +02:00
Oliver Drotbohm
bf401f7476 DATAREST-1553 - Removed deprecations introduced prior to 3.4.
Removed Java8PluginRegistry not in use anymore anyway. Same for RepositoryRestConfigurerAdapter. Deprecated legacy ResourceMappingUtils and its client code exposed in RepositoryRestConfiguration as it's also not considered anymore.
2020-08-11 17:44:36 +02:00
Oliver Drotbohm
b17fed5fa6 DATAREST-1523 - Delombok production sources.
Hacking.
2020-08-11 16:53:15 +02:00