# GRDB 7 beta

**URL:** <https://forums.swift.org/t/grdb-7-beta/75018>\
**Category:** GRDB\
**Created:** [September 29, 2024, 6:38pm UTC](https://forums.swift.org/t/grdb-7-beta/75018 "2024-09-29T18:38:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gwendal.roue](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/gwendal.roue/32/13992_2.png) [@gwendal.roue](https://forums.swift.org/u/gwendal.roue)\
**Post date:** [September 29, 2024, 6:38pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/1 "2024-09-29T18:38:54Z")

</div>

Hello, I'm pleased to announce a new release of the Swift toolkit for SQLite databases.

**GRDB 7.0.0-beta is Xcode 16 and Swift 6 ready!**

To upgrade, please follow the [migration guide](https://github.com/groue/GRDB.swift/blob/master/Documentation/GRDB7MigrationGuide.md).

Raising the Swift concurrency checkings of Swift 6 can create compiler warnings. The new [Swift Concurrency and GRDB](https://swiftpackageindex.com/groue/grdb.swift/v7.0.0-beta.2/documentation/grdb/swiftconcurrency) guide is there to help you use GRDB from your Swift 6 code.

If you are looking for inspiration, the [demo app](https://github.com/groue/GRDB.swift/tree/master/Documentation/DemoApps/GRDBDemo) was rewritten from scratch in a brand new Xcode 16 project.

Please upgrade your applications, and report any issue on GitHub!

[Full release notes](https://github.com/groue/GRDB.swift/blob/master/CHANGELOG.md#700-beta2)

---

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [September 29, 2024, 9:11pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/2 "2024-09-29T21:11:54Z")

</div>

i can’t seem to build the [v7.0.0-beta.2](https://github.com/groue/GRDB.swift/releases/tag/v7.0.0-beta.2) successfully using the 6.0.1 toolchain, here is a log of the documentation build on Swiftinit:

[https://static.swiftinit.org/logs/2024-09-29/5916/23-1727627278357.build.log](https://static.swiftinit.org/logs/2024-09-29/5916/23-1727627278357.build.log)

i also attempted to build the tag locally and got the same result. any idea what’s going on?

---

<div class="post-metadata">

**Author:** ![gwendal.roue](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/gwendal.roue/32/13992_2.png) [@gwendal.roue](https://forums.swift.org/u/gwendal.roue)\
**Post date:** [September 29, 2024, 9:20pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/3 "2024-09-29T21:20:30Z")

</div>

> [@taylorswift](#):
>
> any idea what’s going on?

The logs you linked to say that various types such as `DispatchQoS`, `DispatchSpecificKey` are not Sendable.

In the SDK that ships with Xcode 16, those types are Sendable (or conditionally Sendable).

It looks like the SDK you are using is not up-to-date. I recommend upgrading, or opening issues in the related repositories.

---

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [September 29, 2024, 9:29pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/4 "2024-09-29T21:29:17Z")

</div>

i see, i believe this is because [`DispatchQoS`](https://swiftinit.org/docs/swift/dispatch/dispatchqos) and [`DispatchSpecificKey`](https://swiftinit.org/docs/swift/dispatch/dispatchspecifickey) simply did not receive these conformances in Swift 6.0.1 on linux, which is yet another in a long list of platform traps between the macOS and linux versions of the standard library.

i understand GRDB.swift does not officially support linux, however, the 6.x release series was (serendipitously) buildable on linux, which allowed us to index [the documentation](https://swiftinit.org/tags/grdb) for those tags on Swiftinit.

although you could probably restore linux buildability by adding `#if`-gated conformances or `@preconcurrency` imports, this really feels like something that needs to be fixed in the standard library itself.

---

<div class="post-metadata">

**Author:** ![gwendal.roue](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/gwendal.roue/32/13992_2.png) [@gwendal.roue](https://forums.swift.org/u/gwendal.roue)\
**Post date:** [September 29, 2024, 9:35pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/5 "2024-09-29T21:35:53Z")

</div>

> [@taylorswift](#):
>
> i understand GRDB.swift does not officially support linux, however, the 6.x release series was (serendipitously) buildable on linux

GRDB 6 could build on Linux thanks to the contributions of generous users. I hope GRDB 7 will eventually build on Linux as well. I agree it's more an issue with the SDK than with the library itself.

---

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [September 29, 2024, 9:49pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/6 "2024-09-29T21:49:47Z")

</div>

i opened [`DispatchQoS` and `DispatchSpecificKey` should have consistent `Sendable` conformances between macOS and linux · Issue #76773 · swiftlang/swift · GitHub](https://github.com/swiftlang/swift/issues/76773) against swiftlang/swift and i created this PR for GRDB.swift itself:

> <https://github.com/groue/GRDB.swift/pull/1644>
>
> see https://forums.swift.org/t/grdb-7-beta/75018/4
> 
> \### Pull Request Checklist…
> 
> \- \[x\] CONTRIBUTING: You have read https://github.com/groue/GRDB.swift/blob/master/CONTRIBUTING.md
> \- \[x\] BRANCH: This pull request is submitted against the \`development\` branch.
> \- \[x\] DOCUMENTATION: Inline documentation has been updated.
> \- \[x\] DOCUMENTATION: README.md or another dedicated guide has been updated.
> \- \[\] TESTS: Changes are tested.
> \- \[\] TESTS: The \`make smokeTest\` terminal command runs without failure.

as i am developing from linux i wasn’t able to complete all the steps on the PR checklist, unfortunately.

---

<div class="post-metadata">

**Author:** ![gwendal.roue](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/gwendal.roue/32/13992_2.png) [@gwendal.roue](https://forums.swift.org/u/gwendal.roue)\
**Post date:** [September 29, 2024, 9:51pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/7 "2024-09-29T21:51:55Z")

</div>

Thank you very much! ❤

---

<div class="post-metadata">

**Author:** ![bondo](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/bondo/32/14117_2.png) [@bondo](https://forums.swift.org/u/bondo)\
**Post date:** [September 30, 2024, 12:59pm UTC](https://forums.swift.org/t/grdb-7-beta/75018/8 "2024-09-30T12:59:35Z")

</div>

Congratulations on this big milestone, Gwendal! 👏
