v4.0.0
Release Notes - Kripton Persistence Library - Version 4.0.0
Bug
- [KRIPTON-230] - Insert from Select does not work
- [KRIPTON-248] - Generate Async task had some problem during data source close operation
- [KRIPTON-249] - DYNAMIC_WHERE did not work on explicit SELECT JQL queries
Improvement
- [KRIPTON-160] - Add capability of add DYNAMIC_WHERE in extended query type (UPDATE-DELETE)
- [KRIPTON-161] - Add capability of add DYNAMIC_ORDER in extended query type.
- [KRIPTON-229] - Dao Subject: avoid to fire events if no elements is modified
- [KRIPTON-233] - Modularization of Android Library
- [KRIPTON-241] - ORM: index refactoring: introducing @BindIndex
- [KRIPTON-247] - [BREAK COMPATIBILITY] @BindColumn renamed in @BindSqlColumn
- [KRIPTON-252] - SQLite Test Suite refactoring
- [KRIPTON-253] - [BREAK COMPATIBILITY] @BindTable renamed in @BindSqlType
- [KRIPTON-259] - Supports for Android Jet Pack with kripton.androidx annotation processor parameter
New Feature
- [KRIPTON-131] - Add to Retrofit integration, capability to decide which data format choose to work with REST service
- [KRIPTON-228] - Add LiveData Support
- [KRIPTON-234] - Define @BindDataSourceOptions to configure DataSource
- [KRIPTON-237] - Add @BindPreferenceAdapter
- [KRIPTON-238] - Add global SQLiteTypeAdapter to data source
- [KRIPTON-239] - add capability to specify for a column the type affinity
- [KRIPTON-240] - Add @BindSqlRelation to support entity relationship
- [KRIPTON-246] - Add @BindSqlChildSelect to support child select in select
- [KRIPTON-250] - Add populator to SQLiteUpdateTestDatabase.builder
- [KRIPTON-251] - Add simply support for xml namespace
- [KRIPTON-254] - Add annotation processor options: kripton.schemaLocation
- [KRIPTON-258] - Support for RX for Shared Preferences
- [KRIPTON-260] - Shared Preference RX supports
- [KRIPTON-261] - Shared Preference LiveData support
Task
- [KRIPTON-227] - Version alignment with maven version
- [KRIPTON-231] - Remove SQLContext interface to AbstractDataSource
- [KRIPTON-235] - rename BindTypeAdapter to TypeAdapter
- [KRIPTON-236] - rename BindSqlTypeAdapter into SqlTypeAdapter
- [KRIPTON-242] - ORM: removed generated build() method in datasource: it does not need anymore
- [KRIPTON-243] - @BindColumn#foreignKey renamed in parentEntity
- [KRIPTON-244] - build and instance methods improvement: remove sync and implementation of inner sync
- [KRIPTON-245] - @BindColumn#foreignKey renamed in parentEntity
- [KRIPTON-255] - [BREAK COMPATIBILITY] refactoring DataSource.instance() -> getInstance()
- [KRIPTON-256] - [BREAK COMPATIBILITY] refactoring Dao.subject() -> getSubject()
- [KRIPTON-257] - [BREAK COMPATIBILITY] KriptonLibrary.context() -> getContext()