github pixijs/pixijs v5.3.0

latest releases: v8.1.4, v8.1.3, v8.1.2...
3 years ago

πŸ’Ύ Download

Development Build:

Production Build:

Documentation:

Changed

v5.2.4...v5.3.0

🎁 Added

πŸ› Fixed

  • Documentation fixes (#6601, #6602, #6618, #6645, #6649)
  • LastBoundsID final refactoring (#6334)
  • Refactor generateUniformsSync to use an exposed set of parsers (#6369)
  • Auto-detect using 32-bit index buffer for large Graphics (#6417)
  • Making Text's updateText to be public (#6425)
  • Fix when webgl2 is not exist on global scope (#6434)
  • Throttle resize events for Application resizeTo (#6415)
  • Optimization fix calculating and caching local bounds. (#6365, #6477)
  • Fix incorrect mentions of deprecated namespaces (#6470)
  • Fix RenderTexture destroy also disposing the depth texture (#6561)
  • Minor code simplifications in Framebuffer and Projection systems (#6587)
  • Fix inaccurate code sample in graphics (#6598)
  • Support mime-type overrides for VideoResource (#6549)
  • Future-proof maxRecommendedTextures to default to max if OS version is unknown (#6603)
  • Fix JSDoc comments to standardize @param tags with hyphen before description (#6634)
  • Ignore the package-lock.json files in packages (#6631)
  • Fix polygon offset (#6675)
  • Remove old unnecessary eslint rule (#6693)
  • Fix RenderTexture clear in CanvasRenderer (#6712)
  • Remove display package dependency within core (#6450)

🚽 Deprecated

  • Renames BitmapText.registerFont to BitmapFont.install (#6347)
  • Renames BitmapText.fonts to BitmapFont.available (#6347)
  • Deprecate TilingSprite's fromImage and fromFrame (#6410)
  • Remove forceFXAA Application and Renderer option (#6455)
  • Removed extract property from CanvasRenderer (#6503)
  • Remove interaction and accessibility namespaces (#6681, #6703)

πŸ”§ Upgrade Notes

  • For TypeScript users upgrading from 5.2.x, note that Loader events (complete, error, load, start) are not longer supported in types (will only work runtime using the pixi.js or pixi.js-legacy with deprecations enabled). You'll need to upgrade your code to use Loader's signals instead, which have been available since 5.0.0. For example:
const loader = new Loader();
loader.on('complete', () => {}); // supported in < 5.3.0
loader.onComplete.add(() => {}); // supported in >= 5.0.0 

πŸ‘ Contributors: 24

Don't miss a new pixijs release

NewReleases is sending notifications on new releases.