Releases: Waffle0823/Roblox-Supabase
v0.1.0-alpha.6
Refactoring
- Add default parameter values and new options for query methods (3e83f61)
v0.1.0-alpha.5
Hotfix
- Fix remove trailing slash from baseUrl relation path (c64d5f0)
v0.1.0-alpha.4
Bug Fixes
- Insert Method Path Correction: Fixed the path parameter in the insert method by changing it from
this.baseUrlto an empty string, ensuring proper endpoint targeting. (a1ce2e6)
Refactoring
-
Error Handling Improvement: Changed
maybeSinglemethod to return a PostgrestError instead of throwing an error when receiving zero or multiple rows. This provides a more consistent error handling pattern. (6019ecf) -
Response Type Cleanup: Removed the redundant
successproperty from SupabaseResponse type, simplifying the response interface. (c52b7cd)
These changes improve error handling consistency, fix path handling in the insert method, and streamline the response types in the Roblox-Supabase client.
v0.1.0-alpha.3
Hotfix
- Fixed npm version handling in release workflow
v0.1.0-alpha.2
Summary
This release delivers a major internal refactor of the Supabase client architecture, focusing on type safety, cleaner request/response handling, and standard-compliant header-based profile management.
Additionally, several bugs were fixed and the build pipeline was simplified and automated.
Bug Fixes
- Fixed incorrect return type handling in the request method when responses are empty or undefined (56c80b9)
- Fixed missing path assignment in
containsandcontainedByfilter methods (c3fc977)
Architectural Changes & Refactors
Response & Error Handling
- Refactored
SupabaseResponsetypes to better align with PostgREST response formats (e3bf88a) - Added a
successflag toSupabaseResponseBasefor clearer result handling (ffb734d) - Converted
PostgrestErrorfrom a class to an interface for improved type flexibility (9b4ecb4) - Improved request method to consistently return structured success/error responses (101f0f0)
- Added explicit error handling when
.single()returns an empty response (0e922d6)
Header-Based Profile Management
- Replaced schema-based URL paths with header-based profile configuration (123728f)
- Introduced
setAcceptProfileandsetContentProfilein place ofsetSchema(e7cb762) - Simplified
addPreferto mutate headers directly (bd40fea)
Builder & Type System Improvements
- Extracted HTTP method definitions into a shared type module (be9e341)
- Introduced
SqlOperationtype for clearer database intent modeling (ea767ad) - Simplified
FilterBuilderconstructor and centralized HTTP method mapping logic (0e922d6) - Refactored
FilterBuilderto explicitly receivebaseUrlandanonKey(31219c2) - Updated
QueryBuilderto pass connection parameters directly (d58f182)
Build & CI Improvements
v0.1.0-alpha.1
- Initial alpha release of Roblox-Supabase
- Type-safe PostgREST client for Supabase, designed for Roblox servers using
roblox-ts. - Core features:
SupabaseClient: Main client for interacting with Supabase databases from Roblox.QueryBuilder: Build and execute type-safe queries (select,insert,upsert,update,delete) on Supabase tables.- Full TypeScript type support for tables and schemas.
- Extensible and modular design for future features.
- Includes robust development tooling: ESLint, Prettier, and TypeScript configuration for high code quality.
- See the README for usage examples and setup instructions.
- Type-safe PostgREST client for Supabase, designed for Roblox servers using