steve-chavez
e30bc63f49
bump version to 13.0.7
2025-09-14 14:08:53 -05:00
Taimoor Zaeem and Steve Chavez
a8f40c4908
feat: improve error details of PGRST301 error
2025-09-14 13:37:17 -05:00
Laurence Isla and Steve Chavez
4ba6b1b30c
feat: improve error response when the requested schema is invalid
...
- It now shows the invalid schema in the "message"
- The exposed schemas are now listed in the "hint" instead of the "message"
2025-09-14 13:37:17 -05:00
steve-chavez
272e2e7535
bump version to 13.0.6
2025-08-30 13:55:34 -05:00
Laurence Isla and Wolfgang Walther
ea153523d1
fix: empty enum in 'preferParams' openAPI parameter
2025-08-30 08:31:21 +02:00
Taimoor Zaeem and Wolfgang Walther
bf0a1173b5
fix: format of IPv6 address logged at PostgREST startup
...
The IPv6 address logged at the startup like `::1:80` was
wrong because the port isn't clearly separated. This commit
corrects it, now logging as `[::1]:80`.
This is done in accordance to RFC 3986. In short, we did this
have a clear separation between the port and host because
the components of an IPv6 are separated with the ':' character.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2025-08-29 22:31:01 +02:00
Laurence Isla and Wolfgang Walther
86aac1ead5
fix: logging the Haskell type instead of the listener error message directly
...
Previously: Just "connection error..."
Now: connection error...
2025-08-25 10:25:48 +00:00
steve-chavez
1f1f40a3b9
bump version to 13.0.5
2025-08-24 12:29:22 -05:00
Taimoor Zaeem and Wolfgang Walther
86b0f82b6c
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-21 13:47:19 +00:00
Taimoor Zaeem and Wolfgang Walther
d863065a51
fix: empty spread embeddings return unexpected SQL error
...
Fixes the SQL error from postgres when an empty spread embeddings
like `...table()` is requested.
2025-08-21 13:47:19 +00:00
Joel Jakobsson and Wolfgang Walther
73d335e976
fix(openapi): respect function volatility for GET methods
...
The OpenAPI specification was incorrectly exposing GET methods for
VOLATILE functions, even though such functions properly reject GET
requests at runtime with "405 Method Not Allowed". This created
a mismatch between the advertised API specification and the actual
runtime behavior.
VOLATILE functions should only be callable via POST since they may
have side effects, while STABLE and IMMUTABLE functions can safely
be called via GET since they don't modify database state.
Fix by checking the pdVolatility field in makeProcPathItem() and
only including GET methods in the OpenAPI PathItem for non-volatile
functions.
The runtime behavior was already correct; this fixes only the
OpenAPI documentation generation.
2025-07-07 17:28:07 +02:00
Taimoor Zaeem and Wolfgang Walther
8f4a200f33
fix: OpenAPI broken docs link
2025-06-28 07:58:14 +00:00
Laurence Isla
a34d37bb82
bump version to 13.0.4
2025-06-17 19:58:43 -05:00
Taimoor Zaeem and Laurence Isla
5b45113565
fix: jwt-aud config not failing when set to invalid URI ( #4140 )
...
The `jwt-aud` config was not validated when containing ':'
character according to RFC 3986. This fix validates it and
fails at startup if it is invalid.
2025-06-18 00:11:30 +00:00
Laurence Isla
733a896113
fix: regression that makes fts not work on domain types based on tsvector
2025-06-18 00:11:30 +00:00
Laurence Isla
fc06471f9d
bump version to 13.0.3
2025-06-16 21:47:28 -05:00
Laurence Isla
6dcb0e0b02
fix: detect the correct base type of recursive domains in schema cache for tables and views
...
In OpenAPI it shows the correct base type in properties' definitions (including enums).
2025-06-16 18:23:00 -05:00
Taimoor Zaeem and Laurence Isla
f54aef4795
fix: max-affected preference not failing for rpc with strict handling
2025-06-16 16:11:13 -05:00
Laurence Isla
97b6022f5a
bump version to 13.0.2
2025-06-02 14:18:26 -05:00
Laurence Isla
c413833ec8
fix: regression that makes order by with nulls order not work alongside limits
2025-06-02 14:17:35 -05:00
steve-chavez
dee7d6f39c
bump version to 13.0.1
2025-06-01 08:10:43 -05:00
Taimoor Zaeem and Wolfgang Walther
ba42e4610a
fix: log db-schemas and db-extra-search-path in schema cache load error ( #4108 )
2025-05-30 20:56:04 +02:00
Taimoor Zaeem and Wolfgang Walther
0ba47180ae
fix: allow db-extra-search-path to accept empty value
2025-05-30 14:35:57 +02:00
Taimoor Zaeem and Wolfgang Walther
e0e60fa433
fix: jwt error return status 400 for invalid role ( #4081 )
2025-05-14 21:44:22 +02:00
Wolfgang Walther
89fb2878df
chore: adjust changelog for db-extra-search-path
...
Came up in #4073
2025-05-09 14:57:24 +02:00
Wolfgang Walther
ad66ae4e74
bump version to 13.0.0
2025-05-08 21:48:49 +02:00
Taimoor Zaeem and Wolfgang Walther
657cabe757
fix: schema cache loads duplicate objects with different object type but same oid
2025-05-08 19:42:26 +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
steve-chavez
7d04731be1
chore: add changelog for v12.2.12
2025-05-04 13:53:50 -05:00
Taimoor Zaeem and Steve Chavez
f53147674e
fix: filter on unselected columns in a table-valued function
2025-04-27 14:20:13 -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 Wolfgang Walther
98fcbedca5
chore: add changelog for v12.2.11
2025-04-23 07:34:19 +00:00
Taimoor Zaeem and Steve Chavez
fdf902319d
fix: regression with parameter charset=utf-8 in mediatype
2025-04-20 16:10:33 -05:00
steve-chavez
c732591f37
chore: add changelog for 12.2.10
2025-04-18 21:30:22 -05:00
steve-chavez
b740fcb1ff
changelog: add missing entry jwt cache purge fix
2025-04-18 20:46:25 -05:00
Wolfgang Walther
a37ec1e1a5
chore: add changelog for 12.2.9
2025-04-16 20:41:04 +02:00
Taimoor Zaeem and GitHub
bc5ec43300
fix: invalid JWTs after jwt-secret is changed in a config reload ( #4015 )
2025-04-16 09:40:36 -05:00
Taimoor Zaeem and GitHub
a6e81a5241
fix: parsing of the for parameter of plan media type ( #4005 )
2025-04-12 06:10:25 -05:00
Taimoor Zaeem and GitHub
f7f87b42ca
feat: add Proxy-Status header for better error response
2025-04-05 13:43:39 -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
fc35d6d0f8
fix: Fix ordering with mutation queries
2025-03-17 14:13:34 +01:00
Taimoor Zaeem and Steve Chavez
36b6a2c86b
fix: improve jwt errors
2025-03-13 00:20:54 +01:00
Taimoor Zaeem and GitHub
c9a625ced6
feat: Log PoolRequest and PoolRequestFullfilled observations ( #3925 )
2025-02-28 12:01:10 -05: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
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
M. Taimoor Zaeem and Wolfgang Walther
e4f3c2cf3b
changelog: Add v12.2.8
2025-02-11 21:27:53 +01:00
M. Taimoor Zaeem and Steve Chavez
c96dc3ee90
fix: log 503 client error to stderr
2025-02-08 21:08:29 -05:00
Wolfgang Walther
db85e64971
changelog: Add v12.2.7
2025-02-03 18:40:45 +01:00