Compatibility and moving from other systems
Supabase
Section titled “Supabase”- Supabase import (beta): Moves a Supabase project into Protobase, with schema, data, users, functions, storage and scheduled jobs, and a coding agent’s skill finishes what its report leaves.
- Create a project on a Supabase database (beta): your Supabase users sign in to the new project with their own passwords, and Supabase’s own auth schema stays as Supabase set it up.
- Supabase client API (beta): supabase-js
from()andrpc()calls keep working, under the tables’ RLS policies. - Supabase Auth (beta):
supabase.authand@supabase/ssrcalls keep working. - Supabase Storage (beta): supabase-js storage calls keep working, over the app’s file storage.
- Supabase Realtime (beta): Database changes, broadcast and presence through supabase-js channels, private ones authorized by the policies on
realtime.messages, broadcasts sent from a server without joining a channel, and broadcasts from the database withrealtime.send()andrealtime.broadcast_changes(), across several processes serving one app. - Edge Functions: Functions moved from Supabase answer at their old addresses.
AWS Step Functions
Section titled “AWS Step Functions”- Step Functions import (beta): A JSONata state machine exported from AWS Step Functions saves and runs as a workflow, its HTTP tasks as
app:httpsteps that send the same request and give the same result, and what does not run here exactly, its other service tasks included, is refused by name. - Task callbacks (beta): A step that waits for an outside result takes the SendTaskSuccess, SendTaskFailure and SendTaskHeartbeat calls a caller written for AWS Step Functions sends, unchanged.
Template paths
Section titled “Template paths”- Paths and scopes (beta): Layout paths follow Mustache’s context-stack lookup and Handlebars’ path grammar:
../,this,./,@root,@index,@firstand@last, though@rootcannot be read yet. Protobase differs in three ways: a placeholder is escaped for the string it lands in, such as a filter’s quoted value, rather than for HTML;@paramsnames a page parameter, which aSelectInputsets; and a name no record around it has fails the build instead of drawing empty.
react-admin
Section titled “react-admin”- Related records (beta): Layouts take react-admin’s
ReferenceManyField,ReferenceArrayField,ArrayField,RecordsIteratorandReferenceFieldwith their names, props and defaults:sortis the key descending, and aReferenceManyField’ssourceisidand itsperPage25. - Filters and sorts on related records (beta):
filteris AIP-160 text or the condition builder’s arrow, since an object cannot sayOR, andsorta list of fields,['claimed_at desc']; react-admin’s{ field: value }and{ field, order }objects are not taken. - Page size of related records (beta): A list reads at most 500 records, the API’s largest page, which is also a
ReferenceArrayField’sperPagewhere react-admin’s is 1000. - Items of an ArrayField (beta): A text item of an
ArrayFieldis read asthis. AnArrayFieldtakes nofilter,sortorperPageyet. - RecordsIterator without functions (beta):
RecordsIteratortakes norender,data,totalorisPending, as a layout holds no functions and the list around it gives the rest. - SelectInput in the address (beta):
SelectInputtakes react-admin’ssource,choicesas{ id, name },labelanddefaultValue, and writes its choice into the page’s address as?<source>=<id>, read as@params.<source>, instead of into a form. - Links of a ReferenceField (beta): A
ReferenceFieldlinks to the record’s page for botheditandshow, as a record has one page.