wemake-services / kira

:chipmunk: Project management framework with deep philosophy underneath
70 stars 14 forks source link

Bump timex from 3.6.0 to 3.7.1 #152

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps timex from 3.6.0 to 3.7.1.

Changelog

Sourced from timex's changelog.

3.7.1

Fixed

  • local/0 and local/1 were incorrectly returning TimezoneInfo structs due to a bad match

3.7.0

Potentially Breaking

  • Elixir 1.8+ is now required
  • Tzdata 1.0+ is now required
  • If you were previously relying on ? suffixed functions to return {:error, reason} if given invalid date/time inputs (other than is_valid?), these functions now always return booleans and raise if an error with the input is encountered

Added/Changed

  • Refactored much of the library to delegate to the Calendar API where appropriate, we now make more of an effort to avoid duplication of the standard library functionality
  • Functions with the ? suffix now correctly raise on invalid inputs, and always return booleans. This was implicitly broken before, we need to follow convention here.
  • Local timezone handling no longer requires parsing the zoneinfo files, instead we attempt to observe the timezone name that is active and feed that into the timezone database directly. We were just using the abbreviations before, but that wasn't correct behavior at all. In the future we may want to support the system timezone database as a proper implementation of Calendar.TimeZoneDatabase, but for now we've just removed the unnecessary parsing work that was going on here.
  • Timex.today/1 which returns today's date in the provided timezone

Fixed

  • Handling of timezones across DST. More generally we now handle gaps/ambiguity much more consistently
  • ZoneInfo parser was refactored, now properly supports version 2/3 files, addresses some small bugs in previous code
  • Some incorrect/redundant typespecs were removed/fixed
  • We now support alternative timezone databases for API operations that do not need to interact with the Timex.Timezone module directly. That module is still tied to tzdata for now, but in the future may be modified to remove the direct dependency.

3.6.4

Potentially Breaking

... (truncated)

Commits
  • 6b0511d version 3.7.1
  • cc9d106 fix: local/0,1 incorrectly matched on timezone value
  • 0e410b6 fix: backport missing calendar apis needed after 1.8
  • e8e65b0 ci: use erlef/setup-elixir action
  • d396d1b ci: fix workflow
  • 1511c04 doc: update changelog
  • 9c5d4cf Add Timex.today(timezone)
  • 8e104c9 doc: fix layout
  • e63b571 Fix Markdown formatting in moduledoc
  • 2d374a0 Fix zero behavior for default duration formatter
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #153.