All Versions
14
Latest Version
Avg Release Cycle
84 days
Latest Release
1784 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.8 Changes
November 12, 2018Android
- ๐ Support for Room library from Android Jetpack. See README and Wiki for details.
-
v1.0.8.2 Changes
March 26, 2019๐ iOS/macOS
- ๐ Support Swift 4.2 for Xcode 10.2
-
v1.0.8.1 Changes
January 14, 2019๐ iOS/macOS
- ๐ Fix a bug that archive failed with Xcode new build system.
-
v1.0.7 Changes
August 28, 2018๐ iOS/macOS
- ๐ Fix nil string bug while inserting empty string.
- โฌ๏ธ Reduce size of binary and provide a non-bitcode scheme by
--configuration WithoutBitcode
for Carthage. - Avoid conflict between builtin SQLCipher and other SQLite based library(including system library).
- Code template is not installed automatically now. Developers can run
curl https://raw.githubusercontent.com/Tencent/wcdb/master/tools/templates/install.sh -s | sh
to install it manually.
-
v1.0.7.5 Changes
September 21, 2018๐ iOS/macOS
- Compatible with Swift 4.2.
- Enable FTS5 macro for sqlcipher.
-
v1.0.6 Changes
January 02, 2018๐ iOS/macOS
๐ It's the first release for WCDB Swift, which contains exactly the same features as the ObjC version, including:
- Object-Relational-Mapping based on Swift 4.0
Codable
protocol. - WCDB Integrated Language Query.
- Multithreading safety and concurrency.
- Encryption based on SQLCipher.
- Protection for SQL injection.
- Full text search.
- Corruption recovery.
- ...
For further information, please check tutorial on wiki.
Android
- ๐ Migrate to gradle plugin 3.0.0, target API 26, and minimal API 14.
- ๐ Support NDK r16, change default toolchain to clang.
- ๐ Various bug fixes.
- Object-Relational-Mapping based on Swift 4.0
-
v1.0.6.2 Changes
June 06, 2018๐ iOS/macOS
๐ It's a bug fixed version. Since Swift 4.1.x contains bugs that make WCDB fails to compile, developers should use Xcode 10(with Swift 4.2).
Swift
- Compatible with Swift 4.2. The
ColumnEncodable
andColumnDecodable
is now changed. Check the code snippet, file template or wiki for the new usage. - ๐ Use
Double
column type forDate
.
๐จ FYI, a refactor is needed to fit the new conditional conformance design of Swift 4.2. We will finish it in next version.
Android
- ๐ Use C++14 and libc++_static runtime on JNI routines.
- ๐ Fix "no implementation found" log on libwcdb.so initialization.
- ๐ Fix ProGuard rules when importing from AAR package.
- Compatible with Swift 4.2. The
-
v1.0.6.1
January 09, 2018 -
v1.0.5 Changes
November 08, 2017๐ iOS/macOS
- ๐ Builtin full-text search support for ORM. ```objc WCTProperty tableProperty = WCTSampleFTSData.PropertyNamed(tableNameFTS).match("Eng")];
[databaseFTS getObjectsOfClass:WCTSampleFTSData.class fromTable:tableNameFTS where:tableProperty.match("Eng*")];
* ๐ Support read-only databases. * ๐จ Some minor bug fixes and code refactor. #### Android * ๐ Optimize asynchronous checkpointer, greatly improve write performance with WAL and asynchronous checkpointing. ```java SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabaseInWalMode(...); db.setAsyncCheckpointEnabled(true);
- โ Add benchmark for asynchronous checkpointer.
- โ Add connection pooling friendly interface.
SQLiteDatabase.setSynchronousMode()
to set database synchronization mode. - Enable
dbstat
virtual table while compiling.
-
v1.0.4 Changes
September 14, 2017Repair Kit
- โ Add
sqliterk_cancel
function to cancel ongoing output operations. - โ Add corresponding Java interface to cancel operations on Android.
๐ iOS/macOS
- ๐ Builtin
WCTColumnCoding
supports allid<NSCoding>
objects now. - Compatible with iOS 11.
- 0๏ธโฃ
Fullfsync
is used by default for data integrity. - โ Add
-initWithExistingTag:
forWCTDatabase
to get existing database without path.
WCTDatabase* database = [WCTDatabase [alloc] initWithPath:path]; database.tag = 123; WCTDatabase* withoutPath = [[WCTDatabase alloc] initWithExistingTag:123];
- ๐ Some minor bug fixes, performance improvement and code refactor.
Android
- โ Add asynchronous checkpointing support and custom checkpointing callback. This can improve performance in WAL mode.
SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabaseInWalMode(...); // Use asynchronous checkpointing. db.setAsyncCheckpointEnabled(true); // OR use custom checkpointer. SQLiteCheckpointListener callback = new SQLiteCheckpointListener() { //... }; db.setCheckpointCallback(callback);
- โ Add
SQLiteTrace.onConnectionObtained(...)
interface to trace concurrency performance. - โ Add cancelable version of
SQLiteDatabase.execSQL()
. SeeCancellationSignal
for details.
CancellationSignal signal = new CancellationSignal(); db.execSQL(longRunningSQL, args, signal); // on another thread signal.cancel();
- Enable
SQLITE_ENABLE_FTS3_PARENTHESIS
compilation option on SQLCipher, which enablesAND
,OR
operators in FTS3/4. - ๐ฆ Use
CancellationSignal
for cancelingBackupKit
,RecoverKit
andRepairKit
operations. See repair sample for details. - โ Add callback interface for
RepairKit
to show progress to the users. SeeRepairKit.Callback
andRepairKit.setCallback()
. - Do not load
libwcdb.so
if it's already loaded on the first use. This makes WCDB compatible to Tinker framework. - ๐ Various bug fixes.
- โ Add