From 78377d5cc03dd5e00b21ae7ab464094e0faa6fe1 Mon Sep 17 00:00:00 2001
From: Sagar Dagdu
Date: Tue, 30 Jul 2024 20:21:26 +0530
Subject: [PATCH 1/6] Update README to highlight deployment issue with
CocoaPods
---
README.md | 38 ++++++++++++++++++++++++++++----------
1 file changed, 28 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index b45d3bd5d..a7402c370 100644
--- a/README.md
+++ b/README.md
@@ -340,16 +340,6 @@ See [Encryption](#encryption) for the installation procedure of GRDB with SQLCip
See [Custom SQLite builds](Documentation/CustomSQLiteBuilds.md) for the installation procedure of GRDB with a customized build of SQLite.
-## CocoaPods
-
-[CocoaPods](http://cocoapods.org/) is a dependency manager for Xcode projects. To use GRDB with CocoaPods (version 1.2 or higher), specify in your `Podfile`:
-
-```ruby
-pod 'GRDB.swift'
-```
-
-GRDB can be installed as a framework, or a static library.
-
## Swift Package Manager
The [Swift Package Manager](https://swift.org/package-manager/) automates the distribution of Swift code. To use GRDB with SPM, add a dependency to `https://github.com/groue/GRDB.swift.git`
@@ -360,6 +350,34 @@ GRDB offers two libraries, `GRDB` and `GRDB-dynamic`. Pick only one. When in dou
>
> **Warning**: Due to an Xcode bug, you will get "No such module 'CSQLite'" errors when you want to embed the GRDB package in other targets than the main application (watch extensions, for example). UI and Unit testing targets are OK, though. See [#642](https://github.com/groue/GRDB.swift/issues/642#issuecomment-575994093) for more information.
+
+## CocoaPods
+
+[CocoaPods](http://cocoapods.org/) is a dependency manager for Xcode projects. To use GRDB with CocoaPods (version 1.2 or higher), specify in your `Podfile`:
+
+```ruby
+pod 'GRDB.swift'
+```
+
+### ⚠️ Important Note for CocoaPods installation
+
+Due to an [issue](https://github.com/CocoaPods/CocoaPods/issues/11839) in CocoaPods, it is currently not possible to deploy new versions of GRDB to CocoaPods. The last version available on CocoaPods is 6.24.1. If you want to install later versions of GRDB using CocoaPods, please use one of the following workarounds:
+
+- Depend on the `GRDB6` branch. This is more or less equivalent to what `pod 'GRDB.swift', '~> 6.0'` would normally do, if CocoaPods would accept new GRDB versions to be published:
+```ruby
+# Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
+pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', branch: 'GRDB6'
+```
+- Depend on a specific version explicitly (Replace the tag with the version you want to use):
+```ruby
+# Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
+# Replace the tag with the tag that you want to use.
+pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', tag: 'v6.29.0'
+```
+Once CocoaPods resolves this issue and allows deployment of new GRDB versions, users will be able to return to the standard installation method described at the beginning of this section.
+
+GRDB can be installed as a framework, or a static library.
+
## Carthage
[Carthage](https://github.com/Carthage/Carthage) is **unsupported**. For some context about this decision, see [#433](https://github.com/groue/GRDB.swift/issues/433).
From 8205f02672a7ac970b6acd81c01ca6e12eee2093 Mon Sep 17 00:00:00 2001
From: Sagar Dagdu
Date: Tue, 30 Jul 2024 20:54:24 +0530
Subject: [PATCH 2/6] Address code review comments
---
README.md | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index a7402c370..6517d92a3 100644
--- a/README.md
+++ b/README.md
@@ -359,24 +359,23 @@ GRDB offers two libraries, `GRDB` and `GRDB-dynamic`. Pick only one. When in dou
pod 'GRDB.swift'
```
-### ⚠️ Important Note for CocoaPods installation
+GRDB can be installed as a framework, or a static library.
-Due to an [issue](https://github.com/CocoaPods/CocoaPods/issues/11839) in CocoaPods, it is currently not possible to deploy new versions of GRDB to CocoaPods. The last version available on CocoaPods is 6.24.1. If you want to install later versions of GRDB using CocoaPods, please use one of the following workarounds:
+**Important Note for CocoaPods installation**
+
+Due to an [issue](https://github.com/CocoaPods/CocoaPods/issues/11839) in CocoaPods, it is currently not possible to deploy new versions of GRDB to CocoaPods. The last version available on CocoaPods is 6.24.1. To install later versions of GRDB using CocoaPods, use one of the following workarounds:
- Depend on the `GRDB6` branch. This is more or less equivalent to what `pod 'GRDB.swift', '~> 6.0'` would normally do, if CocoaPods would accept new GRDB versions to be published:
```ruby
-# Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
-pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', branch: 'GRDB6'
+ # Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
+ pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', branch: 'GRDB6'
```
- Depend on a specific version explicitly (Replace the tag with the version you want to use):
```ruby
-# Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
-# Replace the tag with the tag that you want to use.
-pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', tag: 'v6.29.0'
+ # Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
+ # Replace the tag with the tag that you want to use.
+ pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', tag: 'v6.29.0'
```
-Once CocoaPods resolves this issue and allows deployment of new GRDB versions, users will be able to return to the standard installation method described at the beginning of this section.
-
-GRDB can be installed as a framework, or a static library.
## Carthage
From 9da1a83cca8a9e71fee5cf06388616dde85d9278 Mon Sep 17 00:00:00 2001
From: Sagar Dagdu
Date: Tue, 30 Jul 2024 21:00:14 +0530
Subject: [PATCH 3/6] Fix indentation for code blocks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: Gwendal Roué
---
README.md | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 6517d92a3..367669b35 100644
--- a/README.md
+++ b/README.md
@@ -366,16 +366,19 @@ GRDB can be installed as a framework, or a static library.
Due to an [issue](https://github.com/CocoaPods/CocoaPods/issues/11839) in CocoaPods, it is currently not possible to deploy new versions of GRDB to CocoaPods. The last version available on CocoaPods is 6.24.1. To install later versions of GRDB using CocoaPods, use one of the following workarounds:
- Depend on the `GRDB6` branch. This is more or less equivalent to what `pod 'GRDB.swift', '~> 6.0'` would normally do, if CocoaPods would accept new GRDB versions to be published:
-```ruby
+
+ ```ruby
# Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', branch: 'GRDB6'
-```
+ ```
+
- Depend on a specific version explicitly (Replace the tag with the version you want to use):
-```ruby
+
+ ```ruby
# Can't use semantic versioning due to https://github.com/CocoaPods/CocoaPods/issues/11839
# Replace the tag with the tag that you want to use.
pod 'GRDB.swift', git: 'https://github.com/groue/GRDB.swift.git', tag: 'v6.29.0'
-```
+ ```
## Carthage
From 20ffddd5720908238f50b1233d225b0d85cd0330 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gwendal=20Rou=C3=A9?=
Date: Wed, 31 Jul 2024 12:51:26 +0200
Subject: [PATCH 4/6] Update TODO.md
---
TODO.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/TODO.md b/TODO.md
index 096a98127..17266e754 100644
--- a/TODO.md
+++ b/TODO.md
@@ -85,6 +85,7 @@
- [ ] Check https://sqlite.org/sqlar.html
- [ ] More schema alterations
- [ ] Database.clearSchemaCache() is fine, but what about dbPool readers? Can we invalidate the cache for a whole pool?
+- [ ] What can we do with `cross-module-optimization`? See https://github.com/apple/swift-homomorphic-encryption
## Unsure if necessary
From 344878cdb2e3af07f46954e3bc2b93541489bd82 Mon Sep 17 00:00:00 2001
From: Cameron Pulsford
Date: Tue, 6 Aug 2024 19:44:23 -0400
Subject: [PATCH 5/6] Fix compilation issue with Xcode 16 beta 5 due to a
missing import.
---
GRDB/Core/StatementAuthorizer.swift | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/GRDB/Core/StatementAuthorizer.swift b/GRDB/Core/StatementAuthorizer.swift
index e20883049..42691dbed 100644
--- a/GRDB/Core/StatementAuthorizer.swift
+++ b/GRDB/Core/StatementAuthorizer.swift
@@ -2,6 +2,10 @@
import Glibc
#endif
+#if canImport(Darwin)
+import Darwin
+#endif
+
/// `StatementAuthorizer` provides information about compiled database
/// statements, and prevents the truncate optimization when row deletions are
/// observed by transaction observers.
From 5b735811266eac0d5b07f9c6c990431a2059fb70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gwendal=20Roue=CC=81?=
Date: Wed, 7 Aug 2024 12:16:57 +0200
Subject: [PATCH 6/6] v6.29.1
---
CHANGELOG.md | 10 +++++++++-
GRDB.swift.podspec | 2 +-
README.md | 2 +-
Support/Info.plist | 2 +-
4 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ec95cb192..39fe55e5e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,7 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
#### 6.x Releases
-- `6.29.x` Releases - [6.29.0](#6290)
+- `6.29.x` Releases - [6.29.0](#6290) - [6.29.1](#6291)
- `6.28.x` Releases - [6.28.0](#6280)
- `6.27.x` Releases - [6.27.0](#6270)
- `6.26.x` Releases - [6.26.0](#6260)
@@ -127,6 +127,14 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
---
+## 6.29.1
+
+Released August 7, 2024
+
+- **New**: [#1579](https://github.com/groue/GRDB.swift/pull/1579) by [@groue](https://github.com/groue): Modernize the demo apps
+- **New**: [#1584](https://github.com/groue/GRDB.swift/pull/1584) by [@SagarSDagdu](https://github.com/SagarSDagdu): Update README to highlight deployment issue with CocoaPods
+- **New**: [#1589](https://github.com/groue/GRDB.swift/pull/1589) by [@groue](https://github.com/groue): Fix compilation issue with Xcode 16 beta 5 due to a missing import
+
## 6.29.0
Released July 20, 2024
diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec
index 8436768f3..93b9790ef 100644
--- a/GRDB.swift.podspec
+++ b/GRDB.swift.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'GRDB.swift'
- s.version = '6.29.0'
+ s.version = '6.29.1'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A toolkit for SQLite databases, with a focus on application development.'
diff --git a/README.md b/README.md
index 367669b35..3b3e53803 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
-**Latest release**: July 20, 2024 • [version 6.29.0](https://github.com/groue/GRDB.swift/tree/v6.29.0) • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 5 to GRDB 6](Documentation/GRDB6MigrationGuide.md)
+**Latest release**: August 7, 2024 • [version 6.29.1](https://github.com/groue/GRDB.swift/tree/v6.29.1) • [CHANGELOG](CHANGELOG.md) • [Migrating From GRDB 5 to GRDB 6](Documentation/GRDB6MigrationGuide.md)
**Requirements**: iOS 11.0+ / macOS 10.13+ / tvOS 11.0+ / watchOS 4.0+ • SQLite 3.19.3+ • Swift 5.7+ / Xcode 14+
diff --git a/Support/Info.plist b/Support/Info.plist
index 53b987969..5ef52833c 100644
--- a/Support/Info.plist
+++ b/Support/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 6.29.0
+ 6.29.1
CFBundleSignature
????
CFBundleVersion