Skip to content

Commit

Permalink
Changelog for 1.0.3 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
John-He-928 committed Jul 24, 2017
1 parent 5b05cb3 commit b33b270
Showing 1 changed file with 27 additions and 23 deletions.
50 changes: 27 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
## v1.0.3

#### iOS

- Add `WCTColumnCoding` support for all `WCTValue`. Developers can use `id<WCTColumnCoding>` objects for WINQ and all interfaces.

```objective-c
//WINQ
NSDate *now = [NSDate date];
[database getObjectsOfClass:Message.class fromTable:tableName where:Message.modifedTime==now];
#### Repair Kit

//Interfaces
[database updateAllRowsInTable:tableName
onProperty:Message.modifiedTime
withValue:[NSDate date]];
```
* Fix INTEGER PRIMARY KEY columns not properly recovered.

- Add monitor for all executed SQL. Developers can use it to make sure the correction of their WINQ.
```objective-c
//SQL Execution Monitor
[WCTStatistics SetGlobalSQLTrace:^(NSString *sql) {
NSLog(@"SQL: %@", sql);
}];
```
#### iOS

- Update `WCTTableCoding` xcode file template for the best practice of isolating the ObjC++ code. See Wiki page for details.
* 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];

- Some minor bug fixes.
//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

#### iOS
Expand Down

0 comments on commit b33b270

Please sign in to comment.