Skip to content

Releases: rdkcentral/Lightning

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

Lightning 2.9.0

16 Feb 12:47
59d6cee
Compare
Choose a tag to compare

2.9.0

  • Fixed issues related to package.json exports (#434)
  • Added a warning about strictNullChecks option to the TypeScript docs (#433)
  • Fixed an issue occurring while using maxLinesSuffix when advancedRender is set to true (#429)
  • Fixed an alignment issue occurring when the advanced text renderer is used (#428)
  • Added an example of basic subclassing to the TypeScript docs (#446)
  • Fixed an issue related to an inconsistency in the handling of default fonts
  • Added instant freeing up of text textures to prevent memory building up when text is being changed
  • Updated docs to add letterSpacing property to Text texture

Lightning 2.8.1

31 Oct 14:18
3d2d7e3
Compare
Choose a tag to compare

2.8.1

  • Fixed Lightning inspector (#427)

Lightning 2.8.0

21 Oct 10:24
35dc085
Compare
Choose a tag to compare

2.8.0

  • Added support to track vram usage (#395)
  • Added texture compression support (#391)
  • Updated patching.md file (#422)
  • Minor documentation updates (#405)