Commit Graph

2228 Commits

Author SHA1 Message Date
Mark Paluch
f073c0d32e Updated changelog.
See #2301
2021-03-17 10:21:00 +01:00
Mark Paluch
13dfad12b9 Polishing.
Reformat code.

Original pull request: #2314.
Closes: #2313
2021-03-01 10:34:57 +01:00
Christoph Strobl
8460cfee5b Collect constructor type information via Constructor.getParameters().
This commit fixes an issue where we fail to detect all type arguments from a given constructor. calling getGenericParameterTypes in some cases does not include all Types, we now explicitly iterate over the parameters and extract the parameterized type that is used for creating the TypeInformation.

Closes: #2313
Original pull request: #2314.
2021-03-01 10:34:57 +01:00
Mark Paluch
26ac52e80d Document primitive type properties when using Query by Example.
Closes #2308.
2021-03-01 10:27:41 +01:00
Christoph Strobl
23d70d7ce4 Updated changelog.
See #2304
2021-02-18 11:37:43 +01:00
Christoph Strobl
102c0f2c4c Updated changelog.
See #2302
2021-02-18 11:18:26 +01:00
Christoph Strobl
8f5c250269 Updated changelog.
See #2272
2021-02-17 14:20:34 +01:00
Christoph Strobl
b3009db9cb Updated changelog.
See #2271
2021-02-17 13:49:16 +01:00
Christoph Strobl
a53b510d5b After release cleanups.
See #2257
2021-02-17 11:32:50 +01:00
Christoph Strobl
c405538b9f Prepare next development iteration.
See #2257
2021-02-17 11:32:48 +01:00
Christoph Strobl
62ed4a1f94 Release version 2.3.7 (Neumann SR7).
See #2257
2021-02-17 11:07:42 +01:00
Christoph Strobl
5349713dd0 Prepare 2.3.7 (Neumann SR7).
See #2257
2021-02-17 11:07:10 +01:00
Christoph Strobl
4f7ec07fcd Updated changelog.
See #2257
2021-02-17 11:07:02 +01:00
Christoph Strobl
90c9f9ec07 Updated changelog.
See #2255
2021-02-17 10:58:21 +01:00
Jan Zeppenfeld
4f3afba7bf Add test for Repositories verifying isPrimary flag.
See #1583.
Original pull request: #465.
2021-02-15 15:59:02 +01:00
Mark Paluch
25b135255e Consider primary repository definition in Repositories when created Repositories using ApplicationContext.
Closes #1583.
Original pull request: #465.
2021-02-15 15:59:02 +01:00
Mark Paluch
b8fdf3b8c7 Improve guards to avoid potential ClassCastException.
We now guard Slice conversion against potential ClassCastException using the proper condition grouping. Previously, the conversion could happen if the query is a slice query while the source was not a Slice.

Resolves #2296.
2021-02-15 15:31:58 +01:00
Mark Paluch
8a45a6535c Polishing.
Slightly tweak wording.

See #2283
Original pull request: #2285
2021-02-09 11:53:47 +01:00
Christoph Strobl
1227e4326e Update auditing documentation.
Mention that even when only using the CreatedDate & LastModifiedDate annotations it is mandatory to enable auditing.
Add sample of using auditing metadata within an embedded entity.

Closes #2283
Original pull request: #2285
2021-02-09 11:53:46 +01:00
Mark Paluch
6fe2c3a3b0 Add negative-caching in PreferredConstructor.isConstructorParameter(…).
We now cache the negative outcome of PreferredConstructor.isConstructorParameter(…) to avoid iterations and iterator allocations which roughly improves typical converter usage by roughly 32%.

Before:
Benchmark                                                               Mode  Cnt        Score        Error  Units
TypicalEntityReaderBenchmark.simpleEntityGeneratedConstructorAndField  thrpt   10  6848447,474 ± 554354,377  ops/s

After
Benchmark                                                               Mode  Cnt        Score         Error  Units
TypicalEntityReaderBenchmark.simpleEntityGeneratedConstructorAndField  thrpt   10  9071099,879 ± 1423166,087  ops/s

Closes #2295.
2021-02-09 11:44:24 +01:00
Mark Paluch
eabcfe22df Polishing.
Remove outdated section.

See #2288
2021-02-02 14:40:53 +01:00
Christoph Strobl
7daa5cefd1 Document SpringDataJacksonModules in web support section.
Closes #2288
Original pull request: #2289.
2021-02-02 14:39:42 +01:00
Oliver Drotbohm
24f9983dfc Avoid pre-computing base URI in PagedResourceAssemblerArgumentResolver.
We now avoid the pre-computation of the base URI in PagedResourceAssemblerArgumentResolver as the actual assembler will fall back to using the URI of the current request by default anyway. The latter makes sure that request parameters, that are contained in the original requests appear in links created. If a controller wants to deviate from that behavior, they can create a dedicated link themselves and hand that to the assembler explicitly.

Fixes GH-2173, GH-452.
2021-01-26 10:04:10 +01:00
Mark Paluch
3fc08514b6 Guard potential null dereference in recursive initialization calls.
We now assign the repository field before resolving the persistent entity through the mapping context to avoid a potential NPE caused by a getObject(…) invocation through an application event.

Closes #2068
2021-01-26 09:47:46 +01:00
Mark Paluch
07dad67c38 Fix constructor resolution for Kotlin classes using unsigned types.
We now leniently skip parameter name resolution for types using unsigned types. The issue is caused by Kotlin's DefaultConstructorMarker that doesn't report a parameter name.

Closes #2215
2021-01-18 13:51:47 +01:00
Christoph Strobl
2473a21fed Updated changelog.
See #2258
2021-01-13 15:49:40 +01:00
Christoph Strobl
dce11df425 Updated changelog.
See #2259
2021-01-13 15:16:21 +01:00
Mark Paluch
c5238bc5fb Polishing.
Reuse definitive path flag without recompile the expression.

See #2270
2021-01-12 15:47:22 +01:00
Mark Paluch
44bdb71f88 Correctly unwrap nested JSON array projections.
We now check for double-nesting of JSON path evaluation results when the return type is a collection. If the result is double-wrapped and the nested object is a collection then we unwrap it.

Closes #2270
2021-01-12 15:47:22 +01:00
Mark Paluch
dacda031c4 Upgrade to XMLBeam 1.4.18.
Closes #2269
2021-01-07 14:28:39 +01:00
Mark Paluch
4fe64f2f92 Update copyright year to 2021.
Closes #2268.
2021-01-07 13:43:36 +01:00
Michael Simons
cea340acad Polishing.
See #2263
Original pull request #2267
2021-01-07 11:21:18 +01:00
Mark Paluch
b4ade9ea59 #2263 - Update repository after GitHub issues migration. 2020-12-30 11:45:23 +01:00
Greg L. Turnquist
fe6a143d35 DATACMNS-1841 - Polishing. 2020-12-16 09:56:58 -06:00
Greg L. Turnquist
15dc0ae394 DATACMNS-1841 - Polishing. 2020-12-15 12:28:53 -06:00
Greg L. Turnquist
319a566449 DATACMNS-1841 - Use Docker hub credentials for all CI jobs. 2020-12-15 12:28:32 -06:00
Mark Paluch
410a63b9e8 DATACMNS-1831 - Updated changelog. 2020-12-09 16:47:40 +01:00
Mark Paluch
a9a5824093 DATACMNS-1824 - Updated changelog. 2020-12-09 15:33:20 +01:00
Mark Paluch
fa4ff54934 DATACMNS-1822 - After release cleanups. 2020-12-09 12:41:25 +01:00
Mark Paluch
01d7408fed DATACMNS-1822 - Prepare next development iteration. 2020-12-09 12:41:18 +01:00
Mark Paluch
bf27322ddc DATACMNS-1822 - Release version 2.3.6 (Neumann SR6). 2020-12-09 11:16:20 +01:00
Mark Paluch
ed734d5d55 DATACMNS-1822 - Prepare 2.3.6 (Neumann SR6). 2020-12-09 11:15:54 +01:00
Mark Paluch
7cb7728559 DATACMNS-1822 - Updated changelog. 2020-12-09 11:15:51 +01:00
Mark Paluch
0ce3a1b236 DATACMNS-1821 - Updated changelog. 2020-12-09 09:59:10 +01:00
Mark Paluch
6ec76b5e0d DATACMNS-1837 - Polishing.
Consistent callout indentation. Tweak wording.

Original pull request: #475.
2020-12-01 10:02:15 +01:00
Michael Simons
0949d510d1 DATACMNS-1837 - Add the required override to the example.
The example should be a compilable unit.

Original pull request: #475.
2020-12-01 10:02:15 +01:00
Mark Paluch
ed4b0af063 DATACMNS-1833 - Polishing.
Reformat asciidoc.

Original pull request: #477.
2020-12-01 09:50:29 +01:00
Mark Paluch
a2ab321823 DATACMNS-1833 - Revise documentation for query method keywords.
Original pull request: #477.
2020-12-01 09:50:29 +01:00
Mark Paluch
e534539386 DATACMNS-1823 - Updated changelog. 2020-11-11 12:34:38 +01:00
Mark Paluch
7ec0a181fd DATACMNS-1810 - Updated changelog. 2020-10-28 16:28:00 +01:00