Felix Yan and Joe Nelson
69070b64f9
Fix compatibility with protolude-0.2 ( #939 )
...
This allows the Arch Linux PostgREST package to build cleanly
2017-08-14 01:36:33 -05:00
Joe Nelson and GitHub
d89937a6f3
Upgrade to fast new hasql ( #836 )
2017-08-10 01:54:15 -05:00
Joe Nelson and GitHub
0ed4215a0d
Support asymmetric JWK ( #919 )
2017-08-09 08:42:00 -05:00
Joe Nelson and GitHub
74227d3c2b
Use env interpolation in config ( #826 )
2017-05-24 22:50:09 -05:00
Steve Farmer and Joe Nelson
0b486ccf44
Increase Warp connection timeout ( #834 )
2017-03-21 19:50:24 -07:00
Diogo Biazus and Joe Nelson
728e40c96c
Update hspec-wai to 0.8.0 ( #799 )
2017-02-14 21:18:01 -08:00
Pi3r and Joe Nelson
1d8318ce26
Increase lower and upper bound for optparse-applicative ( #794 )
2017-02-03 10:00:13 -08:00
Joe Nelson and GitHub
9b407034a8
Bump version
2017-01-20 00:21:08 -08:00
Joe Nelson and GitHub
104a7ed4fa
Use a mime type to request singular JSON responses ( #763 )
2017-01-16 15:11:37 -08:00
J Phani Mahesh
37d3c851cf
add nix.packages to stack.yaml
...
postgrest depends on postgres and zlib. When using stack's nix
integration, these dependencies must be specified explicitly.
Note that `--nix` must be passed to stack, or `nix.enable:true` must
be set in `stack.yaml` to enable using nix while building.
2016-10-26 15:49:53 +05:30
Joe Nelson and GitHub
74e68408e6
Bring packages up to date ( #722 )
...
* Bring packages up to date
* New LTS includes deps now
Use stack to select most versions
* Alphabetize packages
* Strip down packages
Switch tests to protolude
* Appease cabal check with base version constraint
2016-10-19 22:25:58 -07:00
Joe Nelson
c98450d1d5
Use real version of hjsonschema
...
Its raw commit on github no longer exists
2016-07-18 11:37:38 -07:00
Jacky Hu
1fef1991ef
Add proxy awareness for OpenAPI spec generation
...
Proxy uri from command line options takes precedence over host and port
2016-07-07 19:20:40 +08:00
Joe Nelson
9c42a78cf3
Upgrade hasql-transaction
2016-06-25 21:24:21 -07:00
Jacky Hu
86e81c135e
Use hjsonschema from the develop branch
2016-06-18 10:18:43 +08:00
Jacky Hu
0220040341
Add test to validate openapi spec
2016-06-18 10:18:43 +08:00
Jacky Hu
d1ed884a8d
Introduce the OpenAPI header
...
Also bring back the original behavior of GET "/"
2016-06-18 10:18:43 +08:00
Jacky Hu
563c5fa778
Make hostname configurable
2016-06-18 10:18:43 +08:00
Jacky Hu
cf4e157de7
Provide a swagger2 spec for the dynamic API
...
Related issue: #144
2016-06-18 10:18:43 +08:00
Joe Nelson and GitHub
42110643a3
Use newer deps for GHC 8 compatibility ( #619 )
2016-06-09 18:50:13 -07:00
Joe Nelson
38afe71ec7
Upgrade extra-deps and LTS
2016-05-22 11:00:37 -07:00
Ruslan Talpa
e43ad54dbf
Merge branch 'master' of https://github.com/begriffs/postgrest
2016-03-01 17:54:55 +02:00
Joe Nelson
cf176c4100
Allow aeson v11, but forbid deadly v10
2016-02-29 21:03:42 -08:00
Ruslan Talpa
40a30d7b02
Fix view column source detection
2016-02-29 13:10:33 +02:00
Joe Nelson
7ba5363d25
Upgrade hasql to fix prepared statement problem
2016-02-26 08:18:47 -08:00
Joe Nelson
f28b03f419
Allow new hasql-transaction to do rollbacks
2016-02-25 20:13:03 -08:00
Joe Nelson
072a6ce4c7
Bump hasql to 0.19.8
2016-02-21 18:37:17 -08:00
Joe Nelson
d5c1438c6e
Use hasql-transaction
...
Also use hspec before-wrapper
2016-02-21 18:05:25 -08:00
Joe Nelson
30e5032ade
Use lower optimization to speed up regular dev builds
2016-02-21 14:11:46 -08:00
Joe Nelson
d7fe59f0b0
WIP: share server code between tests and program
...
- Share server code in Main
- Switch to hasql-pool
- Use pool in tests
- DRY up test runner
2016-02-21 12:22:18 -08:00
Joe Nelson
c887f2b3b4
Move ghc-options in stack config and out of cabal file
2016-01-28 14:03:44 -08:00
Joe Nelson
536acec820
Turn down warning level a little
2016-01-27 17:31:57 -08:00
Joe Nelson
55da918240
Build with stack on CI and use harsher setttings
2016-01-27 16:12:48 -08:00
Joe Nelson
dac31c4f2e
Use newer LTS to avoid potential aeson problem
2016-01-27 11:00:40 -08:00
Joe Nelson
bbf8365cd2
Upgrade hasql
2016-01-24 18:09:20 -08:00
Joe Nelson
3be04d7f30
Upgrade hasql to fix connection error
2016-01-24 18:09:19 -08:00
Joe Nelson
7b92449343
QueryBuilder compiles with hasql 19
2016-01-24 18:09:18 -08:00
Diogo Biazus
066d120c0e
Changes stack resolver to nightly.
2015-10-31 12:01:26 -04:00
Diogo Biazus
5de9db0ca1
Updates stack resolver to 3.10 and adds new hspec to custom build plan
2015-10-23 15:44:18 -04:00
Diogo Biazus
0df6ea57ae
Updates stackage resolver to 3.7
2015-09-30 23:35:44 -04:00
Diogo Biazus
f9d50018d9
Rollback to aeson 0.8.0.2 to allow building with stackage, and adds stack.yml
2015-08-20 15:50:28 -04:00