# What changed in valkey

> 8 changes in valkey 6 from its official release notes, upgrade guides and advisories: 1 breaking, 1 deprecations, 2 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/pypi/valkey/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## valkey 6

### Breaking changes

- The project replaces hiredis with libvalkey, changing the dependency used by the client. (6.0.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.0.0)

### Deprecations

- PyPy 3.8 is deprecated in favor of PyPy 3.10. (6.0.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.0.0)

### New APIs and options

- Adds HSETEX support to the Python client. (6.2.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.2.0)
- Adds max_tries to transaction(). (6.2.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.2.0)

### Tooling

- The project adds support for Python 3.12. (6.0.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.0.0)

### Fixes and other changes

- Prevents async-cluster reinitialization after an explicit aclose(). (6.2.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.2.0)
- Adds Python 3.15 support. (6.2.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.2.0)
- Validation around service_uri is consolidated into a single validation function. (6.0.0) — [release notes](https://github.com/valkey-io/valkey-py/releases/tag/v6.0.0)
