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
kjcsb1 and GitHub
3e1a904785
docs: Add example of comment on view
2024-12-12 20:54:12 +01:00
M. Taimoor Zaeem and Steve Chavez
af6b79d4d7
feat: support string comparison for jwt-role-claim-key
2024-12-12 08:47:06 -05:00
renovate[bot] and Wolfgang Walther
2df167637d
chore(deps): update codecov/codecov-action action to v5.1.1
2024-12-06 09:48:06 +01:00
renovate[bot] and Wolfgang Walther
82f43a567c
chore(deps): update actions/cache action to v4.2.0
2024-12-06 09:47:55 +01:00
renovate[bot] and Wolfgang Walther
366d6321f0
chore(deps): update ubuntu:noble docker digest to 80dd3c3
2024-12-04 08:45:07 +01:00
Christophe Eymard and GitHub
c5a9455959
docs: Add an example for PGRST_APP_SETTINGS_* ( #3804 )
2024-12-01 14:41:39 -05:00
renovate[bot] and Wolfgang Walther
d78877cc65
chore(deps): update codecov/codecov-action action to v5.0.7
2024-11-21 21:26:09 +01:00
renovate[bot] and Wolfgang Walther
b85e28c007
chore(deps): update codecov/codecov-action action to v5.0.5
2024-11-20 19:36:35 +01:00
Steve Chavez and GitHub
6db245aacd
fix: clarify PGRST116 error message ( #3795 )
...
Currently it's redundant and not easy to read.
```
{"message":"JSON object requested, multiple (or no) rows returned",
"details":"The result contains 2 rows"}
```
Now:
```
{"message":"Cannot coerce the result to a single JSON object",
"details":"The result contains an array of 0 objects"}
``
Also correct docs which had a wrong error code.
2024-11-20 12:15:46 -05:00
renovate[bot] and Wolfgang Walther
e929834f82
chore(deps): update ubuntu:noble docker digest to 278628f
2024-11-16 22:40:48 +01:00
steve-chavez
80a4edbd2d
chore: add comments on the Observation module
2024-11-15 16:11:26 -05:00
steve-chavez
2766b844a9
fix: always show schema cache load time
...
It used to be that this was only enabled with log-level=debug.
But the default log-level is misleading, for example:
```
$ PGRST_DB_SCHEMAS="apflora" postgrest-with-postgresql-16 -f test/io/big_schema.sql postgrest-run
...
13/Nov/2024:22:08:20 -0500: Config reloaded
13/Nov/2024:22:08:20 -0500: Schema cache queried in 36.3 milliseconds
13/Nov/2024:22:08:20 -0500: Schema cache loaded 326 Relations, 305 Relationships, 7 Functions, 0 Domain Representations, 4 Media Type Handlers, 1194 Timezones
```
The "Schema cache loaded" can take a while to appear, yet the 22:08:20
time is the same. If we reveal the load time this is clarified:
```
13/Nov/2024:22:08:37 -0500: Schema cache loaded in 16770.1 milliseconds
```
2024-11-15 16:11:26 -05:00
steve-chavez
dca09c84b9
nix: add exp support for postgrest-gen-jwt
2024-11-15 14:41:02 -05:00
renovate[bot] and Wolfgang Walther
4d3883ea2e
chore(deps): update codecov/codecov-action action to v5.0.2
2024-11-15 18:54:17 +01:00
Laurence Isla
9c863dbddc
test: add tests for bulk upserts with surrogate keys
2024-11-15 12:05:14 -05:00
Laurence Isla
fcf828fd92
docs: clarify usage of upsert with surrogate primary keys
2024-11-15 12:05:14 -05:00
renovate[bot] and Wolfgang Walther
313f52d3fa
chore(deps): update codecov/codecov-action action to v5
2024-11-14 20:57:31 +01:00
renovate[bot] and Wolfgang Walther
f3aa00a838
chore(deps): update dependency ubuntu to v24
2024-11-13 14:41:23 +01:00
Wolfgang Walther and Wolfgang Walther
3c95d24d45
nix: update package list from hackage before building
...
This prevents errors in CI after updating the hackage index-state.
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
09adb44cc8
chore(deps): update readthedocs os to ubuntu-24.04
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
4c61749de9
chore(deps): update stackage snapshot to LTS 22.41
2024-11-12 21:13:31 +01:00