Skip to content

Releases: pyglet/pyglet

v2.1.13

04 Feb 00:25

Choose a tag to compare

What's Changed

  • bugfix: check Windows version before importing shcore. by @thefatwhale in #1402
  • bugfix: fixing rotation behaviour of Sector by @igt-tsteiner in #1405
  • bugfix: gui.PushButton: fix missing argument in on_mouse_leave handler. (#1397)

New Contributors

Full Changelog: v2.1.12...v2.1.13

v3.0.dev1

12 Dec 08:27

Choose a tag to compare

pyglet v3.0 development release

v2.1.12

22 Dec 23:54

Choose a tag to compare

Bugfixes

shapes: When vertex_lists are created, ensure that the vertex data is initialized for rotation.

v2.1.11

22 Dec 23:51

Choose a tag to compare

Changes

shader: Add some missing Uniform type definitions that were missed for less common types. #1380
ffmpeg: Remove some missing attributes (libavformat version loading) that have been removed in FFMpeg 8.0.

Bugfixes

media.ffmpeg: Fix source padding issue for some sources. #1386
window.win32: Fix memory address issues when queuing events during Windows OS window creation. #1382
font.dwrite: Fix bug in font_files indixing (use first object, not font_fact index).

v2.1.10

22 Dec 23:51

Choose a tag to compare

Changes

media: Add support for FFmpeg 8.0 (#1365)
window: Update default dpi_scaling option to "platform". (#1383)
window: Convert the Window event queue to a deque. (#1362)
input.evdev: Do not attempt to reuse Controller instances on re-connect, as naming conflicts can occur.

Bugfixes

text: fix typing of Label.init's align argument. (#1361)
text: Update the passed args for attributed text. (#1379)
shader: Fixed number of elements for GL_FLOAT_MAT3 (9, not 6) in pyglet.graphics.shader._uniform_setters. (#1364)

v2.1.9

21 Sep 09:30

Choose a tag to compare

Changes

docs: Improve missing or underdeveloped math doc (#1295)
input: Add new Controller properties for polling - Controller.dpad, Controller.leftanalog, Controller.rightanalog Vec2s.

Bugfixes

input.linux.evdev: Add support for the SYN_DROPPED event, to prevent "stuck" controls when events are lost.
input.linux.evdev: Implement missing EvdevDevice.poll method.
graphics.shaders: Fix attribute pointer issue for integers. (#1351)
window.headless: Add missing abstract methods to HeadlessScreen (#1350)

v2.1.8

17 Aug 00:45

Choose a tag to compare

Changes

docs: Improve camera example documentation. (#1326)
gl: Add type hints to GL functions. (#1237) (#1325)
font: Add font shaping support to MacOSX.
window: Add support for MacOSX to have transparent windows and overlays. (#1339)
window: Add new on_clipboard_copy & on_clipboard_paste events, and add support to the Caret class. (#1313)
examples: Add a get_mouse_scale helper method to the FixedResolution class.
math: Remove if checks from __matmul__ operations for small performance improvement.

Bugfixes

font: Fix get_text_size for DirectWrite to include trailing whitespaces.
font: Cache glyphs based on unique ID and indices to reduce cache collions. (#1346)
font: Fix issue with inline elements crashing in a non-multiline scenario. (#1346)
media: Fix WMFDecoder delivering audio data as float. (#1315) (#1316)
window: Fix bugs with transparent framebuffers for transparent windows. (#1333)
window: Adjust software cursor scale factor for MacOS for HiDPI. (#1343)

v2.1.5

20 Apr 11:50

Choose a tag to compare

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

Changes

  • docs: Add shape guide crossrefs (#1291)
  • Updated the opengl torus example to work with the material updates in 3.1 (#1281)
  • Add homebrew lib search location for Apple Silicon.
  • Bump Qt example to use PySide6 and PyQt6 (#1305)

Bugfixes

  • shapes.earcut: Fix int casting bug for large polygons (#1282)
  • Linux: Use dotclock instead of rate in xlib vidmoderestore (#1285)
  • tests: Fix many interactive tests, and other test fixes
  • app: Fix run(None) crashing on macOS
  • docs: Correct the docstring for the start_angle of an arc to indicate it is in degrees and not radians (#1290)
  • controller: Fix dpad bias for controller.min > 0 (#1296)
  • controller: Only use 0x1 desktop page axis for controller indexing on macOS (#1297)
  • gui: Fix the position range of the slider knob when repositioning the slider (#1299)

v2.1.3

24 Feb 12:10

Choose a tag to compare

⚠️ 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

Changes

  • window: Change the default znear/zfar to (-8192, 8192).
  • docs: Fix top-left version display and copyright auto-generation (#1264).
  • docs: fixes in the quickstart guide, and lots of other cleanups.
  • clean up legacy super() call syntax around the codebase.

Bugfixes

  • shapes: disable depth testing by default, due to usability issues.
  • window.xlib: prevent crash if initial configuration notify event has invalid width/height.
  • window.xlib: fix screen mode showing dotclock instead of Hz.
  • model: fix the (undocumented) Sphere and Cube test shapes.
  • examples.model.fpscamera: don't normalize the movement input.
  • window: Fix ImageMouseCursor positioning not adapting to scaling (#1278).

v2.1.2

23 Jan 00:35

Choose a tag to compare

⚠️ 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.