aws-eventbridge-cron 0.1.2.0 → 0.1.2.1
raw patch · 3 files changed
+11/−1 lines, 3 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ AWS.EventBridge.Schedule: instance GHC.Show.Show AWS.EventBridge.Schedule.Schedule
Files
- CHANGELOG.md +4/−0
- aws-eventbridge-cron.cabal +1/−1
- src/AWS/EventBridge/Schedule.hs +6/−0
CHANGELOG.md view
@@ -5,6 +5,10 @@ The format is based on Keep a Changelog and this project adheres to Semantic Versioning. +## [0.1.2.1] - 2025-11-22+### Added+- `Show` instance for `Schedule` to facilitate REPL debugging (displays the expression and timezone label).+ ## [0.1.2.0] - 2025-11-21 ### Added - Convenience constructors (`scheduleFromExprIANA`, `scheduleFromTextIANA`, and
aws-eventbridge-cron.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0 name: aws-eventbridge-cron-version: 0.1.2.0+version: 0.1.2.1 synopsis: AWS EventBridge cron, rate, and one-time parser with scheduler description: Parse AWS EventBridge cron, rate, and one-time expressions and compute
src/AWS/EventBridge/Schedule.hs view
@@ -95,6 +95,12 @@ , scheduleZoneLabel :: TZLabel } +instance Show Schedule where+ show Schedule{..} =+ "Schedule {scheduleExpr = " <> show scheduleExpr <>+ ", scheduleZoneLabel = " <> show scheduleZoneLabel <>+ "}"+ -- | Construct a 'Schedule' from an existing 'CronExprT' and timezone label. -- -- @tz@ ships with bindings for the entire IANA database through 'TZLabel'. The