Skip to content

Conversation

jverce
Copy link
Contributor

@jverce jverce commented Oct 24, 2024

Changelog

  • Upgrade @supabase/supabase-js for the supabase components
  • Fix version-specific import in the Supabase app component, which prevented importing @pipedream/supabase in code components
  • Bump component versions

WHY

Supabase RPC calls are failing with the current version of the Supabase JS client, but the latest client seems to have fixed it.

Summary by CodeRabbit

Release Notes

  • New Features

    • Updated version for multiple Supabase action components to 0.1.2, enhancing stability without changing functionality.
    • Introduced version updates for webhook event sources to 0.0.5 and 0.0.4, ensuring smoother operations.
  • Bug Fixes

    • Updated dependency on @supabase/supabase-js to version ^2.45.6, improving compatibility and performance.
  • Chores

    • Incremented overall package version from 0.2.1 to 0.2.2 to reflect recent changes.

* Upgrade `@supabase/supabase-js` for the `supabase` components
* Fix version-specific import in the Supabase app component, which
  prevented importing `@pipedream/supabase` in code components
* Bump component versions
@jverce jverce added bug Something isn't working dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 24, 2024
@jverce jverce self-assigned this Oct 24, 2024
Copy link

vercel bot commented Oct 24, 2024

@jverce is attempting to deploy a commit to the Pipedreamers Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) Oct 30, 2024 4:48pm

Copy link
Contributor

coderabbitai bot commented Oct 24, 2024

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes in this pull request primarily involve updating the version numbers of various Supabase action components and sources, from 0.1.1 to 0.1.2 for actions and from 0.0.3 to 0.0.4 and 0.0.4 to 0.0.5 for sources. Additionally, the package.json file reflects an increment in the overall version from 0.2.1 to 0.2.2 and updates a dependency to a newer version. The import statement in the supabase.app.mjs file was also modified to use the latest version of the Supabase client.

Changes

File Path Change Summary
components/supabase/actions/delete-row/delete-row.mjs Version updated from 0.1.1 to 0.1.2
components/supabase/actions/insert-row/insert-row.mjs Version updated from 0.1.1 to 0.1.2
components/supabase/actions/remote-procedure-call/remote-procedure-call.mjs Version updated from 0.1.1 to 0.1.2
components/supabase/actions/select-row/select-row.mjs Version updated from 0.1.1 to 0.1.2
components/supabase/actions/update-row/update-row.mjs Version updated from 0.1.1 to 0.1.2
components/supabase/actions/upsert-row/upsert-row.mjs Version updated from 0.1.1 to 0.1.2
components/supabase/package.json Version updated from 0.2.1 to 0.2.2; dependency updated from ^2.39.0 to ^2.45.6
components/supabase/sources/new-row-added/new-row-added.mjs Version updated from 0.0.3 to 0.0.4
components/supabase/sources/new-webhook-event/new-webhook-event.mjs Version updated from 0.0.4 to 0.0.5
components/supabase/supabase.app.mjs Import statement modified to use the latest version of @supabase/supabase-js

Suggested labels

enhancement, pd-api

Suggested reviewers

  • michelle0927

Poem

🐇 In the meadow, changes bloom,
Version numbers rise, dispelling gloom.
Supabase actions, fresh and bright,
With every update, we take flight!
A hop, a skip, to new heights we soar,
Embracing the changes, forevermore! 🌼


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>, please review it.
    • Generate unit testing code 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 testing code 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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 using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • 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/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pipedream-component-development
Copy link
Collaborator

Thank you so much for submitting this! We've added it to our backlog to review, and our team has been notified.

@pipedream-component-development
Copy link
Collaborator

Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:

@vunguyenhung
Copy link
Collaborator

Hi everyone, all test cases are passed! Ready for release!

Test report
https://vunguyenhung.notion.site/Upgrade-Supabase-JS-Client-12dbf548bb5e81e9871afb1b21bd1eb8

@jverce jverce merged commit 0b30eb9 into PipedreamHQ:master Oct 30, 2024
10 of 11 checks passed
@jverce jverce deleted the fix/supabase-client-update branch October 30, 2024 16:49
lcaresia pushed a commit that referenced this pull request Dec 3, 2024
* Upgrade `@supabase/supabase-js` for the `supabase` components
* Fix version-specific import in the Supabase app component, which
  prevented importing `@pipedream/supabase` in code components
* Bump component versions
* Bump `@pipedream/supabase` patch version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
Development

Successfully merging this pull request may close these issues.

5 participants