---
title: "ncnn 20261020 Breaking Changes on vcpkg | Since.dev"
description: "What each ncnn release removed, renamed or changed: 26 breaking changes in 9 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/ncnn
last_updated: 2026-12-04
---

# 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

Latest version `20261020`. [Source repository](https://github.com/Tencent/ncnn)

- From [20260526](#v-20260526) to [20261020](#v-20261020): 6 breaking changes in 1 version.
- From [20221128](#v-20221128) to [20261020](#v-20261020): 25 breaking changes in 8 versions.

## ncnn 20261020 breaking changes

ncnn 20261020: 6 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](https://github.com/Tencent/ncnn/releases/tag/20261020)
- **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](https://github.com/Tencent/ncnn/releases/tag/20261020)
- **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](https://github.com/Tencent/ncnn/releases/tag/20261020)
- **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](https://github.com/Tencent/ncnn/releases/tag/20261020)
- **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](https://github.com/Tencent/ncnn/releases/tag/20261020)
- **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](https://github.com/Tencent/ncnn/releases/tag/20261020)

## ncnn 20260526 breaking changes

ncnn 20260526: 2 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](https://github.com/Tencent/ncnn/releases/tag/20260526)
- **Behavior changed**  

The ncnn2int8 tool now requires a table and uses it, so int8 model generation needs the table produced by ncnn2table. [github.com](https://github.com/Tencent/ncnn/releases/tag/20260526)

## ncnn 20260113 breaking changes

ncnn 20260113: 2 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](https://github.com/Tencent/ncnn/releases/tag/20260113)
- **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](https://github.com/Tencent/ncnn/releases/tag/20260113)

## ncnn 20250916 breaking changes

ncnn 20250916: 4 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](https://github.com/Tencent/ncnn/releases/tag/20250916)
- **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](https://github.com/Tencent/ncnn/releases/tag/20250916)
- **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](https://github.com/Tencent/ncnn/releases/tag/20250916)
- **Removed** `use_image_storage`  

The use_image_storage option was removed. Code that sets it must stop doing so. [github.com](https://github.com/Tencent/ncnn/releases/tag/20250916)

## ncnn 20250428 breaking changes

ncnn 20250428: 3 breaking changes.

- **Removed**  

Prebuilt Python packages for ppc64le and s390x were removed. Users on those architectures must build from source. [github.com](https://github.com/Tencent/ncnn/releases/tag/20250428)
- **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](https://github.com/Tencent/ncnn/releases/tag/20250428)
- **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](https://github.com/Tencent/ncnn/releases/tag/20250428)

## ncnn 20241226 breaking changes

ncnn 20241226: 2 breaking changes.

- **Removed**  

Windows arm32 is no longer supported. [github.com](https://github.com/Tencent/ncnn/releases/tag/20241226)
- **Configuration changed**  

Android builds now enable 16KB page size by default and the Android API level is raised to 21. [github.com](https://github.com/Tencent/ncnn/releases/tag/20241226)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### ncnn 20240410 breaking changes

ncnn 20240410: 4 breaking changes.

- **Removed**  

Prebuilt packages for Apple bitcode and 32-bit are no longer packaged or released. [github.com](https://github.com/Tencent/ncnn/releases/tag/20240410)
- **Removed**  

Apple 32-bit builds and iOS arm64e are no longer built, and the minimum deployment target is now iOS 13. [github.com](https://github.com/Tencent/ncnn/releases/tag/20240410)

And 2 more in this version.

### ncnn 20230816 breaking changes

ncnn 20230816: 2 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](https://github.com/Tencent/ncnn/releases/tag/20230816)
- **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](https://github.com/Tencent/ncnn/releases/tag/20230816)

### ncnn 20221128 breaking changes

ncnn 20221128: 1 breaking change.

- **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](https://github.com/Tencent/ncnn/releases/tag/20221128)

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