All Versions
14
Latest Version
Avg Release Cycle
84 days
Latest Release
1992 days ago

Changelog History
Page 2

  • v1.0.3 Changes

    Repair Kit

    • ๐Ÿ›  Fix INTEGER PRIMARY KEY columns not properly recovered.

    ๐ŸŽ iOS/macOS

    • โž• Add WCTColumnCoding support for all WCTValue. Developers can use id<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 or NSMutableData 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 to updateRowsInTables, and statictics(typo) to statistics.
    • ๐Ÿ›  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 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.
  • v1.0.0 Changes

    ๐ŸŽ‰ Initial release.