meshoptimizer breaking changes
meshoptimizer 1.0 is its newest release with breaking changes, 6 of them. The first: Behavior changed JavaScript bindings. Every breaking API change we have recorded in meshoptimizer on vcpkg: 35 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.3. Source repository
- From 0.25 to 1.0: 6 breaking changes in 1 version.
- From 0.15 to 1.0: 30 breaking changes in 9 versions.
meshoptimizer 1.0 breaking changes
- Behavior changed
JavaScript bindings
Import paths may need adjustment. MeshoptDecoder remains available as meshopt_decoder.cjs for CommonJS users. github.com - Behavior changed
meshopt_buildMeshlets
Local index data for each meshlet is no longer padded to 4 bytes. Code using writePackedPrimitiveIndices4x8NV may need to align each meshlet manually. github.com - Behavior changed
meshopt_partitionClusters
meshopt_partitionClusters returns slightly tighter partitions and now merges spatially adjacent partitions when vertex positions are provided. github.com - Behavior changed
meshopt_simplifyWithUpdate
Simplified meshes now have different positions and attribute updates; results may differ from prior versions. github.com - Default changed
meshopt_encodeVertexBuffer
meshopt_encodeVertexBuffer now encodes version 1 data by default and requires meshoptimizer v0.23 or later to decode. Applications producing EXT_meshopt_compression data must switch to version 0 via meshopt_encodeVertexVersion or... github.com - Default changed
MeshoptEncoder.encodeVertexBuffer
MeshoptEncoder.encodeVertexBuffer now encodes version 1 by default; encodeGltfBuffer still defaults to version 0 for EXT_meshopt_compression compatibility. github.com
meshoptimizer 0.25 breaking changes
- Renamed
Update CMake configuration to use the new option name, MESHOPT_GLTFPACK_BASISU_PATH. github.com - Default changed
-sv
Attribute-aware simplification now runs without the -sv option, which is kept only for compatibility. github.com - Signature changed
meshopt_simplifySloppy
Callers must pass the extra vertex_lock argument, which lets them lock individual vertices to preserve mesh boundaries. github.com
meshoptimizer 0.22 breaking changes
- Behavior changed
meshopt_simplify*
The meshopt_simplify functions can now collapse some edges that were previously restricted, so simplified output may have fewer triangles and different results than before. github.com - Signature changed
simplifyWithAttributes
The JS simplifyWithAttributes function now expects the vertex_lock argument to be a Uint8Array when it is specified, not a plain JS array. Code passing a JS array must convert it. github.com
meshoptimizer 0.21 breaking changes
- Behavior changed
gltfpack now strips normal attributes for meshes that use unlit materials to reduce output size, so output files differ from earlier versions. github.com - Default changed
gltfpack's default UASTC texture compression now produces slightly smaller textures, so compressed output and quality differ from earlier versions. github.com - Signature changed
meshopt_simplifyWithAttributes
The function now takes an extra optional vertex_lock array, so existing call sites need source changes to compile against the new interface. The API remains experimental. github.com
meshoptimizer 0.20 breaking changes
- Behavior changed
When the output is .gltf, gltfpack now copies texture files into the output folder by default. Use the new -tr option to disable this behavior. github.com - Default changed
meshopt_encodeIndexBuffer
Index buffers encoded by meshopt_encodeIndexBuffer now default to version 1 instead of legacy version 0. Set meshopt_encodeIndexVersion to 0 if the legacy format is needed. github.com - Default changed
meshopt_encodeIndexSequence
Index sequences encoded by meshopt_encodeIndexSequence now default to version 1 instead of legacy version 0. Set meshopt_encodeIndexVersion to 0 if the legacy format is needed. github.com - Signature changed
meshopt_simplifyPoints
meshopt_simplifyPoints now accepts an optional color attribute input, so existing calls may need updating to match the new interface. github.com
meshoptimizer 0.19 breaking changes
- Behavior changed
With -vpf or -noq, gltfpack usually attaches meshes directly to their source nodes instead of creating new intermediate nodes, so the output scene graph structure changes. github.com - Signature changed
meshopt_encodeFilterExp
The encoder now takes an extra mode parameter, so existing calls to meshopt_encodeFilterExp need to pass it. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
meshoptimizer 0.18 breaking changes
- Removed
The Node.js build of gltfpack can no longer compress textures. Use the native gltfpack binary for texture compression. github.com - Removed
gltfpack now uses an internal Basis encoder and no longer supports external executables such as basisu or toktx for texture compression. github.com
And 3 more in this version.
meshoptimizer 0.17 breaking changes
- Configuration changed
The UASTC texture compression parameters were updated to match the latest toktx and basisu, so scripts using the old options may need changes. github.com
meshoptimizer 0.16 breaking changes
- Behavior changed
meshopt_simplify
Simplification output changes because triangle-flipping collapses are avoided, at a moderate performance cost. github.com - Signature changed
meshopt_buildMeshlets
Meshlet data is now returned in three separate arrays instead of one, so callers must update how they read the output. github.com
And 2 more in this version.
meshoptimizer 0.15 breaking changes
- Removed
-tb
The -tb option is gone. Use -tc, which uses KHR_texture_basisu. github.com - Removed
-te
The -te option is gone. Textures are now embedded automatically into .glb files, so no option is needed. github.com
And 3 more in this version.
Related packages
- meshoptimizer on npm
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.