packages feed

kiroku-otel 0.2.0.10 → 0.2.0.11

raw patch · 4 files changed

+53/−25 lines, 4 filesdep ~kiroku-storePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: kiroku-store

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,17 @@ # kiroku-otel changelog +## 0.2.0.11 — 2026-10-10++### Bug Fixes++* Handle typed publisher decode failures and distinguish `StopUndecodable` in+  subscription stop attributes. Advisory handler-stall events leave span state+  unchanged; stall counters are supplied by kiroku-metrics.++### Other Changes++* Require `kiroku-store ^>=0.10.0.0`. The tracer's exported API is unchanged.+ ## 0.2.0.10 — 2026-09-25  ### Other Changes
+ LICENSE view
@@ -0,0 +1,11 @@+Copyright (c) 2026 Nadeem Bitar.++Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:++1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.++2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.++3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
kiroku-otel.cabal view
@@ -1,6 +1,6 @@ cabal-version:   3.0 name:            kiroku-otel-version:         0.2.0.10+version:         0.2.0.11 synopsis:   OpenTelemetry W3C trace-context helpers for Kiroku event metadata @@ -15,6 +15,7 @@ author:          Nadeem Bitar maintainer:      nadeem@gmail.com license:         BSD-3-Clause+license-file:    LICENSE build-type:      Simple category:        Database, Eventing, Observability extra-doc-files: CHANGELOG.md@@ -42,18 +43,18 @@     Kiroku.Otel.TraceContext    build-depends:-    , aeson                                  >=2.1      && <2.3-    , base                                   >=4.18     && <5-    , bytestring                             >=0.11     && <0.13-    , containers                             >=0.6      && <0.8-    , generic-lens                           >=2.2      && <2.4+    , aeson                                  >=2.1       && <2.3+    , base                                   >=4.18      && <5+    , bytestring                             >=0.11      && <0.13+    , containers                             >=0.6       && <0.8+    , generic-lens                           >=2.2       && <2.4     , hs-opentelemetry-api                   ^>=1.0     , hs-opentelemetry-propagator-w3c        ^>=1.0     , hs-opentelemetry-semantic-conventions  ^>=1.40-    , kiroku-store                           ^>=0.9.0.1-    , lens                                   >=5.2      && <5.4-    , text                                   >=2.0      && <2.2-    , unordered-containers                   >=0.2      && <0.3+    , kiroku-store                           ^>=0.10.0.0+    , lens                                   >=5.2       && <5.4+    , text                                   >=2.0       && <2.2+    , unordered-containers                   >=0.2       && <0.3    hs-source-dirs:  src @@ -64,23 +65,23 @@   hs-source-dirs: test   ghc-options:    -threaded -rtsopts -with-rtsopts=-N   build-depends:-    , aeson                                >=2.1      && <2.3-    , base                                 >=4.18     && <5-    , bytestring                           >=0.11     && <0.13-    , containers                           >=0.6      && <0.8-    , ephemeral-pg                         >=0.3.1    && <0.4-    , generic-lens                         >=2.2      && <2.4-    , hasql-pool                           >=1.2      && <1.5+    , aeson                                >=2.1       && <2.3+    , base                                 >=4.18      && <5+    , bytestring                           >=0.11      && <0.13+    , containers                           >=0.6       && <0.8+    , ephemeral-pg                         >=0.3.1     && <0.4+    , generic-lens                         >=2.2       && <2.4+    , hasql-pool                           >=1.2       && <1.5     , hs-opentelemetry-api     , hs-opentelemetry-exporter-in-memory  ^>=1.0     , hs-opentelemetry-sdk                 ^>=1.0-    , hspec                                >=2.10     && <2.12+    , hspec                                >=2.10      && <2.12     , kiroku-otel-    , kiroku-store                         ^>=0.9.0.1+    , kiroku-store                         ^>=0.10.0.0     , kiroku-test-support-    , lens                                 >=5.2      && <5.4-    , stm                                  >=2.5      && <2.6-    , text                                 >=2.0      && <2.2-    , time                                 >=1.12     && <1.15-    , unordered-containers                 >=0.2      && <0.3-    , uuid                                 >=1.3      && <1.4+    , lens                                 >=5.2       && <5.4+    , stm                                  >=2.5       && <2.6+    , text                                 >=2.0       && <2.2+    , time                                 >=1.12      && <1.15+    , unordered-containers                 >=0.2       && <0.3+    , uuid                                 >=1.3       && <1.4
src/Kiroku/Otel/Subscription.hs view
@@ -222,6 +222,8 @@     -- produces the terminal span.     KirokuEventSubscriptionCheckpointResolved{} -> pure ()     KirokuEventSubscriptionCheckpointMissing{} -> pure ()+    KirokuEventSubscriptionTargetBound{} -> pure ()+    KirokuEventSubscriptionGroupSizeMismatch{} -> pure ()     KirokuEventSubscriptionStarted name pos grp ->         withKey cell (keyOf name grp) $ \st -> do             -- Defensively close a catch-up span left open by a prior episode.@@ -366,6 +368,8 @@     KirokuEventNotifierReconnected -> pure ()     KirokuEventPublisherPoolError{} -> pure ()     KirokuEventPublisherLoopError{} -> pure ()+    KirokuEventPublisherDecodeFailed{} -> pure ()+    KirokuEventSubscriptionHandlerStalled{} -> pure ()     KirokuEventHardDeleteIssued{} -> pure ()     KirokuEventHistoryRetentionLeaseAcquired{} -> pure ()     KirokuEventHistoryRetentionLeaseRenewed{} -> pure ()