Skip to content

Upgrading croniter 5 to 6

Unknown5.0.1 → 6.2.4Security1New5Changed6Fixed12Other30

Fetching 8 releases from GitHub…7 / 8
UnknownUpgrade verdict

DepDelta is still reading the notes for 1 of 8 releases, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
1 item needs code or config changes

Python requirement changed in 6.1.0rc1: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.6 → >=3.9.

Drops pytz.

Installs 3 packages in all (was 4).

Security1
Fixes zizmor-reported security findings in GitHub Actions workflows.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export CroniterError
  • added: export DAY_FIELD
  • added: export HOUR_FIELD
  • added: export MINUTE_FIELD
  • added: export MONTH_FIELD
  • added: export SECOND_FIELD
  • added: export UTC_DT
  • added: export YEAR_FIELD
  • added: export cron_m
  • removed: field croniter.DAYS
  • removed: field croniter.bad_length
  • removed: function timedelta_to_seconds(td)
  • removed: method croniter.is_leap(year)
  • removed: variable ALPHAS
  • removed: variable EXPRESSIONS
  • removed: variable OrderedDict
  • changed: class croniter(object) → class croniter
  • changed: constructor croniter(expr_format, start_time=…, ret_type=…, day_or=…, max_years_between_matches=…, is_prev=…, hash_id=…, implement_cron_bug=…, second_at_beginning=…, expand_from_start_time=…) → constructor croniter(expr_format: str, start_time: Optional[Union[datetime.datetime, float]]=…, ret_type: type=…, day_or: bool=…, max_years_between_matches: Optional[int]=…, is_prev: bool=…, hash_id: Optional[Union[bytes, str]]=…, implement_cron_bug: bool=…, second_at_beginning: bool=…, expand_from_start_time: bool=…) -> None
  • changed: field croniter.ALPHACONV → field croniter.ALPHACONV: tuple[dict[str, Union[int, str]], ...]
  • changed: field croniter.LOWMAP → field croniter.LOWMAP: tuple[dict[int, int], ...]
  • changed: function is_32bit() → function is_32bit() -> bool
  • changed: method croniter.set_current(start_time, force=…) → method croniter.set_current(start_time: Optional[Union[datetime.datetime, float]], force: bool=…) -> float
  • changed: static method croniter.expand(expr_format, hash_id=…, second_at_beginning=…, from_timestamp=…) → static method croniter.expand(expr_format: str, hash_id: Optional[Union[bytes, str]]=…, second_at_beginning: bool=…, from_timestamp: Optional[float]=…, strict: bool=…, strict_year: Optional[Union[int, list[int]]]=…) -> tuple[list[ExpandedExpression], dict[int, set[int]]]
  • changed: static method croniter.is_valid(expression, hash_id=…, encoding=…, second_at_beginning=…) → static method croniter.is_valid(expression, hash_id=…, encoding=…, second_at_beginning=…, strict=…, strict_year=…)
  • changed: static method croniter.match(cron_expression, testdate, day_or=…, second_at_beginning=…) → static method croniter.match(cron_expression, testdate, day_or=…, second_at_beginning=…, precision_in_seconds=…)
  • changed: static method croniter.match_range(cron_expression, from_datetime, to_datetime, day_or=…, second_at_beginning=…) → static method croniter.match_range(cron_expression, from_datetime, to_datetime, day_or=…, second_at_beginning=…, precision_in_seconds=…)
  • changed: static method croniter.value_alias(val, field, len_expressions=…) → static method croniter.value_alias(val, field_index, len_expressions=…)
  • changed: variable DOW_ALPHAS → variable DOW_ALPHAS: dict[str, Union[int, str]]
  • changed: variable M_ALPHAS → variable M_ALPHAS: dict[str, Union[int, str]]
  • added: field croniter.DAYS_IN_MONTH
  • added: method croniter.timestamp_to_datetime(timestamp: float, tzinfo: Any=…) -> datetime.datetime
  • added: static method croniter.datetime_to_timestamp(d: datetime.datetime) -> float
  • added: variable DAYS
  • added: variable ExpandedExpression
  • added: variable MARKER
  • added: variable nearest_weekday_re