Commit Graph
11068 Commits
Author SHA1 Message Date
Gwendal Roué c93ba4fba8 WIP 2025-01-17 17:52:52 +01:00
Gwendal Roué ec40855466 Merge pull request #1697 from kevinlg/fix-typo-in-docs
Fix typo in Readme.md
2025-01-09 07:23:43 +01:00
Kevin LE GOFF 1cca3686f5 Fix typo in Readme.md 2025-01-09 00:01:48 +02:00
Gwendal Roué 1e354ba79c Delete the rationale for Sendable records
... because the reality is that I just don't know how to relax this requirement.

See:

- https://www.youtube.com/watch?v=JmrnE7HUaDE
- https://forums.swift.org/t/swiftserverconf-feedback-on-leveraging-structured-concurrency-in-your-applications/75176
2025-01-02 17:07:55 +01:00
Gwendal Roué 0ea5471b56 Merge pull request #1696 from groue/dev/sqlite-3.47.2
Bump custom SQLite to 3.47.2
2025-01-02 12:57:50 +01:00
Gwendal Roué b2e808b9e4 Bump custom SQLite to 3.47.2 2025-01-02 12:28:14 +01:00
Gwendal Roué ac0c085a4a Merge pull request #1695 from JasonnnW3000/master
Update LICENSE, fix copyright license year
2025-01-01 12:25:30 +01:00
JasonnnW3000 9f9f0d37dd Update LICENSE, fix license year
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com>
2024-12-31 23:58:47 -05:00
Gwendal Roué 898e7b6abe Merge pull request #1662 from compnerd/c
Core: import `ucrt` on Windows for `strcmp`
2024-11-13 16:11:39 +01:00
Gwendal Roué 0fb599812f Merge pull request #1661 from compnerd/extensions
Foundation: elide extensions on Windows to match Linux
2024-11-13 16:11:10 +01:00
Saleem Abdulrasool 77a4d17940 Core: import ucrt on Windows for strcmp
This uses the deprecated `strcmp` interface on Windows, which requires
the C library to be imported. Add the missing import to allow building
on Windows.
2024-11-12 11:12:27 -08:00
Saleem Abdulrasool c865a847fd Foundation: elide extensions on Windows to match Linux
Similar to Linux, elide some extensions on Windows. This is required to
build this module on Windows.
2024-11-12 11:10:07 -08:00
Gwendal Roué 832bc1aa74 Merge pull request #1660 from nylki/patch-1
docs: fixes typos "FST"->"FTS"
2024-11-11 11:50:35 +01:00
Tom Brewe 910ca2d0ce docs: fixes typos "FST"->"FTS" 2024-11-01 20:16:44 +01:00
Gwendal Roué 3ecb5c5455 Remove compiler warning in demo app 2024-10-22 08:18:38 +02:00
Gwendal Roué 84d25dfc9d Merge branch 'development' v7.0.0-beta.6 2024-10-13 18:54:36 +02:00
Gwendal Roué 5664c5a829 7.0.0-beta.6 2024-10-13 18:54:10 +02:00
Gwendal Roué 334a63aa4a Update links to database schema documentation 2024-10-13 17:58:57 +02:00
Gwendal Roué 7e506f6488 Merge pull request #1654 from groue/dev/SQLite-3.46.1
Bump custom SQLite builds to 3.46.1
2024-10-13 17:52:53 +02:00
Gwendal Roué 5341f139e5 Update the Swift badge 2024-10-13 13:55:18 +02:00
Gwendal Roué 917b7ecc90 Bump custom SQLite to 3.46.1 2024-10-13 12:50:56 +02:00
Gwendal Roué c396fc20be Merge branch 'development' v7.0.0-beta.5 2024-10-13 12:18:03 +02:00
Gwendal Roué 73083c4f1b 7.0.0-beta.5 2024-10-13 12:17:37 +02:00
Gwendal Roué 2c12f0a5e6 Merge pull request #1652 from groue/dev/schema-doc
Enhance the database schema documentation
2024-10-13 11:33:25 +02:00
Gwendal Roué c97f633022 More documentation of database schema methods 2024-10-13 11:28:14 +02:00
Gwendal Roué 4315030af5 More tests for object existence checks 2024-10-13 11:12:27 +02:00
Gwendal Roué 13b6c9d36b Split database schema documentation into several files, and restore the overview of database schema features
Fixes #1623
2024-10-13 10:54:13 +02:00
Gwendal Roué 8aaeb253d2 Merge pull request #1653 from Jnosh/schema-changes-readonly
Fix DatabaseMigrator.hasSchemaChanges failing for readonly connections
2024-10-13 10:49:53 +02:00
Janosch Hildebrand a741fb38f0 Fix DatabaseMigrator.hasSchemaChanges failing for readonly connections 2024-10-12 18:36:15 +02:00
Gwendal Roué 2c49a69f43 Raise a fatal error when the users filters a database view by primary key
Fixes #1648
2024-10-12 15:41:36 +02:00
Gwendal Roué d6b50b2c54 Merge branch 'development' v7.0.0-beta.4 2024-10-12 14:04:05 +02:00
Gwendal Roué ad983f7971 7.0.0-beta.4 2024-10-12 14:03:56 +02:00
Gwendal Roué 7cd075bbdc Merge pull request #1651 from groue/dev/hasSchemaChanges
Allow applications to handle DatabaseMigrator schema changes.
2024-10-12 14:01:01 +02:00
Gwendal Roué 0aa8498620 DatabaseMigrator.hasSchemaChanges 2024-10-12 12:40:36 +02:00
Gwendal Roué bccf312af6 Merge branch 'development' v7.0.0-beta.3 2024-10-06 18:49:34 +02:00
Gwendal Roué 5b4a86b5f7 7.0.0-beta.3 2024-10-06 18:42:03 +02:00
Gwendal Roué 68d12916e6 Fix Swiftlint warning 2024-10-06 18:36:43 +02:00
Gwendal Roué 6a4f454464 Merge pull request #1649 from bok-/master
Add `DatabaseValueConvertible` tip for JSON columns
2024-10-06 18:30:23 +02:00
Gwendal Roué a9fa2871aa Document the requirements 2024-10-06 18:19:11 +02:00
Rob Amos 8c5396898a Add DatabaseValueConvertible tip 2024-10-06 23:18:13 +11:00
Gwendal Roué dd14710c86 Fix typo 2024-10-06 13:55:29 +02:00
Gwendal Roué 97c0c72702 Merge pull request #1645 from philmitchell/coalesce
Add coalesce free function and Row method
2024-10-06 13:55:02 +02:00
Gwendal Roué a17d72e04c Make the top-level coalesce function work with collections of size zero and one. 2024-10-06 12:53:22 +02:00
Gwendal Roué 761b00f9bc Test Row.coalesce with collections of size zero and one. 2024-10-06 12:45:38 +02:00
Gwendal Roué ac3278a38b Test top-level function coalesce like other top-level functions 2024-10-06 12:42:33 +02:00
Gwendal Roué 06c3ab0d16 Test Row.coalesce on all variants of Row 2024-10-06 12:42:10 +02:00
Gwendal Roué f38619ada8 Restore alphabetical order of SQL functions 2024-10-06 12:42:10 +02:00
Gwendal Roué 8cac458efc Use "real" column names in examples.
Also, remove "essential".
2024-10-06 12:42:10 +02:00
Gwendal Roué a13c1bec29 Add coalesce in DocC 2024-10-06 12:19:49 +02:00
Gwendal Roué c6781f46d2 Prefer Collection over Array
This allows the user to call those methods with an Array, or any other collection at hand (including lazy ones)

This change makes `return coalesce(columns.lazy.map { $0.name })` iterate lazily. Before this commit, `map` was returning a non-lazy Array.
2024-10-06 12:19:49 +02:00