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 in runTransaction 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.