Alexander Ljungberg and GitHub
43ad6d6aa0
feat: validate ?columns mutation targets based on schema cache ( #2542 )
...
This returns an error for trying to update or insert into invalid columns, without hitting the database. This change also switches from `json_populate_recordset` for these operations `json_to_recordset` which should make no functional difference except allowing future flexibility.
2023-01-07 22:08:30 -05:00
Robert and GitHub
5a0f83ecb8
bump postgresql-libpq ( #2599 )
...
For https://github.com/PostgREST/postgresql-libpq/pull/2 .
2022-12-30 15:40:17 +01:00
Laurence Isla and GitHub
4ddd5b4a76
Add upsert headers for POST requests to the OpenAPI output
2022-12-27 16:16:41 -05:00
Laurence Isla and GitHub
1f69757835
fix: Add required OpenAPI items object when the paramater is an array
2022-12-20 12:30:28 -05:00
steve-chavez
e0df95844b
bump version to 10.1.1.20221215
2022-12-15 23:06:32 -05:00
Laurence Isla and GitHub
5a660e0cbe
Add suggestions with fuzzy text search when no relationship is found ( #2583 )
2022-12-15 18:33:15 -05:00
steve-chavez
566c6fe53f
correct bad null filter restriction
...
When embedding using the column name.
Also make related order similarly strict to avoid the same kind of issues.
2022-12-15 18:02:25 -05:00
steve-chavez
d93bb95d83
bump version to 10.1.1.20221212
2022-12-12 17:34:46 -05:00
steve-chavez
3773cce246
feat: null filters on embedded resources
2022-12-12 17:14:54 -05:00
steve-chavez
52c011f896
refactor: remove Bool from readPlanToQuery
2022-12-12 17:14:54 -05:00
steve-chavez
81cd9d4b15
refactor: delete unused TestTypes
2022-12-12 13:31:02 -05:00
steve-chavez
781fa592ca
refactor: delete QueryCost, instead use PlanSpec
2022-12-12 13:31:02 -05:00
steve-chavez
1065021348
refactor: add planCost and planHdr for tests
2022-12-12 13:31:02 -05:00
Laurence Isla and GitHub
aecc53d8f9
fix: clarify error messages for functions
...
Move explanation on single unnamed parameters to the error details
2022-12-09 14:34:38 -05:00
steve-chavez
a5465e20d0
correct spread embed to '...'
2022-12-05 19:38:32 -05:00
Laurence Isla and GitHub
9e567216e9
feat: hint function names/parameters on error
2022-12-01 17:17:45 -05:00
Steve Chavez and GitHub
5e9dba5292
feat: Allow embedding without selecting any column ( #2574 )
2022-11-25 18:37:57 -05:00
steve-chavez
f7009635d6
test: move failed order parsing to doctest
2022-11-24 09:03:35 -05:00
steve-chavez
e5c77385ae
test: move failed or/and parsing to doctest
2022-11-24 09:03:35 -05:00
steve-chavez
3103060f4b
test: move failed json parsing to doctest
2022-11-24 09:03:35 -05:00
steve-chavez
315b01ebf7
test: spread embed includes junction cols
2022-11-18 18:11:14 -05:00
steve-chavez
25f65065f4
test: spread embed disambiguates recursive m2m
2022-11-18 18:11:14 -05:00
steve-chavez
60c0c11c1d
test: spread embed disambiguates 2 fks on junction
2022-11-18 18:11:14 -05:00
steve-chavez
cb99270a8f
fix: bad M2M embed on RPC
2022-11-18 17:49:24 -05:00
steve-chavez
cca0b5ae66
messages: better error for related order
2022-11-16 21:26:16 -05:00
steve-chavez
2aa0e091bb
feat: add spread embeds
2022-11-16 21:26:16 -05:00
steve-chavez
78d45b4e32
feat: add related orders
2022-11-08 17:28:50 -05:00
steve-chavez
ef42d1c87f
test: add doctest for pOrderTerm
2022-11-08 17:28:50 -05:00
steve-chavez
aaa4fbc370
bump version to 10.1.1
v10.1.1
2022-11-08 12:51:16 -05:00
Robert Vollmert and Wolfgang Walther
5e65b2afaf
fix: bump hasql-pool to 0.8.0.6
...
This update ensures that connections aren't lost if they throw
an exception. Compare #2558 .
2022-11-05 15:48:52 +01:00
steve-chavez
3408998629
bump version to 10.1.0.20221104
2022-11-04 18:47:48 -05:00
Laurence Isla and GitHub
b8c5d212ea
fix: Fatal error when requesting limit=0 and db-max-rows is set ( #2560 )
2022-11-04 18:14:16 -05:00
c8e4f38984
feat: Build against libpq 15
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
Co-authored-by: Wolfgang Walther <walther@technowledgy.de >
2022-11-02 08:25:07 +01:00
Wolfgang Walther and Wolfgang Walther
44dd73adcc
fix: Embedding views with partial FK references broken
...
This is a regression introduced in d2719420f4 .
Fixes #2548
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-31 18:15:06 +01:00
steve-chavez
b2935ef799
bump version to 10.1.0
v10.1.0
2022-10-28 18:09:19 -05:00
steve-chavez
0b1f8358c6
nix: postgrest-release modifies CHANGELOG
2022-10-28 17:52:58 -05:00
Wolfgang Walther and Wolfgang Walther
2c31c64325
fix: Detect all relationships when multiple view columns reference the same table column
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-28 18:12:58 +02:00
Wolfgang Walther
425ab70ec7
fix: Make UPSERT work with PostgreSQL 15
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-28 16:18:42 +02:00
Wolfgang Walther
2cce82bdd5
chore: Upgrade nixpkgs to 2022-10-28
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-28 14:27:56 +02:00
Robert Vollmert and Wolfgang Walther
800873ed91
try applying same override to openssl_1_1 as openssl
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
b702c5fbe4
pytest_xdist -> pytest-xdist
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
cfd0ee35d3
bump haskell dependency versions
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
31cd0bbff4
bash_5 -> bash
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
78ec8a095a
bump nixpkgs again, hoping this fixes things
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
39959fa330
fix nixpkgs-ugprade to use correct /bin/date
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
fc3a01fabe
further bump, simplify hackage overrides
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
03b810ffa5
allow/use lens 5.2
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
177ec4df85
downgrade postgis
2022-10-28 10:49:04 +02:00
Robert Vollmert and Wolfgang Walther
dbf645b899
upgrade nix wip
2022-10-28 10:49:04 +02:00
Wolfgang Walther and Wolfgang Walther
e274706088
fix: Ignore leading and trailing spaces in column names, fts languages and casts
...
Fixes #2285
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-10-27 21:54:44 +02:00