Skip to content

Releases: Waffle0823/Roblox-Supabase

v0.1.0-alpha.6

26 Jan 17:56

Choose a tag to compare

v0.1.0-alpha.6 Pre-release
Pre-release

Refactoring

  • Add default parameter values and new options for query methods (3e83f61)

v0.1.0-alpha.5

26 Jan 13:55

Choose a tag to compare

v0.1.0-alpha.5 Pre-release
Pre-release

Hotfix

  • Fix remove trailing slash from baseUrl relation path (c64d5f0)

v0.1.0-alpha.4

26 Jan 11:42

Choose a tag to compare

v0.1.0-alpha.4 Pre-release
Pre-release

Bug Fixes

  • Insert Method Path Correction: Fixed the path parameter in the insert method by changing it from this.baseUrl to an empty string, ensuring proper endpoint targeting. (a1ce2e6)

Refactoring

  • Error Handling Improvement: Changed maybeSingle method 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 success property 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

26 Jan 09:03
72a0aca

Choose a tag to compare

v0.1.0-alpha.3 Pre-release
Pre-release

Hotfix

  • Fixed npm version handling in release workflow

v0.1.0-alpha.2

26 Jan 08:52

Choose a tag to compare

v0.1.0-alpha.2 Pre-release
Pre-release

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 contains and containedBy filter methods (c3fc977)

Architectural Changes & Refactors

Response & Error Handling

  • Refactored SupabaseResponse types to better align with PostgREST response formats (e3bf88a)
  • Added a success flag to SupabaseResponseBase for clearer result handling (ffb734d)
  • Converted PostgrestError from 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 setAcceptProfile and setContentProfile in place of setSchema (e7cb762)
  • Simplified addPrefer to mutate headers directly (bd40fea)

Builder & Type System Improvements

  • Extracted HTTP method definitions into a shared type module (be9e341)
  • Introduced SqlOperation type for clearer database intent modeling (ea767ad)
  • Simplified FilterBuilder constructor and centralized HTTP method mapping logic (0e922d6)
  • Refactored FilterBuilder to explicitly receive baseUrl and anonKey (31219c2)
  • Updated QueryBuilder to pass connection parameters directly (d58f182)

Build & CI Improvements

  • Automated package version updates based on release versioning (f829e71)
  • Removed redundant and unused build jobs (5c48437)

v0.1.0-alpha.1

24 Jan 16:52

Choose a tag to compare

v0.1.0-alpha.1 Pre-release
Pre-release
  • 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.