Commit Graph
2923 Commits
Author SHA1 Message Date
Steve ChávezandGitHub bc6e181d03 Add params=multiple-objects to api reference (#253) 2019-09-11 12:05:51 -05:00
steve-chavez e044488f73 Make costly bulk call query optional
Bulk Call should be used by specifying
the `Prefer: params=multiple-objects` header.
2019-09-11 12:01:41 -05:00
steve-chavez b077974ebc Add tests for call proc queries EXPLAIN costs
* circleci: add run query costs tests
2019-09-11 12:01:41 -05:00
steve-chavez 200540dfc3 refactor: put callProc core query to QueryBuilder
* Move set local queries to QueryBuilder

* Move unquoted to Middleware
2019-09-11 12:01:41 -05:00
steve-chavez 3c00f46e36 refactor: Move statements logic to own module
* Move gucHeader decoding to Statements
2019-09-11 12:01:41 -05:00
steve-chavez 620721dea7 Add support for HEAD request 2019-09-03 13:38:53 -05:00
steve-chavez 68cbe34c11 refactor: only run db reset on certain specs
This speeds up running the whole test suite
2019-09-03 13:38:53 -05:00
steve-chavez e21b010c6e refactor: reorganize modules
* Move range logic from App to RangeQuery

* Move decoder logic to Statement modules

* Move location headers logic to functions

* Add a comment for App.hs module
2019-09-03 13:38:53 -05:00
Robert VollmertandSteve Chávez 0846d4d7b2 stack.yaml: Document use of obscure ghc options. 2019-08-27 14:49:07 -05:00
Robert VollmertandSteve Chávez 2183a2a1ae stack.yaml: Remove no-warn-redundant-constraints.
The warning appears to not be part of -Wall anymore in recent
GHC versions.

Also move the warning-related options next to each other.
2019-08-27 14:49:07 -05:00
Robert VollmertandSteve Chávez e8475b18d3 Update stack.yaml.lock for lts-14.3 2019-08-27 09:35:27 -05:00
Robert VollmertandSteve Chávez cdc1177762 stylish-haskell: check Haskell source files only
The style check was failing due to a changed stack.yaml.lock file.

(That file still should be updated, but this is not where it should
cause a failure.)
2019-08-27 09:35:27 -05:00
Robert VollmertandSteve Chávez 97035e0b8b circleci: make sure hlint is in the $PATH 2019-08-27 09:35:27 -05:00
Robert VollmertandSteve Chávez aaf62c1c96 Build with -fno-spec-constr.
Compare https://gitlab.haskell.org/ghc/ghc/issues/16017#note_219304
2019-08-27 09:35:27 -05:00
Robert VollmertandSteve Chávez 4d0661fd9b Upgrade swagger to 2.4.
Two changes:
- tags are now an insert-ordered hashset
- type_ .~ -> type_ ?~ with some magic type inference

This also updates stack.yaml to the newest GHC 8.6 LTS release.
2019-08-27 09:35:27 -05:00
Steve Chávez 126236c3d0 Update v6.0.2.rst 2019-08-26 13:54:25 -05:00
steve-chavez e81ab0d0bb Fix #246, add CONTRIBUTING.md
Also add structure section on README.md
2019-08-26 13:37:11 -05:00
Steve Chávez 7dd37c0bc4 Update index.rst 2019-08-26 12:04:33 -05:00
steve-chavez 0d4b1d8f92 Add release notes for v6.0.2
Also add relase notes section at index.
2019-08-26 10:28:03 -05:00
steve-chavez b9c9aee645 Reorder configuration section 2019-08-26 10:28:03 -05:00
steve-chavez 5942db7fa7 Collapse index sections and improve the wording 2019-08-26 10:28:03 -05:00
steve-chavez 7805b99d57 Fix #213, reorganize index 2019-08-26 10:28:03 -05:00
steve-chavez 8271885bb2 Remove some elements of the index page
As mentioned in https://github.com/PostgREST/postgrest-docs/issues/249,
the embracing the relational model sectin would better fit in a
page about our REST style.

The shared improvements section no longer seems relevant since
we're already an established open source project.

Release notes are not removed but hidden from the index page.
2019-08-26 10:28:03 -05:00
steve-chavez 4fe34079d8 Reorganize ecosystem section 2019-08-26 10:28:03 -05:00
steve-chavez 2d6c16c2a6 Fix #234, reference for raw-media-types 2019-08-26 10:28:03 -05:00
steve-chavez b38e29c3d1 Add text/plain reference
Also move binary output to a top heading.
2019-08-26 10:28:03 -05:00
steve-chavez afff7a00a4 Put accessing and setting headers together 2019-08-26 10:28:03 -05:00
steve-chavez 51c0ad3e0c Add specify columns reference 2019-08-26 10:28:03 -05:00
steve-chavez 2414c7f7f0 Add bulk call reference 2019-08-26 10:28:03 -05:00
steve-chavez a8b2ed313e Add db-pool-timeout config 2019-08-26 10:28:03 -05:00
steve-chavez eca325c11b Add materialized views mention 2019-08-26 10:28:03 -05:00
steve-chavez f5868bc277 Add server-unix-socket config 2019-08-26 10:28:03 -05:00
steve-chavez abdc2ac2a9 Remove integrations section 2019-08-26 10:28:03 -05:00
steve-chavez bed1013ecd Fix #235, casting type to json object 2019-08-26 10:28:03 -05:00
steve-chavez cb2bf809a7 Fix #219, how-to for embedding table from other schema 2019-08-26 10:28:03 -05:00
steve-chavez 396b0468ce Refine embedding views section 2019-08-26 10:28:03 -05:00
steve-chavez 5c22846e12 Fix #172, add section on embedding views 2019-08-26 10:28:03 -05:00
steve-chavez aba2f43c10 Fix #230, make clear FKs are needed for embedding 2019-08-26 10:28:03 -05:00
steve-chavez 664604e6ca Fix #212, note about view with complex RULEs 2019-08-26 10:28:03 -05:00
steve-chavez a1509dc731 Fix #170, remove no performance penalty claim 2019-08-26 10:28:03 -05:00
steve-chavez e9712b0aff Fix #200, anon permissions on auth section 2019-08-26 10:28:03 -05:00
steve-chavez 91e44f12ec Fix #216, remove HUP reference 2019-08-26 10:28:03 -05:00
steve-chavez 7ccc8c4610 Fix #197, add note about axios url encoding 2019-08-26 10:28:03 -05:00
steve-chavez 3babff99b9 Fix #198, add note about nginx config location 2019-08-26 10:28:03 -05:00
steve-chavez 1fd06ff65d Fix #199, db-extra-search-path clarification 2019-08-26 10:28:03 -05:00
steve-chavez 03905a584e Fix #224, remove STRICT from example rpc 2019-08-26 10:28:03 -05:00
steve-chavez b07d07f17d Fix #231, add note about assuming text in rpc calls 2019-08-26 10:28:03 -05:00
steve-chavez f983e0af34 Fix #196, add virtual columns a.k.a. 2019-08-26 10:28:03 -05:00
steve-chavez 0b5e168c8d Fix #205, operators table with heading 2019-08-26 10:28:03 -05:00
Steve ChávezandGitHub 713b214c9a Bump to version v6.0.2
* Add missing CHANGELOG entry for #1368
v6.0.2
2019-08-22 11:12:01 -05:00