Pyglet

Latest version: v2.1.2

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

2.1.2

⚠️ This release is part of the new 2.1 series, and has BREAKING CHANGES from the 2.0 series. Please see the migration guide in the documentation for more details: https://pyglet.readthedocs.io/en/latest/programming_guide/migration.html

Bugfixes
--------
- shapes: disable depth testing by default, due to usability issues.

2.1.1

:warning: This release is part of the new 2.1 series, and has BREAKING CHANGES from the 2.0 series. Please see the migration guide in the documentation for more details: https://pyglet.readthedocs.io/en/latest/programming_guide/migration.html

Bugfixes
--------
- input.Controller: Fix DirectInput dpad (hat control) regressions.
- input.Controller: Fix sign calculation bug for devices with analog axis as dpad.

2.1.0

MAJOR RELEASE

This is the first release in the 2.1 series, and has BREAKING CHANGES from the 2.0 series.
Please see the migration guide in the documentation for more details:
https://pyglet.readthedocs.io/en/latest/programming_guide/migration.html


Changes
-------
- Changed default argument order to bring consistency to text Labels and Layouts.
- For API consistency with other modules, Shapes now use degrees for all applicable objects.
- Controller events dispatch `Vec2`s for analog sticks and directional-pad movement.
- The `pyglet.canvas` module has been renamed to `pyglet.display`.

Features
--------
- More control over DPI scaling for Hi-DPI displays (see pyglet.options.dpi_scaling).
- Objects in the math module (Vec2/3/4, Mat3/4, Quaternion) are now all immutable and hashable.
- Shapes now offer a Z property for basic depth sorting.

2.0.21

Bugfixes
--------
- font: Fix DirectWrite bitmap width being cut off for some fonts. (1253)

2.0.20

Changes and Improvements
------------------------
- media: add support for FFmpeg 7.x

2.0.19

Changes and Improvements
------------------------
docs: update vertexbuffer.py module docstrings

Bugfixes
--------
- macos: stop F5 from autocompleting (1229)
- input.base: Don't skip Axis Controls without names
- window.xlib: don't send on_mouse_release events for scrolling (1235)

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.