libavif breaking changes
libavif 1.0.0 is its newest release with breaking changes, 19 of them. The first: Renamed avifImageMirror.mode. Every breaking API change we have recorded in libavif on vcpkg: 31 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.4.2. Source repository
- From 0.11.0 to 1.0.0: 19 breaking changes in 1 version.
- From 0.10.0 to 1.0.0: 29 breaking changes in 2 versions.
libavif 1.0.0 breaking changes
- Renamed
avifImageMirror.mode
Use the axis member instead of mode. github.com - Behavior changed
The SVT-AV1 encoder now uses constant rate factor instead of constant quantization parameter rate control. github.com - Behavior changed
avifEncoder.keyframeInterval
Now guarantees at least one keyframe per n consecutive frames instead of a keyframe on every nth frame. github.com - Behavior changed
avifImageCopy
Source U and V channels may no longer be NULL when Y is not NULL and AVIF_PLANES_YUV is specified. github.com - Behavior changed
avifReadImage
avifReadImage, avifJPEGRead and avifPNGRead now remove a trailing zero byte from read XMP chunks. github.com - Default changed
Metadata is now written by default; XMP payloads over 65502 bytes are still not written to JPEG. github.com - Default changed
avifEncoder.maxQuantizer
If minQuantizer and maxQuantizer are left at defaults, output quality changes. Set quality instead of the quantizer members. github.com - Default changed
avifEncoder.maxQuantizerAlpha
If the alpha quantizers are left at defaults, alpha output quality changes. Set qualityAlpha instead. github.com - Signature changed
avifEncoderSetCodecSpecificOption
The function previously returned void; callers should now check the returned avifResult. github.com - Signature changed
avifFullToLimitedUV
The depth parameter changed from int to uint32_t. github.com - Signature changed
avifFullToLimitedY
The depth parameter changed from int to uint32_t. github.com - Signature changed
avifImageSetMetadataExif
The function previously returned void; callers should now check the returned avifResult. github.com - Signature changed
avifImageSetMetadataXMP
The function previously returned void; callers should now check the returned avifResult. github.com - Signature changed
avifImageSetProfileICC
The function previously returned void; callers should now check the returned avifResult. github.com - Signature changed
avifLimitedToFullUV
The depth parameter changed from int to uint32_t. github.com - Signature changed
avifLimitedToFullY
The depth parameter changed from int to uint32_t. github.com - Signature changed
avifRGBImageAllocatePixels
The function previously returned void; callers should now check the returned avifResult. github.com - Signature changed
avifRWDataRealloc
The function previously returned void; callers should now check the returned avifResult. github.com - Signature changed
avifRWDataSet
The function previously returned void; callers should now check the returned avifResult. github.com
libavif 0.11.0 breaking changes
- Removed
avifCodecConfigurationBox
The avifCodecConfigurationBox struct is now a private type for libavif internal use and should no longer be used by applications. github.com - Removed
avifImage.alphaRange
The alphaRange field was removed from the avifImage struct; alpha is now presumed full range. Code using it must be updated and recompiled. github.com - Behavior changed
avifenc
In avifenc and avifdec, all arguments starting with '-' are now treated as options, which can change how command lines parse. github.com - Behavior changed
avifImageCreate
avifImageCreate now takes uint32_t instead of int parameters; recompile code that calls it. github.com - Behavior changed
avifImageRGBToYUV
avifImageRGBToYUV() now uses libyuv fast paths and may slightly change conversion results. Set chromaDownsampling to AVIF_CHROMA_DOWNSAMPLING_BEST_QUALITY and avoidLibYUV to AVIF_TRUE to restore the old behavior. github.com - Behavior changed
avifRGBImage.chromaUpsampling
avifRGBImage::chromaUpsampling only applies to conversions needing upsampling from 4:2:0 or 4:2:2 and no longer affects libyuv use; set avoidLibYUV to control libyuv. github.com - Default changed
avifenc
Input Exif orientation is now converted to irot/imir by default, and grayscale PNGs encode as 4:0:0 YUV. github.com - Configuration changed
The build now requires CMake 3.13 or later instead of 3.5. github.com - Signature changed
avifImageAllocatePlanes
avifImageAllocatePlanes() now returns avifResult to report errors; callers must recompile and check the return value. github.com - Signature changed
avifImageCopy
avifImageCopy() now returns avifResult to report errors; callers must recompile and check the return value. github.com
libavif 0.10.0 breaking changes
- Behavior changed
Failures caused by missing AV1 codecs are now delayed until frame decoding, so code that expected an early failure when no codec is present may need to handle errors at decode time. github.com - Signature changed
The avifDecoder and avifRGBImage structs gained new members, so code using them must be recompiled against this release. 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.