Releases: lightning-js/renderer
Releases · lightning-js/renderer
Release list
v3.1.4
v3.1.3
v3.1.2
What's Changed
- perf: add animation object pool for CoreAnimation and CoreAnimationController by @wouterlucas in #838
- perf: flatten PropValues into parallel arrays in CoreAnimation by @wouterlucas in #837
- perf: replace once() with on() for finished event, fix destroy event name by @wouterlucas in #836
- perf: optimize animation hot loops - flat array and for loop by @wouterlucas in #835
- perf: lazy promise creation in CoreAnimationController by @wouterlucas in #832
- perf: replace .bind() with arrow class fields in CoreAnimationController by @wouterlucas in #833
- perf: inline AnimationSettings into CoreAnimation fields by @wouterlucas in #834
- fix: snapshot activeAnimations in update() to prevent stalls from mid-iteration splice by @wouterlucas in #839
Full Changelog: v3.1.1...v3.1.2
v3.1.1
What's Changed
- Lint unused variables, params and imports by @guilhermesimoes in #818
- Fix
Stagereceiving settings intended forPlatformby @guilhermesimoes in #829 - perf(sdf): use 4-float plain vertex format for non-richText nodes by @wouterlucas in #828
- feat: added premultiplyAlpha parameter to uniformRGBA by @jfboeve in #830
Full Changelog: v3.1.0...v3.1.1
v3.1.0
New Features
- Rich Text support in Canvas/MSDF text renderers: https://github.com/lightning-js/renderer/blob/main/docs/rich-text.md
- Rounded corner clipping using
clipRadius: <number>
What's Changed
- fix(platform): add loadFontFace to platform abstraction by @wouterlucas in #805
- Fix LinearGradient shader for mediump by @eXecutable in #808
- feat(rich-text): add BB-code parser by @wouterlucas in #809
- fix(webgl): correctly handle premultiplied-alpha for ImageBitmap by @wouterlucas in #807
- feat(rich-text): add richText boolean prop to TrProps and CoreTextNode by @wouterlucas in #810
- feat(rich-text): wire BB-code parsing into Canvas text renderer by @wouterlucas in #811
- feat(rich-text): add underline and strikethrough decoration to Canvas text renderer by @wouterlucas in #812
- feat(rich-text): SDF per-span color, underline, strikethrough (PR 5/7) by @wouterlucas in #813
- feat(rich-text): SDF bold and italic (PR 6/7) by @wouterlucas in #814
- docs(rich-text): syntax reference and TrProps.richText JSDoc (PR 7/7) by @wouterlucas in #815
- docs(agent): add Mali 400 / OpenGL ES 2.0 GPU target instructions by @wouterlucas in #816
- feat(clipping): add clipRadius prop for rounded corner clipping by @wouterlucas in #820
- fix(shaders): replace ternary branches in roundedBox/shadowBox with step+mix by @wouterlucas in #821
- fix(shaders): remove branches and fix missing return in LinearGradient by @wouterlucas in #822
- fix(shaders): remove branches in RadialGradient getGradientColor by @wouterlucas in #823
- fix(shaders): replace if/else branch in SdfShader fragment main() with arithmetic mask by @wouterlucas in #824
- fix(shaders): remove if/early-return branches in RoundedWithBorder by @wouterlucas in #825
- fix(shaders): remove all branches in RoundedWithBorderAndShadow by @wouterlucas in #826
- fix(shaders): remove sampler array GLSL ES 1.0 undefined behavior in DefaultBatched by @wouterlucas in #827
- Add
TextureOptionsexport by @guilhermesimoes in #817
New Contributors
- @eXecutable made their first contribution in #808
Full Changelog: v3.0.5...v3.1.0
v3.0.6
What's Changed
- fix(platform): add loadFontFace to platform abstraction by @wouterlucas
Full Changelog: v3.0.5...v3.0.6
v3.0.5
What's Changed
- Align first-word overflow truncation metadata in
TextLayoutEngineby @Copilot in #788 - 3.0.3 by @jfboeve in #789
- Use a dedicated SDF render-op flag instead of overloading
isCoreNodeby @Copilot in #791 - Fix
renderTextreturn type to align withTextRendererinterface contract by @Copilot in #793 - Add focused regression coverage for SDF text buffer reuse and binding by @Copilot in #792
- optimised TextLayoutEngine by @jfboeve in #787
- removed sdfRenderOp, reduces object creation by @jfboeve in #790
- Fix shader setter not updating
hasShaderUpdaterandhasShaderTimeFnby @guilhermesimoes in #796 - fix: make CanvasFontHandler compatible with FontHandler by @pecoram in #794
- Improve inspector by @guilhermesimoes in #795
- Fixed animation stutter by @jfboeve in #797
- Fix/shader uniforms setting without props by @jfboeve in #798
- fix: correct canvas clipping rect handling in addQuad by @wouterlucas in #800
- fix: disable texture memory threshold blocking for canvas renderer by @wouterlucas in #801
- fix(canvas): fail fast for compressed textures in Canvas2D mode by @wouterlucas in #802
- fix: resolve canvas texture race conditions by @wouterlucas in #803
New Contributors
- @Copilot made their first contribution in #788
Full Changelog: v3.0.3...v3.0.5
v3.0.4
What's Changed
- Align first-word overflow truncation metadata in
TextLayoutEngineby @Copilot in #788 - 3.0.3 by @jfboeve in #789
- Use a dedicated SDF render-op flag instead of overloading
isCoreNodeby @Copilot in #791 - Fix
renderTextreturn type to align withTextRendererinterface contract by @Copilot in #793 - Add focused regression coverage for SDF text buffer reuse and binding by @Copilot in #792
- optimised TextLayoutEngine by @jfboeve in #787
- removed sdfRenderOp, reduces object creation by @jfboeve in #790
- Fix shader setter not updating
hasShaderUpdaterandhasShaderTimeFnby @guilhermesimoes in #796 - fix: make CanvasFontHandler compatible with FontHandler by @pecoram in #794
- Improve inspector by @guilhermesimoes in #795
New Contributors
- @Copilot made their first contribution in #788
Full Changelog: v3.0.3...v3.0.4
v3.0.3
What's Changed
- fixed hasValidText check to always return a boolean by @jfboeve in #775
- feat: add dynamic sentence text test example by @wouterlucas in #777
- fallback for non-window JS host by @estobbart in #778
- Styleless canvas support by @estobbart in #779
- feat: improve documentation and contribution guidelines by @wouterlucas in #782
- removed GlBufferRef by @jfboeve in #785
- feat: implement SDF buffer caching by @wouterlucas in #780
- Minor RTT pref fixes + benchmark by @wouterlucas in #784
- feat: implement renderer close() by @wouterlucas in #781
- Fix/text layout cache by @jfboeve in #786
Full Changelog: v3.0.2...v3.0.3
v3.0.2
What's Changed
Full Changelog: v3.0.1...v3.0.2