diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eb95e350..778f17c13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. From versio ## Unreleased +### Fixed + +- JWT validation uses wrong current time due to a bug in auto-update by @mkleczek in #5159 + ## [16.0] - 2026-08-07 ### Changes diff --git a/cabal.project.freeze b/cabal.project.freeze index 3a6585aae..592014d46 100644 --- a/cabal.project.freeze +++ b/cabal.project.freeze @@ -1 +1 @@ -index-state: hackage.haskell.org 2026-07-11T17:34:10Z +index-state: hackage.haskell.org 2026-08-10T16:58:32Z diff --git a/nix/overlays/haskell-packages.nix b/nix/overlays/haskell-packages.nix index 7e2a48de1..ad0647ae4 100644 --- a/nix/overlays/haskell-packages.nix +++ b/nix/overlays/haskell-packages.nix @@ -49,6 +49,16 @@ let # Before upgrading fuzzyset to 0.3, check: https://github.com/PostgREST/postgrest/issues/3329 fuzzyset = prev.fuzzyset_0_2_4; + # TODO: Remove once available in nixpkgs + auto-update = + prev.callHackageDirect + { + pkg = "auto-update"; + ver = "0.2.7"; + sha256 = "sha256-fHX/OqF/cB9rbpGpLUtA29bcEJS43HUWHcK55yUxKoo="; + } + { }; + # TODO: Remove once available in nixpkgs aeson-jsonpath = prev.callHackageDirect diff --git a/postgrest.cabal b/postgrest.cabal index 029bb99e2..bbf030b61 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -106,7 +106,7 @@ library , Ranged-sets >= 0.3 && < 0.6 , aeson >= 2.0.3 && < 2.3 , aeson-jsonpath >= 0.4.2 && < 0.5 - , auto-update >= 0.1.4 && < 0.3 + , auto-update >= 0.2.7 && < 0.3 , base64-bytestring >= 1 && < 1.3 , bytestring >= 0.10.8 && < 0.13 , case-insensitive >= 1.2 && < 1.3 diff --git a/stack.yaml b/stack.yaml index d903ebb8d..c7cefd7a7 100644 --- a/stack.yaml +++ b/stack.yaml @@ -10,6 +10,7 @@ nix: extra-deps: - aeson-jsonpath-0.4.2.0 + - auto-update-0.2.7 - configurator-pg-0.2.11 - fuzzyset-0.2.4 - hasql-notifications-0.2.4.0 diff --git a/stack.yaml.lock b/stack.yaml.lock index aa4553abc..a60215ac9 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -11,6 +11,13 @@ packages: size: 2160 original: hackage: aeson-jsonpath-0.4.2.0 +- completed: + hackage: auto-update-0.2.7@sha256:32ca6ce351604a17ee79e4086939f798f958f8407478288e9adb7adeb194c6ea,1670 + pantry-tree: + sha256: 641faa7d5ee516195ecd4b538f170722d56f84e3bc5714c6bbe8123849b49983 + size: 1105 + original: + hackage: auto-update-0.2.7 - completed: hackage: configurator-pg-0.2.11@sha256:de0c56386591e85159436b0af04a8f15a4f4e156354e99709676c2c2ee959505,2850 pantry-tree: