Releases: lightning-js/renderer
Releases · lightning-js/renderer
v0.8.0
What's Changed
- Threshold-based Texture Memory Management by @frank-weindel in #211
- Add 'idle' event by @chiefcll in #208
- Update FPS when in idle RAF by @wouterlucas in #205
- Fix word wrap on SDF single char words by @frank-weindel in #213
⚠️ Breaking Change: Reported width of SDF text from 'loaded' event is now more accurate (quite a bit less)
- Fix memory leak not deleting all children by @chiefcll in #207
- Fix casing of out of viewport event. by @michielvandergeest in #216
⚠️ Breaking Change: Change of event name fromoutOfViewPort
tooutOfViewport
Performance
- Optimize gradient shaders by @jfboeve in #214
- Remove unnecessary cascading of premultiply colors update by @frank-weindel in #210
Non-User Facing
Full Changelog: v0.7.6...v0.8.0
v0.7.6
What's Changed
- Text Autosize Behavior by @frank-weindel in #201
- Render Bounds Feature by @jfboeve in #191
- Fix memory leak with MainOnlyNodes by @chiefcll in #200
- Fix warning for font weight by @chiefcll in #188
- refactor: image worker to ES5 by @lmelati in #202
- This an the PR below expand browser compatibility below Chrome 50.
- ImageTexture: Fall back to HTMLImageElement in case createImageBitmap is not available by @wouterlucas in #203
Non-User Facing
- README: Add browser targets section by @frank-weindel in #194
New Contributors
Full Changelog: v0.7.5...v0.7.6
v0.7.5
What's Changed
- Inspector: Put divs on top, attach div to node and handle images differently by @wouterlucas in #187
- Feat: Allow custom data key/value storage on Nodes. by @wouterlucas in #178
- CoreNode: Implement a cleanup routine by @wouterlucas in #172
- feat: add font weight fallbacks by @chiefcll in #185
Full Changelog: v0.7.4...v0.7.5
v0.7.4
What's Changed
- fix: image load issue fix with png alpha by @tuncayyildirtanuk in #153
New Contributors
- @tuncayyildirtanuk made their first contribution in #153
Full Changelog: v0.7.3...v0.7.4
v0.7.3
What's Changed
- Wait until started event for animations by @michielvandergeest in #173
- Added frametick event, fired upon every frame start. by @michielvandergeest in #175
- Remove PNPM warning for projects using the renderer as a dependency by @michielvandergeest in #177
- Inspector: Lightning 3 node tree in the DOM for debugging by @wouterlucas in #167
Full Changelog: v0.7.2...v0.7.3
v0.7.2
What's Changed
- Texture Compression by @erikhaandrikman in #143
- Fix Canvas text getting cut off at the bottom by @frank-weindel in #156
- Fix multiple text issues by @frank-weindel in #164
- Export EffectsProps interfaces by @pecoram in #152
Non-User Facing
- Add SSDF text test and snapshot by @frank-weindel in #169
- Add ability to navigate pages by number key for PageContainer test examples by @frank-weindel in #166
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed
- Fix
delay
property in animations by @chiefcll in #145 - Fix incorrect clipping rect updates when clipping parent is moved by @frank-weindel in #139
- Fix simple scene rendering by @frank-weindel in #141
Performance
- Optimize the setting of x/y props for SDF text by @frank-weindel in #146
- Instantiate a single clipping Rect for each Node / Text Renderer State by @frank-weindel in #142
Non-User Facing
- VRT: Enable smaller snapshots (custom dimensions) by @frank-weindel in #147
- Update release procedure by @frank-weindel in #137
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
- Update grayscale effect to fall in-line with L2 shader version by @jfboeve in #116
- BorderEffect alpha fix by @jfboeve in #119
- Fix SDF text not moving with parent by @frank-weindel in #127
- Added missing text props for Canvas Renderer by @pecoram in #98
- Props:
lineHeight
,maxLines
,verticalAlign
,textBaseline
,overflowSuffix
- Props:
- Implement
lineHeight
,verticalAlign
,maxLines
,overflowSuffix
props in SDF Renderer by @frank-weindel in #136
Performance
- Image Worker by @chiefcll in #128
- Images are now loaded in separate web workers configured by
numImageWorkers
renderer option.
- Images are now loaded in separate web workers configured by
- Optimized WebGL Context Wrapper by @frank-weindel in #112
- This helps reduce the number of WebGL calls we do.
- Skip rendering of nodes that do not have a width/height property. by @wouterlucas in #114
- Context Spy by @frank-weindel in #110
- Memize shaders and timing functions by @chiefcll in #131
- Remove assertions in prod builds by @chiefcll in #133
- Glyph lookup via map not array by @chiefcll in #129
Non-User Facing
- Implement distinct stress tests by @frank-weindel in #111
- Visual Regression: Trigger error if snapshot is missing by @frank-weindel in #135
New Contributors
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Fix issue that caused animations not to finish all the way by @frank-weindel in #113
- Perf: Implement flag driven update dependency graph by @frank-weindel in #103
- Perf: Pause RAF loop when there are no updates by @frank-weindel in #99
- Perf: Skip nodes that have no renderable props. by @wouterlucas in #100
- Examples: Implemented a statistics summary when
fps
is set by @frank-weindel in #109
Non-User Facing
- Upload failed Visual Regression tests by @frank-weindel in #106
- GitHub Actions: Turn on merge queue by @frank-weindel in #108
Full Changelog: v0.6.0...v0.6.1
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