v0.1.3
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 withFailed, and lifecycle hooks throughEventHandler. - Added recurring scheduling via five-field cron expressions,
@everyintervals, named aliases such as@hourly,@daily, and@weekly, plusSchedule,Cron, andUnschedule. - Added
examples/jobs-cronand theScheduled Jobscookbook 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 thev0.1.2README snapshot to86.3%on the latest local run ofgo test -count=1 ./... -coverprofile=coverage.out. - Latest local package coverage: core
86.1%, jobs86.2%, middleware87.2%.