Laurence Isla and GitHub
39e3246623
Upgrade protolude to 0.3.1 ( #2306 )
v9.0.1
2022-06-08 16:15:56 -05:00
steve-chavez
120ed06134
bump version to 9.0.1
...
* Format CHANGELOG
2022-06-03 22:19:16 -05:00
steve-chavez
a8452e7a2e
fix: using CPU while idle
2022-06-03 22:19:16 -05:00
steve-chavez
f7a2220159
fix: disable parallel GC for perf on high-core CPU
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
d8085d41fb
ci: run on branches starting with "rel-"
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
13d343bdbf
ci: Run ARM builds on releases
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
6fc47aa525
ci: Fix Windows build using Stack
...
Added PostgreSQL binaries to the PATH and removed the use of msys2-keyring
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
02eb3f0612
build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
3119c52cb7
ci: remove armv7 architectures for ARM builds
...
Now only builds aarch64 on the remote server without Docker
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
74678391c6
Add CI for ARM architectures ( #2127 )
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
d16972e8da
Fix misleading disambiguation error where relationship looks like valid syntax
...
* Add columns for the m2m relationship
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
0f5caa50c6
build(deps): bump codecov/codecov-action from 2.1.0 to 3.0.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
176db06168
build(deps): bump actions/cache from 2.1.7 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
3ee3bcd7ae
Bypass FreeBSD builds due to timeouts
2022-06-03 22:19:16 -05:00
Ezequiel Alvarez and Steve Chavez
113c487db2
fix: json/jsonb columns should not have type "string" in OpenAPI spec ( #2203 )
...
* Switch to no type for json/jsonb
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
6876fbb0aa
build(deps): bump actions/checkout from 2.4.0 to 3 ( #2186 )
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
b8b486740c
build(deps): bump actions/upload-artifact from 2.3.1 to 3 ( #2187 )
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
83496fbcb8
build(deps): bump actions/download-artifact from 2.1.0 to 3 ( #2185 )
2022-06-03 22:19:16 -05:00
Laurence Isla and Steve Chavez
ebc26d0c09
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-06-03 22:19:16 -05:00
Steve Chavez
dd8a2c8979
fix: Keep working when EMFILE is reached ( #2158 )
...
Done by upgrading to warp 3.3.19
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
7cc8502a64
fix: Remove aggregates, procedures and window functions from schema cache and OpenAPI output
...
Aggregates and Window functions can't be called as RPCs in a useful way.
Procedures are not supported right now, but might be added later.
Resolves #2101
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
5a88161ff7
fix: Take PG version into account in --dump-schema
...
The PG version is only read by the Connection Worker, which is not used in the case dump-schema. Now, the pg version is read in the schema cache queries directly, avoiding this problem in all cases.
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
973c22a102
ci: Fix windows build failing because of outdated keyring
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
2c001010df
fix: Remove trigger functions from schema cache and OpenAPI output
...
Trigger functions can't be called directly from SQL and can't be called
via the /rpc prefix either - it makes no sense to expose them in the
OpenAPI output. And we don't need to cache them in the schema cache
either.
Best practice would be to keep the trigger functions in a non-exposed
schema anyway.
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
a36c5ce52d
ci: Add -with-rtsopts=-KxK option to prevent introducing space leaks
...
Resolves #387
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
8bfbf9eb89
Align columns in postgrest.cabal
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
2e334db31b
fix: Read database configuration properly when = is present in value
...
Resolves #2120
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
d1851a6966
refactor: Reformat db-config query
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
76fdf29f5c
refactor: Move each Wai Middleware to a separate file
2022-06-03 22:19:16 -05:00
Steve Chavez
490f631011
cov: empty coverage overlay ( #2119 )
...
The overlay depended on the version number, which caused errors when upgrading.
Also update cabal description.
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
685acccf6d
test: Reorganize test/ folder into one subdirectory for each test type
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
9378de558f
Remove unused dependencies from postgrest.cabal
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
747b0234ae
cov: Add coverage overlay for impossible case in corsPolicy
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
ce578ec1b8
refactor: simplify logger middleware
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
7272d8894c
cov: Remove unreachable static icon
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
de8253facc
cov: Add tests for request logging
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
a15118576d
test: Remove unused unix-socket.config file
...
Unix sockets are the default in io tests and we are testing ip connections explicitly.
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
0a44125d92
test: Improve io test perfomance
...
Local test improves performance by 15%.
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
9c9e25b2af
test: Move io-tests SQL fixtures to a separate file
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
ce6ea74ee1
test: Improve log output for failing io-tests
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
e8e3349a71
test: Refactor invalid_role_claim_key_notify_reload test to properly read all available input
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
06a9794448
test: Use .encode() end .decode default values in io-tests
...
Those default to "utf-8" anyway.
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
30a6ae6241
nix: Fix nested postgrest-with-postgresql-x calls when -f is used
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
c228c37619
Remove outdated heroku manifest
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
9f09a6547d
cov: Improve jwt claims test-cases
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
130dcc4f66
fix: Fix wrong CORS header Authentication -> Authorization
...
Also refactors defaultCorsPolicy and corsPolicy and cleans up CORS tests
2022-06-03 22:19:16 -05:00
Wolfgang Walther and Steve Chavez
7db4a75146
fix: Make recursive view parsing work with XMLTABLE + DEFAULT
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
eedfe957b5
build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1 ( #2094 )
2022-06-03 22:19:16 -05:00
Steve Chavez
ef240ef05a
fix: is not working with upper/mixed case values ( #2081 )
2022-06-03 22:19:16 -05:00
dependabot[bot] and Steve Chavez
89e93ef6f5
build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-03 22:19:16 -05:00