supabase-js 2.0
See original GitHub issueWhat?
We’re using this task to plan any breaking changes that we might want to add to supabase-js as part of our 2.0
release:
(Possible) Features
- Update Type Implementation (import definitions at the constructor level): https://github.com/supabase/supabase-js/pull/125
- Better treeshaking: https://github.com/supabase/supabase-js/issues/151
- storage 2.0: https://github.com/supabase/storage-js/issues/6
- standard error responses: https://github.com/supabase/gotrue-js/issues/405
undefined
instead ofnull
for bottom type: https://github.com/supabase/supabase-js/issues/244return: minimal
by default- Nested columns: https://github.com/supabase/supabase/discussions/535#discussioncomment-1806516
- Default to
nullsFirst: true
: https://github.com/supabase/postgrest-js/issues/239
Timeline
- No fixed timeline
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:7 (3 by maintainers)
Top Results From Across the Web
supabase-js v2
A look at supabase-js v2, which brings type support and focuses on quality-of-life improvements for developers.
Read more >@supabase/supabase-js - npm
Isomorphic Javascript client for Supabase. Latest version: 2.2.0, last published: 21 hours ago. Start using @supabase/supabase-js in your ...
Read more >supabase-js - npm.io
@supabase/supabase-js v2.1.1 ; Weekly downloads. 3,531 ; License. MIT ; Repository. github ; Last release. 13 days ago.
Read more >@supabase/storage-js v2.1.0 Bundlephobia
Size of @supabase/storage-js v2.1.0 is 9.1 kB (minified), and 2.3 kB when compressed using GZIP. Bundlephobia helps you find the performance impact of...
Read more >Supabase on Twitter: "supabase-js V2 is fully released (with ...
supabase -js v2 Released. We've released supabase-js v2. Updated examples, quickstarts, and an improved experience. 1:02 PM · Oct 20, 2022 ·Sprout Social....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
must have in v2 for better TypeScript type definitions for queries, kudos to @bnjmnt4n : supabase-client (alternative TypeScript-based)
Re: the tree-shaking in supabase/supabase-js#151, we’ll be modularizing each Supabase components right? (i.e.
rest
,auth
, etc.) Combining them into one class felt hacky to me, esp. for those with overlapping function names (e.g.from()
can accept'*'
in realtime-js but not postgrest-js).This also makes it easier to implement in other languages with less flexible OO features, esp. once we tackle iOS/Android.