Skip to content

chore(client): update all dependencies and resolve compatibility changes#13

Open
RZDESIGN wants to merge 1 commit intohytopiagg:mainfrom
RZDESIGN:packages-update-main
Open

chore(client): update all dependencies and resolve compatibility changes#13
RZDESIGN wants to merge 1 commit intohytopiagg:mainfrom
RZDESIGN:packages-update-main

Conversation

@RZDESIGN
Copy link
Copy Markdown

@RZDESIGN RZDESIGN commented Mar 4, 2026

Summary

  • Update all direct client dependencies/devDependencies to latest versions.
  • Upgrade rendering/toolchain stack, including:
    • three to ^0.183.2
    • @types/three to ^0.183.1
    • vite to ^7.3.1
    • typescript to ^5.9.3
  • Update additional runtime/docs dependencies (@hytopia.com/lib, @msgpack/msgpack, msgpackr, obscenity, API extractor/documenter).
  • Remove deprecated @types/mixpanel-browser (stub package no longer needed).

Compatibility fixes included

  • NetworkManager: normalize packed packet buffers to plain Uint8Array for latest TS/lib typings and stream writer compatibility.
  • heartbeat service: adapt HYTOPIAClient initialization to current constructor args shape.
  • Keep Three.js compatibility adjustments needed for current client code paths (postprocessing/type-safety related updates).

Validation

  • npm outdated in client reports no outdated direct packages.
  • npm run build in client passes successfully.

Notes

  • This is a broad dependency refresh (includes major upgrades), so runtime smoke checks are recommended for:
    • game startup/loading
    • networking/input/chat
    • GLTF/model + texture loading
    • post-processing pipeline (outline/bloom/SMAA)

…pgraded several packages in package.json and package-lock.json, including @hytopia.com/lib, @msgpack/msgpack, and typescript. Refactored Renderer, Entity, GLTFManager, and NetworkManager for better type handling and error checking. Enhanced heartbeat service initialization with improved gateway client configuration.
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.

1 participant