Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ex_cldr_units from 2.8.1 to 3.11.0 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 8, 2022

Bumps ex_cldr_units from 2.8.1 to 3.11.0.

Release notes

Sourced from ex_cldr_units's releases.

Cldr Units version 3.11.0

Bug Fixes

  • Fix canonical base unit calculation when the unit is a per per form like candela per lux.

Enhancements

  • Add unit filters for Cldr.Unit.parse/2. This means that the options :only and :except can comprise both unit categories and unit names as part of the filter.

Cldr Units version 3.10.0

Bug Fixes

  • Further refinement to Cldr.Unit.unit_category/1 to return a result in a broader range of cases.

Enhancements

  • Adds :only and :except options to Cldr.Unit.parse/2. These options provide a mechanism to disambiguate the unit when a unit string could refer to more than one unit. For example, "2w" could refer to either "2 weeks" or "2 watts". If neither option is provided then the result is the same as in prior releases: the unit with the lexically shorter and alphabetically earlier unit is returned.

Cldr Units version 3.9.2

Bug Fixes

  • Fix Cldr.Unit.unit_category/1. Thanks to @​DaTrader for the report. Closes #24.

Cldr Units version 3.9.1

Bug Fixes

  • Support parsing units with multiple "per" clauses like "gallon per feet per second".

  • Fix canonical unit name for currency units. This also fixes unit math with currency units.

  • Add display_name/2 to backend modules.

Cldr Units version 3.9.0

Bug Fixes

  • Use import Config not deprecated use Mix.Config in config files. Only significant for developers of ex_cldr_units.

  • Make decimal a required dependency, not optional, since various pattern matches expect its presence.

Enhancements

  • Add support for currency-based units. This allows for calculations and formatting of units such as "$2 per gallon". For this example, the unit would be created with Cldr.Unit.new(2, "curr-usd-per-gallon"). The inverse is also possible, for example:
iex> MyApp.Cldr.Unit.to_string(Cldr.Unit.new!(2, "curr-usd-per-gallon"))
{:ok, "$2.00 per gallon"}
iex> MyApp.Cldr.Unit.to_string(Cldr.Unit.new!(2, "gallon-per-curr-usd"))
{:ok, "2 gallons per US dollar"}

... (truncated)

Changelog

Sourced from ex_cldr_units's changelog.

Cldr_Units v3.11.0

This is the changelog for Cldr_units v3.11.0 released on January 6th, 2022. For older changelogs please consult the release tag on GitHub

Bug Fixes

  • Fix canonical base unit calculation when the unit is a per per form like candela per lux.

Enhancements

  • Add unit filters for Cldr.Unit.parse/2. This means that the options :only and :except can comprise both unit categories and unit names as part of the filter.

Cldr_Units v3.10.0

This is the changelog for Cldr_units v3.10.0 released on December 27th, 2021. For older changelogs please consult the release tag on GitHub

Bug Fixes

  • Further refinement to Cldr.Unit.unit_category/1 to return a result in a broader range of cases.

Enhancements

  • Adds :only and :except options to Cldr.Unit.parse/2. These options provide a mechanism to disambiguate the unit when a unit string could refer to more than one unit. For example, "2w" could refer to either "2 weeks" or "2 watts". If neither option is provided then the result is the same as in prior releases: the unit with the lexically shorter and alphabetically earlier unit is returned.

Cldr_Units v3.9.2

This is the changelog for Cldr_units v3.9.2 released on December 26th, 2021. For older changelogs please consult the release tag on GitHub

Bug Fixes

  • Fix Cldr.Unit.unit_category/1. Thanks to @​DaTrader for the report. Closes #24.

Cldr_Units v3.9.1

This is the changelog for Cldr_units v3.9.1 released on November 15th, 2021. For older changelogs please consult the release tag on GitHub

Bug Fixes

  • Support parsing units with multiple "per" clauses like "gallon per feet per second".

  • Fix canonical unit name for currency units. This also fixes unit math with currency units.

  • Add display_name/2 to backend modules.

Cldr_Units v3.9.0

This is the changelog for Cldr_units v3.9.0 released on November 14th, 2021. For older changelogs please consult the release tag on GitHub

Bug Fixes

... (truncated)

Commits

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)

Bumps [ex_cldr_units](https://github.com/elixir-cldr/cldr_units) from 2.8.1 to 3.11.0.
- [Release notes](https://github.com/elixir-cldr/cldr_units/releases)
- [Changelog](https://github.com/elixir-cldr/cldr_units/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-cldr/cldr_units/commits/v3.11.0)

---
updated-dependencies:
- dependency-name: ex_cldr_units
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants