Commit Graph

2282 Commits

Author SHA1 Message Date
Mark Paluch
8a1be49c04 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:42 +01:00
Mark Paluch
42997ac704 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:40 +01:00
Christoph Strobl
6970077335 Updated changelog.
See #2258
2021-01-13 15:49:43 +01:00
Christoph Strobl
19606230a7 After release cleanups.
See #2259
2021-01-13 15:01:50 +01:00
Christoph Strobl
ad9f3da2ec Prepare next development iteration.
See #2259
2021-01-13 15:01:47 +01:00
Christoph Strobl
77caea0c86 Release version 2.4.3 (2020.0.3).
See #2259
2021-01-13 14:18:34 +01:00
Christoph Strobl
0ae0c44d5c Prepare 2.4.3 (2020.0.3).
See #2259
2021-01-13 14:17:43 +01:00
Christoph Strobl
69c4022974 Updated changelog.
See #2259
2021-01-13 14:17:41 +01:00
Jens Schauder
5407e400cc Add JSR310 converters to the converters used for projections.
Similar converters where removed because they clashed with the support for nullable wrappers. This adds them back as dedicated converters that does not clash with conversions for nullable wrappers.

See bd3992dfc5 (diff-96f7084777a2a702d85f5c600e542b10123d6c3332ed3d3f8e329ca7061faab0R55)

Original Pull Request: #479
Closes: #2223
2021-01-13 07:04:37 +01:00
Mark Paluch
5d2d06d1b8 Polishing.
Reuse definitive path flag without recompile the expression.

See #2270
2021-01-12 15:47:11 +01:00
Mark Paluch
75d67ce620 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:11 +01:00
Mark Paluch
a9c881dd94 Upgrade to XMLBeam 1.4.18.
Closes #2269
2021-01-07 14:28:44 +01:00
Mark Paluch
81f03e86cc Update copyright year to 2021.
Closes #2268.
2021-01-07 13:42:39 +01:00
Michael Simons
f1636e3315 Polishing.
See #2263
Original pull request #2267
2021-01-07 11:20:49 +01:00
Mark Paluch
790f0c1655 #2263 - Update repository after GitHub issues migration. 2020-12-30 11:45:18 +01:00
Greg L. Turnquist
f313fa7181 DATACMNS-1841 - Polishing. 2020-12-15 12:26:38 -06:00
Greg L. Turnquist
0d0b3ed46b DATACMNS-1841 - Use Docker hub credentials for all CI jobs. 2020-12-15 12:26:29 -06:00
Mark Paluch
a41e5ad7a8 DATACMNS-1831 - After release cleanups. 2020-12-09 16:46:53 +01:00
Mark Paluch
b1a689765b DATACMNS-1831 - Prepare next development iteration. 2020-12-09 16:46:46 +01:00
Mark Paluch
f8ae10e8a0 DATACMNS-1831 - Release version 2.4.2 (2020.0.2). 2020-12-09 16:01:24 +01:00
Mark Paluch
5500e90e6b DATACMNS-1831 - Prepare 2.4.2 (2020.0.2). 2020-12-09 16:00:53 +01:00
Mark Paluch
c7d85a5f7d DATACMNS-1831 - Updated changelog. 2020-12-09 16:00:49 +01:00
Mark Paluch
d3d1252ce6 DATACMNS-1824 - Updated changelog. 2020-12-09 15:33:23 +01:00
Mark Paluch
7431c86c65 DATACMNS-1822 - Updated changelog. 2020-12-09 12:42:24 +01:00
Mark Paluch
eb4ef13b6c DATACMNS-1821 - Updated changelog. 2020-12-09 09:59:13 +01:00
Mark Paluch
390c4f5f3e DATACMNS-1838 - Accept ExpressionDependencies in BasicPersistentEntity.getEvaluationContext(…).
Allow obtaining an EvaluationContext with a reduced set of extensions that are required for ExpressionDependencies instead of initializing all extensions.
2020-12-07 11:27:25 +01:00
Mark Paluch
949457fdea DATACMNS-1827 - Polishing.
Extract qualifier lookup into SpringDataAnnotationUtils.

Original pull request: #474.
2020-12-01 10:15:39 +01:00
Vedran Pavic
f9a776ba1d DATACMNS-1827 - Consider Qualifier meta-annotated Sort method parameters.
Original pull request: #474.
2020-12-01 10:15:27 +01:00
Mark Paluch
80c63f7d72 DATACMNS-1837 - Polishing.
Consistent callout indentation. Tweak wording.

Original pull request: #475.
2020-12-01 10:02:33 +01:00
Michael Simons
7e44dbfcea 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:33 +01:00
Mark Paluch
7b4ac4cfb1 DATACMNS-1833 - Polishing.
Reformat asciidoc.

Original pull request: #477.
2020-12-01 09:50:21 +01:00
Mark Paluch
3a5804a441 DATACMNS-1833 - Revise documentation for query method keywords.
Original pull request: #477.
2020-12-01 09:50:21 +01:00
Mark Paluch
c0bddbb196 DATACMNS-1823 - After release cleanups. 2020-11-11 12:14:53 +01:00
Mark Paluch
a7c50d08dd DATACMNS-1823 - Prepare next development iteration. 2020-11-11 12:14:50 +01:00
Mark Paluch
e513797d41 DATACMNS-1823 - Release version 2.4.1 (2020.0.1). 2020-11-11 11:58:58 +01:00
Mark Paluch
7a2420786f DATACMNS-1823 - Prepare 2.4.1 (2020.0.1). 2020-11-11 11:58:35 +01:00
Mark Paluch
15c40cf7b3 DATACMNS-1823 - Updated changelog. 2020-11-11 11:58:12 +01:00
Mark Paluch
70b15935fa DATACMNS-1827 - Polishing.
Consider Qualifier meta-annotated Sort and Pageable method parameters. Add author tag.

Original pull request: #473.
2020-11-11 09:30:15 +01:00
Vedran Pavic
7acadc839c DATACMNS-1827 - Pageable and Sort arguments with empty qualifier value shouldn't be prefixed with delimiter.
Original pull request: #473.
2020-11-11 09:30:15 +01:00
Mark Paluch
16ac1183e0 DATACMNS-1828 - Revert custom collection component type lookup.
We now report the first generic parameter for collection-like types to use the behavior that was previously in place. We will address the issues resulting of the intent to report the correct component type of Iterable in a later change.
2020-11-06 16:08:14 +01:00
Oliver Drotbohm
5c78c6c56f DATACMNS-1828 - Fix Map component type lookup for custom Map implementations.
Instead of using the first generic type parameter of a parameterized type as Map component type, we now explicitly lookup the super type's Map-specific generics configuration and use its first generic type parameter. The same for collection like types falling back to the parameter type bound to Iterable.
2020-11-05 15:16:23 +01:00
Mark Paluch
8b890f78f1 DATACMNS-1810 - Enable maintenance branch build. 2020-10-29 09:26:20 +01:00
Mark Paluch
90ff8b3b16 DATACMNS-1810 - After release cleanups. 2020-10-28 16:10:54 +01:00
Mark Paluch
397eeae6da DATACMNS-1810 - Prepare next development iteration. 2020-10-28 16:10:50 +01:00
Mark Paluch
a7b7711569 DATACMNS-1810 - Release version 2.4 GA (2020.0.0). 2020-10-28 15:46:54 +01:00
Mark Paluch
2d705ccf38 DATACMNS-1810 - Prepare 2.4 GA (2020.0.0). 2020-10-28 15:46:31 +01:00
Mark Paluch
0b03e6d9c4 DATACMNS-1810 - Updated changelog. 2020-10-28 15:46:08 +01:00
Mark Paluch
92ee075a6e DATACMNS-1797 - Updated changelog. 2020-10-28 15:03:01 +01:00
Mark Paluch
7a65cdf5ca DATACMNS-1796 - Updated changelog. 2020-10-28 12:15:03 +01:00
Mark Paluch
3ae6149231 DATACMNS-1815 - Updated changelog. 2020-10-28 11:32:26 +01:00