- 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.
- 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 ":debug@aar" to reference debug library.
compile 'com.tencent.wcdb:wcdb-android:1.0.1:debug@aar'
}
- 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.
Initial release.