supabaseR 1.0.1 (2026-04-22)
Documentation
- Updated
READMEwith CRAN installation instructions as the primary installation method. - Updated
READMEwith R-universe badge.
supabaseR 1.0.0 (2026-04-07)
CRAN release: 2026-04-21
Breaking changes
- All functions renamed from
get_*/put_*to namespacedsb_db_*,sb_api_*, andsb_*prefixes. Legacy functions removed.
New features
- Dual-backend design: DBI/PostgreSQL (
sb_db_*) and Supabase REST API (sb_api_*), with unified wrappers (sb_*) that auto-dispatch. - Full CRUD for both backends:
read,query,insert,update,upsert,delete,truncate. - Table metadata helpers:
tables,table_exists,schema. -
wherefilter operators across both backends:gt,lt,gte,lte,neq,like,ilike,in,is. Raw SQL supported on the DBI backend. - All four Supabase key formats supported. Secret / service-role keys bypass Row Level Security (RLS) automatically. Deprecation warnings for legacy JWT keys.
-
SUPABASE_SCHEMAenv var honoured by both backends viaget_schema(). - CLI startup message on load showing which backends are detected.
-
pkgdowndocumentation website at deepanshkhurana.github.io/supabaseR
Bug fixes and improvements
- SQL construction uses
glue::glue_sql()throughout to prevent injection. - 100% test coverage via
testthat3 withmockerystubs; no live database required.