Releases: pyglet/pyglet
Releases · pyglet/pyglet
v2.0.5
Changes and Improvements
- windows.key: add support for extended function keys
- Windows now uses "Apartment Threaded" mode for better compatibility with other libraries.
- image: allow blanking newly created Textures (skipped by default when creating from image).
Bugfixes
- input.macos: Fix ControllerManager hot-plugging on macOS.
- font.windows: Fix 32bit crashes with DirectWrite font backend.
- math: Fix incorrect calculation in Mat4.look_at method.
- image: Fix blitting from regions, caused by invalid unpacking settings.
v2.0.4
Changes and Improvements
- input.win32: ControlManager now supports both DirectInput and XInput devices.
- input: Many cleanups and reorganization.
- math: Add Vec2.reflect method.
- shapes: Add new BezierCurve shape.
- gl: Add support for GL sync functions.
Bugfixes
- gui: Prevent two TextEntry widgets from being active at the same time. #747
- win32: Fix broken lib debug, and multiple related bugs due to depreacted functions.
- input: Controller mappings now indexed correctly on macOS and Windows.
v2.0.3
Changes and Improvements
- shapes: Batch and Group can now be changed on shapes after instantiation, similar to Sprites.
- font: DirectWrite & Freetype fonts now expose a
filename
attribute. macOS not yet implemented. - Windows: DirectWrite fonts parse font names in a more correct manner. Setting
pyglet.options['dw_legacy_naming']
to True will restore the old behavior, but this may be removed at a later date. - math: Vec types can now be updated with slices (
velocity[:] = 1, 2
) - math: Matrix operations now behave more like GLSL.
Bugfixes
- macOS: fix crash when supplying OpenGL Config without explicit major/minor versions #739
- To prevent crashing on many OpenGL drivers, Textures are no longer initialized with empty data.
- fixed
font_comparison.py
example.
v2.0.2
Bugfixes
- Fix Config.opengl_api being always set to None.
- Windows: fix Display.get_default_screen() always returning the first index.
Changes
- Remove legacy Xlib backend code.
- Add initial support for Compute Shaders.
- Windows: a high performance event timer is requested by the PlatformEventLoop.
v2.0.1
Bugfixes
- Windows: only enable DirectWrite color font for supported OSes.
- gui: don't unset TextEntry widget focus on mouse motion.
- image: Prevent BufferManager crash when stencil buffer query fails #703
- macOS input: fix broken get_guid link for Controllers.
- math: fix Mat4.look_at. #708
- shader: fix vertex_list passing id instead of self to Batch.get_domain
- shapes: fix crash when setting Arc.visible = False
Changes
- shapes: add Arc.start_angle setter
- graphics: Various default Group changes to help improve Group consolidation
v2.0.0
pyglet 2.0.0
Major Release
Changes
- pyglet has been upgraded to use use OpenGL 3.3+ core functionality.
- All high level modules have been internally updated to use modern OpenGL.
- A large number of cleanups and optimizations.
Features
- New
pyglet.math
module including common Matrix and Vector operations. - New
pyglet.graphics.shader
module for easily managing Shader objects. - New OpenGL bindings, and binding tools.
- New Game Controller API for modern game controllers, including rumble and automapping.
- New Framebuffer classes.
v1.5.27
v1.5.24
Features
- Add initial support for FFmpeg 5.0
- Windows - The GDI font renderer now supports Unicode font names.
Bugfixes
- Windows - Fix
on_resize
event not dispatched whenset_size
is called. - Documentation updates, fixed links, and corrections.
- Windows - Fix crash when font characters are more than one codepoint in length.
v1.5.23
Features
- Windows - Add
win32_disable_shaping
option. This can improve font performance when shaping isn't required. - Backport the latest pyglet.math module changes from the development branch.
Bugfixes
- Linux - Fix crash when Gstreamer Gst bindings are not installed.
- Fix math.Vec4.clamp method.
v1.5.22
Features
- If the PyOgg module is installed, it can be used for loading various Vorbis audio formats.
- Add a new CameraGroup example, to show implementing a Camera with pyglet's Groups.
- Add
angle
andstart_angle
property/setter toshapes.Sector
. - Windows - new WMF based encoder for faster saving of common image formats.
Bugfixes
- Fix indexing error when setting text.Label.opacity (#481)
- Windows - Fix shift modifier + exclusive mouse mode (#472)
- Linux - Prevent non-Tablet devices from being detected as Tablets (#491)
- Windows - Prevent distortion with multiple XAudio2 audio sources (#515)
- Fix frame dropping bug with FFMpeg decoder.
- Windows - Fix Video alpha channel for WMF decoder.
- Varios documentation and docstring fixes. Thanks everyone!