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

# 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

Latest version `1.3`. [Source repository](https://github.com/zeux/meshoptimizer)

- From [0.25](#v-0-25) to [1.0](#v-1-0): 6 breaking changes in 1 version.
- From [0.15](#v-0-15) to [1.0](#v-1-0): 30 breaking changes in 9 versions.

## meshoptimizer 1.0 breaking changes

meshoptimizer 1.0: 6 breaking changes.

- **Behavior changed** `JavaScript bindings`  

Import paths may need adjustment. MeshoptDecoder remains available as meshopt_decoder.cjs for CommonJS users. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v1.0)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v1.0)
- **Behavior changed** `meshopt_partitionClusters`  

meshopt_partitionClusters returns slightly tighter partitions and now merges spatially adjacent partitions when vertex positions are provided. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v1.0)
- **Behavior changed** `meshopt_simplifyWithUpdate`  

Simplified meshes now have different positions and attribute updates; results may differ from prior versions. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v1.0)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v1.0)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v1.0)

## meshoptimizer 0.25 breaking changes

meshoptimizer 0.25: 3 breaking changes.

- **Renamed**  

Update CMake configuration to use the new option name, MESHOPT_GLTFPACK_BASISU_PATH. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.25)
- **Default changed** `-sv`  

Attribute-aware simplification now runs without the -sv option, which is kept only for compatibility. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.25)
- **Signature changed** `meshopt_simplifySloppy`  

Callers must pass the extra vertex_lock argument, which lets them lock individual vertices to preserve mesh boundaries. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.25)

## meshoptimizer 0.22 breaking changes

meshoptimizer 0.22: 2 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](https://github.com/zeux/meshoptimizer/releases/tag/v0.22)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.22)

## meshoptimizer 0.21 breaking changes

meshoptimizer 0.21: 3 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](https://github.com/zeux/meshoptimizer/releases/tag/v0.21)
- **Default changed**  

gltfpack's default UASTC texture compression now produces slightly smaller textures, so compressed output and quality differ from earlier versions. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.21)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.21)

## meshoptimizer 0.20 breaking changes

meshoptimizer 0.20: 4 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](https://github.com/zeux/meshoptimizer/releases/tag/v0.20)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.20)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.20)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.20)

## meshoptimizer 0.19 breaking changes

meshoptimizer 0.19: 2 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](https://github.com/zeux/meshoptimizer/releases/tag/v0.19)
- **Signature changed** `meshopt_encodeFilterExp`  

The encoder now takes an extra mode parameter, so existing calls to meshopt_encodeFilterExp need to pass it. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.19)

## Older versions

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

### meshoptimizer 0.18 breaking changes

meshoptimizer 0.18: 5 breaking changes.

- **Removed**  

The Node.js build of gltfpack can no longer compress textures. Use the native gltfpack binary for texture compression. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.18)
- **Removed**  

gltfpack now uses an internal Basis encoder and no longer supports external executables such as basisu or toktx for texture compression. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.18)

And 3 more in this version.

### meshoptimizer 0.17 breaking changes

meshoptimizer 0.17: 1 breaking change.

- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.17)

### meshoptimizer 0.16 breaking changes

meshoptimizer 0.16: 4 breaking changes.

- **Behavior changed** `meshopt_simplify`  

Simplification output changes because triangle-flipping collapses are avoided, at a moderate performance cost. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.16)
- **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](https://github.com/zeux/meshoptimizer/releases/tag/v0.16)

And 2 more in this version.

### meshoptimizer 0.15 breaking changes

meshoptimizer 0.15: 5 breaking changes.

- **Removed** `-tb`  

The -tb option is gone. Use -tc, which uses KHR_texture_basisu. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.15)
- **Removed** `-te`  

The -te option is gone. Textures are now embedded automatically into .glb files, so no option is needed. [github.com](https://github.com/zeux/meshoptimizer/releases/tag/v0.15)

And 3 more in this version.

## Related packages

- [meshoptimizer](https://since.dev/packages/npm/meshoptimizer.md):  on npm

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