Pyglet

Latest version: v2.0.18

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

Scan your dependencies

Page 6 of 9

1.5.13

Bugfixes
--------
- Fix crash on looping video with no sound (322)
- OSX: Replace remaining usage of `find_library` to fix Big Sur issues (332)
- Windows: Fix default orientation for the XAudio2 listener.

Features
--------
- Add new `shape.Triangle` shape.
- Windows: `on_key_press` now dispatches unique events for left/right Shift keys.

1.5.11

Bugfixes
--------
- Added hardcoding of library paths for Big Sur temporary fallback.
- Removed some legacy Python 2 code from the documentation.

1.5.9

Bugfixes
--------
- Explicitly cast media.synthesis data to bytes to prevent issues on some audio drivers.
- Refactor WIC module to work with new com module. (298)
- Prevent crash when setting `shapes.Circle.visable`. (294)
- Remove deprecated `tostring` calls in PIL/PNG decoders to prevent crash on Python 3.9. (295, 302)

Improvements
------------
- Add new Xaudio2 driver. (288)
- Refactor pyglet's lazy module loading to better support code inspection.
- Added new `TextEntry` widget.

1.5.8

Improvements
------------
- Added new experimental `gui` module. Currently this only contains basic widgets.
- Added new `Group.visible` property, to toggle rendering of entire Groups when used in a Batch.
- Added `Sprite.paused` and `Sprite.frame_index` helper properties for controlling Animations.
- Reorganized the examples folder.
- Added new CenteredCamera example.
- Backport pyglet.math from 2.0, for more exposure and testing.
- Consolidate Codec logic into base class to reuse among various modules.

1.5.7

Bugfixes
--------
- Fix crash when no audio device is available.
- Prevent `__del__` spam in DirectSound buffers and Wave decoder.
- Explicitly cast warnings.warn message to a str to prevent numba error.

1.5.6

Bugfixes
--------
- Fix infinite recursion error on OSX. (5)
- The on_mouse_scroll event no longer clamps to int, preventing lost motion on trackpads.
- Prevent traceback when DirectSound buffers are garbage collected on exit.
- Fix StaticSource playback with WMF decoder (streaming=False).
- Fix colorspace for WMF video decoding.
- Prevent crash on garbage collection for FFmpeg decoder.

Improvements
------------
- New image decoder leveraging Windows Imaging Component (WIC).
- TextureAtlas/Bins now have a `border` argument for leaving n-pixels of blank space around
images when adding. By default the `resource` module leaves a 1-pixel space around images.
- Many small documentation fixes and corrections.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.