steve-chavez
903a8d5f5a
Bump to v0.5.0.0
v0.5.0.0
2018-05-14 19:08:51 -05:00
steve-chavez
ca76a8e6be
Update links, add patreon badge
2018-05-14 18:44:52 -05:00
steve-chavez
28845e0f43
Fix accepting misspellings in order syntax
2018-05-14 07:34:15 -05:00
steve-chavez
30cf1d100a
Add foreign tables to OpenAPI output
2018-05-07 10:14:26 -05:00
Joe Nelson and GitHub
05180f6539
Remove consulting prompt in issue template
2018-05-04 16:55:07 -05:00
steve-chavez
b00f57ac34
Fix appveyor build
...
Appveyor failed on latest release https://ci.appveyor.com/project/begriffs/postgrest/build/1.0.5
according to https://github.com/commercialhaskell/stack/issues/2617#issuecomment-271966495
this can be fixed by adding `-j1`.
2018-05-02 13:06:44 -05:00
steve-chavez
e9aaf05335
Remove support for non url safe operators
2018-05-02 13:06:44 -05:00
steve-chavez
79a7ce49f2
Remove support for {} embed and "in" op w/o parens
2018-05-02 13:06:44 -05:00
steve-chavez
3a1213f53b
Add CHANGELOG entry for role-claim-key
2018-04-30 11:38:56 -05:00
steve-chavez
f033c2c4b5
Add role-claim-key config value
2018-04-30 11:31:06 -05:00
steve-chavez
5c87fe2704
Add getCurrentTime cache for jwt validation
2018-04-30 11:31:06 -05:00
Joe Nelson
58f4b4bc33
Issue template
2018-04-12 21:28:11 -05:00
steve-chavez
32c7e32bdf
Allow embeds alias to be used in filters, fix #821
2018-04-02 11:09:45 -05:00
steve-chavez
062a5581f5
Allow specifying source column in embed, fix #1078
2018-04-02 11:09:45 -05:00
steve-chavez
50512e1117
Refactor addRelations and findRelation functions
...
Just reordering and renaming variables to reduce indentation, logic remains the same.
2018-04-02 11:09:45 -05:00
steve-chavez
edae60f8c1
Only alias tables on self join cases
2018-04-02 11:09:45 -05:00
Joe Nelson
1fb9e34c9c
Add new oauth server
2018-03-29 00:40:54 -05:00
steve-chavez
243e692192
Refactor some functions to use concatMap
2018-03-17 07:53:41 -05:00
steve-chavez
349a5ae076
Fix Parent Relation when having many views( #1044 )
2018-03-17 07:53:41 -05:00
Thomas and Joe Nelson
0bae76f05e
Remove iAdvize from In Production list ( #125 )
2018-03-14 12:12:03 -05:00
Joe Nelson and GitHub
7b2ab948be
Schema auto-reload instructions ( #124 )
2018-03-11 12:26:16 -05:00
Christopher Bowman and Joe Nelson
16cf1ef45c
Replace 'to to ' with 'to the ' ( #122 )
2018-03-09 19:42:01 -06:00
steve-chavez
ff709a65e5
Add FROM targets aliasing to avoid conflict in embeds
2018-02-21 09:23:08 -05:00
steve-chavez
8e2a0e05ea
Refactor QueryBuilder and DbRequestBuilder
...
- Refactor ORDER BY and LIMIT query fragments
- Move ReadRequest building to DbRequestBuilder
- Clarify Relation link table attributes
- Change Join Operation to JoinCond
2018-02-21 09:23:08 -05:00
steve-chavez
108f3cd651
Add Preference-Applied header for POST upsert
...
- Ensure creating nothing on ignore-duplicates succeeds
- Refactor locationF query
2018-02-21 07:33:54 -05:00
steve-chavez
6675821c64
Allow PUT method: UPSERT of a single row
2018-02-21 07:33:54 -05:00
steve-chavez
85b1dc0eb4
Add UPSERT for POST with Prefer:resoultion=merge/ignore-duplicates
2018-02-21 07:33:54 -05:00
Joe Nelson
102392e4ab
Move canadaduane's changelog entry to Added
2018-02-19 21:55:03 -06:00
Duane Johnson and Joe Nelson
a46b6f5020
Pass custom settings to the DB's SESSION ( #1063 )
...
- allows queries to refer to current_setting('app.settings.foo') to retrieve variables
- useful for 12-factor apps (app data can be in environment)
- provides workaround for AWS Relational Database Service (RDS) not
allowing `ALTER DATABASE SET 'app.[KEY]' TO '[VALUE]'` on database.
2018-02-19 12:41:22 -06:00
Camille Roussel and Joe Nelson
7151e62499
Update tut0.rst with improved instructions for windows installs ( #120 )
2018-02-03 21:52:51 -08:00
Joe Nelson
911417471e
Add Eric's testimonial
2018-02-03 13:55:32 -08:00
Joe Nelson
7dbd5f799e
Update name of diogob's websocket adapter
2018-02-02 19:57:24 -08:00
steve-chavez
70ce1b9329
Reduce memory usage of uniform json array restriction
2018-01-27 13:55:20 -05:00
Joe Nelson
362ee5a4ed
Bump version
2018-01-18 10:59:27 -06:00
Joe Nelson and GitHub
e10599d065
Changes in 4.4 release ( #121 )
...
* Updated full-text search
* Calling RPC with GET
* Customizing HTTP status codes and headers
* Move the admin section to bottom of TOC
* Revise JWT signing section of tutorial
* Selecting pkeys in embedding no longer required
2018-01-18 10:48:34 -06:00
steve-chavez
516976e32f
Add memory usage tests
2018-01-10 11:43:16 -05:00
steve-chavez
f7e7834a1c
Handle overloaded function case
...
* Add test for params=single-object on GET
* Add tests for procs with DEFAULT args
* Add tests for overloaded functions
* Add test for PATCHing with an empty json array, this previously
gave a "Something is wrong" error
2018-01-10 11:43:16 -05:00
steve-chavez
38f3bcf4a6
Reduce memory usage by avoiding Aeson encode
...
It was detected that Aeson encoding had high memory usage when
the json payload was large, around x60 the payload size.
With this change we get around x10 payload size memory usage.
The encodeUtf8(when doing a Text -> ByteString with `toS`) function
on a large payload also contributed to the high memory usage.
Main idea to reduce the memory usage was to let the ByteString coming
from the request body go to the database unchanged.
2018-01-10 11:43:16 -05:00
steve-chavez
f159233de8
Change UPDATE query to a parametrized query
2018-01-10 11:43:16 -05:00
steve-chavez
02a286a4b1
Change callProc query to a parametrized query
2018-01-10 11:43:16 -05:00
steve-chavez
85d9feeeab
Add set schema to middleware
...
Fix #828 , breaking change: computed columns now only work if they are on
the config schema.
Fix #835 , tests now not depend on the search_path of the
postgrest_test_authenticator.
2018-01-10 09:50:20 -05:00
Joe Nelson
f9e770b583
Bump to 0.4.4.0
v0.4.4.0
2018-01-08 21:01:39 -06:00
Damien Bry and Joe Nelson
f0bf51efc2
Added Elyios as using PostgREST in production ( #119 )
2017-12-27 21:56:04 -06:00
Ruslan Talpa and GitHub
effbec234f
Faster queries using json_agg
2017-12-12 15:44:50 +02:00
Ruslan Talpa and GitHub
e4183780a9
Fix #1016
2017-12-12 15:31:39 +02:00
Joe Nelson and GitHub
804c0b7f6b
Include git sha in version ( #1022 )
2017-12-08 00:29:44 -06:00
steve-chavez
fef7d949d9
Fix #411 , remove the need for pk in &select for parent embed
2017-11-30 12:56:18 -05:00
Captain Justin and Joe Nelson
d9e7620160
Update intro.rst ( #118 )
2017-11-28 23:48:31 -06:00
steve-chavez
be630aa680
Change phrase/plain full text search syntax
2017-11-27 11:38:54 -05:00
Joe Nelson and GitHub
f93e2723e3
Add note that windows people need postgres on path ( #117 )
2017-11-25 22:00:55 -06:00