ncnn breaking changes
ncnn 20261020 is its newest release with breaking changes, 6 of them. The first: Python 3.8 support dropped for riscv64 QEMU wheels in ncnn 20261020. Every breaking API change we have recorded in ncnn on vcpkg: 26 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 20261020. Source repository
- From 20260526 to 20261020: 6 breaking changes in 1 version.
- From 20221128 to 20261020: 25 breaking changes in 8 versions.
ncnn 20261020 breaking changes
- Removed
The riscv64 manylinux and musllinux QEMU wheels no longer include the CPython 3.8 combination. Add CPython 3.15 if you need that platform. github.com - Removed
OpenCV is now an optional extra installed with ncnn[opencv]. Code that relied on cv2 being installed with ncnn must install the extra. github.com - Behavior changed
The new KV cache layout cannot read caches built by hand or saved by earlier versions. Start new sessions from an empty cache after upgrading. github.com - Behavior changed
BF16 conversions switch from truncation to round-to-nearest on CPU and Vulkan packed paths, so stored results can differ slightly. github.com - Default changed
use_int8_arithmetic
The use_int8_arithmetic option defaults to on, filtered by device capability. Set it to off explicitly if you need the previous behavior. github.com - Configuration changed
A new NCNN_VALIDATION build option is enabled by default and adds extra checks when loading models. Models that previously loaded may now be rejected, and fixed models can turn it off to shrink the build. github.com
ncnn 20260526 breaking changes
- Behavior changed
The pnnx converter turns a single-parameter PReLU into LeakyReLU, so converted models may use a different layer type than before. github.com - Behavior changed
The ncnn2int8 tool now requires a table and uses it, so int8 model generation needs the table produced by ncnn2table. github.com
ncnn 20260113 breaking changes
- Removed
The onnx2ncnn tool is no longer compiled in this release, so users who relied on it must get it from elsewhere or switch to another conversion path. github.com - Behavior changed
A new NCNN_WINXP CMake option is added, and the build no longer defines the _WIN32_WINNT macro automatically. Code that depended on that macro being set by the build must define it itself. github.com
ncnn 20250916 breaking changes
- Removed
Extractor.set_num_threads
The deprecated Extractor::set_num_threads API was deleted in this release. Code calling it must be updated to use the remaining supported thread configuration. github.com - Removed
Extractor.set_vulkan_compute
The deprecated Extractor::set_vulkan_compute API was deleted in this release. Code calling it must be updated to use the remaining supported Vulkan configuration. github.com - Removed
support_image_storage
The support_image_storage field was removed from layers. Code reading or setting it will no longer compile or work. github.com - Removed
use_image_storage
The use_image_storage option was removed. Code that sets it must stop doing so. github.com
ncnn 20250428 breaking changes
- Removed
Prebuilt Python packages for ppc64le and s390x were removed. Users on those architectures must build from source. github.com - Removed
reshape
Reshape now supports expression-based dynamic shapes, but the permute parameter inside reshape is no longer supported. Remove it from existing model files. github.com - Default changed
ncnn2int8
The ncnn2int8 quantization tool now stores weights in fp16 by default. Set the type explicitly if you need the previous output. github.com
ncnn 20241226 breaking changes
- Removed
Windows arm32 is no longer supported. github.com - Configuration changed
Android builds now enable 16KB page size by default and the Android API level is raised to 21. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
ncnn 20240410 breaking changes
- Removed
Prebuilt packages for Apple bitcode and 32-bit are no longer packaged or released. github.com - Removed
Apple 32-bit builds and iOS arm64e are no longer built, and the minimum deployment target is now iOS 13. github.com
And 2 more in this version.
ncnn 20230816 breaking changes
- Behavior changed
Video memory allocation on AMD integrated GPUs now uses a device-first strategy. Code that depends on the previous allocation behavior should be checked. github.com - Behavior changed
VkCompute.submit_and_wait
VkCompute::submit_and_wait can now return an error code instead of always completing silently. Callers that ignore the result keep compiling but should check the new return value. github.com
ncnn 20221128 breaking changes
- Default changed
The default thread count is now the number of physical big CPU cores, so code relying on the previous default may run with a different number of threads. Set the thread count explicitly to keep the old behavior. 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.