Kripton Persistence Library v5.0.0 Release Notes

Release Date: 2018-09-25 // about 3 years ago
  • ๐Ÿ› Bug

    ๐Ÿ‘ [KRIPTON-276] - Improved support for SortedMap and SortedSet

    [KRIPTON-277] - Type adapter used in DAO's method have to be checked
    [KRIPTON-279] - ORM: global type adapter does not work

    ๐Ÿ‘Œ Improvement

    [KRIPTON-262] - Kotlin class hierarchy: now property from parent class is correctly managed. Constraint: parent class must have a Kripton Annotation

    [KRIPTON-263] - Java: property from parent class now can have a protected backend field (until now it can be only protected or public)
    [KRIPTON-267] - ORM: in a table column order is: first PRIMARY KEY, then other column ordered by field name
    0๏ธโƒฃ [KRIPTON-268] - ORM: table order: table must be order by default ordered with its name. Mutual dependencies can change default order.
    [KRIPTON-271] - DateUtils have to work with System TimeZone
    ๐Ÿ‘ [KRIPTON-272] - Persistent on file: Support for Immutable POJO
    [KRIPTON-278] - DateUtils now works with system TimeZone
    [KRIPTON-282] - SQLite: multi-column index generates unique constraint too
    [KRIPTON-283] - SQLite: add DateMillisecondsTypeAdapter and DateTimeMillisecondsTypeAdapter to manage util.Date and sql.Date
    [KRIPTON-287] - SQLite: PK is now NOT NULL

    ๐Ÿ†• New Feature

    [KRIPTON-264] - parameter in query string can be ${placeHolder} or :{placeHolder} or :placeHolder

    [KRIPTON-265] - parameter in content provider URL can be ${placeHolder} or :{placeHolder} or :placeHolder
    [KRIPTON-266] - PK now can be String type too
    [KRIPTON-269] - Long/long Primary Key now can be UNMANAGED
    [KRIPTON-270] - Manage spread parameter for "in" and "not in" where condition
    ๐Ÿ‘ [KRIPTON-273] - Persistent by REST service: Support for Immutable POJO
    ๐Ÿ‘ [KRIPTON-274] - Persistent on SQLite: Support for Immutable POJO
    ๐Ÿ‘ [KRIPTON-275] - Persistent on Shared-Preference: Support for Immutable POJO
    [KRIPTON-284] - SQLite: data source have executeAsync and executeBatchAsync
    [KRIPTON-285] - SQLite: paginated result has now method getCurrentPage()
    [KRIPTON-286] - SQLite: DAO's method can return any SQL-type that is not included in data source definition
    [KRIPTON-288] - Add PagedLiveData
    [KRIPTON-292] - @BindTransition for data-source

    Task

    โšก๏ธ [KRIPTON-280] - update Jackson dependencies to 2.9.6

    โšก๏ธ [KRIPTON-281] - update Rx dependency to 2.1.17
    [KRIPTON-290] - [BREAK] Minimum JDK 1.8
    ๐Ÿšš [KRIPTON-293] - [BREAK] SQLPopulator#execute: remove SQLDatabase parameter