You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,38 +1,52 @@
1
1
# Changelog
2
+
2
3
All notable changes to this project will be documented in this file.
3
4
4
5
## [Unreleased]
6
+
5
7
### Added
8
+
6
9
- Added `EasyBind.mapBacked(ObservableList<A> source, Function<A, B> mapper, boolean mapOnUpdate)` method to control whether new objects are created on updates. [#5](https://github.com/JabRef/EasyBind/pull/5)
7
10
8
11
### Changed
12
+
9
13
- Fixed an issue in `EasyBind#mapBacked` where updates to the source `ObservableList` elements were not reflected in the `SortedList`. [#5](https://github.com/JabRef/EasyBind/pull/5)
10
14
11
-
### Removed
15
+
### Fixed
16
+
17
+
- Changed maven coordinates to `org.jabref` in `README.md`
12
18
13
19
## [2.2.0] - 2021-05-18
20
+
14
21
### Added
22
+
15
23
### Changed
24
+
16
25
- Mark JavaFX dependency as transitive. Thanks to Sebastian Stenzel.
17
26
- Remove `classifier = linux` for JavaFX dependency in the `pom` file. This makes it easier to use the library on different OS without pulling-in the wrong dependencies.
18
27
19
28
### Removed
20
29
21
30
## [2.1.0] - 2020-08-13
31
+
22
32
### Added
33
+
23
34
- Added support for JDK >= 9. [#21](https://github.com/tobiasdiez/EasyBind/issues/21)
24
35
- Added `EasyObservableList#mapped` as fluid alternative to `EasyBind#map`
25
36
- Added `EasyObservableList#filteredWrapped` as an alternative to `EasyObservableList#filtered` that returns an `EasyObservableList` instead of a `FilteredList`.
26
37
- This allows fluid method chaining without having to wrap the `FilteredList` using `EasyBind#wrapList` again.
27
38
- It is a temporary workaround that will be removed once https://github.com/openjdk/jfx/pull/278 is merged.
28
39
29
40
### Changed
41
+
30
42
-`EasyBind#flatten` and `EasyBind#concat` now return an `EasyObservableList` instead of an `ObservableList`.
31
43
32
44
### Removed
33
45
34
46
## [2.0.0] - 2020-07-17
47
+
35
48
### Added
49
+
36
50
- Added new interface `EasyObservableList` which is a wrapper around a standard `ObservableList` providing access to a few convenient helper methods. Use `EasyBind.wrapList` to create such a wrapper around a given `ObservableList`.
37
51
- Added new method `EasyBind.reduce(list, accumulation)` that creates a binding holding the result of the accumulation function on the provided list.
38
52
- Added a few new methods `EasyBind.valueAt` that are essentially equivalent to the standard `Bindings.valueAt` methods except that they gracefully handle non-existing values by returning a `OptionalBinding`.
@@ -41,6 +55,7 @@ All notable changes to this project will be documented in this file.
41
55
- New methods that create bindings whose value is computed similar to the corresponding methods in `Optional`, e.g. `isPresent`, `isEmpty`, `orElse`, `flatMap`.
42
56
43
57
### Changed
58
+
44
59
- Renamed package to `com.tobiasdiez.easybind`.
45
60
- Split `MonadicBinding` into a part which is really concerned with optionals (new `ObervableOptionalValue`) and one which provides helper methods for a fluent interface for normal bindings (new `EasyBinding`).
46
61
- Renamed `flatMap` to `mapObservable` to avoid clashes with the corresponding method in `Optional`.
@@ -50,12 +65,14 @@ All notable changes to this project will be documented in this file.
50
65
- Moved `PropertyBinding` to `com.tobiasdiez.easybind`.
51
66
52
67
### Removed
68
+
53
69
- Removed `EasyBind.filter(ObservableValue<T> source, Predicate<? super T> predicate)`. Use `EasyBind.wrapNullable(source).filter(predicate)` instead.
54
70
- Removed `EasyBind.orElse(ObservableValue<? extends T> source, T other)`. Use `EasyBind.wrapNullable(source).orElse(other)` instead.
55
71
56
-
57
72
## [1.2.2] - 2020-05-05
73
+
58
74
### Added
75
+
59
76
-`EasyBind.flatten(List<ObservableList<T>> lists)` and `EasyBind.concat(ObservableList<T>... lists)` that create a new list combining the values of the given lists. Unlike `FXCollections.concat()`, updates to the source lists propagate to the combined list.
60
77
-`EasyBind.mapBacked(ObservableList<A> source, Function<A, B> mapper)` that works similar to `EasyBind.map` with the important difference that the `mapper` is applied only on initializing the list and not every time an item in the list is accessed.
61
78
-`EasyBind.filter`
@@ -65,12 +82,14 @@ All notable changes to this project will be documented in this file.
65
82
- Support for Java Module System by providing correct module information.
66
83
67
84
## [1.0.3] - 2014-08-19
68
-
Last official release by [Tomas Mikula](https://github.com/TomasMikula/EasyBind) under the name `org.fxmisc.easybind:easybind`.
69
85
86
+
Last official release by [Tomas Mikula](https://github.com/TomasMikula/EasyBind) under the name `org.fxmisc.easybind:easybind`.
Copy file name to clipboardExpand all lines: README.md
+8-16Lines changed: 8 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,34 +228,30 @@ Use EasyBind in your project
228
228
229
229
### Stable release
230
230
231
-
Current stable release is `2.2.0`.
231
+
Current stable release is `2.3.0`.
232
232
It contains many new features, but also breaks backwards compatibility to the `1.x` versions as many methods have been renamed; see the [Changelog](CHANGELOG.md) for details.
233
-
In case you are upgrading from the `EasyBind` library developed by by Tomas Mikula, then the easiest option is to use version `1.2.2` which includes a few improvements and bug fixes while being compatible with older versions.
233
+
In case you are upgrading from the `EasyBind` library developed by Tomas Mikula, then the easiest option is to use version `1.2.2` which includes a few improvements and bug fixes while being compatible with older versions.
0 commit comments