Taimoor Zaeem and Steve Chavez
dc46aea15e
fix: max-affected preference not failing for rpc with strict handling
2025-06-03 14:31:17 -05:00
steve-chavez
72f6036432
docs: external authentication page in explanations
...
- Move page from External JWT generation
2025-05-30 17:59:51 -05:00
Laurence Isla
9c40a9c6df
docs: JWK kid parameter validation
2025-05-29 21:01:39 +00:00
Taimoor Zaeem and Steve Chavez
000cb87ec1
fix: allow db-extra-search-path to accept empty value
2025-05-29 14:25:28 -05:00
Wolfgang Walther
07d9747c40
docs: fix functions link in api/preferences
...
External link syntax was used instead of internal reference.
2025-05-28 09:09:13 +02:00
Wolfgang Walther
2d5d5ed704
docs: apply redirects
...
Those redirect, so we might as well hardcode the them.
2025-05-28 09:09:13 +02:00
Taimoor Zaeem and Steve Chavez
94d6ac2f2e
docs: explain use of max-affected preference with rpc
2025-05-22 12:23:52 -05:00
Taimoor Zaeem and Steve Chavez
1258ea663c
docs: add note in JWT Role Extraction section
...
Add a note describing that the used JSPath DSL does not
strictly follow the JSONPath as described in RFC 9535
2025-05-18 13:36:43 -05:00
steve-chavez
520631913f
docs: add warning for duplicate keys in spread
2025-05-15 17:42:13 -05:00
steve-chavez
a659b0005a
docs: clarify spread join table
2025-05-15 15:50:54 -05:00
steve-chavez
23f11e3abb
docs: clarify fts
2025-05-15 11:57:08 -05:00
steve-chavez
211e27a4d7
docs: clarify spread feature
2025-05-15 11:14:06 -05:00
Laurence Isla
c5cba11ecb
docs: fix link to SQL Query Logs
2025-05-09 20:59:51 -05:00
steve-chavez
257a7d1488
docs: jwt role extraction link to config
...
The feature section was missing a link to its config.
Also shorten the section name.
2025-05-09 20:45:37 -05:00
Laurence Isla
e0c5b3a314
correct: handle array values in JWT aud claim correctly
2025-05-07 21:54:32 +00:00
steve-chavez
98ca7c15d5
drop: Admin server config endpoint
...
BREAKING CHANGE
The endpoint was at risk of being left unprotected when exposing it.
The accompanying `admin-server-config-enabled` config was also dropped.
2025-05-04 13:53:50 -05:00
Laurence Isla and Steve Chavez
57ef9988a5
feat: add Content-Length response header
2025-04-24 12:49:18 -05:00
Taimoor Zaeem and GitHub
61a3c7b9e8
docs: add note that ordering of columns is not enforced ( #3999 )
2025-04-09 16:40:52 -05:00
Taimoor Zaeem and GitHub
f7f87b42ca
feat: add Proxy-Status header for better error response
2025-04-05 13:43:39 -05:00
steve-chavez
d89e7a2173
docs: redirect from broken #bulk-insert-default
2025-04-02 13:05:12 -05:00
Taimoor Zaeem and Steve Chavez
c7da7fab3a
docs: mention that updates also supports specifying columns and missing pref
2025-04-02 12:59:18 -05:00
Taimoor Zaeem and Steve Chavez
ddd7d98652
docs: explain missing preference header
2025-04-02 12:59:18 -05:00
Taimoor Zaeem and Steve Chavez
f91f47ff57
docs: mention log-level setting in the logs section
2025-03-26 11:25:57 -05:00
Laurence Isla and GitHub
0b618d0bef
feat: allow spreading one-to-many and many-to-many embedded resources
...
* Note: Aggregates are not implemented
2025-03-24 14:45:56 +00:00
Taimoor Zaeem and GitHub
fdc26d52fc
fix: empty error messages for disabled openapi and /invalid/nested/paths
2025-03-21 11:51:40 -05:00
Taimoor Zaeem and Steve Chavez
a1c0a8ce6d
docs: add missing max-affected violation error
2025-03-21 08:40:52 -05:00
Taimoor Zaeem and Steve Chavez
36b6a2c86b
fix: improve jwt errors
2025-03-13 00:20:54 +01:00
Taimoor Zaeem and GitHub
390ba19932
fix: handle queries on non-existing table gracefully
2025-02-21 13:49:54 -05:00
Laurence Isla and GitHub
9c880c082a
feat: allow logging the SQL query to stderr
...
- Logs the main SQL query when `log-query=main-query`.
- Only logs at the current `log-level`.
2025-02-18 19:17:26 -05:00
Laurence Isla
7be5782179
docs: make the aggregate functions docs less verbose
2025-02-14 18:14:43 -05:00
steve-chavez
33b69b5894
docs: reduce verbosity of aggregate functions
2025-02-12 20:12:38 -05:00
Taimoor Zaeem and GitHub
560c511f81
docs: add missing jwt claims and clock skew ( #3908 )
2025-02-12 15:38:20 -05:00
Steve Chavez and GitHub
307692c325
break: remove limited updated/delete feature ( #3907 )
...
BREAKING CHANGE
As agreed on https://github.com/PostgREST/postgrest/issues/3013#issuecomment-1770186262 ,
this removes the limited update/delete feature.
The feature was complicated, largely unused and caused other bugs in
mutations.
It was added in #2195 and #2211 .
2025-02-12 14:48:08 -05:00
Laurence Isla
b7d0a1f68c
feat: apply to_tsvector() explicitly to the full-text search filtered column, only if it's not of tsvector type
2025-01-28 19:14:54 -05:00
M. Taimoor Zaeem and Steve Chavez
a9d74eba2a
feat: allow not_null value for the is operator
2024-12-19 10:19:41 -05:00
kjcsb1 and GitHub
3e1a904785
docs: Add example of comment on view
2024-12-12 20:54:12 +01:00
M. Taimoor Zaeem and Steve Chavez
af6b79d4d7
feat: support string comparison for jwt-role-claim-key
2024-12-12 08:47:06 -05:00
Christophe Eymard and GitHub
c5a9455959
docs: Add an example for PGRST_APP_SETTINGS_* ( #3804 )
2024-12-01 14:41:39 -05:00
Steve Chavez and GitHub
6db245aacd
fix: clarify PGRST116 error message ( #3795 )
...
Currently it's redundant and not easy to read.
```
{"message":"JSON object requested, multiple (or no) rows returned",
"details":"The result contains 2 rows"}
```
Now:
```
{"message":"Cannot coerce the result to a single JSON object",
"details":"The result contains an array of 0 objects"}
``
Also correct docs which had a wrong error code.
2024-11-20 12:15:46 -05:00
Laurence Isla
fcf828fd92
docs: clarify usage of upsert with surrogate primary keys
2024-11-15 12:05:14 -05:00
Joel Jakobsson and GitHub
180a96ce48
remove support for Prefer: params=single-object ( #3757 )
...
BREAKING CHANGE
Using this preference was deprecated in 6c3d7a9 , in favor of Functions with an array of JSON objects.
2024-11-04 20:19:08 -05:00
steve-chavez
bee862c2fa
docs: inline one-to-one relationship SQL
...
More direct than having to jump to the sample film database definition.
2024-10-21 14:45:53 -05:00
Dan Kurin and Steve Chavez
5ca969f4b8
docs: add PGRST123 to error table
2024-10-17 19:21:07 -05:00
steve-chavez
28ebe37e07
docs: example for server-host
2024-10-07 17:14:43 -05:00
steve-chavez
7e99babec7
feat: log pool maximum size
...
It's important for observability to have an historic trace of the pool
size. Currently we expose it on the metrics endpoint, but not all
deployments use it.
This logs the pool size after the successful connection log to make it
more visible:
<timestamp>: Connection Pool initialized with a maximum size of 4 connections
2024-10-02 22:47:22 -05:00
steve-chavez
87dddd66d2
fix: clarify "listening" logs
...
It's not immediately clear on which port the API server is listening.
Also it's not clear that the "pgrst" channel is for database
notifications.
Goes from:
<timestamp>: Admin server listening on 0.0.0.0:3001
<timestamp>: Listening on 0.0.0.0:3000
<timestamp>: Listening for notifications on the "pgrst" channel
To:
<timestamp>: Admin server listening on 0.0.0.0:3001
<timestamp>: API server listening on 0.0.0.0:3000
<timestamp>: Listening for database notifications on the "pgrst" channel
2024-10-02 22:47:22 -05:00
Jason Close and steve-chavez
f21053dbee
docs: rpc example for array of json objects
...
This change adds an explanation of how to handle an array of JSON objects within an RPC call. To pass multiple objects, an array of JSON objects must be the JSON value, with the key being the json or jsonb variable name of the Postgres function.
For people who want to perform multiple tasks/inserts/updates within a single API call, this is a needed explanation for that use-case.
2024-08-23 13:01:43 -05:00
steve-chavez
cccf8b750d
docs: rename to hoisted function settings
2024-08-01 19:17:56 -05:00
Andrei Dziahel and GitHub
06cbc4be36
config forbid same server-port and admin-server-port ( #3559 )
...
* fix: forbid same server-port and admin-server-port
Forbids server-port and admin-server-port from being equal altogether,
despite they might not conflict at all in case admin and app are bound
to different addresses. Implemented as per the discussion at
https://github.com/PostgREST/postgrest/issues/3508#issuecomment-2125123633
2024-07-03 13:02:02 -05:00
Laurence Isla
b9004baa3f
docs: add missing "curl --get" on embedding example
2024-07-02 15:20:54 -05:00