Gwendal Roué
|
3043d7dca5
|
DatabaseUUIDEncodingStrategy is Sendable
Fix #1567
|
2024-07-11 07:46:23 +02:00 |
|
Gwendal Roué
|
5a42d78e06
|
Data decoding and encoding strategies
Users must be able to store JSON data as text in the database.
|
2023-10-04 19:55:12 +02:00 |
|
Gwendal Roué
|
734d911416
|
Fix typo
|
2023-02-22 06:18:13 +01:00 |
|
Gwendal Roué
|
b0d73f3126
|
EncodableRecord.databaseChanges(modify:)
|
2023-02-21 22:48:37 +01:00 |
|
Gwendal Roué
|
13c804d1cc
|
DocC
|
2022-11-06 16:02:36 +01:00 |
|
Gwendal Roué
|
1818534513
|
DocC
|
2022-11-06 16:02:36 +01:00 |
|
Gwendal Roué
|
37f0a0bb9a
|
BREAKING: throwing EncodableRecord.encode(to:)
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
a702fe6bc9
|
BREAKING: persistence callbacks, and support for RETURNING
- Replace performInsert, performUpdate, etc with callbacks: willInsert, aroundInsert, didInsert, etc.
- Always call didInsert, even with INSERT OR IGNORE
- Explicit conflict resolution in persistence methods
- Add ...AndFetch... methods
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
a9fcf1b9c1
|
SE-0335, SE-0341, SE-0346, SE-0352, SE-0358: some, any, primary associated types
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
fe225fe452
|
BREAKING: Remove deprecated methods
|
2022-08-21 19:21:57 +02:00 |
|
Gwendal Roué
|
23cbf13af0
|
Swift 5.7 required: Availability checks
|
2022-08-21 19:21:57 +02:00 |
|
Gwendal Roué
|
fcb037bdf0
|
Swift 5.7 required: Bump deployment targets
|
2022-08-21 19:21:57 +02:00 |
|
Gwendal Roué
|
09922c34ff
|
Code formatting
|
2022-01-23 12:24:34 +01:00 |
|
Gwendal Roué
|
913860f3ce
|
UUID encoding strategies uppercaseString and lowercaseString
This commit was influenced by https://forums.swift.org/t/53058
|
2021-11-04 20:33:55 +01:00 |
|
Gwendal Roué
|
8076e7c725
|
Fix failing tests for key/id encoding strategies
|
2021-10-31 11:07:17 +01:00 |
|
Gwendal Roué
|
87e9a0d0e0
|
Add license
|
2021-08-30 19:21:37 +02:00 |
|
Gwendal Roué
|
e6e2536f6b
|
Reverse DatabaseColumnDecodingStrategy
It does not convert coding keys to columns, but columns to CodingKeys, exactly as JSONDecoder.KeyDecodingStrategy
|
2021-08-29 13:52:36 +02:00 |
|
Gwendal Roué
|
42045ad8fb
|
Merge remote-tracking branch 'origin/development' into pr1029
|
2021-08-29 08:37:13 +02:00 |
|
Gwendal Roué
|
0914b56c41
|
Add mark
|
2021-08-29 08:31:36 +02:00 |
|
Gwendal Roué
|
33e2c379db
|
Make it clear that strategies apply to columns only
...and not to row scopes or prefetched records
|
2021-08-28 16:24:53 +02:00 |
|
Gwendal Roué
|
06763e47d2
|
Share convertToSnakeCase()
|
2021-08-28 16:05:41 +02:00 |
|
Gwendal Roué
|
5f23d97903
|
Add the custom strategies
|
2021-08-28 15:50:34 +02:00 |
|
Gwendal Roué
|
03a8e03a92
|
Documentation
Doc of cases is copied from JSONDecoder.KeyDecodingStrategy and JSONEncoder.KeyEncodingStrategy
|
2021-08-28 15:48:31 +02:00 |
|
Gwendal Roué
|
987b8a48e5
|
Key coding strategies transform keys into columns
They are not String transformers
|
2021-08-28 15:41:12 +02:00 |
|
Gwendal Roué
|
665770c50c
|
Remove all ABI annotations
|
2021-08-21 13:14:54 +02:00 |
|
Scott Berrevoets
|
4ab7f1cf3e
|
Add support for encoding as well
|
2021-08-12 20:12:10 -07:00 |
|
Chris Ballinger
|
43de1c24a7
|
Add userInfo to databaseJSONDecoder and databaseJSONEncoder
|
2021-04-08 13:11:59 -07:00 |
|
Gwendal Roué
|
7f229468d2
|
Documentation
|
2020-07-12 15:12:04 +02:00 |
|
Gwendal Roué
|
07092169bf
|
Documentation
|
2020-07-12 14:17:58 +02:00 |
|
Gwendal Roué
|
9ee3fd38b5
|
Remove mentions of unsupported iOS versions
|
2020-05-31 13:54:02 +02:00 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Kevin Wooten
|
4d3f0bd88b
|
Add support for tvOS
## Xcode Project
- [x] tvOS Target
- [x] tvOS Unit Test Target
- [x] tvOS Scheme
## Makefile
- [x] tvOS Target Min/Max
- [x] tvOS Actions (copies iOS)
## CI
- [x] tvOS Travis stages
## Packaging
- [x] CocoaPods - Podfile Updated
- [x] ~SwiftPM - Not Changes Required~
## Documentation
- [x] Readme Updated
|
2019-08-22 13:15:31 -07:00 |
|
Gwendal Roué
|
df6bb8761c
|
Swiftlint + whitespace
|
2019-07-01 08:57:53 +02:00 |
|
Gwendal Roué
|
05258b1098
|
Fix SPM build
|
2019-03-10 15:21:39 +01:00 |
|
Gwendal Roué
|
4ae1fb11cc
|
Extract EncodableRecord from MutablePersistableRecord
This fixes issue #426
|
2019-03-10 14:00:01 +01:00 |
|