x.x.x Release notes (yyyy—MM-dd)
The Objective-C API has been updated and your code will break!
???
???
- none.
???
============================================================= 0.11.0 Release notes (yyyy—MM-dd)
The Objective-C API has been updated and your code will break!
RLMTable
objects can only be created with anRLMRealm
object.RLMContext
was renamed toRLMTransactionManager
- Renamed
RLMContextDidChangeNotification
toRLMRealmDidChangeNotification
- Renamed
contextWithDefaultPersistence
tomanagerForDefaultRealm
- Renamed
contextPersistedAtPath:
tomanagerForRealmWithPath:
- Renamed
realmWithDefaultPersistence
todefaultRealm
- Renamed
realmWithDefaultPersistenceAndInitBlock
todefaultRealmWithInitBlock
- Renamed
find:
tofirstWhere:
- Renamed
where:
toallWhere:
- Renamed
where:orderBy:
toallWhere:orderBy:
- Added
countWhere:
onRLMTable
- Added
sumOfColumn:where:
onRLMTable
- Added
averageOfColumn:where:
onRLMTable
- Added
minOfProperty:where:
onRLMTable
- Added
maxOfProperty:where:
onRLMTable
- Added
toJSONString
onRLMRealm
,RLMTable
andRLMView
- Added support for
NOT
operator in predicates
- none.
???
============================================================= 0.10.0 Release notes (2014-04-23)
TightDB is now Realm! The Objective-C API has been updated and your code will break!
- All references to TightDB have been changed to Realm.
- All prefixes changed from
TDB
toRLM
. TDBTransaction
andTDBSmartContext
have merged intoRLMRealm
.- Write transactions now take an optional rollback parameter (rather than needing to return a boolean).
addColumnWithName:
and variant methods now return the index of the newly created column if successful,NSNotFound
otherwise.
createTableWithName:columns:
has been added toRLMRealm
.- Added keyed subscripting for RLMTable's first column if column is of type RLMPropertyTypeString.
setRow:atIndex:
has been added toRLMTable
.RLMRealm
constructors now have variants that take an writable initialization block- New object interface - tables created/retrieved using
tableWithName:objectClass:
return custom objects
- none.
- None.
============================================================= 0.6.0 Release notes (2014—04-11) Objective-C
- Modifications of a
TDBView
andTDBQuery
now throw an exception in a readtransaction.
contextWithPersistenceToFile:error:
renamed tocontextPersistedAtPath:error:
inTDBContext
readWithBlock:
renamed toreadUsingBlock:
inTDBContext
writeWithBlock:error:
renamed towriteUsingBlock:error:
inTDBContext
readTable:withBlock:
renamed toreadTable:usingBlock:
inTDBContext
writeTable:withBlock:error:
renamed towriteTable:usingBlock:error:
inTDBContext
findFirstRow
renamed toindexOfFirstMatchingRow
onTDBQuery
.findFirstRowFromIndex:
renamed toindexOfFirstMatchingRowFromIndex:
onTDBQuery
.- Return
NSNotFound
instead of -1 when appropriate. - Renamed
castClass
tocastToTytpedTableClass
onTDBTable
. removeAllRows
,removeRowAtIndex
,removeLastRow
,addRow
andinsertRow
methods on table now return void instead of BOOL.
- A
TDBTable
can now be queried usingwhere:
andwhere:orderBy:
takingNSPredicate
andNSSortDescriptor
as arguments. - Added
find:
method onTDBTable
to find first row matching predicate. contextWithDefaultPersistence
class method added toTDBContext
. Will create a context persisted to a file in app/documents folder.renameColumnWithIndex:to:
has been added toTDBTable
.distinctValuesInColumnWithIndex
has been added toTDBTable
.dateIsBetween::
,doubleIsBetween::
,floatIsBetween::
andintIsBetween::
have been added toTDBQuery
.- Column names in Typed Tables can begin with non-capital letters too. The generated
addX
selector can look odd. For example, a table with one column with nameage
, appending a new row will look like[table addage:7]
. - Mixed typed values are better validated when rows are added, inserted, or modified as object literals.
addRow
,insertRow
, and row updates can be done using objects derived fromNSObject
.where
has been added toTDBView
andTDBViewProtocol
.- Adding support for "smart" contexts (
TDBSmartContext
).
============================================================= 0.5.0 Release notes (2014-04-02) Objective-C
The Objective-C API has been updated and your code will break! Of notable changes a fast interface has been added. This interface includes specific methods to get and set values into Tightdb. To use these methods import <Tightdb/TightdbFast.h>.
- Fixed bug in 64 bit iOS when inserting BOOL as NSNumber.
getTableWithName:
renamed totableWithName:
inTDBTransaction
.addColumnWithName:andType:
renamed toaddColumnWithName:type:
inTDBTable
.columnTypeOfColumn:
renamed tocolumnTypeOfColumnWithIndex
inTDBTable
.columnNameOfColumn:
renamed tonameOfColumnWithIndex:
inTDBTable
.addColumnWithName:andType:
renamed toaddColumnWithName:type:
inTDBDescriptor
.- Fast getters and setters moved from
TDBRow.h
toTDBRowFast.h
.
- Added
minDateInColumnWithIndex
andmaxDateInColumnWithIndex
toTDBQuery
. - Transactions can now be started directly on named tables.
- You can create dynamic tables with initial schema.
TDBTable
andTDBView
now have a shared protocol so they can easier be used interchangeably.
============================================================= 0.4.0 Release notes (2014-03-26)
- Experimental support for pinning transactions on Context.
- TDBView now has support for object subscripting.
! BREAKING CHANGE: TDBMixed removed. Use id and NSObject instead. ! BREAKING CHANGE: insertEmptyRow has been removed from table. Use insertRow:nil atIndex:index instead.
! BREAKING CHANGE: set*:inColumnWithIndex:atRowIndex: methods have been prefixed with TDB ! BREAKING CHANGE: *:inColumnWithIndex:atRowIndex: methods have been prefixed with TDB ! BREAKING CHANGE: addEmptyRow on table has been removed. Use [table addRow:nil] instead.
! BREAKING CHANGE: Table findFirstRow and min/max/sum/avg operations has been hidden. ! BREAKING CHANGE: Table.appendRow has been renamed to addRow. ! BREAKING CHANGE: getOrCreateTable on Transaction has been removed.
- createTable method added on Transaction. Throws exception if table with same name already exists. ! BREAKING CHANGE: Underscore () removed from generated typed table classes. ! BREAKING CHANCE: TDBBinary has been removed; use NSData instead. ! BREAKING CHANGE: Underscope () removed from generated typed table classes. ! BREAKING CHANCE: Constructor for TDBContext has been renamed to contextWithPersistenceToFile:
- [TDBQuery parent] and [TDBQuery subtable:] selectors now return self. ! BREAKING CHANCE: Header files are renamed so names match class names.
! BREAKING CHANGE: Typed interface Cursor has now been renamed to Row. ! BREAKING CHANGE: TDBGroup has been renamed to TDBTransaction.
- getTableWithName selector added on group.
- getting and creating table methods on group no longer take error argument.
- Added firstRow, lastRow selectors on view.
- firstRow and lastRow on table now return nil if table is empty.
! BREAKING CHANGE: Prepend TDB-prefix on all classes and types.
- Adding setObject to TightdbTable (t[2] = @[@1, @"Hello"] is possible).
- Adding insertRow to TightdbTable.
- Extending appendRow to accept NSDictionary. ! BREAKING CHANGE: Most selectors have been renamed in the binding!
- Return types and parameters changed from size_t to NSUInteger.
- Adding appendRow to TightdbTable.
- Adding object subscripting.
- Adding method removeColumn on table.
- tableview now supports sort on column with column type bool, date and int
- tableview has method for checking the column type of a specified column
- tableview has method for getting the number of columns
- Adding methods getVersion, getCoreVersion and isAtLeast.
- Adding a simple class for version numbering.
- Adding get-version and set-version targets to build.sh. ! BREAKING CHANGE: addRow renamed to addEmptyRow
- Adding support for one-line installer (suppressing output and don't die too hard).