Skip to content

Latest commit

 

History

History
370 lines (316 loc) · 15.1 KB

File metadata and controls

370 lines (316 loc) · 15.1 KB

Release News

This describes the latest changes between the PySDL2 releases.

0.9.8

Released on 2021-08-06.

New Features:

  • Updated to wrap new functions and constants in introduced in SDL2 2.0.12 and 2.0.14 (PR #163 & PR #181)
  • Fixed DLL loading issues with Python installed from the Microsoft Store on Windows (PR #185)
  • Added informative errors for when the newest SDL2 binaries found on the system are too old to be used by PySDL2 (issue #165)
  • Added support for passing SDL_Rect objects to :func:`sdl2.ext.draw.fill` (issue #169)
  • Added support for passing SDL_Surface pointers directly to many sdl2.ext functions, removing the need to explicitly use the .contents attribute.
  • Added :obj:`sdl2.ext.MessageBox`, :func:`sdl2.ext.show_messagebox`, and :func:`sdl2.ext.show_alert` as Pythonic wrappers around the SDL2 MessageBox API (PR #188)

Fixed bugs:

  • Fixed NameError when calling SDL_SetColorKey, by @mgorny (PR #166)
  • Improved detection of SDL2 binaries on macOS, by @pvallet (PR #177 & PR #178)
  • Fixed a bug preventing sdl2.ext.font.BitmapFont from being able to render, by @namelivia (PR #181)
  • Fixed sdl2.ext.Window.show behaviour under Wayland (issue #139)
  • Fixed a minor bug with the helloworld.py example (issue #174)
  • Fixed a bug that prevented the line clipping functions in :mod:`sdl2.ext.algorithms` from working if top and bottom arguments were specified backwards (issue #101)

0.9.7

Released on 2020-02-15.

  • The minimum required SDL version is 2.0.5
  • The minimum required SDL_ttf version is 2.0.14
  • The minimum required SDL_mixer version is 2.0.1
  • The minimum required SDL_image version is 2.0.1
  • Improved compatibility with older SDL2 releases by raising informative exceptions whenever a function requiring a newer SDL2 binary is called
  • added support for loading SDL2 .framework binaries on macOS
  • added built-in support for pip installation of SDL2 binaries on macOS and Windows using pysdl2-dll
  • fixed issue #75: :func:`sdl2.SDL_JoystickGetGUIDString()` and :func:`sdl2.SDL_GameControllerMappingForGUID()` no longer cause a segfault on Python < 3.8
  • fixed bug preventing use of background color with wrapped text using :meth:`sdl2.ext.FontManager.render()` (PR #134)
  • fixed issue #112: allow easy moving and resizing of :obj:`sdl2.ext.Window()` objects through 'position' and 'size' attributes, added 'open' and 'close' methods to Window objects
  • fixed issue #126: the write method for RW objects created with :func:`sdl2.rw_from_object()` now returns the correct value
  • fixed issue #130: SDL_RW* functions now accept pointers to RW objects
  • fixed issue #135: :func:`sdl2.SDL_GetPrefPath()` and :func:`sdl2.SDL_GetPrefPath()` now return bytestrings instead of pointers to strings.
  • fixed issue #136: :class:`sdl2.SysWMmsg` now properly defined and accessable for syswm events.
  • fixed issue #148: added support for loading SDL2 .so binaries with numeric suffixes on Unix-like OSes (e.g. 'libSDL2.so.2')
  • fixed issue #152: restored compatibility with recent versions of PyPy
  • fixed transparency issues with pallete indexed PNGs (PR #159)
  • updated :mod:`sdl2` to include the latest changes of SDL2 (release 2.0.10)
  • updated :mod:`sdl2.sdlttf` to include the latest changes of SDL2_ttf (release 2.0.15)
  • updated :mod:`sdl2.sdlmixer` to include the latest changes of SDL2_mixer (release 2.0.4)
  • updated :mod:`sdl2.sdlimage` to include the latest changes of SDL2_image (release 2.0.5)

Big thanks to all the GitHub users who filed bug reports and submitted pull requests for this release.

0.9.6

Released on 2017-09-30.

0.9.5

Released on 2016-10-20.

0.9.4

Released on 2016-07-07.

0.9.3

Released on 2014-07-08.

Thanks to Filip M. Nowak for the PYSDL2_DLL_PATH improvement.

0.9.2

Released on 2014-04-13.

  • fixed issue #32: the line clipping algorithms do not run into precision errors anymore
  • fixed issue #53 (again): :func:`sdl2.video.SDL_GL_ResetAttributes()` is properly wrapped now to retain backwards compatibility with previous SDL2 releases
  • fixed issue #54: text input is correctly converted for the text entry component
  • updated the example BMP files, which could not be loaded properly on some systems with SDL2_image and PIL

0.9.1

Released on 2014-04-05.

0.9.0

Released on 2014-03-23.

IMPORTANT: This release breaks backwards-compatibility. See the notes for the issues #36 and #39.

0.8.0

Released on 2013-12-30.

Thanks to Sven Eckelmann, Marcel Rodrigues, Michael McCandless, Andreas Schiefer and Franz Schrober for providing fixes and improvements.

0.7.0

Released on 2013-10-27.

Thanks to Marcel Rodrigues, Roger Flores and otus for providing fixes and improvement ideas.

0.6.0

Released on 2013-09-01.

Thanks to Steven Johnson for his enhancements to the FontManager class. Thanks to Marcel Rodrigues for the improvements to RenderContext.copy().

0.5.0

Released on 2013-08-14.

Thanks to Dan Gillett for providing the FontManager and from_text() enhancements and his patience regarding all the small change requests. Thanks to Mihail Latyshov for providing fixes to the documentation.

0.4.1

Released on 2013-07-26.

Thanks to Steven Johnson, Todd Rovito, Bil Bas and Dan McCombs for providing fixes and improvements.

0.4.0

Released on 2013-06-08.

0.3.0

Released on 2013-05-07.

0.2.0

Released on 2013-05-03.

0.1.0

Released on 2013-04-23.

  • Initial Release