Skip to content

release: v0.4.1 - #39

Merged
stav121 merged 1 commit into
mainfrom
release/v0.4.1
Aug 23, 2026
Merged

release: v0.4.1#39
stav121 merged 1 commit into
mainfrom
release/v0.4.1

Conversation

@stav121

@stav121 stav121 commented Aug 23, 2026

Copy link
Copy Markdown
Owner
  • Added TaskScheduler::add_task_get_id, which returns the id assigned to a task so callers can address an unnamed task through a SchedulerHandle; add_task now delegates to it
  • Added schedule-helper builders that generate the cron expression for common cadences: TaskBuilder::every_seconds/every_minutes/every_hours/hourly_at/daily_at (out-of-range values are rejected by build(), like an invalid cron string)
  • Step-state now streams live during a run: SchedulerHandle::step_states(id) reflects each step transition as it happens, so a completed early step is visible while a later step is still pending (previously only the final snapshot was published)
  • Added examples/schedule_helpers_and_streaming.rs demonstrating every_seconds, add_task_get_id and live step streaming; updated README (schedule helpers + live streaming note) and lib.rs Highlights
  • Added unit and doctests (88 unit + 45 doctests by default; 90 unit + 45 doctests with --features serde); clippy, fmt and cargo doc clean
  • Bumped version to 0.4.1

- Added TaskScheduler::add_task_get_id, which returns the id assigned to a task so callers can address an unnamed task through a SchedulerHandle; add_task now delegates to it
- Added schedule-helper builders that generate the cron expression for common cadences: TaskBuilder::every_seconds/every_minutes/every_hours/hourly_at/daily_at (out-of-range values are rejected by build(), like an invalid cron string)
- Step-state now streams live during a run: SchedulerHandle::step_states(id) reflects each step transition as it happens, so a completed early step is visible while a later step is still pending (previously only the final snapshot was published)
- Added examples/schedule_helpers_and_streaming.rs demonstrating every_seconds, add_task_get_id and live step streaming; updated README (schedule helpers + live streaming note) and lib.rs Highlights
- Added unit and doctests (88 unit + 45 doctests by default; 90 unit + 45 doctests with --features serde); clippy, fmt and cargo doc clean
- Bumped version to 0.4.1
@stav121 stav121 added the enhancement New feature or request label Aug 23, 2026
@stav121
stav121 merged commit b39e1fc into main Aug 23, 2026
2 of 3 checks passed
@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.63636% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.46%. Comparing base (595d606) to head (d45dc33).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/task.rs 71.42% 6 Missing ⚠️
src/scheduler.rs 87.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   75.72%   76.46%   +0.74%     
==========================================
  Files           7        7              
  Lines         659      684      +25     
==========================================
+ Hits          499      523      +24     
- Misses        160      161       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant