Releases: rdkcentral/Lightning
Releases · rdkcentral/Lightning
Lightning 2.11.0
v2.11.0
- Updated typings of Element so
flexItemcan befalseas 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
renderOffscreenmethod ofElement. - Added
webgl2as the fallback context option ifwebglorexperimental-webglis unavailable. (#496) - Added event bubbling support for pointer events. (#485)
- Added support for getting local coordinates with pointer events (#484)
Lightning 2.10.0
2.10.0
- Integrated
Viteto replacerollupbundler and integratedVitestfor 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 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
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
2.8.1
- Fixed Lightning inspector (#427)
Lightning 2.8.0
Lightning 2.7.0
2.7.0
Features
- Added TypeScript Support (#407)
- Enabled RAF idle usage with stage option 'pauseRafLoopOnIdle' (#402)
- Added glReadPixels support after rendering (#388)
- Improved support for vertical alignment on advanced text renderer. (#378)
- Added listener for visibility change to redraw when visible( #396)
- Added revised Documentation related to Lightning Core
- Added option to force canvas element as tx source (#393)
Fixes
Lightning 2.6.0
2.6.0
Features
textRenderSharpFontSizeandtextRenderSharpPrecisionoptions were replaced byfontSharpoption and their default values adjusted (#354, #359)- Added CSS cursor support (https://developer.mozilla.org/en-US/docs/Web/CSS/cursor). Check out the example:
examples/mouse-pointer/cursor.html(#319)
Fixes
- Fixed issue where
canvaswould not fully initialize before the inspector, resulting in invalidwidthandheightof the root inspector element (#355)
Lightning 2.5.1
2.5.1
Fixes
- Mouse hover/unhover properly affects entire branch instead of single component. See
examples/mouse-pointer/hover-tree.html. (#334) - Fixed text rendering problems present on some versions of Tizen platforms (#344)
- Fixed issue where inspector would not show falsy text values e.g.
0in element's attributes (#341) - Fixed issue in
advancedTextRenderer, wheremaxLineswould break for one word lines (#350)
Lightning 2.5.0
2.5.0
Features
- Added new text renderer that enables i.a. bold, italics and color using html-like tags. Check
examples/text/advanced-renderer.htmlfor more information (#318) - Introduced options
textRenderSharpFontSizeandtextRenderSharpPrecisionstage options for text texture scaling. Those options are useful for reducing blur effect on only selected text textures (#321, #320)