Wolfgang Walther
8df3dfeba9
ci: Fix FreeBSD build on cirrus
2024-02-17 15:27:30 +01:00
Robert Vollmert and Wolfgang Walther
a41b48135f
ci: authenticate GitHub API request ( fixes #2607 )
2024-02-17 15:27:30 +01:00
Wolfgang Walther
8a6c8cde6d
Merge branch 'docs/v10.2' into rel-10.2
2024-02-17 13:47:20 +01:00
Wolfgang Walther
a14559647b
chore: Run postgrest-style on docs files
...
This prevents CI from failing after the merge.
2024-02-17 13:43:27 +01:00
Wolfgang Walther
33c57506b4
chore: Prepare merge of postgrest-docs into postgrest main repo
...
This avoids some merge conflicts to allow git blame to detect renames properly.
2024-02-17 13:43:27 +01:00
Laurence Isla and GitHub
e2f3a862be
Fix version to v10.2
2023-04-25 14:55:56 -05:00
Steve Chavez and GitHub
291da1a41f
Clarify pool connection features
2023-04-21 19:20:46 -05:00
d5a9e5d41f
Add documentation for v10.2.0
...
Co-authored-by: Steve Chavez <stevechavezast@gmail.com >
2023-04-21 18:52:56 -05:00
Laurence Isla and Laurence Isla
1b218a97f4
Add a warning when working with computed relationships
2023-04-21 18:52:56 -05:00
Steve Chavez and Laurence Isla
0a3a20347b
snippet for computed rel overload
2023-04-21 18:52:56 -05:00
Steve Chavez and Laurence Isla
49cd1f3447
Remove public from schema cache event trigger
2023-04-21 18:52:56 -05:00
Steve Chavez and Laurence Isla
593b8bf385
remove wrong claim about CSV being faster ( #595 )
2023-04-21 18:52:56 -05:00
Steve Chavez and Laurence Isla
1139031858
fix: PGRST003 status code to 504 ( #594 )
2023-04-21 18:52:56 -05:00
Laurence Isla and Laurence Isla
a74552a1c4
Add HTTP status codes to PGRST errors ( #590 )
2023-04-21 18:52:56 -05:00
Laurence Isla and Laurence Isla
bd11334df7
Add db-pool-acquisition-timeout configuration parameter
2023-04-21 18:52:56 -05:00
Franz-Josef Färber and Laurence Isla
1e353dc4d2
Minor improvements to sql-user-management-using-postgres-users-and-passwords.rst
2023-04-21 18:52:56 -05:00
fjf2002 and Laurence Isla
1a03ece441
how-to: SQL User Management using postgres’ users and passwords ( #581 )
2023-04-21 18:52:56 -05:00
Andrea Bernicchia and Laurence Isla
5fb9e81969
LICENSE file added ( #579 )
2023-04-21 18:52:56 -05:00
865dd12836
Bump cachix/install-nix-action from 19 to 20 ( #597 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 19:04:16 -05:00
165e0acf24
Bump cachix/install-nix-action from 18 to 19 ( #593 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 19:04:16 -05:00
dependabot[bot] and Laurence Isla
4d256ce5db
Bump cachix/install-nix-action from 17 to 18
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-13 19:04:16 -05:00
Laurence Isla and Laurence Isla
9c075e5e52
Fix info on updates without filters
2023-04-13 19:04:16 -05:00
Laurence Isla and steve-chavez
e07807deab
bump version to 10.2.0
v10.2.0
2023-04-12 12:49:39 -05:00
steve-chavez
bd50b1e4d3
ci: pin Nix version to avoid error
...
To 2.13.3
2023-04-12 12:49:39 -05:00
Robert Vollmert and steve-chavez
f26cdd5151
feat: use hasql-pool-0.9, add db-pool-max-lifetime ( fixes #2638 )
...
- db-pool-acquisition-timeout is no longer optional, defaults to 10s
- new option db-pool-max-lifetime limits the maximal lifetime of a
postgresql connection, defaults to 30m
2023-04-12 12:49:36 -05:00
Steve Chavez
b869dd7be9
fix: log to stderr on AcquisitionTimeoutUsageError ( #2667 )
...
* refactor: remove uneeded type on checkIsFatal
* dry with a logPgrstError function
2023-04-12 12:49:04 -05:00
Robert and Laurence Isla
97a4402911
Update nixpkgs, dependencies ( #2612 )
...
* relax upper bounds on HTTP, hspec, lens-aeson, optparse-applicative (fixes #2580 )
* upgrade stackage snapshot to latest LTS, with GHC 9.2.5
* bump nixpkgs to 2023-01-12
* fix complaints due to updated linters
2023-04-12 09:52:08 -05:00
Robert and Laurence Isla
a101d27c9c
bump postgresql-libpq ( #2599 )
...
For https://github.com/PostgREST/postgresql-libpq/pull/2 .
2023-04-12 09:52:08 -05:00
steve-chavez and Laurence Isla
519dbc75f3
refactor: delete QueryCost, instead use PlanSpec
2023-04-12 09:52:08 -05:00
steve-chavez and Laurence Isla
ae3c784921
refactor: add planCost and planHdr for tests
2023-04-12 09:52:08 -05:00
steve-chavez
f56bed2a75
bump version to 10.1.2
v10.1.2
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
af8e436732
Add missing fixes to the changelog
2023-02-02 03:30:15 -05:00
steve-chavez
98a29bee04
fix: NOTIFY pgrst not reoading the catalog cache
2023-02-02 03:30:15 -05:00
Tuan Le and Steve Chavez
557285b659
fix: consider authentication failure as a fatal error
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
81501aefa0
fix: FK pointing to VIEW instead of TABLE in OpenAPI output
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
12c1d4a8e4
Add upsert headers for POST requests to the OpenAPI output
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
8aa7368786
fix: Add required OpenAPI items object when the paramater is an array
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
9d4ff812c9
Add suggestions with fuzzy text search when no relationship is found ( #2583 )
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
171dd313d9
fix: clarify error messages for functions
...
Move explanation on single unnamed parameters to the error details
2023-02-02 03:30:15 -05:00
Laurence Isla and Steve Chavez
fd24a7374b
feat: hint function names/parameters on error
2023-02-02 03:30:15 -05:00
steve-chavez
a525790c4c
fix: bad M2M embed on RPC
2023-02-02 03:30:15 -05:00
Steve Chavez
df2cde81ca
Add db-plan-enabled recommendation ( #588 )
...
* fix broken links
2023-01-28 20:37:16 -05:00
Laurence Isla and steve-chavez
1e09b9f06d
Fix broken links and dictcheck
2023-01-28 20:37:08 -05:00
Laurence Isla and steve-chavez
08228fa2fc
Fix auth page due to anonymous requests not allowed when db-anon-role is not set
2023-01-28 20:36:25 -05:00
Laurence Isla and steve-chavez
aecb7910de
Fix step 3 of the tutorial 0
2023-01-28 20:34:48 -05:00
Laurence Isla and steve-chavez
0a5ae531a4
Add information on preflight requests in CORS subsection
2023-01-28 20:31:24 -05:00
Laurence Isla and steve-chavez
45ba35657b
Shorten explanations for the working with types section
2023-01-28 20:30:30 -05:00
mdr1384 and steve-chavez
a65d387a31
Fix example code in computed relationships
...
Looks like a copy-paste error - the `films.id` column should be associated with the `premieres.film_id` column.
2023-01-28 20: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