Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Releases: mattrobineau/planif

v1.0.1

04 Jun 02:15
90e228e
Compare
Choose a tag to compare

[1.0.1]

Fixed

  • Fixed duration returning empty string when only seconds are specified.

v1.0.0

17 Nov 01:39
d57df03
Compare
Choose a tag to compare

[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 of str
  • Change schedule_builders 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
  • Moved ComRuntime to planif::com module

v0.2.2

16 Jun 20:53
Compare
Choose a tag to compare

Added

  1. Add Duration struct to ease usage of delays and other methods using string duration formats
  2. Add tests for Duration to_string() impl
  3. Add ability to specify a folder for scheduled tasks
  4. Update examples for in_folder()

1 and 2 are groundwork for the 1.0 release and will not impact current users

v0.2.1

22 Oct 03:25
Compare
Choose a tag to compare

Updated

  • Updated documentation
  • Add deny missing docs

v0.2.0

10 Oct 03:46
Compare
Choose a tag to compare

Added

  • Add builder function for a task's settings
  • Add NetworkSettings (removed from Settings)
  • Add IdleSettings (also removed from Settings)

v0.1.1

04 Aug 20:38
Compare
Choose a tag to compare

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 the Last value to be 0x80000000. For the time being, the library ignores
    the overflow error with #[allow(overflowing_literals)].

0.1.0

31 Jul 02:53
Compare
Choose a tag to compare

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

10 May 17:50
Compare
Choose a tag to compare

Added

  • Added several more trigger types
  • Updated documentation from MS docs
  • Added examples for using each trigger
  • Added license

https://crates.io/crates/planif