Robert M. Ryan 8 лет назад
Родитель
Сommit
7ebbfd055c
5 измененных файлов с 19 добавлено и 4 удалено
  1. 15 0
      CHANGES_AND_TODO_LIST.txt
  2. 1 1
      FMDB.podspec
  3. 1 1
      Tests/FMDatabaseTests.m
  4. 1 1
      src/fmdb/FMDatabase.m
  5. 1 1
      src/fmdb/Info.plist

+ 15 - 0
CHANGES_AND_TODO_LIST.txt

@@ -3,6 +3,21 @@ Zip, nada, zilch.  Got any ideas?
 
 If you would like to contribute some code ... awesome!  I just ask that you make it conform to the coding conventions already set in here, and to add the necessary of tests for your new code to tests target.  And of course, the code should be of general use to more than just a couple of folks.  Send your patches to gus@flyingmeat.com.
 
+2017.10.20 Version 2.7.3
+    Added support for immediate transactions and checkpoint. (thanks to @benasher44)
+
+    Updated nullability of `FMDatabaseQueue` initialization methods. (thanks to @robotive)
+    In a related correction, we updated README to avoid confusing reference to nullability
+    changes in 2.7. (In 2.7, as part of the nullability audit, I (@robertryan) accidentally
+    declared a few `FMDatabaseQueue` initializers to be nonnull, but @robotive pointed out
+    that they actually _were_ nullable. Most of that nullability audit stands as it was
+    released in 2.7.0, but this fixes a few little errors.
+
+    Minor correction to README, whereby Swift example code implicitly suggested using
+    Documents folder for database, whereas with the advent of the new Files app, Apple suggests
+    using the "Application Support" directory for files that are not documents for end-user
+    interaction. Clearly, use whatever is appropriate in your case, but no longer assume that
+    you should just place files in Documents folder, as that is often not the appropriate location.
 
 2017.06.01 Version 2.7.2
     Make blocks `nonescaping` (thanks to @benasher44)

+ 1 - 1
FMDB.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name = 'FMDB'
-  s.version = '2.7.2'
+  s.version = '2.7.3'
   s.summary = 'A Cocoa / Objective-C wrapper around SQLite.'
   s.homepage = 'https://github.com/ccgus/fmdb'
   s.license = 'MIT'

+ 1 - 1
Tests/FMDatabaseTests.m

@@ -1125,7 +1125,7 @@ - (void)createCustomFunctions {
 }
 
 - (void)testVersionNumber {
-    XCTAssertTrue([FMDatabase FMDBVersion] == 0x0272); // this is going to break everytime we bump it.
+    XCTAssertTrue([FMDatabase FMDBVersion] == 0x0273); // this is going to break everytime we bump it.
 }
 
 - (void)testExecuteStatements {

+ 1 - 1
src/fmdb/FMDatabase.m

@@ -98,7 +98,7 @@ - (NSURL *)databaseURL {
 }
 
 + (NSString*)FMDBUserVersion {
-    return @"2.7.2";
+    return @"2.7.3";
 }
 
 // returns 0x0240 for version 2.4.  This makes it super easy to do things like:

+ 1 - 1
src/fmdb/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.7.2</string>
+	<string>2.7.3</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>