Skip to content

Conversation

@grdsdev
Copy link
Contributor

@grdsdev grdsdev commented Oct 21, 2025

Placeholder PR for running CI with latest v3 changes and main branch.

* fix: improve FunctionRegion type safety and API consistency

- Change FunctionRegion from enum to struct with RawRepresentable
- Add ExpressibleByStringLiteral conformance for better ergonomics
- Update FunctionsClient to use FunctionRegion? instead of String?
- Remove duplicate initializers and @_disfavoredOverload annotations
- Update tests to work with new type structure

This change improves type safety while maintaining backward compatibility
and provides a cleaner API surface for function region configuration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

# Conflicts:
#	Sources/Functions/FunctionsClient.swift

* test: add test for ExpressibleByLiteralString

* fix region

* fix tests
* feat(functions): make FunctionsClient and actor

* drop disfavoredOverload
@coveralls
Copy link

coveralls commented Oct 21, 2025

Pull Request Test Coverage Report for Build 18922398404

Details

  • 37 of 63 (58.73%) changed or added relevant lines in 12 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.2%) to 81.016%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Sources/Supabase/SupabaseClient.swift 0 1 0.0%
Sources/Realtime/Types.swift 0 6 0.0%
Sources/Storage/Helpers.swift 4 13 30.77%
Sources/Storage/MultipartFormData.swift 4 14 28.57%
Files with Coverage Reduction New Missed Lines %
Sources/Storage/MultipartFormData.swift 1 90.65%
Sources/Storage/Helpers.swift 2 59.26%
Totals Coverage Status
Change from base Build 18588178938: 0.2%
Covered Lines: 6154
Relevant Lines: 7596

💛 - Coveralls

@grdsdev grdsdev changed the title Upcoming Major Release v3 feat!: Upcoming Major Release v3 Oct 21, 2025
@grdsdev grdsdev changed the title feat!: Upcoming Major Release v3 feat!: upcoming Major Release v3 Oct 21, 2025
grdsdev and others added 2 commits October 29, 2025 17:29
* feat: drop Swift 5.10

* remove CI run from macOS legacy

* fix

* use fail-fast = false

* trying to fix tests

* fix: resolve Swift 6.0 type inference issues in RealtimeTests

This commit fixes two Swift 6.0 compiler errors that were causing CI
failures on Xcode 16.4:

1. In setUp(), explicitly unwrap the `client` implicitly unwrapped
   optional when captured in the wsTransport closure
2. In testBroadcastWithHTTP(), explicitly unwrap the `sut` implicitly
   unwrapped optional when captured in the mock response closure

These changes are needed because Swift 6.0 is stricter about type
inference with implicitly unwrapped optionals in closure capture lists.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* fix: resolve more Swift 6 type inference issues

---------

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants