Skip to content

Releases: rdkcentral/Lightning

2.14.1

20 Sep 14:02
fa1f699
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.14.0...2.14.1

Lightning 2.14.0

24 Jun 10:35
240563c
Compare
Choose a tag to compare

v2.14.0

  • Adds onIdle event when pauseRafLoopOnIdle is enabled.

Lightning 2.13.2

10 Jun 09:47
4beb4d3
Compare
Choose a tag to compare

#v2.13.2

  • Fixes limiting behaviour that prevented using other system fonts. (#537)
  • Fixes duplicated call for _cleanupLookupMap() in the garbage collection function. (#520)
  • Fixes the issue causing double freeing of textures due to the garbage collection triggered during releasing memory. (#529)

Lightning 2.13.1

17 Apr 13:53
5300882
Compare
Choose a tag to compare

v2.13.1

  • Hotfix - Typescript types were not properly published

Lightning 2.13.0

12 Apr 08:05
b5f1663
Compare
Choose a tag to compare

v2.13.0

  • Fixed an issue causing not including TypeScript types in the build. (#527)
  • Enhanced handling of bidirectional text in TextTexture by setting canvas context direction to correct display of text blocks in RTL configurations.

Lightning 2.12.1

14 Feb 09:11
b25dcc1
Compare
Choose a tag to compare

v2.12.1

  • Fixed examples that were not working due to incorrect imports.
  • Fixed build issues on non-*nix systems.
  • Fixed some typos in the documentation.
  • Fixed an issue in RoundedRectangleShader where setting a stroke value resulted in incorrect clipping, especially noticeable when the radius is half the height.

Lightning 2.12.0

27 Oct 08:07
a36de7f
Compare
Choose a tag to compare

v2.12.0

  • Introduced a named export for Lightning in the ESM build to support direct module augmentation with @lightningjs/core, resolving issues with default export augmentation. (#480)
  • Modified the export structure to support tree-shaking. Lightning's ES modules can now be selectively imported /tree-shaken. (#490)
  • Enabled development in both TypeScript and JavaScript. Migrated specific files and ensured all source module files are appropriately managed in the dist directory.
  • Separated the Lightning Inspector with types as its own export.
  • Resolved an inconsistency in the zSorting algorithm where elements with the same zIndex were not correctly sorted by updateTreeOrder. (#443)
  • Addressed an exception causing infinite loops when accessing the texture.source property after text updates. This fix streamlines access to the renderInfo property without triggering a maximum call stack exception. (#447 and #348)
  • Resolved an issue where adding an already existing element to childList would throw an error. (#311 and #509)
  • Fixed an issue where SVG txError events were not being triggered due to missed error captures.
  • Fixed an issue where txLoaded event in elements over-fired due to incorrect texture change identification.

Lightning 2.11.0

28 Jul 12:09
4a3ecc1
Compare
Choose a tag to compare

v2.11.0

  • Updated typings of Element so flexItem can be false as referred to in the documentation.
  • Fixed an issue related to applying vertex-specific color to the hole punch fragment.
  • Fixed the regression related to TextTextureRenderer word wrapping. (#488)
  • An unnecessary conditional in the default shader code was removed.
  • Fixed alpha channel detection when using in-process image handling. (#493)
  • Fixed a typo referencing the renderOffscreen method of Element.
  • Added webgl2 as the fallback context option if webgl or experimental-webgl is unavailable. (#496)
  • Added event bubbling support for pointer events. (#485)
  • Added support for getting local coordinates with pointer events (#484)

Lightning 2.10.0

01 May 09:54
2e4c829
Compare
Choose a tag to compare

2.10.0

  • Integrated Vite to replace rollup bundler and integrated Vitest for unit testing
  • Implemented word wrapping support on zero-width breaking spaces (#450) (docs: Word Wrap in Non-Latin Based Languages )
  • Added support for device pixel ratio with an option devicePixelRatio (docs: Global Stage Scaling, Handling high pixel density )
  • Fixed issue with text rendering at high precision levels causing incorrect word wrapping (#470)
  • Fixed issue with inability to override the id accessor of a Component with string accessor (#456)
  • Added first/last getters to TypeScript definitions for ObjectList
  • Fixed documentation and TypeScript definitions for TextTexture fontFace
  • Fixed TypeScript error with getByRef() when using generic type param as Ref value (#444)
  • Implemented default loose type configs for TypeScript.

Lightning 2.9.1

21 Apr 21:19
Compare
Choose a tag to compare

21 apr 2023

  • 🔥 Hotfix for memory leak when pauseRafLoopOnIdle is enabled (introduced in v2.7.0)
  • Implemented additional cleanup of Lightning code that gets stuck on the heap after calling destroy