From b8b3145c5c35e0532a3acae0da8bf922f4aed88f Mon Sep 17 00:00:00 2001 From: Diogo Biazus Date: Mon, 21 Aug 2023 08:25:44 -0700 Subject: [PATCH] fix: schema cache and configuration reloading with NOTIFY not working on Windows --- CHANGELOG.md | 1 + nix/overlays/haskell-packages.nix | 4 ++-- postgrest.cabal | 2 +- stack.yaml | 2 +- stack.yaml.lock | 6 +++--- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae063193c..1790da7e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - #2899, Fix `application/vnd.pgrst.array` not accepted as a valid mediatype - @taimoorzaeem + - #2524, Fix schema cache and configuration reloading with `NOTIFY` not working on Windows - @diogob, @laurenceisla ## [11.2.0] - 2023-08-10 diff --git a/nix/overlays/haskell-packages.nix b/nix/overlays/haskell-packages.nix index c08a1a499..6751d75a3 100644 --- a/nix/overlays/haskell-packages.nix +++ b/nix/overlays/haskell-packages.nix @@ -43,8 +43,8 @@ let (prev.callHackageDirect { pkg = "hasql-notifications"; - ver = "0.2.0.5"; - sha256 = "sha256-KV36zs/RTgJh/oBBPZaNiQshusmakWnjYTcdoNa4JLA="; + ver = "0.2.0.6"; + sha256 = "sha256-7PyFlB2B70njudOjaX6tk1m77ol9vnF5fI0LF86kVAI="; } { }); diff --git a/postgrest.cabal b/postgrest.cabal index 7c8a01b30..1fd1cef4e 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -92,7 +92,7 @@ library , gitrev >= 1.2 && < 1.4 , hasql >= 1.6.1.1 && < 1.7 , hasql-dynamic-statements >= 0.3.1 && < 0.4 - , hasql-notifications >= 0.1 && < 0.3 + , hasql-notifications >= 0.2.0.6 && < 0.3 , hasql-pool >= 0.10 && < 0.11 , hasql-transaction >= 1.0.1 && < 1.1 , heredoc >= 0.2 && < 0.3 diff --git a/stack.yaml b/stack.yaml index 0b7681545..cd42879e0 100644 --- a/stack.yaml +++ b/stack.yaml @@ -12,5 +12,5 @@ nix: extra-deps: - git: https://github.com/PostgREST/postgresql-libpq.git commit: 890a0a16cf57dd401420fdc6c7d576fb696003bc - - hasql-notifications-0.2.0.5 + - hasql-notifications-0.2.0.6 - hasql-pool-0.10 diff --git a/stack.yaml.lock b/stack.yaml.lock index a5ffc139a..dfc9c8208 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -16,12 +16,12 @@ packages: commit: 890a0a16cf57dd401420fdc6c7d576fb696003bc git: https://github.com/PostgREST/postgresql-libpq.git - completed: - hackage: hasql-notifications-0.2.0.5@sha256:6c67d2ee42e948162e89176a2f52a2c6bb562678b33688e96e048be9b3d74122,2028 + hackage: hasql-notifications-0.2.0.6@sha256:16d783f5cd1660fad924fd3769380889de5804e057f09b304dcdc3a3ff11eb3c,2028 pantry-tree: - sha256: 8493755b0817a36b910a37d568769ca49ab715ef5dd935a0d09f0716aa39da51 + sha256: 2319743501bb3c0bef801014ce61308b8666cef86ae5a97a0a283c0c1ec12d4f size: 452 original: - hackage: hasql-notifications-0.2.0.5 + hackage: hasql-notifications-0.2.0.6 - completed: hackage: hasql-pool-0.10@sha256:912197a328acb85505f98bb9700d61f366b87659ca45126c5c2d636687b801c3,2112 pantry-tree: