chore(deps): update dependency commerceguys/intl to v2.1.0 - #3086
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3086 +/- ##
=========================================
Coverage 97.08% 97.08%
Complexity 2531 2531
=========================================
Files 392 392
Lines 11555 11555
=========================================
Hits 11218 11218
Misses 337 337 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/commerceguys-intl-2.x-lockfile
branch
from
September 23, 2026 18:57
b508867 to
36af74d
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.7→2.1.0Release Notes
commerceguys/intl (commerceguys/intl)
v2.1.0Compare Source
Adds
Currency::getDisplayFractionDigits(), separate fromCurrency::getFractionDigits():getFractionDigits(): the ISO 4217 minor units, used for rounding and converting amounts to minor units (e.g. for payment gateways).getDisplayFractionDigits(): the CLDR display digits, used byCurrencyFormatteras the default number of decimals. Falls back togetFractionDigits()when not set.This restores the CLDR display digits that v2.0.10 replaced. COP, HUF, IDR, PKR, AFN, ALL, IQD, IRR, KPW, LAK, LBP, MGA, MMK, SOS, SYP and YER are formatted without their unused minor unit again (e.g.
9 505 Ft), while their fraction digits stay ISO 4217. Passminimum_fraction_digits/maximum_fraction_digitsto override.Currencyobjects created withoutdisplay_fraction_digits(e.g. by custom currency repositories) keep their current formatting.v2.0.10Compare Source
Currency fraction digits now come from ISO 4217 instead of CLDR.
CLDR 48 (shipped in v2.0.8) changed the fraction digits of COP, HUF, IDR and PKR from 2 to 0. Consumers such as Drupal Commerce use these digits to convert amounts to payment gateway minor units, so payments in those currencies were sent at 1/100 of the amount (see https://www.drupal.org/project/commerce/issues/3625166).
Fraction digit changes:
The default number of decimals shown by
CurrencyFormatterfollows these values, so HUF is formatted with 2 decimals again. Passmaximum_fraction_digitsto override.No other data changes.
v2.0.9Compare Source
Tagged by mistake: identical to v2.0.8. Use v2.0.10, which contains the fraction digits fix.
v2.0.8Compare Source
Update to CLDR v48.2.
cldr-jsonv48.2.0 + ISO currency list, regenerated currency/language/locale/number-format data.src/Currency/CurrencyRepository.php,src/Language/LanguageRepository.php,src/Locale.php($parents),src/NumberFormat/NumberFormatRepository.php, plusresources/currency/andresources/language/JSON.scripts/generate_number_format_data.php: it wasn't escaping single quotes in exported values, which broke onde-CH/de-LI's new apostrophe grouping separator (') — addedaddslashes().fr-CHnow uses'as grouping separator per CLDR v48.2) — root cause was genuine data change, not a bad test.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.