Commit Graph

275 Commits

Author SHA1 Message Date
Oliver Gierke
9f220d5c15 DATACMNS-1229 - Upgrade to XmlBeam 1.4.14. 2017-12-01 15:20:23 +01:00
Oliver Gierke
c3a12097ca DATACMNS-1218 - Upgraded to Vavr 0.9.2. 2017-11-24 23:09:20 +01:00
Mark Paluch
78a874cf0c DATACMNS-1156 - After release cleanups. 2017-10-02 11:37:22 +02:00
Mark Paluch
a0f67c1909 DATACMNS-1156 - Prepare next development iteration. 2017-10-02 11:37:21 +02:00
Mark Paluch
dc85837958 DATACMNS-1156 - Release version 2.0 GA (Kay). 2017-10-02 11:10:22 +02:00
Mark Paluch
497edfeefb DATACMNS-1156 - Prepare 2.0 GA (Kay). 2017-10-02 11:09:17 +02:00
Mark Paluch
93c65c02fe DATACMNS-1159 - Downgrade to CDI 1.0.
We now build against CDI 1.0 again while using CDI 2.0 for testing.
2017-09-22 11:47:11 +02:00
Oliver Gierke
7987896098 DATACMNS-1167 - Added explicit automatic module name for JDK 9. 2017-09-21 11:58:18 +02:00
Oliver Gierke
2c20377cfa DATACMNS-1166 - Upgrade to Vavr 0.9.1. 2017-09-21 09:25:11 +02:00
Mark Paluch
a8cc4783bf DATACMNS-1159 - Upgrade to OpenWebBeans 2.0.1. 2017-09-18 15:05:47 +02:00
Oliver Gierke
687d7449be DATACMNS-1130 - After release cleanups. 2017-09-11 17:40:20 +02:00
Oliver Gierke
0966e3f476 DATACMNS-1130 - Prepare next development iteration. 2017-09-11 17:40:18 +02:00
Oliver Gierke
2d70e2843e DATACMNS-1130 - Release version 2.0 RC3 (Kay). 2017-09-11 17:24:44 +02:00
Oliver Gierke
a56e88d095 DATACMNS-1130 - Prepare 2.0 RC3 (Kay). 2017-09-11 17:23:51 +02:00
Mark Paluch
22b37800ec DATACMNS-1126 - Add class-generating entity instantiation support for Kotlin.
We now discover Kotlin constructors and apply parameter defaulting to allow construction of immutable value objects. Constructor discovery uses primary constructors by default and considers PersistenceConstructor annotations.

KotlinClassGeneratingEntityInstantiator can instantiate Kotlin classes with default parameters by resolving the synthetic constructor. Null values translate to parameter defaults.

class Person(val firstname: String = "Walter") {
}

class Address(val street: String, val city: String) {

	@PersistenceConstructor
	constructor(street: String = "Unknown", city: String = "Unknown", country: String) : this(street, city)
}

Original pull request: #233.
2017-08-25 13:04:28 +02:00
Oliver Gierke
b86f42b9fb DATACMNS-1128 - After release cleanups. 2017-07-25 16:10:38 +02:00
Oliver Gierke
8768f31044 DATACMNS-1128 - Prepare next development iteration. 2017-07-25 16:10:33 +02:00
Oliver Gierke
986222ccc6 DATACMNS-1128 - Release version 2.0 RC2 (Kay). 2017-07-25 15:34:22 +02:00
Oliver Gierke
22e141b62d DATACMNS-1128 - Prepare 2.0 RC2 (Kay). 2017-07-25 15:33:32 +02:00
Oliver Gierke
6c55d7e03b DATACMNS-1090 - After release cleanups. 2017-07-25 10:00:08 +02:00
Oliver Gierke
f039fb6b0c DATACMNS-1090 - Prepare next development iteration. 2017-07-25 10:00:02 +02:00
Oliver Gierke
631aff202c DATACMNS-1090 - Release version 2.0 RC1 (Kay). 2017-07-25 09:48:48 +02:00
Oliver Gierke
116ae703fc DATACMNS-1090 - Prepare 2.0 RC1 (Kay). 2017-07-25 09:48:00 +02:00
Oliver Gierke
a53a331813 DATACMNS-1124 - Upgraded to Javaslang 2.0.6. 2017-07-24 14:17:44 +02:00
Oliver Gierke
af56889e72 DATACMNS-1123 - Upgraded to XmlBeam 1.4.12 and tweaked HttpMessageConverter implementation.
XmlBeam 1.4.11 accidentally removed ProjectionFactory as public interface. Adapted our HttpMessageConverter implementation to make sure we still work on those versions.

Related ticket: https://github.com/SvenEwald/xmlbeam/issues/45
2017-07-24 14:17:36 +02:00
Oliver Gierke
049970874d DATACMNS-1114 - Introduced usage of nullable annotations for API validation.
Marked all packages with Spring Frameworks @NonNullApi. Added Spring's @Nullable to methods, parameters and fields that take or produce null values. Adapted using code to make sure the IDE can evaluate the null flow properly. Fixed Javadoc in places where an invalid null handling policy was advertised. Strengthened null requirements for types that expose null-instances.

Removed null handling from converters for JodaTime and ThreeTenBP. Introduced factory methods Page.empty() and Page.empty(Pageable). Introduced default methods getRequiredGetter(), …Setter() and …Field() on PersistentProperty to allow non-nullable lookups of members. The same for TypeInformation.getrequiredActualType(), …SuperTypeInformation().

Tweaked PersistentPropertyCreator.addPropertiesForRemainingDescriptors() to filter unsuitable PropertyDescriptors before actually trying to create a Property instance from them as the new stronger nullability requirements would cause exceptions downstream.

Lazy.get() now expects a non-null return value. Clients being able to cope with null need to call ….orElse(…).

Original pull request: #232.
2017-07-24 10:47:28 +02:00
Mark Paluch
013bda0dd2 DATACMNS-1118 - Inherit Project Reactor version from dependency management.
Adapt to BOM import in Spring Data Build pom.
2017-07-20 15:53:29 +02:00
Jens Schauder
023a0b2a38 DATACMNS-1104 - Changed scope of Degraph dependency to 'test’. 2017-07-07 08:38:37 +02:00
Jens Schauder
1fc25727cf DATACMNS-1097 - Move classes to better matching packages.
Introduced new ExampleMatcherAccessor in data.support in favor of the now deprecated one in data.repository.core to avoid a dependency into the repositories subsystem to work with examples in general.

Added Degraph based test in order to avoid future cyclic package dependency violations.

Original pull request: #230.
Related ticket: DATAMONGO-1721.
2017-07-06 11:38:12 +02:00
Mark Paluch
a972f7d101 DATACMNS-1060 - After release cleanups. 2017-06-14 17:14:08 +02:00
Mark Paluch
4d8465ad33 DATACMNS-1060 - Prepare next development iteration. 2017-06-14 17:14:06 +02:00
Mark Paluch
495cc7bddf DATACMNS-1060 - Release version 2.0 M4 (Kay). 2017-06-14 17:03:48 +02:00
Mark Paluch
d9735a4367 DATACMNS-1060 - Prepare 2.0 M4 (Kay). 2017-06-14 17:03:00 +02:00
Oliver Gierke
29dadc5431 DATACMNS-1060 - Re-add artifact version to make release tools work. 2017-06-14 17:01:28 +02:00
Oliver Gierke
34ce83c657 DATACMNS-1065 - Added support for Vavr (successor of Javaslang).
Basically duplicated the Javaslang support to now work on Vavr types as well.
2017-05-11 12:36:23 +02:00
Mark Paluch
044a0c07c1 DATACMNS-1037 - After release cleanups. 2017-05-09 11:34:42 +02:00
Mark Paluch
8ef846dab4 DATACMNS-1037 - Prepare next development iteration. 2017-05-09 11:34:41 +02:00
Mark Paluch
c9031fd494 DATACMNS-1037 - Release version 2.0 M3 (Kay). 2017-05-09 11:23:00 +02:00
Mark Paluch
89d4acc2aa DATACMNS-1037 - Prepare 2.0 M3 (Kay). 2017-05-09 11:22:12 +02:00
Jens Schauder
65734739bd DATACMNS-993 - Clean up class loader hacking in tests.
ClassLoaderRule with @ClassLoaderConfiguration allows easy creation FilteringClassLoader. Changed usage pattern of ClassUtils.isPresent(…) in order to ease testing. Copied the ShadowingClassloader from SpringFramework to get a constructor that doesn't shadow anything by default.

Original pull request: #202.
2017-04-12 08:03:32 +02:00
Oliver Gierke
562b6665a3 DATACMNS-1040 - Remove exclusion of Commons Logging.
Related ticket: SPR-14512.
2017-04-11 11:38:58 +02:00
Oliver Gierke
5a1c5d7917 DATACMNS-942 - After release cleanups. 2017-04-04 22:08:17 +02:00
Oliver Gierke
559ff27939 DATACMNS-942 - Prepare next development iteration. 2017-04-04 22:08:12 +02:00
Oliver Gierke
de2d43e59f DATACMNS-942 - Release version 2.0 M2 (Kay). 2017-04-04 21:12:35 +02:00
Oliver Gierke
55429522dc DATACMNS-942 - Prepare 2.0 M2 (Kay). 2017-04-04 21:12:01 +02:00
Oliver Gierke
575e4f9c92 DATACMNS-867 - Removed temporary Mockito version property.
This is now coming from the build parent.
2017-03-24 08:00:48 +01:00
Oliver Gierke
2d282b2d7f DATACMNS-867 - Cleanups. 2017-03-24 08:00:26 +01:00
Oliver Gierke
d4811e29d9 DATACMNS-867 - Second draft. 2017-03-24 08:00:23 +01:00
Oliver Gierke
8fabba5aa3 DATACMNS-933 - After release cleanups. 2016-11-23 10:59:10 +01:00
Oliver Gierke
a5cd02c566 DATACMNS-933 - Prepare next development iteration. 2016-11-23 10:59:08 +01:00