Skip to main content

supabase_test 0.8.0 copy "supabase_test: ^0.8.0" to clipboard
supabase_test: ^0.8.0 copied to clipboard

Test helpers for apps built on the Supabase Dart and Flutter clients, with a mock HTTP client, a mock realtime transport, JWT builders and auth fixtures.

0.8.0 #

Note: This release has breaking changes.

  • FEAT(typegen): generate typed getters for partial rows (#2138). (48e0e47c)
  • FEAT(postgrest): construct a PostgrestPartialRow outside a query (#2132). (1fc7500c)
  • BREAKING FEAT(storage): make list the cursor-based listing and drop the legacy list endpoint (#2150). (11e1d189)
  • BREAKING FEAT(typegen): null writes SQL NULL in generated Insert/Update types and RPC arguments (#2147). (53e34797)

0.7.0 #

Note: This release has breaking changes.

  • BREAKING FIX(auth): judge session expiry from the time the device received it (#2123). (f075820d)
  • BREAKING FIX(realtime): classify channel join errors and stop retrying fatal ones (#2125). (72c3db96)

0.6.2 #

  • Update a dependency to the latest release.

0.6.1 #

  • Update a dependency to the latest release.

0.6.0 #

Note: This release has breaking changes.

  • FEAT: ship agent skills with supabase_flutter, supabase, supabase_typegen and supabase_test (#2011). (3f415f4e)
  • DOCS: fix README, MIGRATION.md and skill content that disagrees with the v3 code (#2039). (26073d57)
  • DOCS: update every README to the v3 API (#2008). (9357d479)
  • BREAKING REFACTOR(supabase): client setup and options consistency before 3.0.0 (#2021). (1fc6cf16)
  • BREAKING REFACTOR(storage): consistent bucket option types, return shapes and hidden wire helpers (#2019). (362f8f85)
  • BREAKING REFACTOR(supabase_test): take HttpMethod for method matching and align names with supabase_flutter's testing helpers (#2025). (941320dd)
  • BREAKING FIX(supabase): make stream() survive reconnects without losing or corrupting rows (#2028). (bf951b88)
  • BREAKING FIX(supabase_test): fast failures, clock-aware sessions, a real signedIn event and stubs that match what the SDK sends (#2035). (9e74106e)
  • BREAKING FIX(auth): refresh user-scoped tokens, keep restored sessions and announce user switches as signedIn (#2037). (3ff29e0d)
  • BREAKING FIX(realtime): send broadcast data under payload without mutating the caller's map (#2036). (31695439)
  • BREAKING FEAT(supabase): run the typed table requests through client interceptors (#1940). (4efd670b)

0.5.2 #

  • FEAT(supabase): add typed onTableChanges for postgres changes (#2003). (74e9870b)

0.5.1 #

  • Update a dependency to the latest release.

0.5.0 #

Note: This release has breaking changes.

  • BREAKING REFACTOR: remove SupabaseClientPlugin and the public PostgrestTableExecutor (#1939). (d5da36c0)

0.4.3 #

  • Update a dependency to the latest release.

0.4.2 #

  • Update a dependency to the latest release.

0.4.1 #

  • Update a dependency to the latest release.

0.4.0 #

Note: This release has breaking changes.

  • BREAKING FEAT(postgrest): execute typed table builders through a PostgrestTableExecutor and add SupabaseClientPlugin (#1857). (3ecb09b1)
  • BREAKING FEAT(postgrest): carry primary keys and relation columns on PostgrestTable and emit them from typegen (#1859). (04ce54cf)

0.3.0 #

Note: This release has breaking changes.

  • BREAKING REFACTOR(auth): return Session from the auth methods that always issue one (#1845). (b63898ea)
  • BREAKING FEAT(postgrest): only accept the table's Insert and Update types on the typed builder (#1849). (333cc5c3)

0.2.1 #

  • FEAT(storage): add file versioning and bucket lifecycle policies (#1834). (564576ad)

0.2.0 #

Note: This release has breaking changes.

  • REFACTOR: rename supabase_testing to supabase_test (#1812). (1e15663d)
  • FIX(supabase_test): match stub paths behind URL prefixes and widen the auth shorthands (#1814). (83517082)
  • FEAT(supabase_test): stub failures, stalls, status sequences and text bodies (#1825). (e16317a6)
  • FEAT(supabase_flutter): test initialization helper for widget tests (#1819). (4136f0e4)
  • FEAT(supabase_test): match table and rpc stubs on the schema (#1820). (07583bb4)
  • FEAT(supabase_test): mock realtime transport for testing streams and channels (#1818). (b2e26633)
  • FEAT(supabase_test): storage endpoint shorthands (#1817). (64cc72a7)
  • FEAT(supabase_test): match stubs on query parameters (#1816). (7d2a589c)
  • FEAT(supabase_test): shape PostgREST responses and answer requests from handlers (#1813). (fda7bb56)
  • BREAKING FEAT(auth): let AuthClient own session persistence through one storage (#1805). (a587f5af)

0.1.1 #

  • Update a dependency to the latest release.

0.1.0 #

  • Initial release. Test helpers for apps built on the Supabase clients, extracted from the internal test suites.
0
likes
160
points
1.19k
downloads

Documentation

API reference

Publisher

verified publishersupabase.io

Weekly Downloads

Test helpers for apps built on the Supabase Dart and Flutter clients, with a mock HTTP client, a mock realtime transport, JWT builders and auth fixtures.

Homepage
Repository (GitHub)
View/report issues

Topics

#supabase #testing #mock

License

MIT (license)

Dependencies

clock, crypto, http, meta, stream_channel, supabase, web_socket_channel

More

Packages that depend on supabase_test