Releases: lightning-js/renderer
Releases · lightning-js/renderer
v0.4.0
What's Changed
- Fix looping animations with
stopMethod: 'reverse'by @erikhaandrikman in #42 - Replaced reference to
selfwith 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:angleproperty is now in Radians not in Degrees.
- Expose
AnimationSettingsinterface from Main API by @frank-weindel in #56 - Expose
canvason RendererMain by @frank-weindel in #57
New Contributors
- @michielvandergeest made their first contribution in #52
Full Changelog: v0.3.6...v0.4.0
v0.3.6
- WPE 2.28 support (#46)
- Fixes remaining issues when trying to run the Renderer on WPE 2.28 browser and possibly lower.
- Added
npm run prodcommand to run the Example Tests in production mode (required to run the tests on legacy browsers)
v0.3.5
- Fix: OffscreenCanvas '2d' context is not available (#41)
- Fixes this issue.
v0.3.4
- 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-stresstest with instructions on how to perform. - Example tests may now export a
customSettingsfunction 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
typenow 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
- Refactor ShaderDesc / TextureDesc related areas including change their names to ShaderRef / TextureRef. (#27)
Full Changelog: v0.3.3...v0.3.4
v0.3.3
- 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
- Fixes a Vite error that users of the Renderer experienced due to
- Include
exportsfiles for SourceMaps (#39)- Fixes all remaining Vite sourcemap errors that users of the Renderer
experienced
- Fixes all remaining Vite sourcemap errors that users of the Renderer
v0.3.2
v0.3.1
v0.3.0
Initial open source release