Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2989373
feat!: add Alamofire dependency for networking layer migration
grdsdev Aug 21, 2025
1d09e22
feat!: refactor SupabaseClient to use Alamofire
grdsdev Aug 21, 2025
3b9acb9
feat!: migrate Storage module to Alamofire
grdsdev Aug 21, 2025
932444b
feat!: migrate Auth module to Alamofire
grdsdev Aug 21, 2025
85d3f23
feat!: migrate Functions and PostgREST modules to Alamofire
grdsdev Aug 21, 2025
90554d3
feat!: migrate Realtime module to use Alamofire for HTTP calls
grdsdev Aug 21, 2025
3058cc8
refactor: remove custom HTTP client implementation and fix deprecated…
grdsdev Aug 21, 2025
a518ae1
fix: resolve final build issues after Alamofire migration
grdsdev Aug 21, 2025
bf86f52
refactor(functions): replace HTTPRequest/HTTPResponse with Alamofire …
grdsdev Aug 21, 2025
772dfd3
refactor(storage): replace HTTPRequest/HTTPResponse with Alamofire as…
grdsdev Aug 21, 2025
2c424d1
refactor(postgrest): replace HTTPRequest/HTTPResponse with Alamofire …
grdsdev Aug 21, 2025
724bd2b
refactor(auth): start replacing HTTPRequest/HTTPResponse with Alamofi…
grdsdev Aug 21, 2025
f9667d2
refactor(auth): continue replacing HTTPRequest/HTTPResponse with Alam…
grdsdev Aug 21, 2025
6b97dbe
refactor(auth): complete AuthClient HTTPRequest/HTTPResponse replacem…
grdsdev Aug 21, 2025
f2396ec
feat(functions): reimplement _invokeWithStreamedResponse using Alamof…
grdsdev Aug 21, 2025
68431ac
feat(functions): improve streaming implementation and rename method t…
grdsdev Aug 21, 2025
c114e9a
refactor: migrate from HTTPTypes to Alamofire
grdsdev Aug 22, 2025
3f43054
fix functions tests
grdsdev Aug 22, 2025
19b07ef
refactor: update Auth module for Alamofire integration
grdsdev Aug 22, 2025
50a4b45
refactor: update Functions module for Alamofire integration
grdsdev Aug 22, 2025
58d736e
refactor: update PostgREST module and Helpers for Alamofire integration
grdsdev Aug 22, 2025
566cbd4
refactor: further update PostgREST module and tests for Alamofire
grdsdev Aug 22, 2025
e1d9841
refactor: update Storage module for Alamofire integration
grdsdev Aug 22, 2025
8f1c519
refactor: major update to Auth module for Alamofire integration
grdsdev Aug 22, 2025
2b06755
fix: improve error handling in Auth APIClient
grdsdev Aug 22, 2025
d5b1781
fix: add typed AuthError throws to all public AuthClient methods
grdsdev Aug 26, 2025
dd50c78
fix: add typed AuthError throws to AuthMFA and AuthAdmin methods
grdsdev Aug 26, 2025
95ac764
fix integration tests
grdsdev Aug 26, 2025
11a32f2
ci: remove legacy job
grdsdev Aug 26, 2025
b3aa1b9
refactor: improve AuthClient session initialization and add Alamofire…
grdsdev Aug 26, 2025
77d4586
refactor: introduce generic error wrapping mechanism
grdsdev Aug 28, 2025
f6d0b4f
test: add comprehensive Auth test coverage
grdsdev Aug 28, 2025
c4e9341
feat: Add comprehensive test coverage for Auth module internal compon…
grdsdev Aug 28, 2025
1904983
fix: Update EventEmitterTests with improved formatting and imports
grdsdev Aug 28, 2025
fa71935
fix tests
grdsdev Aug 28, 2025
0bced6a
fix tests
grdsdev Aug 28, 2025
e710377
remove MultipartFormData in favor of Alamofire's
grdsdev Aug 28, 2025
28f1fc0
refactor: update Storage module to use new execute method with proper…
grdsdev Aug 28, 2025
10a4f14
refactor: further optimize Storage module execute method usage
grdsdev Aug 28, 2025
5164a1c
test: improve Storage module test coverage and fix test failures
grdsdev Aug 28, 2025
f165a76
test: fix Storage test boundary generation and restore snake_case enc…
grdsdev Aug 28, 2025
d0001d1
test: add comprehensive Storage coverage analysis and upload test fra…
grdsdev Aug 28, 2025
ba53398
docs: add comprehensive Storage test coverage improvement summary
grdsdev Aug 28, 2025
ab776a2
test: improve Storage upload tests with fixed snapshots and better er…
grdsdev Aug 28, 2025
f3cd145
refactor: migrate to Alamofire and improve HTTP layer
grdsdev Aug 29, 2025
13430ee
test: fix realtime tests
grdsdev Aug 29, 2025
48ab575
test(auth): test client init
grdsdev Aug 29, 2025
a7b15c5
chore: update CI to use Xcode 16.4
grdsdev Aug 29, 2025
80b2005
fix tests
grdsdev Aug 29, 2025
d9cd3ee
ci: use Xcode 16.4 on security workflow
grdsdev Aug 29, 2025
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
74 changes: 37 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ permissions:

jobs:
xcodebuild-latest:
name: xcodebuild (16.3)
name: xcodebuild (16.4)
runs-on: macos-15
strategy:
matrix:
command: [test, ""]
platform: [IOS, MACOS]
xcode: ["16.3"]
xcode: ["16.4"]
include:
- { command: test, skip_release: 1 }
steps:
Expand Down Expand Up @@ -79,40 +79,40 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: lcov.info

xcodebuild-legacy:
name: xcodebuild (15.4)
runs-on: macos-14
strategy:
matrix:
command: [test, ""]
platform: [IOS, MACOS, MAC_CATALYST]
xcode: ["15.4"]
include:
- { command: test, skip_release: 1 }
steps:
- uses: actions/checkout@v5
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: List available devices
run: xcrun simctl list devices available
- name: Cache derived data
uses: actions/cache@v4
with:
path: |
~/.derivedData
key: |
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
restore-keys: |
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
- name: Update mtime for incremental builds
uses: chetan/git-restore-mtime-action@v2
- name: Debug
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
- name: Release
if: matrix.skip_release != '1'
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
# xcodebuild-legacy:
# name: xcodebuild (15.4)
# runs-on: macos-14
# strategy:
# matrix:
# command: [test, ""]
# platform: [IOS, MACOS, MAC_CATALYST]
# xcode: ["15.4"]
# include:
# - { command: test, skip_release: 1 }
# steps:
# - uses: actions/checkout@v5
# - name: Select Xcode ${{ matrix.xcode }}
# run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
# - name: List available devices
# run: xcrun simctl list devices available
# - name: Cache derived data
# uses: actions/cache@v4
# with:
# path: |
# ~/.derivedData
# key: |
# deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
# restore-keys: |
# deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
# - name: Set IgnoreFileSystemDeviceInodeChanges flag
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
# - name: Update mtime for incremental builds
# uses: chetan/git-restore-mtime-action@v2
# - name: Debug
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
# - name: Release
# if: matrix.skip_release != '1'
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild

linux:
name: Linux
Expand All @@ -123,7 +123,7 @@ jobs:
run: rm -r Tests/IntegrationTests/*
- name: "Build Swift Package"
run: swift build

# android:
# name: Android
# runs-on: ubuntu-latest
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@ jobs:
codeql:
name: CodeQL Analysis
runs-on: macos-latest
timeout-minutes: 360
strategy:
fail-fast: false
matrix:
language: [ swift ]
xcode: ["16.4"]

steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
languages: swift
queries: +security-and-quality

- name: Build Supabase library
Expand All @@ -39,7 +40,7 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: "/language:swift"

dependency-review:
name: Dependency Review
Expand Down
Loading
Loading