Laurence Isla
a4e00ffdf6
bump version to 12.0.2
2023-12-20 18:21:19 -05:00
steve-chavez and Laurence Isla
cd62e39cd1
fix: empty row on handler function
...
Closes https://github.com/PostgREST/postgrest/issues/3126
2023-12-20 16:33:34 -05:00
steve-chavez and Laurence Isla
ec0f99c686
fix: aggregates not working for all schemas
...
Closes https://github.com/PostgREST/postgrest/issues/3124
2023-12-20 16:33:31 -05:00
Laurence Isla
cd38da56d5
bump version to 12.0.1
2023-12-12 19:20:47 -05:00
steve-chavez and Laurence Isla
229a4e4cd6
fix: any handler sets a default application/json
...
Now it sets application/octet-stream as the generic type.
2023-12-12 18:46:40 -05:00
Laurence Isla
c3f7440e33
fix: add jwt_cache_max_lifetime as an in-database configuration option ( #3102 )
2023-12-12 18:46:40 -05:00
Andrei Dziahel and Laurence Isla
0ac4d0d0a9
fix: replace json parser error with generic msg ( #3090 )
2023-12-12 18:46:40 -05:00
Laurence Isla
15f4157cc5
changelog: move missplaced unreleased fix ( #3094 )
2023-12-12 18:46:40 -05:00
Laurence Isla
50ea1999b2
fix: allow using special characters in json keys ( #3081 )
...
* increase memory size test
2023-12-12 18:46:40 -05:00
steve-chavez
00580bc8cb
bump version to 12.0.0
2023-12-01 19:18:07 -05:00
steve-chavez
558e9d40e8
changelog: join server-timing entries
2023-11-28 10:25:25 -05:00
Laurence Isla and Steve Chavez
dfa875c8c7
fix: do not log internal db errors like 'acquisition timeout' when log-level=crit
2023-11-27 23:06:40 -05:00
Laurence Isla and Steve Chavez
33891e3a73
feat: log all internal database errors to stderr
2023-11-27 23:06:40 -05:00
Andrei Dziahel and GitHub
df97a5071f
Display an actual TCP port app is bound to ( #3034 )
2023-11-23 18:17:16 -05:00
Tim Abdulla and GitHub
1c60b50e2e
Add aggregate functions ( #2925 )
...
The aggregate functions SUM(), MAX(), MIN(), AVG(), and COUNT() are now supported.
2023-11-23 14:03:03 -05:00
Andrei Dziahel and GitHub
c3301a1653
feat: implement server-timing-enabled config parameter ( #3064 )
2023-11-22 17:57:50 -05:00
steve-chavez
f7bf2157f3
feat: apply super settings on impersonated roles
...
If they have GRANT SET ON PARAMETER <setting> TO authenticator
2023-11-21 10:54:56 -05:00
Taimoor Zaeem and GitHub
125f10a60f
feat: add statement_timeout set on functions ( #3056 )
2023-11-17 12:36:51 -05:00
Taimoor Zaeem and GitHub
3c1a7f2641
feat: add timezone in Prefer header ( #3024 )
...
* increase reloading timeout in io-tests
* increase memory test by 1M
2023-11-13 14:16:27 -05:00
Laurence Isla
96ca177c31
transaction-scoped settings are now shown clearly in the postgres logs
2023-11-02 15:50:22 -05:00
Laurence Isla
226400a5bc
break:remove the db-use-legacy-gucs config
...
BREAKING CHANGE
All PostgreSQL versions will use JSON GUCs for headers, cookies and JWT claims.
2023-11-02 15:50:22 -05:00
Taimoor Zaeem and GitHub
5c9c7f4ff4
fix: HTTP status responses for upserts
...
* PUT returns 201 instead of 200 when rows are inserted
* POST with "Prefer: resolution=merge-duplicates" returns 200 instead of 201 when no rows are inserted
2023-10-26 20:49:20 -05:00
steve-chavez
82b38341bf
feat: sql handlers for custom media types
...
* test text/html and drop HtmlRawOutputSpec.hs
* all tests passing, removed all pendingWith
* make functions compatible with pg <= 12
* move custom media types tests to own spec
* anyelement aggregate
* apply aggregates without a final function
* overriding works
* overriding anyelement with particular agg
* cannot override vendored media types
* plan spec works with custom aggregate
* renamed media types to make clear which ones are overridable
* correct content negotiation with same weight
* text/tab-separated-values media type
* text/csv with BOM plus content-disposition header
2023-10-26 09:04:02 -05:00
steve-chavez
4a90e9fbd9
break: db-root-spec default app/openapi+json media
...
BREAKING CHANGE
Can be done later with custom media types
2023-10-26 09:04:02 -05:00
steve-chavez
14d030b96c
break: remove binary field logic, raw-media-types
...
BREAKING CHANGE
Can be done later with custom media types
2023-10-26 09:04:02 -05:00
Wolfgang Walther
966f8df33f
changelog: update to 11.2.2
2023-10-25 19:08:04 +02:00
Taimoor Zaeem and GitHub
d94286c185
feat: add config to specify CORS origins ( #2986 )
2023-10-24 09:38:25 -05:00
Laurence Isla and GitHub
317619bf62
fix: regression by reverting fix that returned 206 when first-pos=length in Range header
2023-10-21 16:28:08 -05:00
steve-chavez
54786a6c04
fix: unnecessary count() on RPC returning single
2023-10-19 15:54:22 -05:00
Andrei Dziahel and GitHub
dc01c748ae
feat: add more perf counters to Server-Timing ( #2983 )
2023-10-12 09:55:30 -03:00
Kam Ting Hoi and GitHub
818387f24e
fix: range request with 0 rows and 0 offset return status 416 ( #2991 )
2023-10-07 00:10:17 -03:00
steve-chavez
0703f27d2b
changelog: update to 11.2.1
2023-10-04 12:12:30 -03:00
Laurence Isla and GitHub
af0e369c65
fix: regression that rejects URI connection strings with certain unescaped characters in the password
2023-10-03 10:57:21 -05:00
Laurence Isla and GitHub
910950dbac
fix: RPCs not embedding correctly when using overloaded functions for computed relationships
2023-10-02 16:00:33 -05:00
steve-chavez
cf7ee67dfe
fix: arrow filter on RPC returning TABLE+composite
2023-09-28 20:26:38 -03:00
steve-chavez
290d90609b
fix: unnecessary set default_transaction_isolation
2023-09-27 17:48:48 -03:00
Taimoor Zaeem and Steve Chavez
3c1cdd434a
feat: add handling=strict/lenient for Prefer header
2023-09-27 15:00:52 -03:00
Taimoor Zaeem and GitHub
a6e3eda5b2
feat: implement JWT caching ( #2928 )
2023-09-25 14:46:55 -03:00
Laurence Isla and Steve Chavez
1b4dae5a7a
Add missing changelog entries
2023-09-19 00:15:48 -03:00
Taimoor Zaeem and Steve Chavez
c195eece65
feat: add Server-Timing header with JWT duration
2023-09-15 14:39:12 -03:00
steve-chavez
d8a91453d1
fix: inconsistent Preference-Applied
...
* Don't apply `tx=commit` if the transaction doesn't commit
* Apply `count=exact`
* Also simplifies the Preference-Applied logic, removing the need for
some functions.
2023-09-12 13:52:49 -03:00
Taimoor Zaeem and Steve Chavez
8eed576826
fix: range request with first position same as length return status 206
2023-09-04 15:50:00 -03:00
Taimoor Zaeem and GitHub
07fef25591
feat: allow full response control when raising exceptions
2023-09-01 14:02:03 -05:00
Taimoor Zaeem and Steve Chavez
7dc6e2b899
fix: duplicate headers in response
2023-08-25 13:52:50 -05:00
Taimoor Zaeem and GitHub
57fa2719dd
feat: add db-pool-automatic-recovery configuration to disable connection retrying
2023-08-23 21:08:04 -05:00
Diogo Biazus and GitHub
b8b3145c5c
fix: schema cache and configuration reloading with NOTIFY not working on Windows
2023-08-21 10:25:44 -05:00
Taimoor Zaeem and Steve Chavez
87d6a0d0fe
fix: application/vnd.pgrst.array not accepted as a valid mediatype
2023-08-11 12:41:04 -05:00
steve-chavez
c820efb64a
bump version to 11.2.0
2023-08-10 08:51:58 -05:00
steve-chavez
e30bf53afa
deprecate: target embedding disambiguation
2023-08-10 08:14:23 -05:00
steve-chavez
5ce020d5bc
fix: impersonated role applying superuser settings
2023-08-09 20:05:22 -05:00