Releases: lightning-js/renderer
Releases · lightning-js/renderer
v0.6.0
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 andfpsUpdateInterval
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
- Implement Visual Regression Tests / Runner by @frank-weindel in #92
- Example Tests: Always start dev mode with
--host
by @frank-weindel in #101 - Example Tests: Implement
resolution
,ppr
, andmultiplier
params by @frank-weindel in #104 - Example Page: increase interval above 0 by @chiefcll in #85
New Contributors
- @wouterlucas made their first contribution in #97 🎉
Full Changelog: v0.5.0...v0.6.0
v0.5.0
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
- Update Release Procedure by @frank-weindel in #71
New Contributors
Full Changelog: v0.4.2...v0.5.0
v0.4.2
What's Changed
- Add deg2rad exported util by @frank-weindel in #63
- Fix clipping when node is scaled by @frank-weindel in #64
Non-User Facing
- Add release procedure by @frank-weindel in #60
- Switch to pnpm by @frank-weindel in #62
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- Updated threadx dependency to latest version by @michielvandergeest in #59
Full Changelog: v0.4.0...v0.4.1
v0.4.0
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
- @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 prod
command 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-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
- 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
exports
files 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