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 <noreply@anthropic.com>

# 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 18697497628

Details

  • 27 of 34 (79.41%) changed or added relevant lines in 9 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.09%) to 80.736%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Sources/Supabase/SupabaseClient.swift 0 1 0.0%
Sources/Realtime/Types.swift 0 6 0.0%
Totals Coverage Status
Change from base Build 18588178938: -0.09%
Covered Lines: 6169
Relevant Lines: 7641

💛 - 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
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.

2 participants