Releases: pyglet/pyglet
Releases · pyglet/pyglet
v1.5.11
Bugfixes
- Added hardcoding of library paths for Big Sur temporary fallback.
- Removed some legacy Python 2 code from the documentation.
v1.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.
v1.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
andSprite.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.
v1.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.
v1.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 theresource
module leaves a 1-pixel space around images. - Many small documentation fixes and corrections.
v1.5.5
Bugfixes
- GStreamer decoder clamped to 16bit sample width, since the default OpenAL backend on Linux does
not support anything higher.
Improvements
- shapes module: added
Circle.rotation
property and blending to standalone shapedraw
methods. - shapes module: added missing
delete
and__del__
methods. - The ImageMouseCursor has a new
accelerated
parameter to allow custom mouse points to be drawn
natively on Windows and Linux.
v1.5.4
v1.5.3
Bugfixes
- Fix memory leak caused by not freeing stale buffers and textures.
v1.5.2
Bugfixes
- Fix WMF decoder for pre-Windows 8 systems.
- Fix WMF decoder loading from file-like objects for Windows Vista.
- Fix WMF decoder crashing when attempting to seek past file duration.
Changes
- Allow GStreamer and FFmpeg decoder to load from file-like objects.
v1.5.1
Improvements
- New "file_drops" Window argument to allow drag and drop of files. This is complimented
by a newWindow.on_file_drop
event, which returns the mouse position and file path.
Bugfixes
- Fix issue with changing Label positions by fractional values.
- Avoid performance issue due to unnecessary context switching with single Window programs.
- Fix crash on Player.next_source when playing a video with no audio track.
- Fix crash when disconnecting a Joystick on Windows.
- Prevent media Players from seeking to negative timestamps.
- Fix OpenAL audio driver not dispatching events.
Changes
- text.TextLayouts are no longer bound to int positioning.
- Raise exception if attempting to import from legacy Python.
- Add GStreamer decoder for compressed audio on Linux.
- Add Windows Media Foundation decoder for compressed audio on Windows.