sugar v1.5 Release Notes

Release Date: 2016-03-07 // over 8 years ago
  • ➕ 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


Previous changes from 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"