- Moved to Java 8
- Made better use of generics (with
extends
andsuper
) - Simplified
ReadableWritable*Property
interfaces, now using the same type for read and write - Removed deprecated
Transformer
,Aggregator
andCollectionElementTransformer
frombase
module - Renamed
read()
methods of theBinder
tofrom()
- Renamed
write()
methods of theBinder
toto()
- Renamed
SimpleBond
toSimpleBinding
- Changed
ReadableWritableProperty<R, W>
toReadableWritableProperty<V>
- Changed
ReadableWritableSetProperty<R, W>
toReadableWritableSetProperty<V>
- Changed
ReadableWritableListProperty<R, W>
toReadableWritableListProperty<V>
- Changed
ReadableWritableMapProperty<K, R, W>
toReadableWritableMapProperty<K, V>
- Annotated one-method interfaces as
@FunctionalInterface
- Replaced the
SetValueChangeListener
interface by theSetPropertyChangeListener
functional interface - Replaced the
ListValueChangeListener
interface by theListPropertyChangeListener
functional interface - Replaced the
MapValueChangeListener
interface by theMapPropertyChangeListener
functional interface - Replaced the
ValueChangeListener
interface by thePropertyChangeListener
functional interface - Renamed
PrintStreamValueChangeAdapter
toPrintStreamPropertyChangeAdapter
- Added JSliderValueProperty, JSliderMinimumValueProperty and JSliderMaximumValueProperty
Compilation issues are only related to the changes mentioned above; fixing them is quite straightforward. There is no functionality modified or removed. Fixing compilation issues is a one-to-one mapping from the old APIs to the new APIs.
So there is no incompatible change in terms of behavior (beyond the compilation).
- Extraction from the ValidationFramework 3.4.1
- Transferred ownership to LeanFrameworks organization
- Adapted package names accordingly
- Adapted Maven group ID accordingly
- Adapted license accordingly
If you were only using the properties and binding mechanism from the ValidationFramework (e.g. version 3.4.1), you may adapt your Maven dependencies as follows:
- Change groupId from
com.google.code.validationframework
tocom.github.leanframeworks
; - Change artifactId's from
validationframework-*
topropertiesframework-*
; - Change version to
0.0.1
.
In the code, simply:
- Change package names from
com.google.code.validationframework
tocom.github.leanframeworks.propertiesframework
.
If you were using other pieces of the ValidationFramework, then the migration is not recommended until the ValidationFramework itself has been migrated to use the separate PropertiesFramework.