simplejson breaking changes
simplejson 4.0.0 (April 18, 2026) is its newest release with breaking changes, 9 of them. The first: simplejson 4.0.0 drops support for Python 2.5 and 2.6 and requires Python 2.7 or later. Every breaking API change we have recorded in simplejson on PyPI: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.3.0, released November 10, 2026. Source repository
Its 4.0.0 release requires Python 2.7 or later. Python end of life dates.
simplejson 4.0.0 breaking changes
- Removed
simplejson 4 requires Python 2.7 or Python 3.8 or later, and pip will not install it on older versions. Stay on simplejson 3.x if you need those Python versions. github.com - Removed
simplejson.tests.test_decode.TestDecode.assertIs
TestDecode.assertIs was removed in simplejson 4.0.0 pypi.org - Behavior changed
The pure-Python decoder no longer accepts Unicode digits such as fullwidth digits in numbers, matching the C scanner. Input that relied on them will now fail. github.com - Behavior changed
For list, tuple or dict subclasses that define _asdict(), the Python encoder now uses the _asdict() return value, as the C encoder already did. Encoded output for such objects may change. github.com - Behavior changed
Inputs such as [1,] and {"a": 1,} still fail, but with the message "Illegal trailing comma before end of object/array". Code that matches the old error text must be updated. github.com - Signature changed
simplejson.encoder.encode_basestring
Was def encode_basestring(s, _PY3=PY3, _q='"'); now encode_basestring. pypi.org - Signature changed
simplejson.JSONDecoder.__init__
Was def __init__(self, encoding=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None, allow_nan=False); now def __init__(self, encoding=None, object_hook=None, parse_float=None... pypi.org - Signature changed
simplejson.load
Was def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, use_decimal=False, allow_nan=False, **kw); now def load(fp, encoding=None, cls=None... pypi.org - Signature changed
simplejson.loads
Was def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, use_decimal=False, allow_nan=False, **kw); now def loads(s, encoding=None, cls=None... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.