keiro-ops-http 0.24.0.0 → 0.25.0.0
raw patch · 5 files changed
+23/−17 lines, 5 filesdep ~keirodep ~keiro-migrationsdep ~keiro-opsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: keiro, keiro-migrations, keiro-ops, keiro-pgmq, keiro-test-support
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- bench/InspectionInterference.hs +1/−1
- keiro-ops-http.cabal +14/−14
- test/Main.hs +1/−1
- test/Test/WebSocketSpec.hs +1/−1
CHANGELOG.md view
@@ -2,6 +2,12 @@ ## [Unreleased] +## 0.25.0.0 — 2026-11-14++### Other Changes++- Version and internal dependency bounds align with the shared release.+ ## 0.24.0.0 — 2026-11-05 ### New Features
bench/InspectionInterference.hs view
@@ -258,7 +258,7 @@ d <- getMonotonicTimeNSec now <- getCurrentTime let timerId = Timer.TimerId (UUIDv5.generateNamed UUIDv5.namespaceURL (Bytes.unpack (Text.encodeUtf8 wid)))- checked (runTransaction (Timer.scheduleTimerTx (Timer.TimerRequest timerId "index-evidence" wid now Aeson.Null)))+ checked (runTransaction (Timer.scheduleTimerTx (Timer.TimerRequest timerId "index-evidence" wid now Aeson.Null Nothing))) claimed <- checked (Timer.claimDueTimer now) unless (maybe False (\row -> row.timerId == timerId) claimed) (fail "timer was not claimed") fired <- checked (Timer.markTimerFired timerId (EventId UUID.nil))
keiro-ops-http.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: keiro-ops-http-version: 0.24.0.0+version: 0.25.0.0 synopsis: Bounded HTTP transport for the Keiro operational command tree @@ -79,9 +79,9 @@ hasql >=1.10 && <1.11, hasql-pool >=1.2 && <1.5, http-types >=0.12 && <0.13,- keiro ^>=0.24.0.0,- keiro-migrations ^>=0.24.0.0,- keiro-ops ^>=0.24.0.0,+ keiro ^>=0.25.0.0,+ keiro-migrations ^>=0.25.0.0,+ keiro-ops ^>=0.25.0.0, kiroku-store ^>=0.13.0.1, network >=3.1 && <3.3, network-uri >=2.6.4.2 && <2.7,@@ -106,7 +106,7 @@ build-depends: base >=4.21 && <5,- keiro-ops ^>=0.24.0.0,+ keiro-ops ^>=0.25.0.0, keiro-ops-http, flag compose-example@@ -128,7 +128,7 @@ build-depends: async >=2.2 && <2.3, base >=4.21 && <5,- keiro-ops ^>=0.24.0.0,+ keiro-ops ^>=0.25.0.0, keiro-ops-http, kiroku-metrics ^>=0.4.0.1, kiroku-store ^>=0.13.0.1,@@ -160,10 +160,10 @@ http-client >=0.7 && <0.8, http-types >=0.12 && <0.13, jitsurei,- keiro ^>=0.24.0.0,- keiro-ops ^>=0.24.0.0,+ keiro ^>=0.25.0.0,+ keiro-ops ^>=0.25.0.0, keiro-ops-http,- keiro-test-support ^>=0.24.0.0,+ keiro-test-support ^>=0.25.0.0, kiroku-store ^>=0.13.0.1, process >=1.6 && <1.7, text >=2.1 && <2.2,@@ -200,12 +200,12 @@ http-client >=0.7 && <0.8, http-types >=0.12 && <0.13, jitsurei,- keiro ^>=0.24.0.0,- keiro-migrations ^>=0.24.0.0,- keiro-ops ^>=0.24.0.0,+ keiro ^>=0.25.0.0,+ keiro-migrations ^>=0.25.0.0,+ keiro-ops ^>=0.25.0.0, keiro-ops-http,- keiro-pgmq ^>=0.24.0.0,- keiro-test-support ^>=0.24.0.0,+ keiro-pgmq ^>=0.25.0.0,+ keiro-test-support ^>=0.25.0.0, kiroku-metrics ^>=0.4.0.1, kiroku-store ^>=0.13.0.1, network >=3.1 && <3.3,
test/Main.hs view
@@ -1010,7 +1010,7 @@ ) >>= either (fail . show) pure runStoreIO store (appendJournalEntry (WorkflowName "approval") (WorkflowId "wf-1") (StepRecorded "received" Null now)) >>= either (fail . show) pure- let timer = Timer.TimerRequest (Timer.TimerId UUID.nil) "billing" "invoice-1" (addUTCTime (-60) now) Null+ let timer = Timer.TimerRequest (Timer.TimerId UUID.nil) "billing" "invoice-1" (addUTCTime (-60) now) Null Nothing runStoreIO store (runTransaction (Timer.scheduleTimerTx timer)) >>= either (fail . show) pure let job = Job {jobName = "http_test", jobQueue = queueRef "http_test", jobCodec = aesonJobCodec, jobOrdering = Unordered, jobPolicy = defaultRetryPolicy} :: Job Value result <- runJobEff (JobRuntime store.pool Nothing) $ do
test/Test/WebSocketSpec.hs view
@@ -80,7 +80,7 @@ WS.runClient "127.0.0.1" port "/ws" $ \connection -> do forM_ ["timers", "projection_groups"] $ \feed -> send connection (subscribe feed) >> receive connection >>= assertType "snapshot" now <- getCurrentTime- let timer = Timer.TimerRequest (Timer.TimerId UUID.nil) "manager" "one" (addUTCTime (-60) now) Null+ let timer = Timer.TimerRequest (Timer.TimerId UUID.nil) "manager" "one" (addUTCTime (-60) now) Null Nothing stored store (runTransaction (Timer.scheduleTimerTx timer)) added <- receive connection field "feed" added `shouldBe` Just (String "timers")