openhtj2k breaking changes
openhtj2k 0.30.0 (November 30, 2026) is its newest release with breaking changes. The first: Behavior changed set_col_range. Every breaking API change we have recorded in openhtj2k on vcpkg: 19 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.30.0, released November 30, 2026. Source repository
openhtj2k 0.30.0 breaking changes
- Behavior changed
set_col_range
Decoded output is otherwise byte-identical. With a column window set, the pixels outside that window are now indeterminate, so code must not read them. github.com
openhtj2k 0.29.1 breaking changes
- Behavior changed
A codestream with no data for some tiles now produces one missing-tile warning per decode instead of one per tile. Code that counts or logs these warnings will see fewer of them. github.com
openhtj2k 0.29.0 breaking changes
- Behavior changed
invoke_line_based
An image with a component that has no columns or rows at the resolution being decoded is now refused as not supported by the invoke_line_based entry points, where it used to decode to nothing. Code that decodes such images will now get an... github.com - Behavior changed
open_htj2k.image
The image reader now refuses a PPM or TIFF file when it is one of several input files. Pass such a file on its own. github.com - Signature changed
CacheModel.apply
CacheModel::apply() now takes CacheModel::Limits describing the image. Callers must pass the limits, which the server sets from its codestream index. github.com - Signature changed
CacheModel.parse
CacheModel::parse() now takes CacheModel::Limits describing the image. Callers must pass the limits, which the server sets from its codestream index. github.com
openhtj2k 0.26.0 breaking changes
- Behavior changed
Qfactor on 4:2:0 and 4:2:2 colour input now uses the version 2.0 chroma weights, so files encoded at the same Qfactor are larger and the chroma steps are finer. Users who need the previous output size must expect different files. github.com
openhtj2k 0.25.0 breaking changes
- Behavior changed
Warnings now reach only a handler set with open_htj2k::set_message_handler(); without one they are dropped, and errors are thrown as exceptions instead of printed. github.com - Behavior changed
Codestreams whose tile, precinct or code-block state exceeds a budget are now rejected as not supported, even if they are valid. github.com - Behavior changed
Encodes with Qguard=0 under the irreversible transform now throw an exception; use at least one guard bit. github.com - Behavior changed
invoke_line_based_stream
Callers with such subsampling get an exception from the streaming entry point and must use invoke_line_based() instead; the row callback also runs once per common-grid row. github.com - Behavior changed
num_threads
A decoder or encoder with num_threads set to 1 no longer uses the shared pool once another instance has created it. github.com - Behavior changed
use_color_trafo
Images whose three components differ in bit depth or signedness are encoded without the colour transform, with a warning. github.com - Configuration changed
Consumers no longer receive OPENHTJ2K_THREAD, OPENHTJ2K_TIFF_SUPPORT and similar macros; code that depends on them must define them itself. github.com
openhtj2k 0.23.4 breaking changes
- Behavior changed
set_col_range
With a nonzero image origin or subsampled components, set_col_range() now interprets the window in output columns, so existing windows select different columns than before. github.com
Older versions
3 older versions.
Show 3 older versions
openhtj2k 0.23.2 breaking changes
- Behavior changed
open_htj2k_dec used to exit successfully when a per-component output file could not be opened; it now exits with an error. github.com
openhtj2k 0.23.0 breaking changes
- Behavior changed
get_component_height
get_component_height() now reports the true sample height of subsampled components, which is one row smaller in some cases than before. github.com - Behavior changed
get_component_width
get_component_width() now reports the true sample width of subsampled components, which is one column smaller in some cases than before. github.com
openhtj2k 0.21.0 breaking changes
- Behavior changed
Lossy decodes differ from earlier releases by up to 1 LSB at 8 and 12 bits and up to 8 LSB at 16 bits; lossless output is unchanged. Re-check any code that depends on exact decoded sample values. github.com
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.