Skip to content

v0.7.2

Choose a tag to compare

@krapnikkk krapnikkk released this 06 Oct 17:56
· 44 commits to main since this release

First public npm release, published as @krapnik/retarget.

npm install @krapnik/retarget

ESM-only. Node >= 24.11.0 is required for the /node and /io entries; browsers need module Workers.

Highlights

  • Public npm distribution. The package is no longer private. It ships seven public entries: root, /browser, /browser/input, /io, /node, /validation, /certification.
  • Expanded consumer runtime. The root, browser, IO, and validation entries now export more serializable contracts and export adapters. These include Animated GLB / baked VRM avatar export, FBX avatar animation export, paired avatar–motion archives, Rig Motion glTF / animated rig GLB export, reload validation, and the structured RetargetError helpers.
  • Lighter install. @pixiv/three-vrm and @moeru/three-mmd-physics-ammo are no longer runtime dependencies, because no public entry imports them. The remaining runtime dependencies use caret ranges, so consumers can dedupe them.
  • Relaxed engine requirement. engines.node is now >=24.11.0 instead of the exact 24.11.x.

Assurance

  • Nine humanoid pipeline combinations are beta.
  • The Golden gltf-animation -> gltf-humanoid -> animated-glb case is certified, backed by the pinned Blender 5.2.0 LTS / Godot 4.7.1 ecosystem receipt committed in the repository. The ecosystem run was not repeated for this publish.
  • Non-humanoid rigged glTF retargeting (runRiggedGLTFPipeline) is beta for 36 pinned Mesh2Motion action/target pairs.
  • APIs may change between minor releases before 1.0.

Verification

pnpm verify passed on the published commit. This covers the architecture rules, type checks, fixture checks, unit, slow, and certification test projects, and correctness coverage. It also covers installing the packed tarball, running the packed browser Worker and Node tooling smoke tests, and a strict TypeScript consumer compile. publint reports no issues.

Maintenance

  • Pre-commit now runs a fast pnpm check; the full pnpm verify gate runs before publishing via prepublishOnly.
  • Tests are split into unit, slow, and certification Vitest projects. CPU-bound fixture suites have explicit timeouts.
  • Local releases/*.json receipts are removed. Releases are tracked with git tags and GitHub Releases; the npm registry records tarball integrity.