Releases: lightning-js/renderer
v2.18.2
What's Changed
- fix: infinite retry loops on unresolved image props by @wouterlucas in #649
Full Changelog: v2.18.1...v2.18.2
v2.18.1
v2.18.0
What's Changed
- Refactor Texture Management and Garbage collection by @wouterlucas in #647
Full Changelog: v2.17.0...v2.18.0
v3.0.0-beta14
What's Changed
Full Changelog: v3.0.0-beta13...v3.0.0-beta14
v3.0.0-beta13
What's Changed
- add migration guide for upgrading from Lightning 3 v2.x to v3.0 by @wouterlucas in #623
- fixed worldAlpha calculation when parent alpha is 0 by @jfboeve in #628
- fixes rotation / scale calculation + cleanup rotation test by @jfboeve in #626
- optimised when shader uniforms are updated by @jfboeve in #627
- Remove strictBounds property by @wouterlucas in #629
- v3 issues by @wouterlucas in #630
- fixed getAttributeLocations function by @jfboeve in #634
- fix possible infinite loop when line is undefined by @wouterlucas in #635
Full Changelog: v3.0.0-beta12...v3.0.0-beta13
v2.17.0
Warning Textures now fail if they can't be uploaded due to memory restrictions, this is a change in behavior to v2.16.0
and earlier with throttling.
What's Changed
- Backport from v3 for stuck textures by @wouterlucas in #633
Full Changelog: v2.16.0...v2.17.0
v3.0.0-beta12
What's Changed
- reinstate w/h shorthand properties by @wouterlucas in #622
Full Changelog: v3.0.0-beta11...v3.0.0-beta12
v3.0.0-beta11
What's Changed
- Improved text generation check update loop text node by @jfboeve in #620
- Synchronous font loading by @wouterlucas in #621
Full Changelog: v3.0.0-beta10...v3.0.0-beta11
v3.0.0-beta10
Warning! Breaking changes w.r.t. Text Renderer
Due to the extensive refactor of the text renderer the following aspects have changed:
- Changes of how fonts are loaded, see instructions/examples for new loadFont API
- Removal of previously used Text Renderer / Font Classes and TS definitions
- Removal of
contain
property in favor ofmaxWidth
andmaxHeight
properties
Warning changes in behaviour
Previously texture that couldn't be uploaded due to doNotExceedCriticalThreshold: true
would be re-added in the queue, resulting in "stuck" textures.
This change will put textures to failed
if they can't be uploaded due to doNotExceedCriticalThreshold: true
. This will allow the engine/application to handle the failure and re-attempt to upload the texture (or apply fallback logic in the app).
The setting doNotExceedCriticalThreshold
should only be used when the memory is extremely tight, otherwise setting it to false
and a lower threshold to have a little headroom will mimick the same behaviour as Lightning 2.
What's Changed
- fix: enhance texture loading by @wouterlucas in #608
- Feat: fps throttle by @wouterlucas in #609
- added some micro optimisations by @jfboeve in #611
- perf: performance changes to the canvas text renderer by @wouterlucas in #613
- removed contain and replaced it with maxWidth / maxHeight by @jfboeve in #614
- fixed resolved defaults regarding color by @jfboeve in #616
- Text engine Refactor by @wouterlucas in #585
- fix: update texture cleanup logic by @wouterlucas in #619
Full Changelog: v3.0.0-beta9...v3.0.0-beta10