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

# ujson breaking changes

ujson 6.0.0 (September 4, 2026) is its newest release with breaking changes, 2 of them. The first: Bytes-like input support reduced to bytes and bytearray only in ujson 6.0.0. Every breaking API change we have recorded in ujson on PyPI: 3 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.1.0`, released November 3, 2026. [Source repository](https://github.com/ultrajson/ultrajson)

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

- From [5.13.0](#v-5-13-0) to [6.0.0](#v-6-0-0): 2 breaking changes in 1 version.

## ujson 6.0.0 breaking changes

ujson 6.0.0, released September 4, 2026: 2 breaking changes.

- **Removed**  

Only bytes and bytearray are accepted as bytes-like input now; other bytes-like types are no longer supported. Convert other buffer types to bytes before passing them in. [github.com](https://github.com/ultrajson/ultrajson/releases/tag/6.0.0)
- **Behavior changed** `ujson.loads`  

ujson.loads() now rejects some invalid UTF-8 byte sequences that were previously accepted. Code relying on lenient decoding of such input must be updated. [github.com](https://github.com/ultrajson/ultrajson/releases/tag/6.0.0)

## ujson 5.13.0 breaking changes

ujson 5.13.0, released June 14, 2026: 1 breaking change.

- **Behavior changed** `ujson.dumps`  

Byte strings passed to ujson.dumps with reject_bytes=False are now checked more strictly for valid UTF-8. Code that dumps bytes containing invalid UTF-8 may now get an error and needs to fix its input. [github.com](https://github.com/ultrajson/ultrajson/releases/tag/5.13.0)

## 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.
