9965 Commits
Author SHA1 Message Date
Gwendal Roué ef07897ba4 CHANGELOG 2022-09-08 13:42:13 +02:00
Gwendal Roué dd7e7f39e8 v5.26.1 v5.26.1 2022-09-08 13:30:56 +02:00
Gwendal Roué 8801adb21c Run CI on GRBD5 2022-09-08 12:26:29 +02:00
Gwendal Roué f721af86cd Fix #1276 2022-09-08 08:05:42 +02:00
Gwendal Roué 23f4254ae3 Merge branch 'development' v5.26.0 2022-07-09 18:28:22 +02:00
Gwendal Roué 2df6a17c1c v5.26.0 2022-07-09 18:27:57 +02:00
Gwendal Roué 5aeee0e429 CHANGELOG 2022-07-09 17:17:27 +02:00
Gwendal Roué 3a61a8a0e0 Merge pull request #1253 from george-signal/george-signal/optional-memory-management
Make memory management optional.
2022-07-09 17:14:11 +02:00
Gwendal Roué e0766449f1 Fix compilation error on iOS Xcode 13.3.1.app, macOS 12, Swift 5.6 2022-07-09 16:14:37 +02:00
Gwendal Roué c1e752132c Document why DatabasePool.releaseMemory() needs a barrier 2022-07-09 14:28:09 +02:00
Gwendal Roué 6ab90a03c4 Document releaseMemoryEventually and automaticMemoryManagement 2022-07-09 14:00:00 +02:00
Gwendal Roué 23fa42a3e4 Make Database.releaseMemory() public
This allows us to document how to release memory asynchronously with a DatabaseQueue (in the next commit)
2022-07-09 13:55:39 +02:00
Gwendal Roué 07eaeee123 automaticMemoryManagement tests check for actual connection closing 2022-07-09 13:39:39 +02:00
Gwendal Roué 0bfb4de02d Enhance DatabaseQueue automatic memory management
We have async methods, now: no need to use a global dispatch queue.
2022-07-09 13:39:11 +02:00
Gwendal Roué d72b7109ad DatabasePool automatic memory management no longer uses any reader barrier
This fixes the failing `testDatabasePoolDoesNotPreventConcurrentReadsOnPressureEvent` test
2022-07-09 13:39:11 +02:00
Gwendal Roué e1a63a4c05 Introduce DatabasePool.releaseMemoryEventually 2022-07-09 13:33:01 +02:00
Gwendal Roué caab403282 Failing test for concurrent read on memory warning 2022-07-09 13:31:15 +02:00
George Nachman bbe94a9607 Make memory management optional.
Memory management may not be desirable for all
users of GRDB. `DatabasePool.releaseMemory`
creates a barrier which may cause normally fast
readers to block for a long time. If this is not a
desirable tradeoff, the new
`automaticMemoryManagement` flag in
`Configuration` allows you to disable this feature
of GRDB.
2022-07-05 15:27:55 -07:00
Gwendal Roué 84bee1977e Merge pull request #1248 from groue/dev/WALSnapshot
Avoid double notification of the initial value for ValueObservation on DatabasePool
2022-06-30 20:35:52 +02:00
Gwendal Roué 0aa561e61c [skip-ci] CHANGELOG 2022-06-30 19:32:35 +02:00
Gwendal Roué b1b51c01f8 [skip-ci] Xcode drives me crazy 2022-06-30 19:32:24 +02:00
Gwendal Roué cc5196757d Fix for Xcode 12.4 2022-06-30 19:22:23 +02:00
Gwendal Roué 0e9766373d Merge pull request #1246 from sameer4/patch-1
Update AssociationsBasics.md
2022-06-30 10:43:50 +02:00
Sameer aacaa433c9 Update AssociationsBasics.md
Fixed a typo
2022-06-30 12:51:53 +05:00
Gwendal Roué 44ec3535c2 Documentation 2022-06-24 16:48:38 +02:00
Gwendal Roué 38c0d68db7 WALSnapshot
SQLITE_ENABLE_SNAPSHOT is available from Xcode 14 :-)
2022-06-24 16:48:38 +02:00
Gwendal Roué f3cc4add9f Merge pull request #1240 from danielinoa/patch-1
Fix inline documentation typo in Row
2022-06-12 14:47:16 +02:00
Daniel Inoa 432670e13a Fix documentation typo in Row 2022-06-12 05:14:28 -07:00
Gwendal Roué 3ba13b0af6 Merge pull request #1239 from groue/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-06-12 08:32:19 +02:00
dependabot[bot] 1a6228e2c5 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-11 15:37:15 +00:00
Gwendal Roué e02f2c8aba Merge branch 'development' v5.25.0 2022-06-11 17:35:55 +02:00
Gwendal Roué c0e9c8746d v5.25.0 2022-06-11 17:35:39 +02:00
Gwendal Roué d1cba5e5c8 TODO 2022-06-11 17:35:39 +02:00
Gwendal Roué bf824bf68c Makefile: support for Xcode 14.0 2022-06-11 14:59:02 +02:00
Gwendal Roué 5e5b44aa7f Fix Swiftlint build phase 2022-06-11 14:59:02 +02:00
Gwendal Roué 806919b5be Merge pull request #1235 from groue/dev/raise-default-qos
Raise default Quality of Service to .userInitiated
2022-06-08 23:35:48 +02:00
Gwendal Roué a289aecc3c CHANGELOG 2022-06-08 08:13:12 +02:00
Gwendal Roué 3f7adec072 Default qos is .userInitiated
Addresses #1234
2022-06-08 08:12:47 +02:00
Gwendal Roué c9f3a1e17f CHANGELOG 2022-06-08 08:12:30 +02:00
Gwendal Roué cf2a79e12f Merge pull request #1228 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-06-08 08:09:37 +02:00
Gwendal Roué a0212eb129 [skip ci] Early mention of the async accesses 2022-06-07 19:32:39 +02:00
Gwendal Roué d5470b7278 Merge pull request #1233 from GetToSet/ethanwong/fix-xcode-14-warning
Fix warnings of redundant conformance constraint on Xcode 14.
2022-06-07 09:33:44 +02:00
Ethan Wong cd6960f5e9 Fix warnings of redundant conformance constraint on Xcode 14. 2022-06-07 11:35:37 +08:00
naveen f72859b5b2 chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-01 01:30:32 +00:00
Gwendal Roué b947065d25 Merge pull request #1226 from turrisxyz/Pinned-Dependencies-GitHub
chore: Set permissions for GitHub actions
2022-05-31 08:12:22 +02:00
naveen 11f95806c4 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 00:30:47 +00:00
Gwendal Roué 2ac5c77353 Merge branch 'development' v5.24.1 2022-05-26 13:32:23 +02:00
Gwendal Roué 2a849d380c v5.24.1 2022-05-26 13:31:48 +02:00
Gwendal Roué fd31632203 Bump GRDBPerformance dependencies 2022-05-26 13:31:48 +02:00
Gwendal Roué 4a98a53dad CHANGELOG 2022-05-26 12:09:42 +02:00