All Versions
14
Latest Version
Avg Release Cycle
84 days
Latest Release
1667 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v1.0.3 Changes
Repair Kit
- ๐ Fix INTEGER PRIMARY KEY columns not properly recovered.
๐ iOS/macOS
- โ Add
WCTColumnCoding
support for allWCTValue
. Developers can useid<WCTColumnCoding>
objects for WINQ and all interfaces. ```objc //WINQ NSDate *now = [NSDate date]; [database getObjectsOfClass:Message.class fromTable:tableName where:Message.modifedTime==now];
//Interfaces [database updateAllRowsInTable:tableName onProperty:Message.modifiedTime withValue:[NSDate date]];
* โ Add monitor for all executed SQL to check WINQ correctness. ```objc //SQL Execution Monitor [WCTStatistics SetGlobalSQLTrace:^(NSString *sql) { NSLog(@"SQL: %@", sql); }];
- โก๏ธ Update
WCTTableCoding
XCode file template for the best practice of isolating Objective C++ codes. See Wiki page for details. - ๐ Some minor bug fixes.
Android
- โ Add
CursorWindow.windowSize(int)
static method to set or get default size for cursor windows. - ๐
SQLiteDatabase.dump()
reports IDs for all threads that hold database connections, to aid dead-lock debugging. - ๐ Fix crashing on devices fail to load ICU library.
- ๐ Fix
SQLiteTrace.onSQLExecuted(...)
reports negative execution time.
-
v1.0.2 Changes
๐ iOS/macOS
- ๐ Performance optimization and benchmark. See Wiki page for details.
- ๐ Change builtin
NSData
orNSMutableData
column coding to raw data format. To be compatible with earlier versions, call[WCTCompatible sharedCompatible].builtinNSDataColumnCodingCompatibleEnabled = YES
. - โ Add
attach
,detach
,vacuum
,savepoiint
,rollback
,release
,reindex
,explain
statement and SQLCipher related pragma to WINQ. - โ Remove auto increment for
insertOrReplace
. - โก๏ธ Rename
updateTable
toupdateRowsInTables
, andstatictics
(typo) tostatistics
. - ๐ Some minor bug fixes.
Android
- ๐ Performance optimization and benchmark. See Wiki page for details.
- ๐ฆ Expose ProGuard rules to AAR package. Fix crash when minify is enabled in gradle.
-
v1.0.1 Changes
๐ iOS/macOS
- โ Add CocoaPods support.
- โ Add iOS 7 and macOS 10.9 support. Apps using WCDB can target iOS 7 now.
- ๐ Fix an issue that
[WCTDatabase canOpen]
never return YES. - ๐ Fix an issue that the global tracer return some odd values.
- โ Add
@autoreleasepool
inrunTransaction
to avoid OOM.
Android
- โ Add
x86_64
ABI support. - ๐ Publish debug version of AAR and native symbols. To reference debug version of WCDB library, modify your
build.gradle
.
dependencies { // Append ":[email protected]" to reference debug library. compile 'com.tencent.wcdb:wcdb-android:1.0.1:[email protected]' }
- Device-locking is available in cipher options. Databases created with device-locking enabled can be only accessed in the same device where the databases are created. Device-locking is currently in alpha stage. You can enable it with the following code:
SQLiteCipherSpec cipher = new SQLiteCipherSpec() // add the following line to enable device-locking .setCipher(SQLiteCipherSpec.CIPHER_DEVLOCK); SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(path, key, cipher, ...);
- ๐ Various bug fixes.
-
v1.0.0 Changes
๐ Initial release.