Skip to main content

postgrest 3.0.0-dev.19 copy "postgrest: ^3.0.0-dev.19" to clipboard
postgrest: ^3.0.0-dev.19 copied to clipboard

PostgREST client for Dart. This library provides an ORM interface to PostgREST.

3.0.0-dev.19 #

Note: This release has breaking changes.

  • FIX(postgrest): read a whole number result of rpc
  • FIX(postgrest): send null and nested list elements of filters as array literals (#2212). (0031f9f6)
  • FIX(postgrest): send no columns parameter when bulk rows have no keys (#2209). (7120bfb6)
  • FEAT(postgrest): let generated write types set a column to the server's current time (#2217). (a9d7614e)
  • BREAKING FEAT(supabase): originate a trace context when no trace is active (#1978). (dab9836c)

3.0.0-dev.18 #

Note: This release has breaking changes.

  • FIX(postgrest): send rpc(get: true) as a POST when an argument cannot be a query parameter (#2152). (e0e13357)
  • DOCS: remove constructor dartdocs that only restate the class (#2153). (395a49b6)
  • BREAKING FIX: keep request queries out of exception text and personal data out of toString (#2166). (fa447c92)
  • BREAKING FIX(realtime): make RealtimeChannel type safe, including its broadcast and Postgres change API (#2161). (9881a389)
  • BREAKING FIX: keep caller values inside their URL path segment (#2164). (cfe0939f)

3.0.0-dev.17 #

Note: This release has breaking changes.

  • FEAT(typegen): generate typed getters for partial rows (#2138). (48e0e47c)
  • FEAT(typegen): name the extensions a show import needs (#2139). (efe9e947)
  • FEAT(postgrest): construct a PostgrestPartialRow outside a query (#2132). (1fc7500c)
  • BREAKING FEAT(typegen): null writes SQL NULL in generated Insert/Update types and RPC arguments (#2147). (53e34797)

3.0.0-dev.16 #

Note: This release has breaking changes.

  • FIX(postgrest): explain a maybeSingle() function call that returns no row object (#2116). (d7eb4936)
  • FIX(postgrest): count the rows of a maybeSingle() read from Content-Range (#2113). (e19c2626)
  • BREAKING FIX(postgrest): remove defaultToNull from the typed insert and upsert methods (#2106). (886f3d05)

3.0.0-dev.15 #

  • FIX: build per request log messages lazily and lower redundant log records to fine (#2101). (b7ccb177)
  • FIX(postgrest): read the count of an embedded relation through JsonFields (#2087). (b76fd5e9)
  • FIX: keep query strings, header values, payloads and user objects out of diagnostic logs (#2095). (75d21fdc)
  • FIX(postgrest): merge a Prefer header set with setHeader instead of replacing it (#2090). (c2e8faf1)
  • FIX: check the shape of auth payloads and onError results instead of catching TypeError (#2081). (48cd29f2)
  • FIX(postgrest): keep the original stack trace when an async whenComplete action rethrows (#2078). (1be5285c)
  • FIX: check input shapes instead of catching TypeError and NoSuchMethodError (#2080). (b4d8fc01)
  • FEAT(postgrest): write nothing for empty typed insertAll and upsertAll, accept a raw access token per request (#2100). (3e214140)
  • FEAT(postgrest): send features=typed-api in X-Client-Info for typed API requests (#2072). (a825ebd8)
  • DOCS: document SDK compatibility with Supabase services (#2074). (072eee45)

3.0.0-dev.14 #

Note: This release has breaking changes.

  • FEAT(postgrest): filter inside an embed, add requiring and relation isNull on the typed surface (#2061). (a9537321)
  • BREAKING FEAT(postgrest): a dedicated type for json and jsonb columns (#2063). (fe3cbec3)

3.0.0-dev.13 #

Note: This release has breaking changes.

  • PERF(postgrest): stop wrapping every inserted and upserted row in a cast view (#2058). (a05c51bf)
  • FIX(supabase_common): cancel the retry backoff on abort and honour long Retry-After and jitter at the cap (#2043). (63dfd112)
  • FIX(postgrest): buffer the untyped asStream result and correct dartdocs that disagree with behavior (#2042). (ed797335)
  • FIX(postgrest): warn on a bare await of typed update() and delete() (#2007). (ae452e4a)
  • FEAT(supabase): run the typed function calls through the client interceptors (#2056). (60f8267c)
  • 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(postgrest): hide internals and align the untyped builder with the typed one (#2029). (875ea125)
  • BREAKING REFACTOR(yet_another_json_isolate): drop initialize(), align web and IO behavior, and keep small toJson objects off the isolate (#2041). (69474c10)
  • BREAKING PERF(yet_another_json_isolate,postgrest,functions): encode request bodies to UTF-8 bytes on the calling isolate in slices (#2057). (776b9f52)
  • BREAKING FIX(postgrest): stop transforms from silently changing or dropping part of a request (#2026). (f9924ac8)
  • BREAKING FIX(typegen): suffix names that clash with SDK and Flutter types, and decode unknown enum labels and infinite timestamps (#2044). (96e7e88f)
  • BREAKING FIX(postgrest): send DateTime filter operands with their offset from UTC (#2024). (5248812b)
  • BREAKING FIX(postgrest): apply column defaults to keys missing from some rows in insertAll and upsertAll (#2032). (5a47e227)
  • BREAKING FEAT(supabase): run the typed table requests through client interceptors (#1940). (4efd670b)
  • BREAKING FEAT(supabase): reject unsupported typed stream orderings at compile time (#2014). (6083d666)
  • BREAKING FEAT(supabase): typed stream order() takes a PostgrestOrdering like the typed query (#2010). (4a32d1f5)

3.0.0-dev.12 #

  • FEAT(supabase): add typed onTableChanges for postgres changes (#2003). (74e9870b)
  • FEAT(postgrest): select every column alongside embeds in selectOnly (#2004). (c9e6f4b8)
  • FEAT(postgrest): count the rows of a to-many relation without aggregates (#2005). (511cfb57)
  • DOCS(postgrest): correct the aggregate setting, read inference and stale migration notes (#2002). (e8c4ed0e)

3.0.0-dev.11 #

Note: This release has breaking changes.

  • FIX(postgrest): address a hinted embed by its table name outside the select list (#1962). (8d9a929d)
  • FEAT(postgrest): retry typed calls of stable and immutable functions over GET (#1982). (5ca35d92)
  • BREAKING REFACTOR: move the Postgres value types to supabase_common (#1993). (abd3148a)
  • BREAKING FIX(typegen): read oid and xid8 columns as numbers (#1992). (a0261a9d)
  • BREAKING FIX(postgrest): key aggregates and casts by their own expression (#1988). (5609af7f)
  • BREAKING FIX: throw AccessTokenException when the accessToken callback fails (#1989). (069478cd)
  • BREAKING FEAT(typegen): read multirange columns into a multirange type (#1999). (e5b8bdeb)
  • BREAKING FEAT(typegen): read geometric columns into value types (#1998). (995cf727)
  • BREAKING FEAT(typegen): read inet and cidr columns into a network address type (#1997). (ed69ae31)
  • BREAKING FEAT(typegen): read int2vector and oidvector columns as integer lists (#1996). (a1526378)
  • BREAKING FEAT(typegen): read pg_lsn and macaddr columns into value types (#1994). (307fe4ad)
  • BREAKING FEAT(postgrest): quote JSON path keys and add int array-index methods (#1983). (2d3262b6)

3.0.0-dev.10 #

Note: This release has breaking changes.

  • FIX: honor Retry-After and abort signals in retries, and share one retry loop (#1929). (7b74d7e5)
  • FIX(postgrest): encode null, nested list and map values in rpc GET parameters (#1926). (6c39e248)
  • BREAKING REFACTOR: remove SupabaseClientPlugin and the public PostgrestTableExecutor (#1939). (d5da36c0)
  • BREAKING FEAT(postgrest): order and limit inside a to-many embed on the typed surface (#1960). (973de4f9)
  • BREAKING FEAT(postgrest): make rpc a PostgrestRpc getter with typed entry points (#1958). (08392a90)
  • BREAKING FEAT: make the request timeout an idle timeout and add it to auth, storage and functions (#1938). (e312f31a)
  • BREAKING FEAT: wrap transport failures and bring realtime into the SupabaseException hierarchy (#1928). (c090fc98)

3.0.0-dev.9 #

Note: This release has breaking changes.

  • REFACTOR: define shared HTTP header names in supabase_common (#1917). (625d7c7c)
  • FIX(postgrest): key long JSON paths by a SHA-256 digest of the expression (#1924). (7e91e7e3)
  • FIX(postgrest): read a JSON path ending in an array index under the key PostgREST answers with (#1915). (cb12a186)
  • FIX(postgrest): strip nulls on plain and single() responses (#1910). (37c29c9a)
  • FEAT(postgrest): add computed fields and computed relationships to the typed table surface (#1905). (69e46365)
  • FEAT(postgrest): add retry, requestTimeout, abortSignal and setHeader to the typed builders (#1907). (e7ab358f)
  • BREAKING FIX(postgrest): order() no longer forces NULLS LAST by default (#1912). (3632d11a)
  • BREAKING FEAT(postgrest): require a filter or all() on typed update() and delete() (#1913). (4705528d)
  • BREAKING FEAT(supabase): add negated filters and column selection to stream() (#1909). (4411c7fc)

3.0.0-dev.8 #

Note: This release has breaking changes.

  • FIX(postgrest): keep a client-level Prefer header on writes (#1886). (7b2027ae)
  • FEAT(postgrest): type the embedded rows of a relation (#1891). (0281f352)
  • FEAT(postgrest): select several columns of an embed (#1890). (8741aae6)
  • FEAT(supabase): surface the server request id on exceptions (#1885). (e28a6ad3)
  • BREAKING FEAT(postgrest): type a partial select as a partial row instead of the full row (#1897). (9378ac89)

3.0.0-dev.7 #

Note: This release has breaking changes.

  • FIX(postgrest): escape reserved characters in quantified pattern lists (#1869). (8871b84b)
  • BREAKING FEAT(typegen): map date, time and interval columns to PostgrestDate, PostgrestTime and PostgrestInterval (#1875). (443190b2)
  • BREAKING FEAT(typegen): map pgvector columns to List

3.0.0-dev.6 #

Note: This release has breaking changes.

  • REFACTOR: prune redundant comments that restate the code below them (#1852). (465b18ea)
  • BREAKING FIX(typegen): map bytea columns to Uint8List instead of String (#1866). (2bb3ff02)
  • BREAKING FIX(postgrest): disallow filters chained after insert() and upsert() (#1865). (86621a3f)
  • BREAKING FEAT(postgrest): execute typed table builders through a PostgrestTableExecutor and add SupabaseClientPlugin (#1857). (3ecb09b1)
  • BREAKING FEAT(typegen): generate types for every exposed schema and route typed tables to their schema (#1861). (6f9e716b)
  • BREAKING FEAT(postgrest): carry primary keys and relation columns on PostgrestTable and emit them from typegen (#1859). (04ce54cf)

3.0.0-dev.5 #

Note: This release has breaking changes.

  • FIX(postgrest): build the typed transform builder with the row converter (#1850). (b9dee7bf)
  • FEAT(postgrest): add csv, explain, head, dryRun, stripNulls, maxAffected and geojson to the typed transform builder (#1848). (85fd4534)
  • BREAKING FEAT(postgrest): only accept the table's Insert and Update types on the typed builder (#1849). (333cc5c3)

3.0.0-dev.4 #

  • REFACTOR(postgrest): build the typed builders on PostgrestBuilder

3.0.0-dev.3 #

Note: This release has breaking changes.

  • REFACTOR(postgrest): remove the TableColumn filter surface (#1796). (c065b446)
  • REFACTOR: rename supabase_testing to supabase_test (#1812). (1e15663d)
  • FEAT(postgrest): add typed ranges to the column-expression surface (#1808). (5ad78b9e)
  • FEAT(postgrest): add embedded relations to the column namespace (#1799). (fc2e77cc)
  • FEAT(postgrest): add aggregate functions as select-only expressions (#1798). (4fb306e3)
  • FEAT(postgrest): add casts and JSON paths as column expressions (#1797). (da48c368)
  • FEAT(postgrest): route where, order and select through column expressions (#1795). (2c350e5d)
  • FEAT(postgrest): add the remaining filter operators (#1794). (78ddf55f)
  • FEAT(postgrest): add column expressions and the filter tree (#1793). (93be263b)
  • BREAKING REFACTOR(postgrest): collapse the builder generics and wrapper types (#1826). (81168d7f)

3.0.0-dev.2 #

  • FIX(postgrest): enforce maybeSingle() client-side for all request methods (#1779). (c360849d)
  • FEAT: add typed table access with PostgrestTable and TableColumn (#1634). (f0b9366d)
  • FEAT(postgrest): add an isUnknown filter method (#1788). (448de1cd)
  • FEAT(postgrest): add a notInFilter filter method (#1762). (9965ecb4)
  • DOCS(postgrest): enable public_member_api_docs (#1772). (41ed7da3)

3.0.0-dev.1 #

Note: This release has breaking changes.

  • REFACTOR: share the test helpers through supabase_common (#1745). (bcb41fa4)
  • REFACTOR: share the auth callback parameters and secure random helpers (#1744). (66ac4901)
  • REFACTOR: share the HTTP request pieces between the fetch layers (#1647). (a2a9eeaa)
  • PERF(yet_another_json_isolate): process small payloads inline and large ones on short-lived isolates (#1746). (7942c377)
  • FIX(supabase_lints): enable lines_longer_than_80_chars and fix all violations (#1655). (a08b6577)
  • FEAT: introduce the supabase_testing package (#1747). (5a3aa9b4)
  • FEAT: resolve an access token per request on the standalone clients (#1742). (dd61782a)
  • DOCS: fix inaccurate dartdoc comments across all packages (#1659). (090ee978)
  • BREAKING REFACTOR: process JSON through the AsyncJsonCodec interface (#1751). (6969eb38)
  • BREAKING REFACTOR(postgrest): make the rest client and builders stateless (#1748). (4efb8ce4)
  • BREAKING REFACTOR: rework logging to emit only through the supabase logger hierarchy (#1741). (d1642c80)
  • BREAKING REFACTOR: remove the dead setAccessToken mutators (#1739). (ced47232)
  • BREAKING REFACTOR: share one retry configuration across the clients (#1738). (3b2a4855)
  • BREAKING REFACTOR(postgrest): fix the retried status codes to 503 and 520 (#1737). (17487ff5)
  • BREAKING REFACTOR(postgrest): expose retry configuration as PostgrestRetryOptions (#1731). (7c0cfe53)
  • BREAKING REFACTOR: spell out abbreviations in the public API (#1712). (29286f43)
  • BREAKING REFACTOR: share one exponential backoff calculation (#1646). (8bc93f5d)
  • BREAKING REFACTOR: split every service exception into a client and an api base (#1644). (0202c332)
  • BREAKING REFACTOR: share a single HttpMethod enum across the packages (#1678). (23d55c37)
  • BREAKING REFACTOR: remove analyzer ignores by fixing the underlying code (#1675). (9f367d77)
  • BREAKING REFACTOR: remove all deprecated APIs and dead public surface for v3 (#1661). (1ffa0deb)
  • BREAKING FIX: make order() default to ascending (#1658). (e06f2302)

2.9.1 #

  • REFACTOR(supabase_common): share the local stack test configuration (#1640). (a08f06d3)
  • DOCS(postgrest): document that order() defaults to descending (#1637). (dc93d761)

2.9.0 #

  • REFACTOR: modernize dart syntax across client packages (#1574). (b74fdfee)
  • REFACTOR: extract shared code into supabase_common package (#1573). (46601bbb)
  • FEAT(postgrest): configurable auto-retry and request timeout (#1560). (59d4b3af)
  • FEAT(postgrest): abort requests (#1368). (c267e4fa)
  • FEAT(database): add dryRun and stripNulls query modifiers (#1559). (896bc1f7)

2.8.0 #

  • FIX(postgrest): override limit and offset instead of appending duplicates (#1512). (f1c80d60)
  • FEAT(postgrest): add format option to explain() (#1516). (e549d390)

2.7.4 #

  • FIX(postgrest): stop seeding Prefer header with an empty string (#1505). (0a37f0d7)

2.7.3 #

  • FIX(postgrest): escape quotes and backslashes in list filter values (#1481). (66e4d139)
  • FIX(postgrest): return structured error for non-JSON body on 2xx responses (#1474). (2d7c9cf5)
  • FIX: correctness fixes across gotrue, postgrest, storage, supabase and supabase_flutter (#1445). (bf31389d)
  • FIX(postgrest): build a valid Prefer header in select() when none is set (#1433). (871d39d5)

2.7.2 #

  • FIX: raise min Dart SDK to 3.4.0 across all packages (#1409). (311f883f)

2.7.1 #

  • FIX(postgrest): include caller frames in PostgrestException stack traces (#1387). (716121a5)

2.7.0 #

  • FIX(types): improve JSON decoding resilience (#1301). (1523f5d6)
  • FIX(postgrest): replace SCREAMING_SNAKE_CASE HTTP method constants with enum (#1347). (13e8b39e)
  • FEAT(postgrest): add automatic retry for transient failures (#1338). (fb1da8b2)

2.6.0 #

  • FEAT(postgrest): add missing PostgREST v12 operators (#1273). (f6270260)

2.5.0 #

  • FIX(postgrest): URL replacement logic in query builder (#1228). (908976c5)
  • FEAT(postgrest): Implement maxAffected method (#1226). (ae2d12d9)

2.4.2 #

  • Update a dependency to the latest release.

2.4.1 #

2.4.0 #

2.3.0 #

2.2.0 #

  • FEAT: Add setHeader method on postgrest builder (#1003). (efe8e5df)

2.1.4 #

  • FIX: Upgrade web_socket_channel for supporting web: ^1.0.0 and therefore WASM compilation on web (#992). (7da68565)

2.1.3 #

  • Update a dependency to the latest release.

2.1.2 #

  • FIX(postgrest): Update parameter type of isFilter() to only allow boolean or null (#920). (0a3b73e0)
  • FIX(postgrest): Update parameter type of match() filter so that null values cannot be passed. (#919). (0902124f)

2.1.1 #

  • DOCS(postgrest): Expand documentation for contains and containedBy methods (#824). (e241e766)

2.1.0 #

  • FIX: Passing null to not() filter is now allowed (#775). (13f02286)
  • FEAT(postgrest): Add toJson() method to PostgrestException to allow serialization (#783). (28c9819a)

2.0.1 #

  • FIX: enable filtering and tranformation on count with head (#768). (d66aaab6)

2.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

2.0.0-dev.2 #

  • REFACTOR: make schema variable private and rename useSchema() to schema() (#737).

2.0.0-dev.1 #

Note: This release has breaking changes.

  • FIX: issue where .range() not respecting the offset given. (#722). (e3541a46)
  • FEAT: adds geojson support for working with the PostGIS extension (#721). (60a25153)
  • FEAT: adds .explain() for debugging performance issues on Supabase client generated queries. (#719). (f6e41578)

2.0.0-dev.0 #

Note: This release has breaking changes.

  • FIX: don't try to decode an empty body (#631). (ec13c88f)
  • FEAT(postgrest): immutability (#600). (95256697)
  • DOCS: update readme to v2 (#647). (514cefb4)
  • BREAKING REFACTOR: rename is_ and in_ to isFilter and inFilter (#646). (1227394e)
  • BREAKING REFACTOR: many auth breaking changes (#636). (7782a587)
  • BREAKING REFACTOR: use Dart 3 (#598). (02c4071a)
  • BREAKING FEAT(postgrest): stronger type system for query building (#624). (951ce89e)
  • BREAKING FEAT: use Object? instead of dynamic (#606). (0c6caa00)

1.5.2 #

1.5.1 #

1.5.0 #

  • FEAT(postgrest,supabase): add useSchema() method for making rest API calls on custom schema. (#525). (40a0f090)

1.4.0 #

  • FIX: maybeSingle no longer logs error on Postgrest API (#564). (f6854e1d)
  • FEAT(postgrest): updates for postgREST 11 (#550). (64d8eb59)

1.3.3 #

  • FIX(postgrest): update docs to mention views (#543). (22eb68f2)

1.3.2 #

  • REFACTOR: bump minimum Dart SDK version to 2.17.0 (#510). (ed927ee0)

1.3.1 #

  • FIX: Update http dependency constraints (#491). (825d0737)

1.3.0 #

  • FIX(postgrest): Remove qoutations on foreign table transforms on 'or' (#477). (c2c6982a)
  • FIX: Format the files to adjust to Flutter 3.10.1 (#475). (eb0bcd95)
  • FEAT: update dependency constraints to sdk < 4.0.0 (#474). (7894bc70)

1.2.4 #

  • chore: move the repo into supabase-flutter monorepo

1.2.3 #

  • fix: deprecate auth(), use setAuth() instead #107
  • fix: requests don't affect client's headers #107

1.2.2 #

  • fix: deprecate returning parameter of .delete() #105
  • chore: improve comment docs #105

1.2.1 #

  • fix: remove the breaking change that was introduced in v1.2.0 #103

1.2.0 #

  • BREAKING: use isolates only for huge JSON and reuse isolates #90
    • This breaking chnge has been removed in v1.2.1

1.1.1 #

  • fix: keep custom http client with converter #100

1.1.0 #

  • fix: implement catchError #97
  • feat: add generic types to .select() #94
    // data is `List<Map<String, dynamic>>`
    final data = await supabase.from<List<Map<String, dynamic>>>('users').select();
    
    // data is `Map<String, dynamic>`
    final data = await supabase.from<Map<String, dynamic>>('users').select().eq('id', myId).single();
    

1.0.1 #

  • fix: calling .select() multiple times will override the previous .select() #95

1.0.0 #

  • chore: v1.0.0 release 🚀
  • BREAKING: set minimum Dart SDK version to 2.15.0 #92

1.0.0-dev.4 #

  • fix: update insert documentation to reflect new returning behavior #88

1.0.0-dev.3 #

  • fix: maybeSingle #84
  • fix: List as value in any filter #85

1.0.0-dev.2 #

  • BREAKING: rename PostgrestError to PostgrestException

1.0.0-dev.1 #

  • BREAKING: data is returned directly and error is thrown instead of being returned within a response
try {
  final data = await client.from('countries').select();
  print(data);
} on PostgrestError catch (error, stacktrace) {
  // handle a PostgrestError
  print('$error \n $stacktrace');
} catch (error, stacktrace) {
  // handle other errors
  print('$error \n $stracktrace');
}
  • count and head can be specified within FetchOptions() in .select()
final response = await client.from('countries').select('*', FetchOptions(count: CountOption.exact));
print(response.data);
print(response.count);
  • BREAKING: returning option in .insert(), .upsert(), .update() and .delete() have been removed. .select() should be appended on the query to return the result of those operations.
final data = await client.from('countries').insert({'name': 'France'}).select();
  • DEPRECATED: .execute() is now deprecated
  • chore: all deprecated filter methods have been removed
  • chore: using lints package for linting
  • fix: Added typesafe HTTP Methods (METHOD_GET, METHOD_HEAD, METHOD_POST, METHOD_PUT, METHOD_PATCH, METHOD_DELETE)

0.1.11 #

  • fix: order() and limit() not working as expected with foreign table bug
  • feat: add foreignTable arg to or filter

0.1.10+1 #

  • fix: bug where using multiple filters on the same field with order will wipe out the filters except the last one.

0.1.10 #

  • feat: allow custom http client
  • fix: bug where multiple order does not reorder the result

0.1.9 #

  • feat: added withConverter to PostgrestBuilder
    final res = await postgrest
      .from('users')
      .select()
      .withConverter<List>((data) => [data])
      .execute();
    
  • fix: allow multiple filters on the same column
  • fix: List passed to filter, eq or neq will correctly be formatted

0.1.8 #

  • fix: bug where filter is not available on rpc()

0.1.7 #

  • feat: added X-Client-Info header

0.1.6 #

  • fix: bug where List of num is passes as filter parameter

0.1.5 #

  • fix: bug when using not filter with in

0.1.4 #

  • feat: implement ReturningOption
  • feat: add ignoreDuplicates option to upsert
  • feat: create maybeSingle() function
  • feat: sorting by multiple columns
  • fix: export TextSearchType

0.1.3 #

  • chore: added count_option export

0.1.2 #

  • feat: Add CSV response
  • chore: remove unnecessary new keyword on docs

0.1.1 #

  • fix: PostgrestError parsing

0.1.0 #

  • deprecated: cs() in filter. Use contains() instead.
  • deprecated: cd() in filter. Use containedBy() instead.
  • deprecated: sl() in filter. Use rangeLt() instead.
  • deprecated: sr() in filter. Use rangeGt() instead.
  • deprecated: nxl() in filter. Use rangeGte() instead.
  • deprecated: nxr() in filter. Use rangeLte() instead.
  • deprecated: adj() in filter. Use rangeAdjacent() instead.
  • deprecated: ov() in filter. Use overlaps() instead.
  • deprecated: fts() in filter. Use textSearch() instead.
  • deprecated: plfts() in filter. Use textSearch() instead.
  • deprecated: phfts() in filter. Use textSearch() instead.
  • deprecated: wfts() in filter. Use textSearch() instead.

0.0.8 #

  • feat: Migrate to null-safe dart

0.0.7 #

  • feat: allow postgrest.rpc() filtering
  • refactor: builder into separate classes
  • chore: update stored procedure unit tests

0.0.6 #

  • fix: error json parsing
  • fix: unit tests
  • refactor: remove PostgrestResponse.statusText
  • refactor: clean up PostgrestError, PostgrestResponse
  • chore: export PostgrestError class
  • chore: update example with try/catch

0.0.5 #

  • chore: export builder class

0.0.4 #

  • feat: support head request and row count option

0.0.3 #

  • fix: lint errors

0.0.2 #

  • Remove pre-release verion notice

0.0.1 #

  • refactor: improve code style
  • Initial Release

0.0.1-dev.8 #

  • chore: replace end() with execute()
  • refactor: options param (map type) into named parameters

0.0.1-dev.7 #

  • refactor: rename response.body to response.data

0.0.1-dev.6 #

  • chore: return PostgrestResponse and PostgrestError instead of a Map obj

0.0.1-dev.5 #

  • fix: lint errors

0.0.1-dev.4 #

  • Refactor code structure by following postgrest-js TypeScript update.
  • Update documents.

0.0.1-dev.3 #

  • Fixes examples + typo.

0.0.1-dev.2 #

  • Remove Flutter package dependency.
  • Clean up + refactor.

0.0.1-dev.1 #

  • Initial pre-release.
137
likes
160
points
1.37M
downloads

Documentation

Documentation
API reference

Publisher

verified publishersupabase.io

Weekly Downloads

PostgREST client for Dart. This library provides an ORM interface to PostgREST.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#supabase #postgrest #database #orm #api

License

MIT (license)

Dependencies

crypto, http, logging, meta, supabase_common, yet_another_json_isolate

More

Packages that depend on postgrest