steve-chavez
0bb127057f
docs: clarify wording on kid validation
2025-09-11 14:50:21 -05:00
Taimoor Zaeem and Steve Chavez
dfe5ba3863
fix(admin): metrics endpoint not responding with Content-Type header
...
The prometheus metrics text format requires `Content-Type` header
for correct scraping which fails otherwise. Closes #4271 .
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2025-08-20 16:13:55 -05:00
steve-chavez
f01d5bfeb3
docs: reorder computed relationships for clarity
...
Ensure the function inlining is mentioned first
2025-08-19 12:24:47 -05:00
steve-chavez
fa09e4af0d
docs: add redirects for broken hashes on auth.rst
2025-07-30 05:28:00 -05:00
steve-chavez
fd127f449c
docs: correct order of jwt claims sections
2025-07-30 05:14:43 -05:00
Michal Kleczek and GitHub
77ff11de95
feat: JWT cache implementation based on sieve algorithm ( #4084 )
...
Changes:
1. Refactoring and some cleanup of JWT handling code:
* Instead of caching AuthResult cache decoded claims (which signature was verified). Validating claims and determining role is done after cache lookup
* Cleaned up API so that usage of it is simplified: lookupJwtCache cache key >>= parseClaims configJwtAud time
* Handling of JwtCacheState initialization and updates of configuration is encapsulated in Auth.JwtCache module
2. Generic high performance (hopefully) scalable, dynamically resizeable cache implementation based on stm, stm-hamt and sieve algorithm. It also integrates with PostgREST measurements infrastructure providing usage stats (ie. hit ratio, evictions count)
2025-07-29 18:51:41 -05:00
steve-chavez
ac155a9391
docs: clarify auth page
...
Reorganizes the auth page and clarifies some links
2025-07-28 15:43:38 -05:00
Wolfgang Walther
d013a1fd77
docs: adjust some redirects
...
Those were reported in the weekly linkcheck.
2025-07-16 11:03:50 +02:00
Wolfgang Walther
55eafdf352
chore(deps): update nixpkgs to 25.05
2025-07-11 15:53:06 +00:00
steve-chavez
a183dea9e4
docs: clarify health checks empty response body
2025-07-08 12:45:15 -05:00
Taimoor Zaeem and Steve Chavez
4daa4533d3
docs: horizontal filtering on table-valued functions
2025-07-02 14:28:49 -05:00
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