2.5.0.dev4
Pre-release
Pre-release
github-actions
released this
02 Jun 19:16
·
723 commits
to main
since this release
This is a pre-release for 2.5.0.
Highlights
- New functions for surfaces:
draw.aacircle()
andtransform.hsl
. Surfaces also have new attributesSurface.width
,Surface.height
andSurface.size
. - New window positioning API for pygame.display.
pygame.display.get/set_window_position()
- New math functions
math.invlerp
andmath.remap
- OpenGL support for the experimental Window class
- See the highlights of 2.5.0.dev2 as well: https://github.com/pygame-community/pygame-ce/releases/tag/2.5.0.dev2
What's Changed
- 2.5.0.dev2 by @Starbuck5 in #2817
- Bump to 2.5.0.dev3 by @ankith26 in #2818
- Bump actions/checkout from 4.1.2 to 4.1.3 by @dependabot in #2814
- Minor optimizations by using comprehensions by @cclauss in #2771
- Remove use of Py_BuildValue("(ii)") by @itzpr3d4t0r in #2819
- Cleanup codebase, docs and examples with American spelling by @Damus666 in #2827
- Unify freetype init codepaths by @Starbuck5 in #2801
- xwayland warning removed; documented; and debug info now contains whether x11 is running or xwayland by @oddbookworm in #2823
- Remove lint logic from setup.py by @cclauss in #2796
- Track version only in pyproject.toml by @ankith26 in #2820
- Bump actions/checkout from 4.1.3 to 4.1.4 by @dependabot in #2833
- Try sleeping in window autoresize test by @MyreMylar in #2832
- Use HasColorKey instead of GetColorKey in pgSurface_Blit by @Starbuck5 in #2835
- Updated SDL to 2.30.3 by @oddbookworm in #2837
- Simple SDL3 patches for freetype, surface, mouse by @Starbuck5 in #2838
- Format Python code with ruff format instead of black by @cclauss in #2824
- Bump gh actions mac runners (gets us native M1 builds) by @ankith26 in #2494
- Add explicit check and error for system cursor by @ankith26 in #2843
- Always call HasColorKey before GetColorKey by @Starbuck5 in #2844
- Remove cython gen files, generate in meson build by @ankith26 in #2831
- Optimized ( Rect/Frect ) unionall()/unionall_ip() by @itzpr3d4t0r in #2784
- PixelArray raise error assigning sequence to pixel by @ankith26 in #2742
- Bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot in #2851
- fix typos by @RainRat in #2847
- Fix pylint undefined usage error in sysfont by @ankith26 in #2858
- Add pygame.mouse.get_just_pressed/released() by @Damus666 in #2836
- Bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot in #2861
- Using blur on a surface with either width or height equal to 0 won't raise a ValueError by @Damus666 in #2852
- Simplified SIMD fill algorithms by @itzpr3d4t0r in #2793
- Bundle only the required pygame icon files by @ankith26 in #2854
- add instruction for
ModuleNotFoundError: No Module named setuptools
by @yohanmoon in #2868 - Deprecate
setup.py stubcheck
, suggest and use replacementbuildconfig/stubs/stubcheck.py
by @ankith26 in #2856 - Run display autoinit on window API, fixes by @ankith26 in #2860
- Force window surface update after set_size, hopefully proper fix for that pesky frequent pypy test fail by @ankith26 in #2865
- Surface properties by @ScriptLineStudios in #2813
- relax convert conditions by @robertpfeiffer in #2839
- Added shim to fix portmidi break by @oddbookworm in #2863
- Alter CODEOWNERS file to switch required PR review team by @MyreMylar in #2873
- Deprecate
setup.py docs
, make docs in meson build by @ankith26 in #2853 - Remove duplicate images in tutorials by @MyreMylar in #2871
- Add Circle
contains()
by @itzpr3d4t0r in #2791 - Bump pypa/cibuildwheel from 2.17.0 to 2.18.1 by @dependabot in #2874
- Minor changes to support pytest by @ankith26 in #2675
- Window(opengl=True) will now create an OpenGL context by @oddbookworm in #2659
- Add pygame.display.get/set_window_position() by @Damus666 in #2816
- draw.aacircle() by @mzivic7 in #2800
- Update mixer docs by @lispspb in #2738
- Add a briefcase template to pygame-ce by @Starbuck5 in #2862
- including
print_debug_info()
in issue template by @MyreMylar in #2879 - Add warning about 7.1 stereo on set_source_location by @Starbuck5 in #2881
- fix some METH_NOARGS arg missing by @pmp-p in #2888
- Fix
python -m docs
dev time convenience command by @ankith26 in #2889 - Add
transform.hsl()
by @itzpr3d4t0r in #2398 - Adjust symbol color in light theme by @MyreMylar in #2891
- Deprecate
setup.py sdist
, suggest and use replacement pypa/build based command by @ankith26 in #2875 - Add missing check in SSE2 alpha blitter by @Starbuck5 in #2896
- Add a delta of 2 ms to test_music_pause__unpause() by @MyreMylar in #2898
invlerp
andremap
implementation by @bilhox in #2654- fixed indentation of surface attributes by @oddbookworm in #2900
- Minor docs/stubs improvements in
invlerp
/remap
by @ankith26 in #2902
New Contributors
- @RainRat made their first contribution in #2847
- @yohanmoon made their first contribution in #2868
- @mzivic7 made their first contribution in #2800
Full Changelog: 2.5.0.dev2...2.5.0.dev4