Skip to content

chore(deps): bump pocketmine/math from 0.2.6 to 1.0.0#335

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/pocketmine/math-1.0.0
Open

chore(deps): bump pocketmine/math from 0.2.6 to 1.0.0#335
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/pocketmine/math-1.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps pocketmine/math from 0.2.6 to 1.0.0.

Release notes

Sourced from pocketmine/math's releases.

1.0.0

Changes since 0.4.3

  • Added Facing::OFFSET constant (map of facing directions to their coordinate offsets)
  • Added AxisAlignedBB->offsetTowards() and AxisAlignedBB->offsetTowardsCopy() - moves the BB in the given direction by a specified distance
  • Modernize and cleanup code to PHP 8.0 standards

Despite the version bump to 1.0.0, this isn't a huge release. Staying on 0.x for so long was a mistake that needed to be corrected.

0.4.3

Changes since 0.4.2

  • Fixed deprecation warning from Matrix::offsetGet() (missed due to PHPStan bug).
  • Added more specific documentation for VoxelRayTrace::betweenPoints().

0.4.2

  • Improved error messages for Facing::rotate() when given incompatible axes and facings - they now show the names instead of the integer ID.

0.4.1

Changes since 0.4.0

  • Fixed deprecation warnings in Matrix on PHP 8.1.

0.4.0

Changes since 0.3.x

  • PHP 8.0 is now required.
  • Native union types have been applied to the following Vector3 elements:
    • __construct()
    • getX()
    • getY()
    • getZ()
    • add()
    • subtract()
    • maxPlainDistance()
    • withComponents()
    • x, y and z fields
  • Vector2 x and y fields now use native float property types.
  • Vector2->__construct() parameters are now mandatory.
  • Added Vector2->addVector(Vector2) and Vector2->subtractVector(Vector2), replacing the overloaded behaviour of add() and subtract().
  • Vector2->add() no longer accepts Vector2 in the first argument (use addVector() instead).
  • Vector2->subtract() no longer accepts Vector2 in the first argument (use subtractVector() instead).
  • Vector2->distance() no longer accepts float, float (now Vector2 is required).
  • Vector2->distanceSquared() no longer accepts float, float (now Vector2 is required).
  • Matrix has been modernized. All cases that used to return false on error now throw exceptions instead.
  • Axis, AxisAlignedBB, Facing, Math, VectorMath and VoxelRayTrace are now final.

0.3.0

This is a feature release, featuring significant API changes compared to 0.2.x.

Changes since 0.2.x

New features

  • Added Facing class, which allows using and manipulating 3D Facing values.
    • Vector3::SIDE_* constants are removed and replaced with Facing::* constants.

... (truncated)

Commits
  • dc132d9 Modernize code
  • d2beb9d AxisAlignedBB: clean up code in calculateIntercept()
  • 44fd696 AxisAlignedBB: modernize extend() code
  • cf12e7a Vector3: simplify getSide()
  • 2c0be33 AxisAlignedBB: added offsetTowards() and offsetTowardsCopy()
  • 3557f51 Rename constant
  • 3cdc59a Added Facing::OFFSETS constant
  • 2c6e6af composer: allow any newer patch release of phpstan
  • a70b95a Update phpstan/phpstan requirement from 1.9.14 to 1.10.3 (#83)
  • 12541f9 Update phpstan/phpstan requirement from 1.8.11 to 1.9.14 (#82)
  • 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 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)

Bumps [pocketmine/math](https://github.com/pmmp/Math) from 0.2.6 to 1.0.0.
- [Release notes](https://github.com/pmmp/Math/releases)
- [Commits](pmmp/Math@0.2.6...1.0.0)

---
updated-dependencies:
- dependency-name: pocketmine/math
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 13, 2026
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 php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants