WCDB v1.0.1 Release Notes
-
๐ 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 ":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.