Merge branch 'development'

This commit is contained in:
Gwendal Roué committed 2020-04-13 11:52:21 +02:00
commit c493b17232
6 files changed
+24 -9

No files matched your search

+10 -1
View File
@@ -13,7 +13,7 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
#### 4.x Releases
- `4.12.x` Releases - [4.12.0](#4120) | [4.12.1](#4121)
- `4.12.x` Releases - [4.12.0](#4120) | [4.12.1](#4121) | [4.12.2](#4122)
- `4.11.x` Releases - [4.11.0](#4110)
- `4.10.x` Releases - [4.10.0](#4100)
- `4.9.x` Releases - [4.9.0](#490)
@@ -69,6 +69,15 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
## Next Release
-->
## 4.12.2
Released April 13, 2020 • [diff](https://github.com/groue/GRDB.swift/compare/v4.12.1...v4.12.2)
**Fixed**
- [#757](https://github.com/groue/GRDB.swift/pull/757): Don't load association inflections unless necessary
## 4.12.1
Released March 29, 2020 • [diff](https://github.com/groue/GRDB.swift/compare/v4.12.0...v4.12.1)
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'GRDB.swift'
s.version = '4.12.1'
s.version = '4.12.2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A toolkit for SQLite databases, with a focus on application development.'
+6
View File
@@ -9,14 +9,20 @@ extension String {
return String(first).uppercased() + dropFirst()
}
// Never inline this property, in order to make sure Inflections.default
// is lazily loaded. See https://github.com/groue/GRDB.swift/issues/755#issuecomment-612418053
/// "player" -> "players"
/// "players" -> "players"
@inline(never)
var pluralized: String {
return Inflections.default.pluralize(self)
}
// Never inline this property, in order to make sure Inflections.default
// is lazily loaded. See https://github.com/groue/GRDB.swift/issues/755#issuecomment-612418053
/// "player" -> "player"
/// "players" -> "player"
@inline(never)
var singularized: String {
return Inflections.default.singularize(self)
}
+3 -3
View File
@@ -466,12 +466,12 @@ ifdef JAZZY
--author 'Gwendal Roué' \
--author_url https://github.com/groue \
--github_url https://github.com/groue/GRDB.swift \
--github-file-prefix https://github.com/groue/GRDB.swift/tree/v4.12.1 \
--module-version 4.12.1 \
--github-file-prefix https://github.com/groue/GRDB.swift/tree/v4.12.2 \
--module-version 4.12.2 \
--module GRDB \
--root-url http://groue.github.io/GRDB.swift/docs/4.12/ \
--output Documentation/Reference \
--podspec GRDB.swift.podspec
--xcodebuild-arguments -project,GRDB.xcodeproj,-scheme,GRDBiOS
else
@echo Jazzy must be installed for doc
@exit 1
+3 -3
View File
@@ -12,14 +12,14 @@
---
**Latest release**: March 29, 2020 • version 4.12.1 • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 3 to GRDB 4](Documentation/GRDB3MigrationGuide.md)
**Latest release**: April 13, 2020 • version 4.12.2 • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 3 to GRDB 4](Documentation/GRDB3MigrationGuide.md)
**Requirements**: iOS 9.0+ / macOS 10.9+ / tvOS 9.0+ / watchOS 2.0+ • Swift 4.2+ / Xcode 10.0+
| Swift version | GRDB version |
| ------------- | ----------------------------------------------------------- |
| **Swift 5** | **v4.12.1** |
| **Swift 4.2** | **v4.12.1** |
| **Swift 5** | **v4.12.2** |
| **Swift 4.2** | **v4.12.2** |
| Swift 4.1 | [v3.7.0](https://github.com/groue/GRDB.swift/tree/v3.7.0) |
| Swift 4 | [v2.10.0](https://github.com/groue/GRDB.swift/tree/v2.10.0) |
| Swift 3.2 | [v1.3.0](https://github.com/groue/GRDB.swift/tree/v1.3.0) |
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.12.1</string>
<string>4.12.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>