renovate[bot] and Wolfgang Walther
8d1bd61e69
chore(deps): update ubuntu:noble docker digest to 7229784
2025-02-26 17:49:50 +01:00
Wolfgang Walther
6442afb1f2
chore: Fix style check
2025-02-22 17:00:54 +01:00
Wolfgang Walther
5d445a70d3
docs: Fix outdated links
2025-02-22 16:10:44 +01:00
Wolfgang Walther
9def1664bb
ci: Fix cirrus FreeBSD builds
...
Apparently Cirrus removed the 14-1 image. When I firsted looked into
this some days ago, when the job started failing, the docs were not
updated, yet - so it wasn't clear. Now the docs mention freebsd-14-2
explicitly...
2025-02-22 14:22:15 +01:00
Taimoor Zaeem and GitHub
390ba19932
fix: handle queries on non-existing table gracefully
2025-02-21 13:49:54 -05:00
Laurence Isla and GitHub
9c880c082a
feat: allow logging the SQL query to stderr
...
- Logs the main SQL query when `log-query=main-query`.
- Only logs at the current `log-level`.
2025-02-18 19:17:26 -05:00
Taimoor Zaeem and Steve Chavez
66e966d864
refactor: move jwt caching logic to Auth/JwtCache.hs
2025-02-17 14:19:40 -05:00
Laurence Isla
5619a5279b
refactor: move the logic to check if the response should be logged into a separate function
2025-02-14 19:52:59 -05:00
Laurence Isla
8157e6ee0b
refactor: remove IO from the Query.hs module
...
Will make logging SQL queries to stderr possible
2025-02-14 19:52:59 -05:00
Laurence Isla
7be5782179
docs: make the aggregate functions docs less verbose
2025-02-14 18:14:43 -05:00
Taimoor Zaeem and Steve Chavez
e04cd70d83
refactor: move ApiRequestError to Error module
2025-02-13 09:38:18 -05:00
steve-chavez
33b69b5894
docs: reduce verbosity of aggregate functions
2025-02-12 20:12:38 -05:00
Taimoor Zaeem and GitHub
560c511f81
docs: add missing jwt claims and clock skew ( #3908 )
2025-02-12 15:38:20 -05:00
Steve Chavez and GitHub
307692c325
break: remove limited updated/delete feature ( #3907 )
...
BREAKING CHANGE
As agreed on https://github.com/PostgREST/postgrest/issues/3013#issuecomment-1770186262 ,
this removes the limited update/delete feature.
The feature was complicated, largely unused and caused other bugs in
mutations.
It was added in #2195 and #2211 .
2025-02-12 14:48:08 -05:00
steve-chavez
94f0edb61a
docs: correct package for installation under Nix
2025-02-12 14:41:21 -05:00
M. Taimoor Zaeem and Wolfgang Walther
e4f3c2cf3b
changelog: Add v12.2.8
2025-02-11 21:27:53 +01:00
M. Taimoor Zaeem and Steve Chavez
c96dc3ee90
fix: log 503 client error to stderr
2025-02-08 21:08:29 -05:00
M. Taimoor Zaeem and Steve Chavez
3f78615dff
refactor: move AuthResult to Auth/Types.hs module
...
The `AuthResult` type does not belong to AppState
module. This commit refactor this by moving it to
a new module `Auth/Types.hs`.
2025-02-04 11:56:42 -05:00
Wolfgang Walther
db85e64971
changelog: Add v12.2.7
2025-02-03 18:40:45 +01:00
Diogo Biazus and GitHub
b285f5fba6
fix: Fix regression for schema cache reloading via NOTIFY on Windows
...
Upstream accidentally removed the fix, which was introduced for #2524 . Fixed again.
2025-02-03 15:40:37 +01:00
M. Taimoor Zaeem and Wolfgang Walther
f4889160a0
changelog: Add v12.2.4, v12.2.5 and v12.2.6
2025-01-31 20:33:44 +01:00
Wolfgang Walther
749e2996f3
chore: Add new issue type to issue templates
2025-01-31 19:25:16 +01:00
Taimoor Zaeem and GitHub
71a147392a
fix: jwt cache is not purged ( #3801 )
2025-01-29 14:53:10 -05:00
Laurence Isla
b7d0a1f68c
feat: apply to_tsvector() explicitly to the full-text search filtered column, only if it's not of tsvector type
2025-01-28 19:14:54 -05:00
renovate[bot] and Wolfgang Walther
e7cc8fedc0
chore(deps): update codecov/codecov-action action to v5.3.1
2025-01-25 12:01:13 +01:00
Wolfgang Walther
66a9422498
chore: Remove unused haskell dependencies
...
Resolves #3873
2025-01-25 12:00:57 +01:00
renovate[bot] and Wolfgang Walther
a2b5af0861
chore(deps): update codecov/codecov-action action to v5.3.0
2025-01-25 11:12:54 +01:00
Wolfgang Walther
e2dd4354d5
fix: Make postgrest binary in arm64 docker image executable
...
This happened in 06aebfaa and caused the arm64 docker image to not start
up properly.
Resolves #3867
2025-01-20 18:23:19 +01:00
Wolfgang Walther
9ae8854867
Revert "ci: Remove brew install libpq for macos-14 stack build"
...
This partially reverts commit 53164453d8 .
2025-01-18 19:01:01 +01:00
Wolfgang Walther
4ad78235dc
chore: Update renovate config for new haskell-cabal manager
...
This manager was recently introduced to renovate and is now creating PRs
for upper version bounds of our haskell dependencies. We still need to
figure out how to deal with those in the best way, but some basic
configuration can already be done. Here, we:
- disallow any of those updates on the backbranches.
- group GHC-provided dependencies together.
- group packages from the hasql ecosystem together.
- the fuzzyset dependency must be restricted to <0.3 - we know that
already and did that on purpose.
2025-01-18 18:21:26 +01:00
Wolfgang Walther
14449bc882
ci: Fix stack cache on Windows
...
Apparently the STACK_ROOT has been moved to C:\sr - for unknown reasons,
at least to me.
This should enable caching again and make the stack on windows builds
much faster than recently.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
5c567600cd
ci: Split ci into ci and release workflows
...
This is now possible, after we moved to the ARM build to the GitHub
runners.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
75788cff05
ci: Remove left-over permissions setting from tag job
...
This has been replaced by using the SSH key.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
9a86ff6029
ci: Display loadtest results in step summary
...
Much easier to implement and should be easier to find, too.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
06aebfaaaf
ci: Build the ubuntu-aarch64 binary with new ARM runners
...
The new GitHub arm runners are available, so we can use them to build
the ubuntu aarch64 binary instead of our custom machine.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
6858709866
ci: Skip cachix push when no cachix token is set
...
This happens in forks.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
53164453d8
ci: Remove brew install libpq for macos-14 stack build
...
When macos-14 was rolled out libpq was not installed, but by now it is
by default. Thus, we don't need to do that, it only creates a warning
annotation right now.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
ee6bac4e49
ci: Fix release name of x86-64 binaries
...
This should have been x86-64, only x64 is not a thing.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
cbe7d8e1dd
ci: Fix release name of macos binary
...
This is built on macos-14, which is running on new arm based hardware,
not the old x86_64 ones.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
48a9a3540e
ci: Update stack builder to ubuntu 24.04
...
Renovate doesn't seem to pick this up, because it's in a matrix
specification.
2025-01-18 18:01:35 +01:00
renovate[bot] and Wolfgang Walther
972bc80664
chore(deps): update actions/upload-artifact action to v4.6.0
2025-01-17 20:59:10 +01:00
renovate[bot] and Wolfgang Walther
c7ac1db07f
chore(deps): update haskell-actions/setup action to v2.7.9
2025-01-17 20:58:06 +01:00
renovate[bot] and Wolfgang Walther
ce27425f7c
chore(deps): update haskell-actions/setup action to v2.7.8
2024-12-30 16:32:00 +01:00
M. Taimoor Zaeem and Steve Chavez
56c14474da
fix: insert with missing=default uses column default before using domain default
2024-12-23 15:27:40 -05:00
Wolfgang Walther
0d640442b1
nix: Change postgrest-nixpkgs-upgrade to unstable
...
Since we're currently on the unstable channel and will likely stay there
for a while, let's encode this in the update script.
Once we switch back to stable, if we do, we can still adjust it again.
2024-12-22 19:07:11 +01:00
Wolfgang Walther
07d6d75abe
chore: remove deprecation warning in IO tests
2024-12-22 18:49:20 +01:00
renovate[bot] and Wolfgang Walther
f5f64ac7da
chore(deps): update codecov/codecov-action action to v5.1.2
2024-12-20 20:00:22 +01:00
renovate[bot] and Wolfgang Walther
b5645b969a
chore(deps): update haskell-actions/setup action to v2.7.7
2024-12-20 19:59:55 +01:00
M. Taimoor Zaeem and Steve Chavez
a9d74eba2a
feat: allow not_null value for the is operator
2024-12-19 10:19:41 -05:00
renovate[bot] and Wolfgang Walther
a1769d17be
chore(deps): update actions/upload-artifact action to v4.5.0
2024-12-18 12:56:17 +01:00