Skip to content

v0.6.2

WeChat MiniGame

  • Add keyboard input support via wx.onKeyDown / wx.onKeyUp (PC platform, base library 2.10.1+)
  • Add dedicated WeChat runtime entry point with streamlined initialization
  • Improve file system error messages with actionable hints (e.g. missing packOptions.include for custom extensions)
  • Fix Emscripten wxgame build: use -sENVIRONMENT=web with minimal polyfill for document / window globals
  • Extract component defaults to a dedicated module for cleaner WeChat bundle

Asset Pipeline

  • Asset collector now recursively gathers dependencies for always-exported folders
  • Auto-create missing asset-export.json config file
  • Browser preview now resolves UUID asset references
  • Fix asset: protocol blocked by CSP default-src, preventing fetch() calls to load prefabs during play mode on Windows

Bug Fixes

Editor

  • Fix absolute path stripping in resolveFilePath — leading / is no longer removed, fixing virtual-fs plugin failures when reading user scripts
  • Fix event listener leaks on HMR: onCloseRequested and contextmenu handlers are now properly cleaned up in Editor.dispose() and DockLayoutManager.dispose()
  • Fix text vertical clipping: clamp startY to >= 0 when text block exceeds container height

SDK

  • Fix browser compatibility: replace Node.js Buffer with standard base64 encoding
  • Simplify builder templates and consolidate runtime config generation

Internal

  • Add playable emitter and atlas rewrite test coverage
  • Add desktop build utility scripts (copy-esbuild-wasm.js, kill-port.js)
  • Fix cross-package import in path tests causing CI type-check failure