NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #2337 most downloaded on PyPI
pyglet is a cross-platform games and multimedia package.
Latest stable
2.1.19
Last release 6 days ago
09 Nov 2026
Ships fairly regularly
a new release about every 4 weeks
Most releases are documented
notes for 44 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
17 years old
164 releases · first in 2010
Drag across the ruler to compare, or tap a release to open it.
Fix Config.opengl_api being always set to None.
Nothing published for this version
Windows: only enable DirectWrite color font for supported OSes.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
pyglet has been upgraded to use use OpenGL 3.3+ core functionality.
pyglet 2.0.0 Major Release
pyglet.math module including common Matrix and Vector operations.pyglet.graphics.shader module for easily managing Shader objects.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
image: Fix name error on Windows when using WIC decoder
Add support for mouse buttons 4 & 5 on Windows and Linux
Windows - stop setting HWND_TOPMOST for fullscreen windows
Nothing published for this version
Add initial support for FFmpeg 5.0
on_resize event not dispatched when set_size is called.Windows - Add win32_disable_shaping option. This can improve font performance when shaping isn't required.
win32_disable_shaping option. This can improve font performance when shaping isn't required.If the PyOgg module is installed, it can be used for loading various Vorbis audio formats.
angle and start_angle property/setter to shapes.Sector.A new MovableFrame that allows repositioning Widgets when a specified key modifier is held.
opacity and visible attributes, similar to Sprites.Experimental support for transparent and overlay windows on Linux and Windows.
Nothing published for this version
Update pypng lib to avoid deprecated functions
FFmpeg decoder add FF_INPUT_BUFFER_PADDING_SIZE to buffers.
shapes.Star shape.3d model obj decoder supports multiple material types
pyglet.options["advanced_font_features"] = Trueposition property to Text Layouts, to mimic other classes.shapes.Circle segment calculation will always use a minimum of 14 segments.
Bugfix and maintenance release
Fix interlaced mp3 decoding in GStreamer backend.
WaveEncoder for saving audio Sources to disk.Fix crash on looping video with no sound
find_library to fix Big Sur issues (#332)shape.Triangle shape.on_key_press now dispatches unique events for left/right Shift keys.Added hardcoding of library paths for Big Sur temporary fallback.
Nothing published for this version
Remove deprecated tostring calls in PIL/PNG decoders to prevent crash on Python 3.9. (#295, #302)
shapes.Circle.visable. (#294)tostring calls in PIL/PNG decoders to prevent crash on Python 3.9. (#295, #302)TextEntry widget.Added new experimental gui module. Currently this only contains basic widgets.
gui module. Currently this only contains basic widgets.Group.visible property, to toggle rendering of entire Groups when used in a Batch.Sprite.paused and Sprite.frame_index helper properties for controlling Animations.Fix crash when no audio device is available.
__del__ spam in DirectSound buffers and Wave decoder.Fix infinite recursion error on OSX.
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.GStreamer decoder clamped to 16bit sample width, since the default OpenAL backend on Linux does not support anything higher.
Circle.rotation property and blending to standalone shape draw methods.delete and __del__ methods.accelerated parameter to allow custom mouse points to be drawn
natively on Windows and Linux.One column per quarter.