2.5.3.dev2
Pre-release
Pre-release
Hello! This is a preview release for 2.5.3, which should be out in a week or so. Included are the GitHub autogenerated release notes, for the full release we will clean these up to be more human readable.
What's Changed
- 2.5.2.dev2 by @Starbuck5 in #3173
- Start 2.5.3.dev1 by @Starbuck5 in #3174
- Fix TGA save bug, add test by @ankith26 in #3169
- Bump actions/checkout from 4.2.0 to 4.2.1 by @dependabot in #3175
- Bump actions/cache from 4.1.0 to 4.1.1 by @dependabot in #3176
- Minor fixes and changes to
geometry.pyi
stub file by @aatle in #3172 - Better meson error on windows when libraries versions are not correct by @bilhox in #3178
- Image module SDL3 support by @Starbuck5 in #3166
- Allow erasing pixels in pygame.Surface.scroll and add repeat functionality by @damusss in #2855
- Include the explicit type in
ColorLike
andRectLike
by @aatle in #3183 - Add main guard to examples (+ incredibly small fixes) by @damusss in #3181
- Bump uraimo/run-on-arch-action from 2.7.2 to 2.8.1 by @dependabot in #3200
- Bump actions/cache from 4.1.1 to 4.1.2 by @dependabot in #3198
- Fix latest SDL3 and MSYS2 fails by @ankith26 in #3201
- Bump actions/checkout from 4.2.1 to 4.2.2 by @dependabot in #3199
- Ignore new gcc version mask array bounds warning by @ankith26 in #3186
- Fix grammar and formatting in Window docs by @gavinmorrow in #3194
- Start getting base module ready for SDL3 by @Starbuck5 in #3171
- Bump SDL2 to 2.30.9 and SDL3 to 3.1.6 by @ankith26 in #3203
- Correct draw.aaline docs by @Starbuck5 in #3204
- Fix window docs by @Starbuck5 in #3205
- Add
dev.py
implementing dev command shorthands by @ankith26 in #3128 - Port time, surflock and constants to SDL3 by @ankith26 in #3206
- Add Russian readme by @XORandom in #3138
- Raise minimum supported SDL2 to 2.0.14 by @ankith26 in #3213
- Bump actions/attest-build-provenance from 1.4.3 to 1.4.4 by @dependabot in #3220
- Use SequenceLike in geometry stubs by @ankith26 in #3212
- Port event.c to SDL3 by @ankith26 in #3217
- Allow all color types mask.from_threshold and fix typing for PixelArray methods by @damusss in #3164
- Batch and error check allocations by @Starbuck5 in #3224
- Update mixer documentation by @GabrieleLS in #3228
- fixing grammar by @JovialKnoll in #3231
- Fix SDL3 CI apt issues by @ankith26 in #3233
- Utility Window implementation. by @gresm in #3226
- Drop python 3.8 support by @ankith26 in #3143
- Bump docker/metadata-action from 5.5.1 to 5.6.1 by @dependabot in #3241
- Bump pypa/cibuildwheel from 2.21.3 to 2.22.0 by @dependabot in #3240
- Remove unnecessary calls to PyNumber_Index, PyLong_Checks by @Starbuck5 in #3242
- updated 'in' operator for sys.platform linux check by @sonotopes in #3246
- Draw arc test in draw_test.py by @Akaracy in #3230
- Bump build dependencies and use
dev.py
on msys2/multiarch CI by @ankith26 in #3211 - Added
Line
methods andlength
attribute by @MrRedstone058 in #3179 - Fix failing tests: change
Tuple[float, float]
toPoint
ingeometry.pyi
by @aatle in #3248 - Bump docker/build-push-action from 6.9.0 to 6.10.0 by @dependabot in #3250
- Deprecate
Window
foreign
kwarg andWindow.focus
input_only
kwarg by @ankith26 in #3234 - Add missing newline in sndarray.rst and cursors.rst by @yunline in #3257
- Bump actions/cache from 4.1.2 to 4.2.0 by @dependabot in #3259
- Bump actions/attest-build-provenance from 1.4.4 to 2.0.1 by @dependabot in #3260
- Add BLENDMODE_MUL to constants by @yunline in #3258
- this statement seems to be false, removing by @JovialKnoll in #3263
- Bump SDL2 to 2.30.10 by @ankith26 in #3261
- Optimize pg_Two(Ints/Floats)FromObj by @Starbuck5 in #3214
- Bump actions/attest-build-provenance from 2.0.1 to 2.1.0 by @dependabot in #3267
- Typo fixes by @Starbuck5 in #3266
- Correct
pygame.display
stubs by @aatle in #3264 - Docs updates (mainly to mixer) by @Starbuck5 in #3272
- Bump SDL2_image to 2.8.3 by @ankith26 in #3271
- Fix mypy to 1.13.0 to avoid all duplication by @MyreMylar in #3277
- Rename TestTags so it doesn't get confused for a test by @MyreMylar in #3276
- Fix most of the Deprecation Warnings in surfarray_test by @MyreMylar in #3274
- add and modified readme for Traditional Chinese. by @noahcse in #3113
- Port imageext.c to SDL3(_image) by @ankith26 in #3262
- Add runtime support for
pygame.sprite.AbstractGroup
subscripts by @Matiiss in #3053 - Generate reST/ref docs from python or stub files, move time and cursors docs by @zoldalma999 in #3188
- Document how volume is stored internally for
(get|set)_volume
functions and methods by @Matiiss in #3091 - Bump SDL to 2.30.11 and SDL_ttf to 2.24.0 by @ankith26 in #3279
- Remove unnecessary lock in gfxdraw by @Starbuck5 in #3280
- event.peek return bool, minor doc/stub fixes by @ankith26 in #3283
- SDL3: restructure cliprect handling in draw.c by @Starbuck5 in #3278
- Bump SDL2_image and SDL3 prerelease by @Starbuck5 in #3286
- Bump docker/build-push-action from 6.10.0 to 6.11.0 by @dependabot in #3290
- Port key and mouse to SDL3 by @ankith26 in #3207
- Introduce PG_SURF_FORMATENUM macro (SDL3 compat) by @Starbuck5 in #3294
- Drop circleci, use gh actions for arm manylinux by @ankith26 in #3293
- Fix/improve _sdl2 stubs by @ankith26 in #3300
- Bump docker/build-push-action from 6.11.0 to 6.12.0 by @dependabot in #3299
- Expand init parameters for
Window
by @damusss in #3295 - Optimize correct colordict entries by @damusss in #3297
- Port window.c to SDL3 by @ankith26 in #3251
- Move get_rect helper to c_api by @MightyJosip in #3303
- Optimize for str hex color values by @ankith26 in #3302
- Bump SDL3 / SDL3_image prebuilts by @Starbuck5 in #3304
- Mask SDL3 by @Starbuck5 in #3307
- Freetype typing fixes, enhancements to dict/tuple/ellipsis typing by @ankith26 in #3301
- Pixelcopy SDL3 by @Starbuck5 in #3308
- Bump actions/attest-build-provenance from 2.1.0 to 2.2.0 by @dependabot in #3313
- Bump docker/build-push-action from 6.12.0 to 6.13.0 by @dependabot in #3312
- Mark old xType aliases as deprecated by @Starbuck5 in #3288
- Docs fix for time, weird generation in c api by @Starbuck5 in #3316
- General maintenance: Minor dev.py fixes, SDL(2+3) and deps updates by @ankith26 in #3322
New Contributors
- @gavinmorrow made their first contribution in #3194
- @XORandom made their first contribution in #3138
- @GabrieleLS made their first contribution in #3228
- @JovialKnoll made their first contribution in #3231
- @sonotopes made their first contribution in #3246
- @Akaracy made their first contribution in #3230
- @noahcse made their first contribution in #3113
Full Changelog: 2.5.2.dev2...2.5.3.dev2