Skip to content

feat: spring bones metadata [WIP] - #1919

Closed
RocioCM wants to merge 1 commit into
mainfrom
feat/spring-bones-metadata
Closed

feat: spring bones metadata [WIP]#1919
RocioCM wants to merge 1 commit into
mainfrom
feat/spring-bones-metadata

Conversation

@RocioCM

@RocioCM RocioCM commented Apr 27, 2026

Copy link
Copy Markdown
Member

Description

Bumps @dcl/schemas and @dcl/content-validator to the versions that introduce the new springBones metadata field on wearables.

springBones is a new optional field on Wearable.data that lets a wearable carry per-bone physics parameters (stiffness, gravity, drag) for spring-driven hair, accessories, and similar dynamics. The keys of springBones.models are GLB content hashes — this means a single GLB shared across multiple body-shape representations resolves to one entry, and entries stay stable across path renames.

Catalyst itself does not need any code changes for this feature. This PR only updates the dependency versions so that:

  • Schema validation at deployment time accepts the new springBones field (via the bumped @dcl/schemas).
  • Deployment-time content validation runs the new springBonesMetadataValidateFn (via the bumped @dcl/content-validator), which:
    • delegates structural and per-parameter range checks to SpringBonesData.validate from @dcl/schemas,
      pins version === 1,
    • asserts that every key in springBones.models is the content hash of a current representation's mainFile,
    • asserts that bone names follow the springbone naming convention (case-insensitive).

Related upstream PRs:

Changes

  • Bumped @dcl/schemas from ^26.1.0 to TEMP VERSION in content/package.json and lambdas/package.json.
  • Bumped @dcl/content-validator from ^7.1.5 to TEMP VERSION in content/package.json.
  • Refreshed yarn.lock accordingly.
  • No catalyst source changes.

Pending tasks

Types of changes

  • New feature (non-breaking change which adds functionality)
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • All new and existing tests passed.

@RocioCM RocioCM self-assigned this Apr 27, 2026
@RocioCM RocioCM changed the title [WIP] feat: spring bones metadata feat: spring bones metadata [WIP] Apr 27, 2026
@LautaroPetaccio

Copy link
Copy Markdown
Contributor

Already done this changes.

@LautaroPetaccio
LautaroPetaccio deleted the feat/spring-bones-metadata branch April 28, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants