This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
Releases: mattrobineau/planif
Releases · mattrobineau/planif
v1.0.1
v1.0.0
[1.0]
🚨🚨 This update brings breaking changes. 🚨🚨
Added
- Add
Duration
struct to ease usage of delays and other methods using string duration formats - Add Default impl for
Duration
- Add tests for
Duration
to_string() impl - Add example for multiple builders reusing a com runtime
- Change namespaces for
TaskCreationFlags
- Bump version to 1.0
- Bump windows dependency to 0.48.0 and fix related breaking changes
- Add tests for
Duration
to_string() impl - Add ability to specify a folder for scheduled tasks
- Update examples for in_folder()
- Add
planif::schedule::TaskScheduler
for handling COM creation
Breaking changes
- Change
delay
methods to take durations instead ofstr
- Change
schedule_builder
s to take in a ComRuntime when creating them.- ComRuntime allows users to create multiple builders while reusing the com and stops users from accidentally
dropping the com
- ComRuntime allows users to create multiple builders while reusing the com and stops users from accidentally
- Moved
ComRuntime
toplanif::com
module
v0.2.2
Added
- Add
Duration
struct to ease usage of delays and other methods using string duration formats - Add tests for
Duration
to_string() impl - Add ability to specify a folder for scheduled tasks
- Update examples for in_folder()
1 and 2 are groundwork for the 1.0 release and will not impact current users
v0.2.1
Updated
- Updated documentation
- Add deny missing docs
v0.2.0
Added
- Add builder function for a task's settings
- Add
NetworkSettings
(removed fromSettings
) - Add
IdleSettings
(also removed fromSettings
)
v0.1.1
Added
- Examples for monthly and monthly dow (day of week)
- Added Error when not setting a start_boundary for calendar events
Fixed
- Assign value queries to trigger
- Fix documentation examples
- Fix DaysOfMonth values
- Fix Month values
- Fix monthly and monthly dow triggers
Known issues
- Setting the DaysOfMonth to
DaysOfMonth::Last
causes an i32 overflow. The windows-rs call to
SetDaysOfMonth
takes an i32 but also expects theLast
value to be0x80000000
. For the time being, the library ignores
the overflow error with#[allow(overflowing_literals)]
.
0.1.0
This release completes the available triggers in the Windows Task Scheduler.
Added
- Add monthly dow trigger
- Add monthly trigger
- Add Changelog
- Add event trigger
- Add registration trigger
Changed
- Improve documentation
- Change triggers to accept bools instead of i16
- Update cargo toml
- Update readme
Fixed
- Fix casting issues
- Removed mutability to parameters that do not need it
v0.0.1
Added
- Added several more trigger types
- Updated documentation from MS docs
- Added examples for using each trigger
- Added license