Skip to content

Updates #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 408 commits into
base: swiftPackage
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
408 commits
Select commit Hold shift + click to select a range
818af08
Add platform versions to the SPM manifest
calvincestari Nov 3, 2021
9af5053
Move XCode deployment version from targets to project
calvincestari Nov 3, 2021
d6eb85b
Fix test platform versions
calvincestari Nov 5, 2021
a3e1724
Merge pull request #1094 from calvincestari/spm-manifest-platforms
jberkel Nov 5, 2021
d02d0b4
Move OSX deployment target back to 10.10
jberkel Nov 5, 2021
34798be
Update changelog
jberkel Nov 5, 2021
883117c
"macos-latest" is not the latest :(
jberkel Nov 5, 2021
13d7894
iOS 15.0
jberkel Nov 5, 2021
7c01062
iOS version
jberkel Nov 5, 2021
47c7004
YML insanity
jberkel Nov 5, 2021
5ea2990
Merge pull request #1095 from stephencelis/revert-osx-deployment
jberkel Nov 6, 2021
db48bb0
Update Index.md
jberkel Nov 16, 2021
60a6501
Bump version
jberkel Nov 16, 2021
a2bfb9e
Closing bracket position
gnarledrootsystems Dec 2, 2021
1c86a47
Merge pull request #1100 from gnarledrootsystems/patch-1
jberkel Dec 3, 2021
b9489a7
Native user_version support in Connection
nathanfallet Jan 17, 2022
9e162a8
Refactoring userVersion + adding tests
nathanfallet Jan 17, 2022
d52eaaf
Set userVersion as a property
nathanfallet Jan 18, 2022
80c8b30
More compact version
nathanfallet Jan 25, 2022
d004739
Fixing tests for Linux
nathanfallet Jan 25, 2022
34d3a97
Fixing Linting
nathanfallet Jan 25, 2022
85921d8
Oups
nathanfallet Jan 25, 2022
608684a
Updating documentation
nathanfallet Jan 25, 2022
5680160
Merge pull request #1105 from stephencelis/userVersion
nathanfallet Jan 25, 2022
946f69e
Bump version number
nathanfallet Jan 25, 2022
5f5ad81
Reset userVersion if set to nil
nathanfallet Jan 25, 2022
52e3ea8
Add a Value conformance for Foundation NSURL
elihwyma Feb 6, 2022
3eb1fdc
Remove Extra Trailing New Line
elihwyma Feb 12, 2022
da8d7b3
UUID Fix
benrlewis7450G Feb 18, 2022
b715493
Lint Fix and added test
benrlewis7450G Feb 19, 2022
83f0f5d
Bump iOS version
jberkel Feb 20, 2022
0c03c5d
Merge pull request #1113 from stephencelis/bump-ios-version
jberkel Feb 21, 2022
c448314
Fixed linting issues.
benrlewis7450G Feb 22, 2022
09e8424
used UUID.datatypeValue and moved tests
benrlewis7450G Feb 22, 2022
0ecc452
Merge pull request #1112 from benrlewis7450G/UUIDFix
jberkel Feb 22, 2022
f1ab605
improve performance of prefixed column resolution
Feb 24, 2022
55bf2c1
rename match -> similar to follow convention
Feb 24, 2022
eecb3cb
Adding PR template
jberkel Feb 24, 2022
3614f4e
Rename
jberkel Feb 24, 2022
c897ce9
rename
jberkel Feb 24, 2022
c659dc9
Fix lint issues
Feb 24, 2022
ef2257a
Add prepareRowIterator method to an extension of Statement.
Mar 17, 2022
1a50a03
Updates to documentation
Mar 17, 2022
dff83f7
Merge pull request #1 from jjamminjim/Statement_prepareRowIterator
jjamminjim Mar 17, 2022
4459338
Fix linting issues
Mar 17, 2022
6c77a2d
Merge pull request #3 from jjamminjim/Statement_prepareRowIterator
jjamminjim Mar 17, 2022
5af5c85
Adding primary key support to column with references
nathanfallet Mar 27, 2022
05fce4e
Fixing Trailing Whitespace Violation
nathanfallet Mar 27, 2022
c93728f
Merge pull request #1119 from GreenJell0/Statement_prepareRowIterator
nathanfallet Mar 27, 2022
b53434e
Updated Changelog
nathanfallet Mar 27, 2022
4d543d8
Merge pull request #1121 from stephencelis/pk
Mar 27, 2022
c42167f
removeDiacritics => remove_diacritics
jberkel Apr 27, 2022
f3e6419
Merge pull request #1129 from stephencelis/fix-remove-diacritics
jberkel Apr 27, 2022
626cc79
Fixed build order
maciekish Apr 29, 2022
b08d211
Merge pull request #1131 from maciekish/master
jberkel Apr 30, 2022
593a749
Merge pull request #1115 from justinmeiners/get-column-performance
jberkel May 1, 2022
b45781a
Improve string quote performance
May 9, 2022
75dfb4e
add decoding for UUID
atultw Jun 10, 2022
84783d3
remove trailing whitespace for swiftlint
atultw Jun 14, 2022
7715f7d
add tests for codable UUID
atultw Jun 15, 2022
578be41
Merge pull request #1132 from justinmeiners/quoted-performance
jberkel Jun 16, 2022
8fece72
create a constant for the UUID used in tests
atultw Jun 27, 2022
92760e0
use a switch to accommodate more types
atultw Jun 27, 2022
bc63d3a
swiftlint fix
atultw Jun 27, 2022
3fac726
silence swiftlint line_length for some sql strings
atultw Jun 28, 2022
be3a5ce
remove swiftlint line_length disables
atultw Jun 29, 2022
55f4565
Merge pull request #1137 from atultw/master
jberkel Jun 29, 2022
ba5165a
fix insertMany() failing with encodables which have assymmetric optio…
geoffmacd Jul 1, 2022
c4bdad8
lint
geoffmacd Jul 1, 2022
abff512
feedback
geoffmacd Jul 2, 2022
47ba31b
Merge pull request #1138 from geoffmacd/fix-insertmany-encodable-nils
jberkel Jul 2, 2022
12e2166
Add support for the WITH clause
marmphco Jul 7, 2022
03b5688
documentation
marmphco Jul 8, 2022
76d34dd
Heed linter warnings
marmphco Jul 8, 2022
bdacf4d
Slight documentation tweak
marmphco Jul 8, 2022
ced1851
Move WITH support members to extension in Query+with.swift
marmphco Jul 14, 2022
ed43285
Move WithClauses to Query+with.swift
marmphco Jul 15, 2022
0dfc7b0
MaterializationHint > Query+with
marmphco Jul 15, 2022
cfa6010
Split test cases
marmphco Jul 16, 2022
192788d
Merge branch 'patch-1' of github.com:elihwyma/SQLite.swift into elihw…
jberkel Jul 16, 2022
ee905fe
Add tests for NSURL conformance
jberkel Jul 16, 2022
d9da556
Merge pull request #1141 from stephencelis/nsurl-value
jberkel Jul 17, 2022
642d4fa
Merge pull request #1139 from marmphco/recursive-cte
jberkel Jul 17, 2022
9d0c0b9
Add support for ATTACH/DETACH (#30)
jberkel Jul 17, 2022
544e7b9
Remove force tries in tests
jberkel Jul 17, 2022
44383df
Fix bundle lookup
jberkel Jul 17, 2022
96b014d
Always enable URI filenames
jberkel Jul 17, 2022
41ce378
Move fixtures to more default `Resources`
jberkel Jul 17, 2022
9023fbc
Add documenation, update changelog
jberkel Jul 17, 2022
2eed200
Fix doc errors
jberkel Jul 17, 2022
0af0e4d
More supported types
jberkel Jul 17, 2022
7868fdf
Fix doc
jberkel Jul 17, 2022
f21ff7d
Merge pull request #1142 from stephencelis/attach-detach
Jul 18, 2022
be14b42
Add sqlcipher_export
jberkel Jul 17, 2022
ceb13aa
Document changes
jberkel Jul 18, 2022
d7acf92
Merge pull request #1143 from stephencelis/sqlcipher
jberkel Jul 19, 2022
136c8a8
Remove FTS4 Tokenizer / SQLiteObjc
jberkel Jul 19, 2022
f63aca4
Fix podspec, update docs
jberkel Jul 19, 2022
8d9f74e
Works now
jberkel Jul 19, 2022
ef4854f
Update mileston
jberkel Jul 19, 2022
bb21a5f
Merge pull request #1144 from stephencelis/remove-objc
jberkel Jul 19, 2022
4442ad0
Adding public method to reset a prepared statement. This is needed so…
adamwulf Jul 21, 2022
dd3e813
Create FUNDING.yml
nathanfallet Jul 22, 2022
ac1988c
Test cleanup for statement reset
adamwulf Jul 22, 2022
012194b
Adding documentation for Statement.reset().
adamwulf Jul 22, 2022
58fd9dc
Fix close of markdown code block
adamwulf Jul 22, 2022
7b3de3d
Add link to relevant sqlite.org documentation page
adamwulf Jul 22, 2022
5a30f29
cleanup test for Statement.reset()
adamwulf Jul 22, 2022
efa5fcb
Better check for throwing error in test
adamwulf Jul 22, 2022
da0cd09
Remove unneeded wal mode
adamwulf Jul 23, 2022
210303f
Use in memory database from test setup, verify error when statement i…
adamwulf Jul 23, 2022
d970a11
typo
adamwulf Jul 23, 2022
c94aca2
Merge pull request #1145 from museapphq/feature/reset-statement
jberkel Jul 23, 2022
5c66460
Adds SchemaChanger to perform database schema changes
jberkel Jul 23, 2022
affcec8
Use DROP/RENAME COLUMN when available
jberkel Jul 24, 2022
1b64529
ColumnDefinition needs to be public
jberkel Jul 24, 2022
f57c225
Move tests into separate directories
jberkel Jul 24, 2022
ba32ad7
Merge pull request #1146 from stephencelis/schema-changer
nathanfallet Jul 25, 2022
a6e6e68
WIP
jberkel Jul 25, 2022
17a2cb8
Lint
jberkel Jul 25, 2022
b5a8303
Fixed typo and added/clarified code comment.
a-vanderbilt Jul 30, 2022
f2609b9
Quick update
nathanfallet Jul 30, 2022
7e525c2
Merge pull request #1149 from a-vanderbilt/patch-1
Jul 30, 2022
607a37a
Update Index.md
Gobans Aug 30, 2022
1f1e850
Merge pull request #1151 from Gobans/patch-1
Aug 30, 2022
6a02c20
Fix linting
nathanfallet Aug 30, 2022
e3dd8c8
Merge pull request #1152 from stephencelis/fixlint
nathanfallet Aug 30, 2022
f25798f
SQLiteVersion type
jberkel Sep 18, 2022
ec35c7e
Lint
jberkel Sep 18, 2022
00a8668
Fix playground example as the prepare func can throw an error
michaelhenry Oct 12, 2022
d7c2635
Split into classes, improve queries
jberkel Oct 16, 2022
2fc0dec
Fix tests on older version of SQLite
jberkel Oct 16, 2022
a6a151b
Reuse SQLiteFeature in SchemaChanger
jberkel Oct 16, 2022
0f6c3e3
Add documentation
jberkel Oct 17, 2022
137788e
Named param for rename/drop
jberkel Oct 17, 2022
f2c8bda
Changelog
jberkel Oct 17, 2022
2181f48
Merge pull request #1161 from michaelhenry/fix/playground-example
jberkel Oct 18, 2022
140134d
Add playground examples
jberkel Oct 18, 2022
020ec7a
Better example
jberkel Oct 18, 2022
a4c1d1d
Merge pull request #1148 from stephencelis/schemachanger-part-2
jberkel Oct 18, 2022
773ac26
Reactivate #416
jberkel Oct 23, 2022
3b91a00
Fix test
jberkel Oct 23, 2022
0715e95
Fix blob equality
jberkel Oct 23, 2022
0ce78d9
Remove helper
jberkel Oct 23, 2022
932d580
Fix SQLCipher subspec
jberkel Oct 23, 2022
b3a21ca
Avoid NSMutableData
jberkel Oct 23, 2022
bf021c5
Update changelog
jberkel Oct 23, 2022
06e55e7
Simplify
jberkel Oct 24, 2022
3977813
Merge pull request #1167 from stephencelis/NSData-blobs
jberkel Oct 24, 2022
570efef
prepareRowIterator should be internal
jberkel Oct 25, 2022
884627c
Merge pull request #1168 from stephencelis/revert-prepareRowIterator
jberkel Oct 26, 2022
11bfa26
Mention query parameter in changelog
jberkel Oct 18, 2022
ff3c4a2
Remove outdated/unavailable project refs
jberkel Oct 21, 2022
dad179a
Bump version number
jberkel Oct 21, 2022
136a5c5
Add ExpressionTests
jberkel Oct 22, 2022
fc8f8df
Remove outdated docs/links
jberkel Oct 24, 2022
0eb58d8
Doc updates
jberkel Oct 26, 2022
25708c9
Updates
jberkel Oct 26, 2022
ac09389
Mention group container problems
jberkel Oct 26, 2022
c7154c6
Merge pull request #1166 from stephencelis/docs
jberkel Oct 26, 2022
194d99a
Fix ambiguous use of description
jberkel Oct 26, 2022
367f6aa
add(_ column:) => add(column:)
jberkel Oct 27, 2022
2c4af85
Update docs
jberkel Oct 27, 2022
3161f06
Use direct links
jberkel Oct 27, 2022
1235d44
Revert changes to Blob
jberkel Nov 1, 2022
7a2e3cd
Merge pull request #1170 from stephencelis/revert-blob-changes
jberkel Nov 2, 2022
f06b8df
Removed
jberkel Nov 2, 2022
d926517
adds support for extended error codes
geoffmacd Dec 20, 2022
0fc4b7b
lint
geoffmacd Dec 20, 2022
4b9ea97
Fix incorrect column names for SELECT * preceded by a WITH
marmphco Dec 23, 2022
bdc3be7
linter error
marmphco Dec 23, 2022
02d69a2
Merge pull request #1179 from marmphco/bugfix/with-glob
Dec 28, 2022
9624b93
Merge pull request #1178 from geoffmacd/extend-error-codes
Dec 28, 2022
b7c6fd6
Fix typos
rex4539 Jan 8, 2023
926b87d
Merge pull request #1182 from rex4539/typos
Jan 8, 2023
0d905d7
fix Xcode build error
pongsakorn-onsri Mar 17, 2023
5b29e7c
Merge pull request #1192 from pongsakorn-onsri/fix/build-error
Mar 21, 2023
5f96ca4
Make ithe IndexDefinition properties public
stefansaasen Apr 7, 2023
1b1eba0
Merge pull request #1196 from ohoj-software/bugfix/expose-index-defin…
nathanfallet Apr 8, 2023
0718088
Fix GitHub Actions build badge
fwcd Apr 21, 2023
d7fe449
Merge pull request #1200 from fwcd/fix-build-badge
Apr 22, 2023
481b531
Run on macOS 12
jberkel Oct 18, 2022
a2897d5
Run on macos-13
jberkel May 21, 2023
85f1d44
Automatically download swiftlint / xcbeautifier, lint fixes
jberkel May 21, 2023
4a0ab2a
Fix simulator version
jberkel May 21, 2023
e4f4ddf
Use newer Xcode
jberkel May 21, 2023
1bc58a5
Fix path
jberkel May 21, 2023
79bab46
sudo
jberkel May 21, 2023
b028fcd
Try Xcode 14.2
jberkel May 21, 2023
1011098
Update docs
jberkel May 21, 2023
ab3c598
Use shorthand optional binding
jberkel May 21, 2023
6aab9fc
Re-enable watch tests
jberkel May 21, 2023
f1bee07
Merge pull request #1206 from stephencelis/macos-13
jberkel May 21, 2023
ff93ebc
Handle FK definitions w/o key references
jberkel May 27, 2023
7997c85
SchemaReader: return the correct column definition for a composite pr…
stefansaasen Jun 7, 2023
656ca87
Fix column affinity parsing to match how SQLite determines affinity
stefansaasen May 30, 2023
d34f63a
Merge pull request #1217 from stefansaasen/bugfix/composite-primary-keys
nathanfallet Jun 9, 2023
3023a1f
Add optional support for decoding
JacobHearst Oct 16, 2023
e7c2592
Fix copypasta
JacobHearst Oct 19, 2023
128246f
Fix missing return
JacobHearst Oct 19, 2023
1c6bf76
Fix smoothbrain
JacobHearst Oct 20, 2023
3d25271
Merge pull request #1224 from JacobHearst/master
nathanfallet Oct 23, 2023
fc96d30
Implements built-in window functions
geoffmacd Nov 19, 2023
2fc62a9
update docs
geoffmacd Nov 19, 2023
dedef24
Add privacy manifest
ivanlares Jan 4, 2024
e7c4212
Add visionOS support to Package.swift
AnthonyMDev Jan 24, 2024
240f080
Create visionOS target and test plan
AnthonyMDev Jan 24, 2024
9043277
Using macOS 14 to build
nathanfallet Feb 6, 2024
623ac53
Xcode 15?
nathanfallet Feb 6, 2024
0c68b99
Testing using iOS 17
nathanfallet Feb 6, 2024
03724bf
make fromDatatypeValue throw
Feb 21, 2024
76153b8
Merge pull request #1242 from elfredpagan/elfred_pagan_throw_fromData…
nathanfallet Feb 23, 2024
5bfaddf
fix: json tests (due to a swift upgrade)
nathanfallet Feb 23, 2024
4ab2748
Merge pull request #1234 from ivanlares/add-privacy-manifest
nathanfallet Feb 23, 2024
485b677
Revert "Add privacy manifest"
Feb 23, 2024
8b96864
Merge pull request #1243 from stephencelis/revert-1234-add-privacy-ma…
nathanfallet Feb 23, 2024
f4ce124
Merge pull request #1228 from geoffmacd/window-functions
nathanfallet Feb 23, 2024
5ba48d0
Merge pull request #1218 from stefansaasen/bugfix/fix-column-affinity…
nathanfallet Feb 23, 2024
fd14c44
Merge pull request #1210 from stephencelis/fix-null-fk-column
nathanfallet Feb 23, 2024
fec58b9
fix: ios deployment target
nathanfallet Feb 23, 2024
88d852f
Merge branch 'master' into vision-os
nathanfallet Feb 23, 2024
ce125ce
fix: deployment targets?
nathanfallet Feb 23, 2024
e781351
Add privacy manifest
ivanlares Feb 23, 2024
d1ae30d
Merge pull request #1245 from ivanlares/add-privacy-manifest
nathanfallet Feb 24, 2024
e78ae02
changelogs
nathanfallet Feb 24, 2024
20ebe9b
Adding failing test that includes an optional struct
ChrisStockbridgeVantaca Mar 5, 2024
bad16cb
Bugfix: returning nil when decoding an optional should not throw an e…
ChrisStockbridgeVantaca Mar 5, 2024
cda8a12
Update CoreFunctions.swift fix typo
steventong Mar 16, 2024
f0bbfaa
Merge pull request #1249 from steventong/steventong-patch-1
Mar 19, 2024
c361380
Merge pull request #1248 from Chris-Stockbridge/master
nathanfallet Mar 22, 2024
6d821f8
Add dependency on custom cocoapods fork
SagarSDagdu Apr 13, 2024
6491e38
Update deployment targets for Xcode 15
SagarSDagdu Apr 13, 2024
0435dd1
Merge pull request #1255 from SagarSDagdu/privacy-manifest
nathanfallet Apr 13, 2024
8465ce8
Merge branch 'master' into vision-os
nathanfallet Apr 13, 2024
c4ec236
using temp cocoapods (fix xcode 15 build, to be reverted later)
nathanfallet Apr 13, 2024
a6e7697
fixing bundle versions?
nathanfallet Apr 13, 2024
9bed245
adding source for gems as otherwise it does not resolve correctly in CI
nathanfallet Apr 13, 2024
6be8ca9
fix carthage location?
nathanfallet Apr 13, 2024
a2a550e
bump xcode version + carthage visionOS tests
nathanfallet Apr 13, 2024
2d964a7
Merge pull request #1237 from AnthonyMDev/vision-os
Apr 13, 2024
f0af5e0
Changelogs v0.15.1
nathanfallet Apr 13, 2024
fc23699
fix: visionos to cocoapods
nathanfallet Apr 16, 2024
8f75f46
gonna fix that later
nathanfallet Apr 16, 2024
e5e8339
Merge pull request #1260 from stephencelis/fix/visionos-cocoapods
nathanfallet Apr 16, 2024
15fe07e
Update the marketing version to the version we will be releasing next
SagarSDagdu Apr 18, 2024
5d3db22
Update `podspec` to include privacy manifest
SagarSDagdu Apr 18, 2024
966344c
Merge pull request #1265 from SagarSDagdu/privacy-manifest-inclusion-…
nathanfallet Apr 19, 2024
a95fc6d
v0.15.3 (oups)
nathanfallet Apr 19, 2024
363141a
Add `CustomStringConvertible` for Setter
dyikai Sep 26, 2024
c7b78f2
Merge pull request #1279 from dyikai/master
nathanfallet Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .cocoadocs.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [stephencelis, jberkel, NathanFallet]
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md → .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
> Issues are used to track bugs and feature requests.
> Need help or have a general question? Ask on Stack Overflow (tag sqlite.swift).
> Need help or have a general question? Ask on Stack Overflow (tag sqlite.swift).

## Build Information

9 changes: 9 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Thanks for taking the time to submit a pull request.

Before submitting, please do the following:

- Run `make lint` to check if there are any format errors (install [swiftlint](https://github.com/realm/SwiftLint#installation) first)
- Run `swift test` to see if the tests pass.
- Write new tests for new functionality.
- Update documentation comments where applicable.

84 changes: 84 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Build and test
on: [push, pull_request]
env:
IOS_SIMULATOR: "iPhone 15"
IOS_VERSION: "17.2"
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: "Select Xcode"
# Currently only works with Xcode 14.2:
# https://github.com/CocoaPods/CocoaPods/issues/11839
run: |
xcode-select -p
sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
- name: "Lint"
run: make lint
- name: "Run tests (PACKAGE_MANAGER_COMMAND: test)"
env:
PACKAGE_MANAGER_COMMAND: test -Xswiftc -warnings-as-errors
run: ./run-tests.sh
- name: "Run tests (SPM integration test)"
env:
SPM: run
run: ./run-tests.sh
- name: "Run tests (BUILD_SCHEME: SQLite iOS)"
env:
BUILD_SCHEME: SQLite iOS
run: ./run-tests.sh
- name: "Run tests (BUILD_SCHEME: SQLite Mac)"
env:
BUILD_SCHEME: SQLite Mac
run: ./run-tests.sh
- name: "Run tests (VALIDATOR_SUBSPEC: none)"
env:
VALIDATOR_SUBSPEC: none
run: ./run-tests.sh
- name: "Run tests (VALIDATOR_SUBSPEC: standard)"
env:
VALIDATOR_SUBSPEC: standard
run: ./run-tests.sh
- name: "Run tests (VALIDATOR_SUBSPEC: standalone)"
env:
VALIDATOR_SUBSPEC: standalone
run: ./run-tests.sh
- name: "Run tests (VALIDATOR_SUBSPEC: SQLCipher)"
env:
VALIDATOR_SUBSPEC: SQLCipher
run: ./run-tests.sh
- name: "Run tests (CARTHAGE_PLATFORM: iOS)"
env:
CARTHAGE_PLATFORM: iOS
run: ./run-tests.sh
- name: "Run tests (CARTHAGE_PLATFORM: Mac)"
env:
CARTHAGE_PLATFORM: Mac
run: ./run-tests.sh
- name: "Run tests (CARTHAGE_PLATFORM: watchOS)"
env:
CARTHAGE_PLATFORM: watchOS
run: ./run-tests.sh
- name: "Run tests (CARTHAGE_PLATFORM: tvOS)"
env:
CARTHAGE_PLATFORM: tvOS
run: ./run-tests.sh
- name: "Run tests (CARTHAGE_PLATFORM: visionOS)"
env:
CARTHAGE_PLATFORM: visionOS
run: ./run-tests.sh
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install
run: |
sudo apt-get update -qq
sudo apt-get install -y libsqlite3-dev
- name: Test
run: swift test
- name: "Run tests (SPM integration test)"
env:
SPM: run
run: ./run-tests.sh
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -22,6 +22,10 @@ DerivedData
# Carthage
/Carthage/

# Makefile
bin/

# Swift Package Manager
.build
Packages/
.swiftpm/
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

47 changes: 47 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opt_in_rules:
- shorthand_optional_binding
disabled_rules: # rule identifiers to exclude from running
- todo
- operator_whitespace
- large_tuple
- closure_parameter_position
- inclusive_language # sqlite_master etc.
- blanket_disable_command
included: # paths to include during linting. `--path` is ignored if present. takes precendence over `excluded`.
- Sources
- Tests
excluded: # paths to ignore during linting. overridden by `included`.

identifier_name:
excluded:
- db
- in
- to
- by
- or
- eq
- gt
- lt
- fn
- a
- b
- q
- SQLITE_TRANSIENT

type_body_length:
warning: 350
error: 350

function_body_length:
warning: 60
error: 60

line_length:
warning: 150
error: 150
ignores_comments: true

file_length:
warning: 500
error: 500
ignore_comment_only_lines: true
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

166 changes: 165 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,103 @@
0.11.6 (xxx), [diff][diff-0.11.6]
0.15.3 (19-04-2024), [diff][diff-0.15.3]
========================================
* Update `podspec` to include privacy manifest ([#1265][])

0.15.2 (16-04-2024), [diff][diff-0.15.2]
========================================
* fix: visionos to cocoapods ([#1260][])

0.15.1 (14-04-2024), [diff][diff-0.15.1]
========================================

* Update CoreFunctions.swift fix typo ([#1249][])
* Fix #1247 support nil case when decoding optionals ([#1248][])
* Change deployment targets for Xcode 15 and add dependency on custom Cocoapods fork ([#1255][])
* Add VisionOS support ([#1237][])

0.15.0 (24-02-2024), [diff][diff-0.15.0]
========================================

* Fix incorrect behavior when preparing `SELECT *` preceded by a `WITH` ([#1179][])
* Adds support for returning extended error codes ([#1178][])
* Fix typos ([#1182][])
* fix Xcode build error ([#1192][])
* Make the IndexDefinition properties public ([#1196][])
* Fix GitHub Actions build badge ([#1200][])
* Run CI on macOS 13 ([#1206][])
* SchemaReader: return the correct column definition for a composite primary key ([#1217][])
* Add optional support for decoding ([#1224][])
* make fromDatatypeValue throw ([#1242][])
* Implements built-in window functions ([#1228][])
* Fix column affinity parsing to match how SQLite determines affinity ([#1218][])
* Handle FK definitions w/o key references ([#1210][])
* Add privacy manifest ([#1245][])
* New minimum deployment targets: iOS/tvOS 11.0, watchOS 4.0

0.14.1 (01-11-2022), [diff][diff-0.14.1]
========================================

* Reverted `Blob` changes (See [#1167][] for rationale).

0.14.0 (27-10-2022), [diff][diff-0.14.0]
========================================
For breaking changes, see [Upgrading.md](Documentation/Upgrading.md).

* Support more complex schema changes and queries ([#1073][], [#1146][] [#1148][])
* Support `ATTACH`/`DETACH` ([#30][], [#1142][])
* Expose connection flags (via `URIQueryParameter`) to open db ([#1074][])
* Support `WITH` clause ([#1139][])
* Add `Value` conformance for `NSURL` ([#1110][], [#1141][])
* Add decoding for `UUID` ([#1137][])
* SQLCipher: improve documentation ([#1098][]), add `sqlcipher_export` ([#1101][])
* Fix `insertMany([Encodable])` ([#1130][], [#1138][])
* Fix incorrect spelling of `remove_diacritics` ([#1128][])
* Fix project build order ([#1131][])
* Blob performance improvements ([#416][], [#1167][])
* Various performance improvements ([#1109][], [#1115][], [#1132][])
* Removed FTS3/4 tokenizer integration (`registerTokenizer`, [#1104][], [#1144][])

0.13.3 (27-03-2022), [diff][diff-0.13.3]
========================================

* UUID Fix ([#1112][])
* Add prepareRowIterator method to an extension of Statement. ([#1119][])
* Adding primary key support to column with references ([#1121][])

0.13.2 (25-01-2022), [diff][diff-0.13.2]
========================================

* Closing bracket position ([#1100][])
* Native user_version support in Connection ([#1105][])

0.13.1 (17-11-2021), [diff][diff-0.13.1]
========================================

* Support for database backup ([#919][])
* Support for custom SQL aggregates ([#881][])
* Restore previous behavior in `FailableIterator` ([#1075][])
* Fix compilation on Linux ([#1077][])
* Align platform versions in SPM manifest and Xcode ([#1094][])
* Revert OSX deployment target back to 10.10 ([#1095][])

0.13.0 (22-08-2021), [diff][diff-0.13.0]
========================================

* Swift 5.3 support
* Xcode 12.5 support
* Bumps minimum deployment versions
* Fixes up Package.swift to build SQLiteObjc module

0.12.1, 0.12.2 (21-06-2019) [diff][diff-0.12.2]
========================================

* CocoaPods modular headers support

0.12.0 (24-04-2019) [diff][diff-0.12.0]
========================================

* Version with Swift 5 Support

0.11.6 (19-04-2019), [diff][diff-0.11.6]
========================================

* Swift 4.2, SQLCipher 4.x ([#866][])
@@ -63,9 +162,22 @@
[diff-0.11.4]: https://github.com/stephencelis/SQLite.swift/compare/0.11.3...0.11.4
[diff-0.11.5]: https://github.com/stephencelis/SQLite.swift/compare/0.11.4...0.11.5
[diff-0.11.6]: https://github.com/stephencelis/SQLite.swift/compare/0.11.5...0.11.6
[diff-0.12.0]: https://github.com/stephencelis/SQLite.swift/compare/0.11.6...0.12.0
[diff-0.12.2]: https://github.com/stephencelis/SQLite.swift/compare/0.12.0...0.12.2
[diff-0.13.0]: https://github.com/stephencelis/SQLite.swift/compare/0.12.2...0.13.0
[diff-0.13.1]: https://github.com/stephencelis/SQLite.swift/compare/0.13.0...0.13.1
[diff-0.13.2]: https://github.com/stephencelis/SQLite.swift/compare/0.13.1...0.13.2
[diff-0.13.3]: https://github.com/stephencelis/SQLite.swift/compare/0.13.2...0.13.3
[diff-0.14.0]: https://github.com/stephencelis/SQLite.swift/compare/0.13.3...0.14.0
[diff-0.14.1]: https://github.com/stephencelis/SQLite.swift/compare/0.14.0...0.14.1
[diff-0.15.0]: https://github.com/stephencelis/SQLite.swift/compare/0.14.0...0.15.0
[diff-0.15.1]: https://github.com/stephencelis/SQLite.swift/compare/0.15.0...0.15.1
[diff-0.15.2]: https://github.com/stephencelis/SQLite.swift/compare/0.15.1...0.15.2

[#30]: https://github.com/stephencelis/SQLite.swift/issues/30
[#142]: https://github.com/stephencelis/SQLite.swift/issues/142
[#315]: https://github.com/stephencelis/SQLite.swift/issues/315
[#416]: https://github.com/stephencelis/SQLite.swift/pull/416
[#426]: https://github.com/stephencelis/SQLite.swift/pull/426
[#481]: https://github.com/stephencelis/SQLite.swift/pull/481
[#532]: https://github.com/stephencelis/SQLite.swift/issues/532
@@ -95,3 +207,55 @@
[#726]: https://github.com/stephencelis/SQLite.swift/pull/726
[#797]: https://github.com/stephencelis/SQLite.swift/pull/797
[#866]: https://github.com/stephencelis/SQLite.swift/pull/866
[#881]: https://github.com/stephencelis/SQLite.swift/pull/881
[#919]: https://github.com/stephencelis/SQLite.swift/pull/919
[#1073]: https://github.com/stephencelis/SQLite.swift/issues/1073
[#1074]: https://github.com/stephencelis/SQLite.swift/issues/1074
[#1075]: https://github.com/stephencelis/SQLite.swift/pull/1075
[#1077]: https://github.com/stephencelis/SQLite.swift/issues/1077
[#1094]: https://github.com/stephencelis/SQLite.swift/pull/1094
[#1095]: https://github.com/stephencelis/SQLite.swift/pull/1095
[#1098]: https://github.com/stephencelis/SQLite.swift/issues/1098
[#1100]: https://github.com/stephencelis/SQLite.swift/pull/1100
[#1101]: https://github.com/stephencelis/SQLite.swift/issues/1101
[#1104]: https://github.com/stephencelis/SQLite.swift/issues/1104
[#1105]: https://github.com/stephencelis/SQLite.swift/pull/1105
[#1109]: https://github.com/stephencelis/SQLite.swift/issues/1109
[#1110]: https://github.com/stephencelis/SQLite.swift/pull/1110
[#1112]: https://github.com/stephencelis/SQLite.swift/pull/1112
[#1115]: https://github.com/stephencelis/SQLite.swift/pull/1115
[#1119]: https://github.com/stephencelis/SQLite.swift/pull/1119
[#1121]: https://github.com/stephencelis/SQLite.swift/pull/1121
[#1128]: https://github.com/stephencelis/SQLite.swift/issues/1128
[#1130]: https://github.com/stephencelis/SQLite.swift/issues/1130
[#1131]: https://github.com/stephencelis/SQLite.swift/pull/1131
[#1132]: https://github.com/stephencelis/SQLite.swift/pull/1132
[#1137]: https://github.com/stephencelis/SQLite.swift/pull/1137
[#1138]: https://github.com/stephencelis/SQLite.swift/pull/1138
[#1139]: https://github.com/stephencelis/SQLite.swift/pull/1139
[#1141]: https://github.com/stephencelis/SQLite.swift/pull/1141
[#1142]: https://github.com/stephencelis/SQLite.swift/pull/1142
[#1144]: https://github.com/stephencelis/SQLite.swift/pull/1144
[#1146]: https://github.com/stephencelis/SQLite.swift/pull/1146
[#1148]: https://github.com/stephencelis/SQLite.swift/pull/1148
[#1167]: https://github.com/stephencelis/SQLite.swift/pull/1167
[#1179]: https://github.com/stephencelis/SQLite.swift/pull/1179
[#1178]: https://github.com/stephencelis/SQLite.swift/pull/1178
[#1182]: https://github.com/stephencelis/SQLite.swift/pull/1182
[#1192]: https://github.com/stephencelis/SQLite.swift/pull/1192
[#1196]: https://github.com/stephencelis/SQLite.swift/pull/1196
[#1200]: https://github.com/stephencelis/SQLite.swift/pull/1200
[#1206]: https://github.com/stephencelis/SQLite.swift/pull/1206
[#1217]: https://github.com/stephencelis/SQLite.swift/pull/1217
[#1224]: https://github.com/stephencelis/SQLite.swift/pull/1224
[#1242]: https://github.com/stephencelis/SQLite.swift/pull/1242
[#1228]: https://github.com/stephencelis/SQLite.swift/pull/1228
[#1218]: https://github.com/stephencelis/SQLite.swift/pull/1218
[#1210]: https://github.com/stephencelis/SQLite.swift/pull/1210
[#1245]: https://github.com/stephencelis/SQLite.swift/pull/1245
[#1249]: https://github.com/stephencelis/SQLite.swift/pull/1249
[#1248]: https://github.com/stephencelis/SQLite.swift/pull/1248
[#1255]: https://github.com/stephencelis/SQLite.swift/pull/1255
[#1237]: https://github.com/stephencelis/SQLite.swift/pull/1237
[#1260]: https://github.com/stephencelis/SQLite.swift/pull/1260
[#1265]: https://github.com/stephencelis/SQLite.swift/pull/1265
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ addresses everything. If it doesn’t, continue the conversation there.
If your searches return empty, see the [bug](#bugs) or [feature
request](#feature-requests) guidelines below.

[Ask on Stack Overflow]: http://stackoverflow.com/questions/tagged/sqlite.swift
[Ask on Stack Overflow]: https://stackoverflow.com/questions/tagged/sqlite.swift
[Search]: https://github.com/stephencelis/SQLite.swift/search?type=Issues


Loading