Skip to content
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

fix(deps): update supabase to v2.2.0 #273

Merged
merged 1 commit into from
Mar 5, 2024
Merged

fix(deps): update supabase to v2.2.0 #273

merged 1 commit into from
Mar 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.jan-tennert.supabase:postgrest-kt 2.1.6 -> 2.2.0 age adoption passing confidence
io.github.jan-tennert.supabase:realtime-kt 2.1.6 -> 2.2.0 age adoption passing confidence
io.github.jan-tennert.supabase:gotrue-kt 2.1.6 -> 2.2.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

supabase-community/supabase-kt (io.github.jan-tennert.supabase:postgrest-kt)

v2.2.0

Compare Source

Changes

Core
  • Reworked internal logging to support new features, including:
    • Setting the default logging level within the SupabaseClientBuilder:
      val supabase = createSupabaseClient(url, key) {
         defaultLogLevel = LogLevel.WARNING
      }
      Note: The default logging level is set to LogLevel.INFO
    • Changing the logging level per plugins:
      Auth.setLogLevel(LogLevel.NONE)
    • Overall better and more debug log messages
Auth
  • Changes to SessionStatus:
    • The Authenticated now has a source property which can be Storage, SignIn, SignUp, Refresh, External, UserChanged, UserIdentitiesChanged or Unknown
    • The Authenticated now also has a isNew property which returns true if the source is either SignIn, SignUp or External
    • The NotAuthenticated status is now a data class rather than an object and has a isSignOut property
  • Rename Auth#oAuthUrl to Auth#getOAuthUrl
  • Changes to OAuth using Http Callback Servers:
    • Switch to Ktor for Http Callback Servers when using OAuth on Desktop targets. Signing in using an OAuth provider e.g. with signInWith(Google) will now block the current coroutine until the flow succeeds or times out.
    • Add support for using a Http Callback Server for OAuth in the Kotlin macosX64* and linuxX64 targets
      * Only used if no deeplink host & scheme or a default redirect url is provided.
    • Add AuthConfig#httpCallbackConfig() method for configuring these servers.
  • Add host and scheme auth config properties to common code (will still not used by all targets)
  • Add AuthConfig#defaultRedirectUrl to override the default redirect url used for requests. Defaults to null, which means that everything stays as it is; Desktop targets will use a http callback server, mobile targets deeplinks, etc.
Compose Auth
  • (Android) The Credential Manager will now always be used for all Android versions
  • By default, when signing out using Auth#signOut or Auth#clearSession the Google credential will now also be cleared.
    • Because sign-outs are now handled automatically, ComposeAuth#rememberSignOutWithGoogle has been removed.
  • You now pass in the nonce and extraData when calling startFlow rather than in the plugin settings.
    • If no nonce parameter is specified (or not set to null manually), the library will now take care of generating a nonce and using it for authentication.
  • NativeSignInState#started has been changed to NativeSignInState#status which can be Started or NotStarted
  • The Apple Native Sign-In method no longer has any arguments, as they are not needed. Note: I don't think that fixes the Apple Native Sign-In problem.
  • Add debug logs and log exceptions caught while trying Native Sign-In
Realtime
  • Add support for realtime message throttling in #​471
    There is now a new realtime config property: eventsPerSecond (default is 10), which configures a client-side rate-limit for sending broadcasts, presence updates etc. If this rate-limit is exceeded, any message within this duration will fail.
    Set to a negative number to disable.
    Check the Supabase docs for more information.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 5, 2024
@renovate renovate bot enabled auto-merge (rebase) March 5, 2024 16:27
Copy link

coderabbitai bot commented Mar 5, 2024

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

auto-merge was automatically disabled March 5, 2024 17:03

Base branch requires signed commits

@renovate renovate bot merged commit 5667a35 into main Mar 5, 2024
8 checks passed
@renovate renovate bot deleted the renovate/supabase branch March 5, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants