supabase / realtime

Broadcast, Presence, and Postgres Changes via WebSockets
https://supabase.com/realtime
Apache License 2.0
6.57k stars 288 forks source link

fix: Refactor Helpers module #1068

Closed filipecabaco closed 2 weeks ago

filipecabaco commented 3 weeks ago

What kind of change does this PR introduce?

The Realtime.Helpers module was becoming a catch all for multiple contexts. This PR separates it into multiple contexts and moves some functions to other modules more fitting to their context.

Also we have simpler ways to connect to the database to reduce error prone operations (e.g. having to define argument one by one in a specific order)

vercel[bot] commented 3 weeks ago

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

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **realtime-demo** | ⬜️ Ignored ([Inspect](https://vercel.com/supabase/realtime-demo/9ohxhrvBM175MpGEgsDFQGdGiEeW)) | [Visit Preview](https://realtime-demo-git-fix-cleanup-helpers-module-supabase.vercel.app) | | Jun 11, 2024 11:50am |
kiwicopple commented 2 weeks ago

:tada: This PR is included in version 2.29.6 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: