Commit Graph
100 Commits
Author SHA1 Message Date
Laurence IslaandWolfgang Walther bc594f4fbd docs: fix broken links for old GUC settings
No longer links but embeds the old settings in a details html element.
2024-12-25 11:43:19 +01:00
Laurence IslaandGitHub e2f3a862be Fix version to v10.2 2023-04-25 14:55:56 -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 IslaandLaurence Isla 1b218a97f4 Add a warning when working with computed relationships 2023-04-21 18:52:56 -05:00
Laurence IslaandLaurence Isla a74552a1c4 Add HTTP status codes to PGRST errors (#590) 2023-04-21 18:52:56 -05:00
Laurence IslaandLaurence Isla bd11334df7 Add db-pool-acquisition-timeout configuration parameter 2023-04-21 18:52:56 -05:00
Laurence IslaandLaurence Isla 9c075e5e52 Fix info on updates without filters 2023-04-13 19:04:16 -05:00
Laurence Islaandsteve-chavez e07807deab bump version to 10.2.0 2023-04-12 12:49:39 -05:00
Laurence IslaandSteve Chavez af8e436732 Add missing fixes to the changelog 2023-02-02 03:30:15 -05:00
Laurence IslaandSteve Chavez 81501aefa0 fix: FK pointing to VIEW instead of TABLE in OpenAPI output 2023-02-02 03:30:15 -05:00
Laurence IslaandSteve Chavez 12c1d4a8e4 Add upsert headers for POST requests to the OpenAPI output 2023-02-02 03:30:15 -05:00
Laurence IslaandSteve Chavez 8aa7368786 fix: Add required OpenAPI items object when the paramater is an array 2023-02-02 03:30:15 -05:00
Laurence IslaandSteve Chavez 9d4ff812c9 Add suggestions with fuzzy text search when no relationship is found (#2583) 2023-02-02 03:30:15 -05:00
Laurence IslaandSteve 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 IslaandSteve Chavez fd24a7374b feat: hint function names/parameters on error 2023-02-02 03:30:15 -05:00
Laurence Islaandsteve-chavez 1e09b9f06d Fix broken links and dictcheck 2023-01-28 20:37:08 -05:00
Laurence Islaandsteve-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 Islaandsteve-chavez aecb7910de Fix step 3 of the tutorial 0 2023-01-28 20:34:48 -05:00
Laurence Islaandsteve-chavez 0a5ae531a4 Add information on preflight requests in CORS subsection 2023-01-28 20:31:24 -05:00
Laurence Islaandsteve-chavez 45ba35657b Shorten explanations for the working with types section 2023-01-28 20:30:30 -05:00
Laurence IslaandGitHub b8c5d212ea fix: Fatal error when requesting limit=0 and db-max-rows is set (#2560) 2022-11-04 18:14:16 -05:00
Laurence IslaandGitHub d5e662567b fix: add error body when Prefer: count=exact is used and offset is out of bounds
* Adds error body when Prefer: count=exact is used and offset is out of bounds

* Adds details to differentiate between negative limits, lower boundaries greater than upper boundaries and out of bound ranges
2022-09-15 18:39:37 -05:00
Laurence IslaandGitHub 334f500f7c fix: make computed relationships work when the schema name has special characters 2022-09-15 11:07:57 -05:00
Laurence IslaandGitHub 950070ce4e Deprectate bulk-call 2022-08-26 12:09:47 -05:00
Laurence IslaandGitHub a0c463b998 Add missing changes/fixes/features for v10 2022-08-23 21:59:48 -05:00
Laurence IslaandSteve Chavez 2afe13fa89 Move feature to fix in the changelog 2022-08-18 20:15:57 -05:00
Laurence IslaandGitHub b2b92e75cc Make text the default format for the execution plan 2022-08-17 17:58:02 -05:00
Laurence IslaandGitHub ba3ba9fd5b refactor: simplify tests where mutations need to be verified in the db 2022-08-15 12:06:54 -05:00
Laurence IslaandGitHub 7de8d5446a Revert bulk update patch
- Revert patch #2311
- Keep the refactor done to qsFiltersRoot
- Keep the refactor done to the items tables
- Add tests that now work with pg-safeupdate as a result
2022-08-12 10:00:33 -05:00
Laurence IslaandGitHub 4ac47df528 tests: Add tests for the pg-safeupdate library 2022-08-10 11:50:57 -05:00
Laurence IslaandGitHub 2592639d1b Reword and clarify embedding on views 2022-07-19 10:51:36 -05:00
Laurence Isla 5ac4c29a9e bump version to 9.0.1.20220714 2022-07-14 15:44:31 -05:00
Laurence IslaandGitHub e0ba6b6d1c Add security definitions to the OpenAPI output 2022-07-13 22:47:09 -05:00
Laurence IslaandGitHub bdf1cbe111 fix: inaccurate result count when an inner embed is selected after a normal embed in the query string 2022-07-12 22:29:42 -05:00
Laurence IslaandGitHub b37bacb19a Add Limezest/postgrest-cloud-run to ecosystem 2022-07-08 12:27:14 -05:00
Laurence IslaandGitHub 169547aee6 Return Location header only when using Prefer: return=header-only 2022-06-24 12:53:27 -05:00
Laurence IslaandGitHub f7745e1569 fix: Allow schema names with special characters in the search path
Fixes regression where the search path did not recognize schemas with uppercase, spaces and other special characters in their names.
2022-06-23 18:54:43 -05:00
Laurence IslaandGitHub 65c2754719 Modify GeoJSON examples from views to functions (#551) 2022-06-21 17:38:29 -05:00
Laurence IslaandGitHub 7088e9d510 nix: Add command to remove old hie files in postgrest-clean 2022-06-16 19:16:15 -05:00
Laurence IslaandGitHub 580184532b Add 9.0.1 changelog 2022-06-14 10:40:10 -05:00
Laurence IslaandGitHub 620da2e776 Update CHANGELOG to include release v9.0.1 (#2307) 2022-06-08 23:00:19 -05:00
Laurence IslaandGitHub f9688c3553 Upgrade protolude to 0.3.1 2022-06-08 11:41:39 -05:00
Laurence IslaandGitHub e4cdb8c491 ci: run on branches starting with "rel-" 2022-05-30 22:38:05 -05:00
Laurence IslaandGitHub 96c169e593 Add bytea to working with types and improve img example (#542) 2022-05-27 17:12:47 -05:00
Laurence IslaandGitHub 209b70cbfc Add disclaimer on $ usage in jwt-secret values (#543) 2022-05-25 17:29:52 -05:00
Laurence IslaandSteve Chavez 06956c1994 Add explicit use of special timestamp values 2022-05-24 23:06:46 -05:00
Laurence IslaandGitHub 340c96883e Fix main explanation on views with joins (#537)
* Fix indentation and example view
* Change films.id to just id
2022-05-19 23:44:31 +02:00
Laurence IslaandGitHub 496a1734ec Add documentation on embedding views containing joins 2022-05-18 20:50:06 -05:00
Laurence IslaandSteve Chavez c812a3fe3e ci: Run ARM builds on releases 2022-05-16 18:10:36 -05:00
Laurence IslaandGitHub 867f2569a0 ci: Fix Windows build using Stack
Added PostgreSQL binaries to the PATH and removed the use of msys2-keyring
2022-05-05 00:06:00 -05:00
Laurence IslaandGitHub 9c23ac2f39 Reorganize error groups 2022-05-02 23:14:24 -05:00
Laurence IslaandGitHub a2349d90c0 Reorganize error groups
* Grouped Hasql errors into one error and renamed it to InternalError
* Move all the General errors to ApiRequest errors
2022-05-02 21:16:31 -05:00
Laurence IslaandGitHub 5ad8800773 feat: Allow limit=0 in query params to return an empty array 2022-04-28 17:14:29 -05:00
Laurence IslaandGitHub a8477b7822 Add tests for the ~ ltree operator (#2267) 2022-04-26 22:48:15 +02:00
Laurence IslaandGitHub 9bdb4e5c4f ci: remove armv7 architectures for ARM builds
Now only builds aarch64 on the remote server without Docker
2022-04-23 20:30:07 +02:00
Laurence IslaandGitHub bc7d54c7d2 Add CI for ARM architectures (#2127) 2022-04-18 17:40:32 +02:00
Laurence IslaandGitHub 7589102c6c Fix misleading disambiguation error where relationship looks like valid syntax
* Add columns for the m2m relationship
2022-04-12 00:02:19 +02:00
Laurence IslaandGitHub e1c987dc5f Add latest page (#521)
* better highlight for composite/array reference
2022-03-27 17:54:48 +02:00
Laurence IslaandGitHub 9124dfd427 Bypass FreeBSD builds due to timeouts 2022-03-26 15:14:54 -05:00
Laurence Isla 8e86177486 bump version to 9.0.0.20220326 2022-03-26 12:26:47 -05:00
Laurence IslaandGitHub fe898c27ae Fix incorrectly placed feature in CHANGELOG
Move incorrectly placed feature for PostgREST errors from v9.0.0 to Upcoming
2022-03-26 11:08:37 -05:00
Laurence IslaandGitHub eb4c428da6 Fix unordered list styles 2022-03-25 00:14:18 -05:00
Laurence IslaandGitHub 5688bc1521 Add JSON, Composite and Ranges types to the working with types how-to 2022-03-24 17:48:43 -05:00
Laurence IslaandGitHub a8034df2bf Add how to on PostGIS and hstore data types (#516) 2022-03-22 11:30:45 +01:00
Laurence IslaandGitHub 8f98948078 Add Errors reference (#430)
* Adds PostgREST' error codes 

* Move error information to a dedicated reference page

* Organize errors into tables
2022-03-14 21:03:01 +01:00
Laurence IslaandGitHub 1489fc84b8 Recommend specifying host names for health check (#514)
In case of multiple network interfaces
2022-03-14 20:56:34 +01:00
Laurence IslaandGitHub d6834e8bf8 Add 'PGRST' error code to differentiate from PostgreSQL errors 2022-03-04 15:57:38 -05:00
Laurence IslaandGitHub 99d0b805df fix: Using GET with certain Content-Type headers now correctly calls the no parameter function if it exists
Using GET with text/plain or application/octet-stream as Content-Type headers no longer returns 404 Not Found when a function with no parameters exists
2022-02-28 13:23:55 -05:00
Laurence IslaandGitHub 69070f341a fix: Remove admin-server-port from in-db configuration 2022-02-23 17:26:01 -05:00
Laurence IslaandGitHub 4aff0caa59 Add documentation on the minimal health check 2022-02-23 17:25:07 -05:00
Laurence IslaandGitHub abe0daa3dc Add example for array and composite type columns 2022-02-15 14:20:12 -05:00
Laurence Isla 66e49f0ea2 Update config.py version/release 2021-12-23 17:08:54 -05:00
Laurence IslaandGitHub c858d158aa Add hint to verify table and foreign key existence on a relationship error 2021-12-20 12:11:07 -05:00
Laurence IslaandSteve Chavez d5fb73bf9b Fix GUC names using the old syntax 2021-11-30 18:17:40 -05:00
Laurence IslaandGitHub c46c3b7a86 Bump to PostgREST v9 (#468)
* Add highlights and modify changelog structure

* Rename upcoming page to v9.0.0

* Classify features, edit breaking changes and fixes

* Highlight top-level filtering

* Clarify PostgreSQL 14 breaking change

* Add devops to doc improvements

* Add curl snippets to doc improvements
2021-11-29 03:27:38 -05:00
Laurence IslaandGitHub 62243852b6 feat: Improve error message for ambiguous embedding
- Adds a relevant hint that includes unambiguous embedding suggestions.
- Joins origin and target into one single embedding key
2021-11-23 22:23:29 -05:00
Laurence IslaandGitHub 35d9b98bff Remove the db-embed-default-join config 2021-11-23 22:12:29 -05:00
Laurence IslaandGitHub 4e07846c5d fix: Add tests for embedding on overloaded functions with a default param
Resolves #1672

Was actually fixed in #1841 / 67c2ed7, this just adds the tests to confirm it.
2021-11-19 09:00:16 +01:00
Laurence IslaandGitHub d12974339a Allow unknown for is operator 2021-11-18 17:34:51 -05:00
Laurence IslaandGitHub 91689e28f0 Remove partitions from the schema cache
breaking: Embedding, OpenApi and other features related to the schema cache are no longer allowed on partitions.
2021-11-18 14:12:14 -05:00
Laurence IslaandGitHub 06c0180e4f Add the Logical Operators section to Horizontal Filtering 2021-11-15 17:36:29 -05:00
Laurence IslaandGitHub 4720cfc1d3 Add example to rpc unnamed single bytea parameter 2021-11-11 17:02:17 -05:00
Laurence IslaandGitHub 4e4458eb95 Allow POST rpc with a single unnamed parameter 2021-11-10 19:35:44 -05:00
Laurence IslaandGitHub 40f9a6068a Allow overloaded functions if one has a single unnamed JSON param
Avoids the breaking change in #1927: If there's a function "my_func" having a single unnamed json param and other overloaded pairs(with any number of params), PostgREST won't be able to resolve a POST request to "my_func".
2021-11-08 18:26:33 -05:00
Laurence IslaandGitHub 8b74e14c4f Use tabs to show different installation methods 2021-11-08 12:27:22 -05:00
Laurence IslaandGitHub 7cc3d319bc Fix broken styles 2021-10-29 15:11:39 -05:00
Laurence IslaandGitHub a0bdcb706c Add curl examples alongside http snippets 2021-10-28 18:06:52 -05:00
Laurence IslaandGitHub 23ad30a20a Add templates section to the ecosystem 2021-10-28 17:47:21 -05:00
Laurence IslaandGitHub 8e11b6f5df Allow escaping inside double quotes with a backslash (#447) 2021-10-20 16:13:49 -05:00
laurenceislaandGitHub c6ef4305b1 Allow top-level resource with embed filter 2021-10-19 11:34:18 -05:00
laurenceislaandGitHub ee1ec780d2 Add nested embedding examples 2021-10-18 17:34:49 -05:00
laurenceislaandGitHub 42d7cf8ae5 Add db-embed-default-join config parameter to the configuration example 2021-10-15 19:09:40 -05:00
laurenceislaandGitHub ec7ace2e73 Add compatibility with PostgreSQL v14 2021-10-13 14:31:49 -05:00
laurenceislaandGitHub 627c3c34b7 feat: Make GUC names for headers, cookies and jwt claims compatible with PostgreSQL v14
Getting the value for a header GUC on PostgreSQL v14 is done using `current_setting('request.headers')::json->>'name-of-header'` and in a similar way for `request.cookies` and `request.jwt.claims`

PostgreSQL versions below 14 can opt in to the new JSON GUCs by setting the `db-use-legacy-gucs` config option to false (true by default)
2021-10-12 12:58:52 -05:00
laurenceislaandGitHub a6a088e9f0 Specify external connection poolers 2021-09-30 17:18:58 -05:00
laurenceislaandGitHub 243e4f0408 test: correct limit proc results tests (#1951)
Query params where being appended using `?` instead of `&`
2021-09-16 22:03:35 -05:00
Laurence Isla 5fb11e37a3 Add devops links to helm charts 2021-09-15 19:45:47 -05:00
Laurence Isla aea3b24b31 Update example apps 2021-09-03 15:05:15 -05:00
laurenceislaandGitHub 34958e723a Add link and explanation to download the latest unreleased builds 2021-09-03 13:04:21 -05:00
laurenceislaandGitHub ed5072f4b1 fix: Detect default values for String types in OpenAPI output (#1928) 2021-08-27 21:59:54 -05:00