Skip to content

Latest commit

 

History

History
94 lines (75 loc) · 5 KB

CHANGELOG.md

File metadata and controls

94 lines (75 loc) · 5 KB

Sugar Releases

[Unreleased]

v1.5

Added

  • #328 @jedid auto add new columns during database upgrade, fix #299 and #151
  • #389 @alfmatos MultiUnique DSL to handle MultiColumn Unique Table constraint
  • @sibeliusseraphini update, updateInTx methods based on Unique values of SugarRecord
  • #155 @benohalloran adding Cursors for Cursor Adapters Pull 312
  • #430 @sibeliusseraphini update to roboelectric 3.0 and target android-32

Changed

  • #437 @dnalves removing guava dependency, using synchronized WeakHashMap instead
  • #423 @sibeliusseraphini moving changelog of README.md to CHANGELOG.md

Fixed

  • #362 @mitchyboy9 fixed NoClassDefFoundError
  • #455 @nurolopher fixed travis and coveralls config
  • #434 @bendaniel10 fix multi-dex
  • #410 #408 @RoyMontoya simplify code
  • #327 @tracytheron support multi-dex
  • #373 @salimkamboh use existing tables

v1.4

Added

  • #306 @Shyish return boolean/integer on delete methods
  • #304 @benohalloran add support to enum type
  • #197 @andresteves add suport for bytes[]
  • #293 @neilw4 support NULL in queries
  • #273 @dominicwong617 findById support an array of ids
  • #246 @kwf2030 use sqlite_master to check whether table already exist
  • #253 @JeroenMols add bulk delete
  • #285 @Shyish add listAll with orderBy param
  • No need to extend SugarApp - just call SugarContext.init(Context) instead
  • #129 @satyan support sugar entities using @Table annotations

Fixed

  • #314 @abscondment fix StrictMode DexFile
  • #303 @RossinesP fixed saving row string bug
  • #258 @nosrak113 change SugarRecord ID to private to not conflit with other libraries
  • #254 @jivimberg use weak keys to keep track of annotated entities
  • #215 @jivimberg fix bug persisting relationship
  • #185 #243 @whoshuu fix save and update method
  • #202 @allieus improve getDomainsClass()
  • #104 @whoshuu fix nesting "and" and "or"

v1.4 Beta [jar]

Added

  • #112 @androdevcafe added Unique and NotNull annotations
  • #78 @HiddenCleverde capability to specify primary key

Fixed

  • #113 @whoshuu override findById to support int
  • #106 @whoshuu add documentation to onTerminate
  • #54 @whoshuu simplify count interface
  • #43 @whoshuu return id on save
  • #72 @whoshuu allow null values to Date and Calendar objects
  • #96 @whoshuu roboeletric fallback

v1.3 [jar]

  • Transaction Support
  • Bulk Insert of records
  • Encrypted datastore (branch : sugar-cipher using sqlcipher)
  • Removed Constructor with context parameter. Needs default constructor now.
  • Enhancements to QueryBuilder
  • Bug fixes and other improvements.

v1.2 [jar]

  • package restriction for domain classes.
  • metadata caching
  • QueryBuilder v1
  • Database Migrations
  • Provision for Raw queries
  • Better and more organized api guide and usage instructions.

v1.1 [jar]

  • Static api doesn't take context anymore. Hence
Book.findById(context, Book.class, 1);

becomes

Book.findById(Book.class, 1);
  • Some cleanup in the code.