Kripton Versions Save

A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.

v3.5.0

6 years ago
    Release Notes - Kripton Persistence Library - Version 3.5.0
    

Bug

  • [KRIPTON-209] - Use generated many 2 many entity in jql causes error
  • [KRIPTON-220] - If a field is decorated with @BindSqlTypeAdapter, @BindTypeAdapter is not necessary
  • [KRIPTON-222] - ORM: a SQLiteTypeAdapter managed field never receive null value into generated method

Improvement

  • [KRIPTON-213] - Content provider: generate uri values to access methods
  • [KRIPTON-214] - Datasource update task can be defined in @BindDataSource annotation
  • [KRIPTON-217] - SQLite populator: let populator definition more simpler with @BindDataSource#populator and DataSourceOptions.populator
  • [KRIPTON-226] - Log of byte[] parameter: display its hexadecimal rapresentation

New Feature

  • [KRIPTON-215] - Add @BindDatasource#inMemory flag to use in memory database
  • [KRIPTON-218] - Add DataSource classes isJustCreated flag to check if datasource is just created
  • [KRIPTON-219] - @BindDataSource: add capability to define update task with annotation
  • [KRIPTON-223] - Every datasource expose its table names with Table[] getTables()
  • [KRIPTON-224] - Every table expose its column names with String[] columns() method

Task

  • [KRIPTON-210] - remove @BindDaoMany2Many attribute onlyFields(): unsused
  • [KRIPTON-211] - @BindDaoMany2Many: rename generatedMethods to methods
  • [KRIPTON-221] - Generated Content Provider: improved javadoc generation for methods: query, insert, update, delete
  • [KRIPTON-225] - Improve value insertion into contentValue

v3.4.1

6 years ago

Bug

Improvement

New Feature

  • [KRIPTON-202] - Shared Preference: string set is saved as Set and not as json

v3.4.0

6 years ago

Bug

Improvement

New Feature

  • [KRIPTON-202] - Shared Preference: string set is saved as Set and not as json

v3.3.0

6 years ago
  • SQLite schema update improvements
  • minor fix on compile time check

v3.2.0

6 years ago

New Feature

  • [KRIPTON-203] - SQLite ORM: update task works with resource and inputstream

v3.1.0

6 years ago

Kripton Persistence Library - Version 3.1.0

Bug

  • [KRIPTON-198] - @BindPreference does not use name annotation.

Improvement

  • [KRIPTON-199] - SQLite ORM: notify if @BindInsert method does not have any parameter

New Feature

  • [KRIPTON-197] - Shared Preference: Add refresh() method to be sure to load latest data from shared preference

Task

  • [KRIPTON-200] - update jackson dependencies to version 2.9.3

v3.0.2

6 years ago

Minor performance optimization for INSERT/UPDATE/DELETE operations

v3.0.1

6 years ago

Introducing RX, improved speed, simplify transaction invocation with Java 8 lambda expression.

Bug

v3.0.0

6 years ago
    Release Notes - Kripton Persistence Library - Version 3.0.0

Sub-task

  • [KRIPTON-174] - Add @BindMany2Many
  • [KRIPTON-175] - SQLite ORM:@BindDao.value is now optional for Many 2 Many Dao

Bug

  • [KRIPTON-184] - SQLite ORM: Datasource can not be defined in other package than same of DAOs

Improvement

  • [KRIPTON-177] - SQLite ORM:Improve speed
  • [KRIPTON-178] - SQLite ORM: InvalidMethodSignException on invalid return type must be clear message
  • [KRIPTON-185] - SQLite ORM: Add display info when schema file is generated
  • [KRIPTON-186] - SQLite ORM: enhancement on SQL grammar check at compile time
  • [KRIPTON-188] - SQLite ORM:[BREAKING COMPATIBILTY CHANGE] Type Adapter change definition: removed dataType attribute
  • [KRIPTON-189] - SQLite ORM:[BREAKING COMPATIBILTY CHANGE] Transaction can return TransationResult.COMMIT or ROLLBACK, just to add clearity to method result.
  • [KRIPTON-191] - SQLite: add capability to data source to execute list of commands without transaction

New Feature

  • [KRIPTON-124] - SQLite ORM: Add to @BindSqlParam capability to convert value into string
  • [KRIPTON-165] - SQLite ORM: SQLite type adapter
  • [KRIPTON-167] - SQLite ORM: Add @BindSqlParam.adapter
  • [KRIPTON-169] - SQLite ORM: Add support for java.sql.Date
  • [KRIPTON-172] - SQLite ORM:Simplify generation of Many 2 Many Relationship
  • [KRIPTON-173] - SQLite ORM: SQLite ORM:Simplify generation of Many 2 Many Relationship
  • [KRIPTON-176] - SQLite ORM: Support for ON DELETE and ON UPDATE action for foreign keys
  • [KRIPTON-190] - SQLite ORM:Add RX Support: transaction and batch can be managed as Observable, Single, Flowable, Maybe
  • [KRIPTON-193] - SQLite ORM: [BREAKING COMPATIBILTY CHANGE] Introduce batch operation with managed connection

Task

  • [KRIPTON-166] - SQLite ORM:@BindSqlParam.value is now optional
  • [KRIPTON-168] - SQLite ORM: generated datasource: make build method synchronized
  • [KRIPTON-170] - SQLite ORM: UnknownPropertyInJQLException: better description of exception
  • [KRIPTON-171] - UnknownClassInJQLException: better description of exception
  • [KRIPTON-180] - SQLite ORM: SQLite type adapter: add more tests
  • [KRIPTON-181] - SQLite ORM: @BindTypeAdapter: remove dataType attribute
  • [KRIPTON-182] - SQLite ORM: @BindTypeAdapter: remove dataType attribute
  • [KRIPTON-183] - SQLite ORM:@BindSQLTypeAdapter: remove dataType attribute
  • [KRIPTON-192] - SQLite ORM:[BREAKING COMPATIBILTY CHANGE] @BindDataSource.generateLog generateCursorWrapper, generateAsyncTask , generateSchema will renamed in log cursorWrapper, asyncTask , schema
  • [KRIPTON-194] - SQLite ORM: transaction and batch does open and close database connection only if needed.

v2.0.2

6 years ago

Release Notes - Kripton Persistence Library - Version 2.0.2

Bug

  • [KRIPTON-163] - JQL-SELECT does not work @BindSqlSelect(jql="select * from CollegeStudent where firstName like ${firstName} || '%' ")
  • [KRIPTON-164] - JQL-INSERT included fields problem

Task

  • [KRIPTON-162] - Update fasterXML and retrofit dependencies