Wolfgang Walther and Wolfgang Walther
c94aa9ccd9
fix: Build static postgrest with GSSAPI support
...
Resolves #2815
2024-01-26 17:17:05 +01:00
Wolfgang Walther and Wolfgang Walther
dcb6c5bb13
nix: Bump libpq version to link against v16
2024-01-26 17:17:05 +01:00
Wolfgang Walther and Wolfgang Walther
85fbb233a7
nix: Build only libpq instead of full postgresql package
2024-01-26 17:17:05 +01:00
Wolfgang Walther and Wolfgang Walther
259d97acee
nix: Build static postgrest executable via pkgsStatic
...
This replaces the build via static-haskell-nix and will hopefully make
it possible to cross compile in the future.
2024-01-26 17:17:05 +01:00
Wolfgang Walther and Wolfgang Walther
3a639c7172
ci: Fix FreeBSD build on cirrus
2024-01-25 21:27:17 +01:00
Wolfgang Walther and Wolfgang Walther
d75be243ac
ci: Build with GHC 9.8.1 via Cabal
2024-01-25 21:27:17 +01:00
Wolfgang Walther and Wolfgang Walther
2ffb97991d
ci: Build with GHC 9.6.4 via Cabal
...
This confirms that building with GHC 9.6.x works already, even if we can't
switch to it for the nix and stack builds, yet.
2024-01-25 21:27:17 +01:00
Wolfgang Walther and Wolfgang Walther
2e298824d6
deps: Replace postgresql-libpq fork with upstream v0.10
...
Our changes to reduce memory usage have been merged and released
upstream, so no need for the fork anymore.
2024-01-25 21:27:17 +01:00
Andrei Dziahel and Wolfgang Walther
d7246b4851
ci: nix-store --realise to tools:
...
Since we're building only tools now, we can just specify them directly
in the `tools:` parameter of `setup-nix` action.
2024-01-22 18:17:38 +01:00
Andrei Dziahel and Wolfgang Walther
286103daf2
ci: do not rebuild postgrest
...
specify outputs to cache excluding postgrest
2024-01-22 18:17:38 +01:00
Andrei Dziahel and Steve Chavez
9c78751871
ci: fix c-n-a input names
2024-01-22 11:28:41 -05:00
dependabot[bot] and Steve Chavez
820917bcb6
build(deps): bump nix-community/cache-nix-action
...
Bumps [nix-community/cache-nix-action](https://github.com/nix-community/cache-nix-action ) from 4.0.3 to 5.0.1.
- [Release notes](https://github.com/nix-community/cache-nix-action/releases )
- [Changelog](https://github.com/nix-community/cache-nix-action/blob/main/RELEASES.md )
- [Commits](https://github.com/nix-community/cache-nix-action/compare/v4.0.3...v5.0.1 )
---
updated-dependencies:
- dependency-name: nix-community/cache-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 11:28:41 -05:00
dependabot[bot] and GitHub
02312804f0
build(deps): bump actions/cache from 3 to 4 ( #3179 )
2024-01-22 09:13:30 -05:00
Steve Chavez and GitHub
7a387c7a30
nix: add parallel-curl wrapper ( #3172 )
...
stock curl doesn't make it easy to make many parallel requests to a
single endpoint. The endpoint has to be repeated N times.
```
curl --parallel https://example.com https://example.com ..
```
This provides a wrapper for parallel curl. It's useful for testing
scenarios like pool timeouts.
```
parallel-curl N https://example.com
```
2024-01-18 20:03:01 -05:00
Wolfgang Walther and Wolfgang Walther
6682baebd2
nix: Update nixpkgs and build with GHC 9.4.8
2024-01-18 18:54:33 +01:00
Wolfgang Walther and Wolfgang Walther
e4c60889ee
nix: Make postgrest-nixpkgs-upgrade take the latest stable version
...
Previously this command upgraded to the latest unstable version of nixpkgs,
but this was often broken. Taking the latest stable branch should give
better results.
2024-01-18 18:54:33 +01:00
Steve Chavez and GitHub
c070cb9502
Revert "build(deps): bump nix-community/cache-nix-action from 4.0.3 to 5.0.1 in /.github/actions/setup-nix" ( #3167 )
2024-01-17 17:55:38 -05:00
dependabot[bot] and GitHub
a8165a89a0
build(deps): bump nix-community/cache-nix-action ( #3135 )
2024-01-17 17:25:10 -05:00
Laurence Isla and GitHub
f5fca59b2e
chore: update sponsor logo ( #3161 )
2024-01-15 20:09:42 -05:00
dependabot[bot] and GitHub
740fcdf5ab
build(deps): bump cachix/cachix-action in /.github/actions/setup-nix ( #3159 )
2024-01-15 14:54:44 -05:00
steve-chavez
fdaeea8fd2
fix: misleading "Starting.." logs on scache reload
2024-01-09 20:37:25 -05:00
steve-chavez
6c3d7a946d
deprecate: params=single-object preference
2024-01-04 17:00:38 -05:00
Laurence Isla and GitHub
b2095a8ef6
chore: update sponsor image
2023-12-20 19:16:31 -05:00
Laurence Isla
d99e3ac805
changelog: update to 12.0.2
2023-12-20 18:26:05 -05:00
steve-chavez
3af63cb94c
fix: empty row on handler function
...
Closes https://github.com/PostgREST/postgrest/issues/3126
2023-12-20 16:18:09 -05:00
steve-chavez
1680a6eed3
fix: aggregates not working for all schemas
...
Closes https://github.com/PostgREST/postgrest/issues/3124
2023-12-20 15:20:18 -05:00
Taimoor Zaeem and GitHub
0b77098460
feat: add max-affected preference to prefer header ( #3083 )
2023-12-18 18:35:23 -05:00
Laurence Isla and GitHub
4a1dee453b
chore: add new sponsor
2023-12-18 12:14:01 -05:00
dependabot[bot] and GitHub
93bdae962e
build(deps): bump actions/upload-artifact from 3 to 4 ( #3123 )
2023-12-18 09:09:18 -05:00
dependabot[bot] and GitHub
6a34018cfc
build(deps): bump dawidd6/action-download-artifact from 2 to 3 ( #3122 )
2023-12-18 09:09:10 -05:00
dependabot[bot] and GitHub
2aa5373a27
build(deps): bump actions/download-artifact from 3 to 4 ( #3121 )
2023-12-18 09:09:02 -05:00
Laurence Isla
f95a8e77a6
changelog: update to 12.0.1
2023-12-14 12:10:08 -05:00
steve-chavez
6b9fde59cd
fix: any handler sets a default application/json
...
Now it sets application/octet-stream as the generic type.
2023-12-12 17:44:07 -05:00
Laurence Isla and GitHub
4fb521cac6
fix: add jwt_cache_max_lifetime as an in-database configuration option ( #3102 )
2023-12-12 16:29:50 -05:00
Laurence Isla and Steve Chavez
e31363a325
chore: add new sponsor
2023-12-12 10:38:09 -05:00
Andrei Dziahel and GitHub
cbfff2804d
fix: replace json parser error with generic msg ( #3090 )
2023-12-07 18:04:51 -05:00
Andrei Dziahel and Steve Chavez
41ea4e6db6
ci: cancel in-progress loadtests for PRs as well
2023-12-07 16:01:32 -05:00
Andrei Dziahel and Steve Chavez
f9294c5e43
ci: test only head of branch
2023-12-07 16:01:32 -05:00
Laurence Isla and GitHub
c6b71551f4
changelog: move missplaced unreleased fix ( #3094 )
2023-12-07 11:00:46 -05:00
Laurence Isla and GitHub
d49e3d7132
fix: allow using special characters in json keys ( #3081 )
...
* increase memory size test
2023-12-06 17:28:51 -05:00
Andrei Dziahel and GitHub
72083361bc
ci: similar jobs use a single cache for Nix stores
...
Jobs that use the setup-nix action will share a single cache, which is created by a previous warm up Job.
2023-12-05 13:57:18 -05:00
dependabot[bot] and GitHub
6277eb43f7
build(deps): bump cachix/cachix-action in /.github/actions/setup-nix ( #3085 )
2023-12-04 15:39:40 -05:00
steve-chavez
0c65bf494d
changelog: update to 12.0.0
2023-12-01 19:37:11 -05:00
steve-chavez
9fe11249f9
feat: custom SQL handler for the "*/*" media type
2023-11-28 23:14:38 -05:00
Laurence Isla and GitHub
7640de34e2
refactor: use a data type instead of Map for Server Timing
2023-11-28 18:26:56 -05:00
Andrei Dziahel and Steve Chavez
31ce39ba36
ci: cabal+GHC: tweak caching
...
Makes it to cache only relevant directories, adds `dist-newstyle` to prevent needless rebuilding even harder and shortens cache key name by supplying `hashFiles`multiple arguments
2023-11-28 12:48:57 -05:00
Laurence Isla and GitHub
ca5eb64deb
chore: fix server-timing metric order and doctest
2023-11-28 12:45:39 -05:00
Andrei Dziahel and Steve Chavez
a72241ad4e
ci: fixes job caches not producing after recent cabal upgrade
...
Recent cabal adopted XDG guidelines and stores data
across multiple directories under $HOME.
Creating ~/.cabal manually returns old behavior and allows caching single directory again.
2023-11-28 11:52:52 -05:00
steve-chavez
b080f59bac
test: server timing on root and options method
2023-11-28 10:25:25 -05:00
steve-chavez
558e9d40e8
changelog: join server-timing entries
2023-11-28 10:25:25 -05:00