Skip to content

Releases: lightning-js/renderer

v0.6.0

07 Dec 18:12
7525d8d
Compare
Choose a tag to compare

What's Changed

  • Render loop optimizations by @wouterlucas in #91
  • Z-Index Logic Improvement by @wouterlucas in #91
    • Z-Indexes are now relative within a parent, rather than sorted globally.
    • ⚠️ Breaking Change: Frameworks/Users may need to update to take advantage of new logic.
  • Radial Progress Dynamic Shader Effect by @jfboeve in #82
  • Implement fpsUpdate event and fpsUpdateInterval setting on RendererMain by @frank-weindel in #95
  • Fix issue that caused text moved from offscreen to not render properly by @frank-weindel in #84
  • Fixes dynamic shader + shader manager by @jfboeve in #89
  • Fixes duplicate node id. by @wouterlucas in #97
  • Renamed RenderDriver to CoreDriver. by @Drulokia in #88
    • ⚠️ Breaking Change: Users will have to update to use the new names
  • set sideEffects to false to enable treeshaking by @chiefcll in #83

Non-User Facing

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

08 Nov 21:34
91b3063
Compare
Choose a tag to compare

What's Changed

  • Implement scaleX and scaleY node properties by @frank-weindel in #74
  • Standardize the loaded event of text and texture by @Drulokia in #72
    • With follow up by @frank-weindel in #81
    • ⚠️ Breaking Change: The following Node events have been renamed and their payloads have been changed:
      • txLoaded / textLoaded -> loaded
      • txFailed / textFailed -> failed
  • Implement text scaling/rotation transformations by @frank-weindel in #76
  • Implement Text Node Parent Alpha by @frank-weindel in #80

Non-User Facing

New Contributors

Full Changelog: v0.4.2...v0.5.0

v0.4.2

30 Oct 13:35
cf912ae
Compare
Choose a tag to compare

What's Changed

Non-User Facing

Full Changelog: v0.4.1...v0.4.2

v0.4.1

24 Oct 18:36
e6c687f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1

v0.4.0

18 Oct 15:17
f14aa6d
Compare
Choose a tag to compare

What's Changed

  • Fix looping animations with stopMethod: 'reverse' by @erikhaandrikman in #42
  • Replaced reference to self with resolvedGlobal by @michielvandergeest in #52
  • Refactor Effects + changes by @jfboeve in #51
    • Refactored the Effects to the ShaderManager, this way a developer can add their own custom effects.
    • Added more docs on the FadeOutEffect and RadiusEffect.
    • ⚠️ Breaking Change: angle property is now in Radians not in Degrees.
  • Expose AnimationSettings interface from Main API by @frank-weindel in #56
  • Expose canvas on RendererMain by @frank-weindel in #57

New Contributors

Full Changelog: v0.3.6...v0.4.0

v0.3.6

06 Oct 18:20
747a738
Compare
Choose a tag to compare
  • WPE 2.28 support (#46)
    • Fixes remaining issues when trying to run the Renderer on WPE 2.28 browser and possibly lower.
      • Tested on a production XG2v2 device.
      • For an application using the Renderer to work on this browser, its build target MUST be set to ES2019 or lower.
      • To run the Renderer Example Tests on legacy browsers, you must build/run the production version of the tests.
      • Fixes #43, #44, #45
    • Added npm run prod command to run the Example Tests in production mode (required to run the tests on legacy browsers)

v0.3.5

06 Oct 13:45
57025b9
Compare
Choose a tag to compare
  • Fix: OffscreenCanvas '2d' context is not available (#41)

v0.3.4

06 Oct 02:42
bcac9b2
Compare
Choose a tag to compare
  • Use HTMLCanvasElement instead of OffscreenCanvas if it isn't available. (#40)
    • This allows the Renderer to run on devices that do not support OffscreenCanvas which is not available in prior to Chrome 69 / WPE 2.38
  • Replace FinalizationRegistry based Texture Usage GC with Manual Strategy (#27)
    • Usaged-Based Texture Memory management now defaults to a new manual reference count and time threshold strategy.
    • This removes the requirement of the FinalizationRegistry browser feature which is not available prior to chrome 84 / WPE 2.38.
    • The prior behavior is still available by setting a new experimental renderer setting to true:
      • experimental_FinalizationRegistryTextureUsageTracker
    • Added texture-memory-stress test with instructions on how to perform.
    • Example tests may now export a customSettings function which returns any renderer settings overrides that the test requires to run. These settings are applied on top of all of the defaults specified by the example test launcher.
    • Improve type checking for EffectDesc
      • type now determines the specific properties types checked.
  • Breaking changes:
    • Refactor ShaderDesc / TextureDesc related areas including change their names to ShaderRef / TextureRef. (#27)
      • RendererMain.makeTexture renamed to RendererMain.createTexture
      • RendererMain.makeShader renamed to RendererMain.createShader
      • TextureDesc type renamed to TextureRef type
      • ShaderDesc type renamed to ShaderRef type

Full Changelog: v0.3.3...v0.3.4

v0.3.3

05 Oct 13:08
79ba0de
Compare
Choose a tag to compare
  • DynamicShader: Fix mixing gradient colors with maskcolor (#37)
    • Fixes issue with gradients that contained alpha lower than 1.
  • Update ThreadX to v0.3.3 (#38)
    • Fixes a Vite error that users of the Renderer experienced due to
      missing source maps
  • Include exports files for SourceMaps (#39)
    • Fixes all remaining Vite sourcemap errors that users of the Renderer
      experienced

v0.3.2

04 Oct 19:01
d173446
Compare
Choose a tag to compare
  • Radial Gradient Effect (#25)
  • Gradients now properly overlay the mask color instead of completely replacing it. (#25)
  • Alpha to RenderOp with automatic shader props (#18)
  • Include src files for SourceMaps (#33)
    • Fixes a Vite error that users of the Renderer experienced