Next.js Plugin - Added
withAvatarkit wrapper for Next.js projects to automate WASM file configuration with webpack- Patches Emscripten
scriptDirectoryfor correct asset resolution - Copies WASM files to
static/chunks/automatically - Adds
application/wasmContent-Type headers - Preserves existing webpack and headers configurations
Local Log Upload - Automatic local log upload for debugging and troubleshooting
API Refinement - Improved API structure by marking internal classes with
@internal for better code organizationType Safety - Enhanced type definitions by hiding internal implementation details from public APIVite Plugin - Added
avatarkitVitePlugin to automate WASM file configuration- Automatically handles WASM MIME types in dev server
- Copies WASM files during build
- Generates
_headersfile for Cloudflare Pages
Audio Context API - Added
initializeAudioContext() method that must be called in user gesture context- Ensures AudioContext is created properly to satisfy browser security policies
- All audio operations now require prior initialization
Eye Tracking Control - Added
eyeTrackingEnabled parameter to PostProcessingConfig for real-time controlPoint Count API - Added getPointCount() method to AvatarController to get avatar point cloud countPost-Processing Enhancement - Added
translation and eyePose fields to PostProcessingConfigBugfix - Fixed avatar settings update issue when using cached avatarsImmediate Rendering - Post-processing and camera updates apply immediately when playback is pausedAPI Change - Replaced
ready Promise with onFirstRendering callback for better async handlingAudio Configuration - Added configurable audio sample rate support (8000-48000 Hz, default: 16000)
- Audio recording and playback automatically use configured sample rate
API Change - Changed
setTransform() method to transform getter/setter propertyBreaking Changes - Removed
Environment.test, changed default log level to offNew Features - Added avatar caching methods (retrieve, clear, clearAll)Background Image - Added background image control in AvatarViewBreaking Change - Renamed
AvatarKit to AvatarSDK for better consistency- Update imports:
AvatarKit→AvatarSDK
API Changes - Renamed
onAvatarState to onConversationState, Environment.us to Environment.intlVolume Control - Added setVolume() and getVolume() methods for audio playback controlFallback Mechanism - Added automatic audio-only fallback when animation data is unavailableAPI Change - Moved playback mode configuration to
AvatarSDK.initialize()Architecture - Refactored to three-layer architecture (Rendering, Playback, Network)Dual Mode - Added SDK mode and Host mode support

