---
title: "pygame 2.0.0.dev24 Breaking Changes on PyPI | Since.dev"
description: "What each pygame release removed, renamed or changed: 9 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pygame
last_updated: 2026-12-04
---

# pygame breaking changes

pygame 2.0.0.dev24 (October 28, 2020) is its newest release with breaking changes, 2 of them. The first: Integer key code constants differ between Pygame 1 and 2. Every breaking API change we have recorded in pygame on PyPI: 9 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.6.1`, released September 29, 2024. [Source repository](https://github.com/pygame/pygame)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.0.0.dev2](#v-2-0-0-dev2) to [2.0.0.dev24](#v-2-0-0-dev24): 8 breaking changes in 6 versions.

## pygame 2.0.0.dev24 breaking changes

pygame 2.0.0.dev24, released October 28, 2020: 2 breaking changes.

- **Behavior changed**  

The integer values behind key code constants differ between Pygame 1 and 2, so code that relies on raw key code integers must be checked. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev24)
- **Behavior changed** `MOUSEBUTTONUP`  

A MOUSEBUTTONUP event is now generated when the mouse wheel is used, so handlers for button release may receive extra events. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev24)

## pygame 2.0.0.dev16 breaking changes

pygame 2.0.0.dev16, released October 28, 2020: 1 breaking change.

- **Behavior changed**  

RLE flag and RLE drawing behaviour was changed so it matches pygame 1, so surfaces using RLE may now draw differently than in pygame 2 previews. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev16)

## pygame 2.0.0.dev12 breaking changes

pygame 2.0.0.dev12, released October 28, 2020: 1 breaking change.

- **Renamed**  

Joystick event field names were renamed in this pre-release, so code reading the old joystick event fields must be updated to the new names. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev12)

## pygame 2.0.0.dev10 breaking changes

pygame 2.0.0.dev10, released October 28, 2020: 2 breaking changes.

- **Behavior changed**  

Several modules' get_init() functions now always return a bool. Code that relied on an int return value may need to be checked. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev10)
- **Behavior changed** `pygame.color.Color`  

Attempts to delete Color attributes that cannot be deleted are now rejected with an AttributeError. Code that deletes such attributes will now fail. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev10)

## pygame 2.0.0.dev8 breaking changes

pygame 2.0.0.dev8, released October 28, 2020: 1 breaking change.

- **Behavior changed** `pygame.image.load`  

When the file does not exist, image.load now raises FileNotFoundError instead of the generic pygame.error. Code that catches pygame.error for missing files must catch FileNotFoundError instead. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev8)

## pygame 2.0.0.dev3 breaking changes

pygame 2.0.0.dev3, released October 28, 2020: 1 breaking change.

- **Default changed** `pygame.mixer`  

The mixer's default buffer size is now a small low-latency 512 bytes and its default audio quality is CD quality. Code that depends on the old defaults may need to pass explicit settings to pygame.mixer.init. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev3)

## Older versions

1 older version.

### pygame 2.0.0.dev2 breaking changes

pygame 2.0.0.dev2, released October 28, 2020: 1 breaking change.

- **Configuration changed**  

Source builds now target SDL2 by default. To compile against SDL 1.2, pass the -sdl1 option to setup.py. [github.com](https://github.com/pygame/pygame/releases/tag/2.0.0.dev2)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
