Skip to content

Update brick/math requirement from >=0.12, <0.19 to >=0.12, <0.20 - #178

Merged
juankuquintana merged 1 commit into
mainfrom
dependabot/composer/brick/math-gte-0.12-and-lt-0.20
Aug 7, 2026
Merged

Update brick/math requirement from >=0.12, <0.19 to >=0.12, <0.20#178
juankuquintana merged 1 commit into
mainfrom
dependabot/composer/brick/math-gte-0.12-and-lt-0.20

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 6, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on brick/math to permit the latest version.

Release notes

Sourced from brick/math's releases.

0.19.0

New features

  • New rounding mode: RoundingMode::HalfOdd
  • New method: RoundingMode::fromNativeRoundingMode() converts from a native PHP RoundingMode enum (PHP 8.4+)
Changelog

Sourced from brick/math's changelog.

0.19.0 - 2026-07-30

New features

  • New rounding mode: RoundingMode::HalfOdd
  • New method: RoundingMode::fromNativeRoundingMode() converts from a native PHP RoundingMode enum (PHP 8.4+)

0.18.0 - 2026-06-14

💥 Breaking changes

The following breaking change only affects you if you're using named arguments:

  • BigInteger::fromBytes() now uses $bytes as the parameter name

🐛 Bug fixes

  • of() no longer accepts a trailing newline (\n) in the input string; such input now throws NumberFormatException
  • of() now consistently throws NumberFormatException for exponents too large to process, instead of IntegerOverflowException in some cases
  • BigInteger::fromBase() now reports the invalid character with its original case in the NumberFormatException message, instead of lower-casing it

⚡️ Performance improvements

  • BigInteger::gcd() no longer exhausts memory on large inputs when the GMP extension is not installed
  • BigInteger::modInverse() no longer exhausts memory on large inputs, and is faster when the GMP extension is not installed

👌 Static analysis improvements

  • Narrowed parameter and return types with static analysis annotations:
    • nthRoot()'s $n is now positive-int
    • BigInteger::toBase(), toArbitraryBase(), toBytes() and BigRational::toRepeatingDecimalString() now return non-empty-string

0.17.2 - 2026-05-25

New features

  • New methods: BigInteger::nthRoot() and BigDecimal::nthRoot() compute the nth root of a number (#113 by @​Pablo1Gustavo)

0.17.1 - 2026-04-19

👌 Improvements

  • More precise float approximations in BigRational::toFloat()

0.17.0 - 2026-03-17

💥 Breaking changes

  • Deprecated method BigDecimal::hasNonZeroFractionalPart() has been removed, use ! $number->getFractionalPart()->isZero() instead
  • Exception constructors and factory methods are now @internal

... (truncated)

Commits
  • b61d8e6 Prepare for release
  • c9cb77a Fix skipped assertions
  • 9ddf7e7 Implement RoundingMode::fromNativeRoundingMode()
  • 3ac369f Refactor Calculator::divRound()
  • be587bd Introduce RoundingMode::HalfOdd
  • fcd3e93 Update .gitattributes to include CHANGELOG.md
  • df21341 CHANGELOG.md and codecov.yml slipped into the release
  • 8294432 Update CHANGELOG
  • 714ba90 Prepare for release
  • f3d7fce Drop unused second coefficient from gcdExtended()
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [brick/math](https://github.com/brick/math) to permit the latest version.
- [Release notes](https://github.com/brick/math/releases)
- [Changelog](https://github.com/brick/math/blob/main/CHANGELOG.md)
- [Commits](brick/math@0.12.0...0.19.0)

---
updated-dependencies:
- dependency-name: brick/math
  dependency-version: 0.19.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. task labels Aug 6, 2026
@juankuquintana juankuquintana self-assigned this Aug 7, 2026
@juankuquintana
juankuquintana merged commit bf061ae into main Aug 7, 2026
4 of 5 checks passed
@juankuquintana
juankuquintana deleted the dependabot/composer/brick/math-gte-0.12-and-lt-0.20 branch August 7, 2026 14:10
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. task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant