Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Oct 10:28
· 253 commits to master since this release
94db709

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()