2.4.1
🎩⚓📺💽🦾🎩⚓📺💽🦾🎩⚓📺💽🦾
pip uninstall pygame
(if previously installed, to avoid package conflicts)
pip install pygame-ce --upgrade
🎩⚓📺💽🦾🎩⚓📺💽🦾🎩⚓📺💽🦾
Hello! This is a smaller release focused on bugfixes and small updates that we've developed on the course to 2.5.0. Rather than waiting for 2.5.0 to get these out into the world, we're doing this release to get bugfixes and small updates out into the world as soon as possible.
Special thanks to all our contributors and reviewers. Check out the changes!
Bugfixes
- @Starbuck5 Fixed a
2.3.0
regression wheresysfont
wouldn't provide real bold/italic fonts. (Thanks @RasmusTufvesson for reporting this). #2678 - @Starbuck5 Fixed a rare bug involving
libpng16-16.dll
. #2674 - @Matiiss Fixed a segfault that could be triggered in
Surface.fblits
. #2667 - @gresm Changed local docs viewing (
python -m pygame.docs
) to launch a webserver on Linux, to get around permissions issues with some Linux environments. This can be accessed explicitly aspython -m pygame.docs.serve
. #2676 - @pmp-p Fixed the webassembly build setup. #2653
- @Matiiss Fixed a memory leak in
Renderer.to_surface
. #2665
Dependencies
- @Matiiss updated the build to
SDL_ttf 2.22.0
(fixing an issue where"\n\n"
would segfault multiline-rendering). #2688 - @ankith26 updated the build to
SDL_mixer 2.8.0
(adding support forwavpack
music/sound). #2703 - @Starbuck5 updated the build to
SDL_image 2.8.2
(also fixing a rare bug involving libpng, mentioned earlier). #2674
Documentation and examples
- @Matiiss updated the bug report template. #2669
- @Matiiss improved the Window.flip error message when no surface is associated with the Window. #2633
- @Matiiss furthered deprecation of deprecated sprite groups. #2666
- @szabolcsdombi Fixed documentation of a Window parameter name (allow_highdpi -> allow_high_dpi). #2704
- @itzpr3d4t0r Added more links to the
special_flags
page. #2708 - @oddbookworm removed use of the
display
depth parameter in examples. #2644
CI and tests
- @MyreMylar kept the CI running error-free by adjusting to a Python 3.12.2 change. #2715
- @ankith26 improved test resiliency and coverage. #2640, #2641, #2647
- @Starbuck5 fixed code formatting for latest black version. #2697
- @dependabot kept github actions up to date. #2612, #2613, #2663, #2671, #2701, #2700, #2702, #2710
New contributors
- @szabolcsdombi made their first contribution in #2704
Community showcase
Clear Code released a new pygame tutorial meant specifically for pygame-ce
, check it out: https://www.youtube.com/watch?v=WViyCAa6yLI
Full Changelog: 2.4.0...2.4.1