Immutables v2.8.8 Release Notes

Release Date: 2020-05-08 // over 4 years ago
  • Value

    Criteria

    • ➕ Add toLowerCase / toUpperCase functions to StringMatcher (6e4dd31)
    • ➕ Add GetByKey / DeleteByKey operations which allow low-level key lookups and deletions (ce9ad50)
    • ➕ Add isNot(boolean) function to BooleanMatcher (c9c6305)
    • ➕ Add is(Optional) / isNot(Optional) to generic OptionalValueMatcher (0c2d47e)
    • ➕ Add is(Optional) / isNot(Optional) functions to OptionalBooleanMatcher (c41ffaf)

    ⬆️ Dependency Upgrades

    • mongo-java-server 1.19.0 -> 1.28.0 (493eafe)
    • 🔀 mongo java driver (sync) 3.11.0 -> 3.12.3 (22337f3)
    • mongo java driver (reactive streams) 1.12.0 -> 1.13.1 (1c34b7f)
    • jackson-databind 2.8.11.4 -> 2.8.11.6 (8a2aa88)
    • rxjava2 2.2.12 -> 2.2.19 (be75e8d)
    • Project Reactor 3.2.12 -> 3.3.5 (13932b2)
    • ⬆️ JUnit5 upgrade 5.5.2 -> 5.6.2 (b0b0a8a)

    Contributors

    Thanks to all contributors. In no particular order:


Previous changes from v2.8.6

  • Introduce KeyExtractor interface to Criteria for pluggable entity key definition and extraction. Other improvements in different backend implementations.

    👌 Support for Modifiables to extend an inner class/interface.

    Value

    👍 1. Add support for Modifiable to extend an inner class/interface by Mitch Halpin (67f8083)

    Criteria

    1. Pluggable KeyExtractor interface (3eb6958) 👍 2. Add projection support for iterable type(s) like List<String> (78c7c29) 👍 3. Add support for Fugue Option to CriteriaModel by Charlie La Mothe (207d631)
    Geode

    ✅ 1. add tests for generating OQL expressions by Javad Moghisi (0c5e5e3)

    1. include order by direction in OQL by Javad Moghisi (5c3d15b) 👍 3. add support for Iterable Size and Contains to OQL Generator by Javad Moghisi (cfb514b) 👍 4. add support for String Operators to OQL Generator by Javad Moghisi(43f4fff)
    ElasticSearch
    1. Use more efficient id lookups for key attributes in ElasticSearch backend (db4fa98)
    Mongo
    1. Add mongo optimization to convert $in/$nin into $eq/$ne for single element array (09c002c)
    Mongo Repositories (legacy)

    ⚠ 1. Fix suppress warnings for generated MongoDB repositories by André Rouél (1afdfa4)

    Contributors

    Thanks to all contributors! In no particular order: