Croniter

Latest version: v5.0.1

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 14

1.0.13

-------------------

- Fix ZeroDivisionError with ``* * R/0 * *``
[cuu508]

1.0.12

-------------------

- Add support for hashed/random/keyword expressions
Ryan Finnie (rfinnie)
- Review support support for hashed/random/keyword expression and add expanders reactor
[ kiorky ]

1.0.11

-------------------

- fix bug: bad case:``0 6 30 3 *``
[zed2015(zhangchi)]
- Add support for ``L`` in the day_of_week component. This enable expressions like ``* * * * L4``, which means last Thursday of the month. This resolves 159.
[Kintyre]
- Create ``CroniterUnsupportedSyntaxError`` exception for situations where CRON syntax may be valid but some combinations of features is not supported.
Currently, this is used when the ``day_of_week`` component has a combination of literal values and nth/last syntax at the same time.
For example, ``0 0 * * 1,L6`` or ``0 0 * * 15,sat1`` will both raise this exception because of mixing literal days of the week with nth-weekday or last-weekday syntax.
This *may* impact existing cron expressions in prior releases, because ``0 0 * * 15,sat1`` was previously allowed but incorrectly handled.
[Kintyre]

- Update ``croniter_range()`` to allow an alternate ``croniter`` class to be used. Helpful when using a custom class derived from croniter.
[Kintyre]

1.0.10

-------------------

- Remove external library ``natsort``.
Sorting of cron expression components now handled with ``sorted()`` with a custom ``key`` function.
[Kintyre]

1.0.9

------------------

- Remove futures dependency
[kiorky]

1.0.8

------------------

- Update `_expand` to lowercase each component of the expression.
This is in relation to 157. With this change, croniter accepts and correctly handles `* * 10-L * *`.
[cuu508]

Page 7 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.