Skip to content

Releases: supabase/postgrest-js

v1.5.0

07 Apr 12:43
Compare
Choose a tag to compare

1.5.0 (2023-04-07)

Features

  • Support for double-quoted identifiers in queries (#415) (c69ef50)

v1.4.1

21 Feb 07:00
9fb56c7
Compare
Choose a tag to compare

1.4.1 (2023-02-21)

Bug Fixes

  • prettify intersected types when selecting multiple columns (#399) (9fb56c7), closes #398

v1.4.0

08 Feb 04:09
8ce5da4
Compare
Choose a tag to compare

1.4.0 (2023-02-08)

Features

  • types: export PostgrestResponseSuccess and PostgrestResponseFailure (#396) (8ce5da4)

v1.3.2

06 Feb 03:34
Compare
Choose a tag to compare

1.3.2 (2023-02-06)

Bug Fixes

  • use null if return=minimal (860387e)

v1.3.1

06 Feb 03:32
f8edc51
Compare
Choose a tag to compare

1.3.1 (2023-02-06)

Bug Fixes

v1.3.0

18 Jan 03:41
8f49667
Compare
Choose a tag to compare

1.3.0 (2023-01-18)

Features

v1.2.0

17 Jan 09:47
a0e4db7
Compare
Choose a tag to compare

1.2.0 (2023-01-17)

Features

  • support ->/->> for column names (a0e4db7)

v1.1.1

16 Dec 12:59
Compare
Choose a tag to compare

1.1.1 (2022-12-16)

Bug Fixes

  • wrong response on update w/o match (cc25705)

v1.1.0

18 Oct 08:25
Compare
Choose a tag to compare

1.1.0 (2022-10-18)

Features

  • allow overriding result types (4081771)

v1.0.0

11 Oct 10:28
94db709
Compare
Choose a tag to compare

1.0.0 (2022-10-11)

Bug Fixes

  • missing src in package (7a36bdb)
  • select query parser: support !inner (6ea14e3)
  • allow arbitrary string on .from() (6d90bab)
  • select query parser: support field!hint(nodes) (a722fe5)
  • wrong usage of FilterOperator (106ad9a)

Features

  • revert to null in response (890c020)
  • types: support views (3015ee0)
  • add rollback parameter to mutations and rpc (53aaaee)
  • add text format to explain() (#301) (d50e2cd)
  • improved typings (cf6a684)
  • move rollback to a method (0c468ca)
  • obsolete deprecated features (91d8a8c)
  • obsolete PostgrestClient.auth() (d44856d)
  • omit .nullsfirst/.nullslast by default (134a58d)
  • Release V2 RC (95aaa04)
  • remove client-level throwOnError (61e69a4)
  • types: fallback columns to string & values to unknown (381319f)
  • types: replace Required/Optional/Readonly w/ Row/Insert/Update (13eef66)
  • Prefer: return=minimal by default (64f4612)
  • use undefined as bottom value instead of null (24db26e)

Performance Improvements

  • nullsFirst = true by default (586e6cd)

BREAKING CHANGES

  • Release V2
  • omit .nullsfirst/.nullslast by default
  • improved typings
  • use undefined as bottom value instead of null
  • nullsFirst = true by default

We previously set nullsFirst = false by default, but it caused some
perf issues: #239

  • set Prefer: return=minimal by default everywhere

We previously set returning = 'representation' by default so that
inserted/updated/deleted rows are returned. We now change the default so that
inserted/updated/deleted rows are NOT returned.

To return inserted/updated/deleted rows, call .select() at the end of
the call chain.

  • obselete the following previously-deprecated features:
  • filter shorthands (e.g. cs vs. contains)
  • body in response (vs. data)
  • upserting thru .insert()