Skip to content

v0.1.3

Choose a tag to compare

@0mjs 0mjs released this 22 Apr 15:03
· 52 commits to dev since this release

Changelog

0.1.3

Changes since v0.1.2.

Added

  • Added a first-party in-memory jobs add-on under github.com/0mjs/zinc/jobs.
  • Added named job handlers, worker-pool runners, delayed jobs with EnqueueIn, retry handling with configurable backoff, failed-job inspection with Failed, and lifecycle hooks through EventHandler.
  • Added recurring scheduling via five-field cron expressions, @every intervals, named aliases such as @hourly, @daily, and @weekly, plus Schedule, Cron, and Unschedule.
  • Added examples/jobs-cron and the Scheduled Jobs cookbook for HTTP-triggered enqueueing and graceful shutdown patterns.

Changed

  • Expanded the README and docs to cover the Jobs package, refreshed the getting-started guides, and added the Templ UI cookbook entry.
  • Refreshed the docs site structure, cookbook index, and presentation around the new Jobs documentation.

Quality

  • Expanded regression coverage across the Jobs package, core app lifecycle, response helpers, static serving, wrappers, and middleware behaviors such as CSRF, gzip, proxying, redirects, and hardening.
  • Added Jobs package tests for enqueue/decode flow, retries, exponential backoff, pending counts, runner waiting, failed-job tracking, delayed jobs, cron scheduling, duplicate schedule rejection, unscheduling, and schedule parsing edge cases.
  • Reported full-suite coverage improved from 83.4% in the v0.1.2 README snapshot to 86.3% on the latest local run of go test -count=1 ./... -coverprofile=coverage.out.
  • Latest local package coverage: core 86.1%, jobs 86.2%, middleware 87.2%.