imagehash breaking changes
imagehash 4.0 (December 7, 2017) is its newest release with breaking changes, 4 of them. The first: Signature changed imagehash.hex_to_hash. Every breaking API change we have recorded in imagehash on PyPI: 6 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
On this page
Latest version 4.3.2, released February 1, 2025.
Packages on PyPI run on Python. Python end of life dates.
imagehash 4.0 breaking changes
- Signature changed
imagehash.hex_to_hash
Was def hex_to_hash(hexstr, hash_size=8); now def hex_to_hash(hexstr). pypi.org - Signature changed
imagehash.tests.TestImageHash.check_hash_length
Was def check_hash_length(self, func, image, sizes); now def check_hash_length(self, func, image, sizes=range(2, 21)). pypi.org - Signature changed
imagehash.tests.TestImageHash.check_hash_size
Was def check_hash_size(self, func, image, size); now def check_hash_size(self, func, image, sizes=range(-1, 2)). pypi.org - Signature changed
imagehash.tests.TestImageHash.check_hash_stored
Was def check_hash_stored(self, func, image); now def check_hash_stored(self, func, image, sizes=range(2, 21)). pypi.org
imagehash 2.0 breaking changes
- Signature changed
imagehash.phash
Was def phash(image, hash_size=8); now def phash(image, hash_size=8, highfreq_factor=4). pypi.org - Signature changed
imagehash.phash_simple
Was def phash_simple(image, hash_size=8); now def phash_simple(image, hash_size=8, highfreq_factor=4). 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.