WCDB v1.0.3 Release Notes

  • 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.