diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec index 30f2b8330..3a14688ba 100644 --- a/GRDB.swift.podspec +++ b/GRDB.swift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GRDB.swift' - s.version = '0.3.0' + s.version = '0.4.0' s.license = { :type => 'MIT', :file => 'LICENSE' } s.summary = 'SQLite toolkit for Swift.' s.homepage = 'https://github.com/groue/GRDB.swift' diff --git a/GRDB/Info.plist b/GRDB/Info.plist index 343d4e68a..5cb1916b2 100644 --- a/GRDB/Info.plist +++ b/GRDB/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.3.0 + 0.4.0 CFBundleSignature ???? CFBundleVersion diff --git a/README.md b/README.md index 98cf89d28..969658074 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ GRDB.swift is an [SQLite](https://www.sqlite.org) toolkit for Swift 2, from the It ships with a low-level database API, plus application-level tools. -**July 11, 2015: GRDB.swift 0.3.0 is out.** [Release notes](RELEASE_NOTES.md) +**July 12, 2015: GRDB.swift 0.4.0 is out.** [Release notes](RELEASE_NOTES.md) Get release announcements and usage tips: follow [@groue on Twitter](http://twitter.com/groue). @@ -72,7 +72,7 @@ To use GRDB.swift with Cocoapods, specify in your Podfile: source 'https://github.com/CocoaPods/Specs.git' use_frameworks! -pod 'GRDB.swift', '0.3.0' +pod 'GRDB.swift', '0.4.0' ``` @@ -83,7 +83,7 @@ pod 'GRDB.swift', '0.3.0' To use GRDB.swift with Carthage, specify in your Cartfile: ``` -github "groue/GRDB.swift" == 0.3.0 +github "groue/GRDB.swift" == 0.4.0 ``` Before running `carthage update`, select Xcode-beta as the active developer directory by running the following command: @@ -105,7 +105,7 @@ To fiddle with the library, open the `GRDB.xcworkspace` workspace: it contains a **Reference** -- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.3.0/index.html) on cocoadocs.org +- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.4.0/index.html) on cocoadocs.org **Guides** diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index c1325e890..a664d2ea4 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,11 +1,11 @@ Release Notes ============= -## Future release +## 0.4.0 **Breaking changes** -- `RowModel.save(db)` inserts a row when there is no matching row in the database. It used to throw RowModelNotFound. +- `RowModel.save(db)` makes its best to store values in the database. In particular, when the row model has a non-nil primary key, it will insert when there is no row to update. It used to throw RowModelNotFound in this case. ## v0.3.0