v3.0.0
What's Changed
- Add issue/pr templates and auto housekeeping by @wouterlucas in #530
- RC 3.0 by @jfboeve in #503
- fix: base64 images and xhr on chrome <67 by @pecoram in #534
- use transfer with ImageWorker by @chiefcll in #538
- feat: support for Blob images by @pecoram in #531
- Fix/rc3 optimisations by @jfboeve in #537
- fix: typescript issues with new shader structure by @chiefcll in #535
- chore: support wider node version by @minhui-foxtel in #540
- fix: setState dimensions undefined by @pecoram in #541
- Fix text overflow calculation not correct by @Drulokia in #522
- Feat/refactor texture coords by @jfboeve in #542
- Introduce platform abstraction layer by @wouterlucas in #422
- #484 Fix text disappears on color update by @Drulokia in #543
- fixed issue with shader switching by @jfboeve in #545
- fix Docker build by @wouterlucas in #553
- Remove deprecated preventCleanup flag by @wouterlucas in #551
- Cleanup left over platform calls by @wouterlucas in #550
- Update framebufferDimensions handling to support null values based on parentHasRenderTexture by @wouterlucas in #555
- Fix/shader border precision by @jfboeve in #554
- refactor: simplify isProduction check and remove unused assertions by @wouterlucas in #552
- Fix inspector is enabled even though it isn't by @chiefcll in #560
- Prevent glClearColor when clear color is changed by @erikhaandrikman in #559
- #547 Fixed. Width and Height not updating on textures by @Drulokia in #558
- docs: fix broken example project by @minhui-foxtel in #561
- Feat/touch detection by @jfboeve in #562
- fix detect touch test with right function name by @jfboeve in #564
- Fix failed textures getting stuck by @wouterlucas in #563
- Feat/make renderer options usable at runtime by @Drulokia in #528
- when using this.props / computed more than 3 times use const. by @jfboeve in #566
- default for strictBounds is now true by @chiefcll in #569
- Include node dimensions to shader value key + minor refactor by @jfboeve in #570
- fixed shader render issue when border is 0 by @jfboeve in #571
- fix only use type of webglrenderer not actual instance by @jfboeve in #572
- Micro optimisations & perf updates by @wouterlucas in #557
- Improved update function by @jfboeve in #575
- Prevent rendering of broken image icon when Image fallback loading fails by @c-marchese in #580
- export timing functions for animations by @chiefcll in #576
- Chore/v2 to v3 ports by @wouterlucas in #582
- fix: cleanup texture objects by @wouterlucas in #590
- chore: remove performance benchmark utility by @wouterlucas in #591
- Simplify Throttling for v3 by @wouterlucas in #593
- Caching Uniform Locations upon ShaderProgram creation by @jfboeve in #594
- v2 port forwards by @wouterlucas in #600
- fix: enhance texture loading by @wouterlucas in #608
- Feat: fps throttle by @wouterlucas in #609
- added some micro optimisations by @jfboeve in #611
- perf: performance changes to the canvas text renderer by @wouterlucas in #613
- removed contain and replaced it with maxWidth / maxHeight by @jfboeve in #614
- fixed resolved defaults regarding color by @jfboeve in #616
- Text engine Refactor by @wouterlucas in #585
- fix: update texture cleanup logic by @wouterlucas in #619
- Improved text generation check update loop text node by @jfboeve in #620
- Synchronous font loading by @wouterlucas in #621
- reinstate w/h shorthand properties by @wouterlucas in #622
- add migration guide for upgrading from Lightning 3 v2.x to v3.0 by @wouterlucas in #623
- fixed worldAlpha calculation when parent alpha is 0 by @jfboeve in #628
- fixes rotation / scale calculation + cleanup rotation test by @jfboeve in #626
- optimised when shader uniforms are updated by @jfboeve in #627
- Remove strictBounds property by @wouterlucas in #629
- v3 issues by @wouterlucas in #630
- fixed getAttributeLocations function by @jfboeve in #634
- fix possible infinite loop when line is undefined by @wouterlucas in #635
- fixed ordered attributes by @jfboeve in #636
- Add events to the docs by @wouterlucas in #638
- feat: Allow custom timing functions for easing by @WillsonHaw in #639
- Inspector performance monitoring by @wouterlucas in #631
- chore: update pnpm, TS, dependencies and playwright by @wouterlucas in #640
- Unified Text Layout Engine (fresh branch) by @jfboeve in #642
- fixed node w / h references for inpector by @jfboeve in #644
- fixed some prop references for canvas shaders by @jfboeve in #645
- Fix/v3 grad shaders by @jfboeve in #657
- upgrade playgwright & fixed some tests by @jfboeve in #662
- removed repeatDelay prop since it does not do anything by @jfboeve in #646
- optimized text alignment calculations by @jfboeve in #661
- update dynamically when text content changes by @il-sairamg in #666
- feat: add renderable event to CoreNode by @wouterlucas in #674
- create canvas with Platform by @estobbart in #679
- fixed maxWidth, maxHeight, contain by @jfboeve in #673
- move FontFaceSet into Platform layer by @estobbart in #680
- fix initial node by @jfboeve in #682
- CanvasTextRenderer to use settings dpr by @estobbart in #685
- Fix/radial gradient shader dims by @jfboeve in #686
- support for undefined target by @estobbart in #689
- added improved texture compression, refactored texturecoord flow by @jfboeve in #688
- microqueue text loaded emit by @jfboeve in #691
- fix rounding to be smoother on retina devices and smooth correctly by @chiefcll in #692
- (v3) Texture Management / GC by @jfboeve in #694
- optimize the update loop by @chiefcll in #695
- Feature(v3) refactored zIndexing by @jfboeve in #669
- added timing functionality to shaders by @jfboeve in #573
- limit the test timeout to 10 min by @chiefcll in #702
- fix elapsed time not to be negative by @chiefcll in #704
- Fixed Renderer not going Idle / infinite update loop by @jfboeve in #698
- clean up default shader by @chiefcll in #701
- tweak the sdf shader by @chiefcll in #707
- actually fix the update loop not going idle by @chiefcll in #706
- Ported v2 inspector fixes to v3 by @jfboeve in #708
- Fixes Canvas Render by @jfboeve in #710
- fix reuse render op by @chiefcll in #700
- fix: throw an error for unexpected texture data by @wouterlucas in #713
- Autosize node based on children by @wouterlucas in #681
- fix textureCoord update on w/h change by @jfboeve in #719
- fix double calculating alpha for imageBitmap by @chiefcll in #721
- alias w/h to maxWidth/maxHeight - backwards compat for text nodes wit… by @chiefcll in #711
- feat: add full cleanup flag for textures by @chiefcll in #717
- only processSome if there are updates, add PQ check by @chiefcll in #722
- Test/texture contain resize by @chiefcll in #720
- cache key value for shader nodes by @chiefcll in #725
- Fix TextConstraint enum value for 'both' by @chiefcll in #731
- Feature Border Align & Gap by @jfboeve in #729
- feat: add enableClear flag to disable glw.clear by @chiefcll in #728
- perf: Change ImageWorker from round robin to load based by @chiefcll in #723
- disable gl.getError check for production by @chiefcll in #724
- update addQuad to take CoreNode instances by @chiefcll in #726
- Refactor/remove render ops by @chiefcll in #727
- V3 Beta 21 by @jfboeve in #732
- Fix initial text properties in inspector by @wouterlucas in #735
- Inspector changes Textures/Text by @jfboeve in #736
- resolved issue where border alpha was not properly drawn by @jfboeve in #739
- add missed exports during porting by @jfboeve in #737
- Released v3.0.0-beta22 by @jfboeve in #743
- removed rtt check in loadTextureTask by @jfboeve in #745
- Feat: Extend platform abstraction by @wouterlucas in #746
- fixed an issue with zIndexing by @jfboeve in #748
- fix: added missing textureError error object by @pecoram in #749
- fix drawing precision when using asym borders by @jfboeve in #751
- (V2-PORT): introduce reset parameter to stop method by @jfboeve in #753
- fix: improve zIndex handling and sorting logic by @pecoram in #752
- fixed loading compressed textures by @jfboeve in #755
- Fix/z index simplify by @jfboeve in #754
- fix: chrome 35 shader program compatibility by @pecoram in #758
- 3.0.0-beta23 released by @jfboeve in #756
- Remove unnecessary
this.xwhenxis a constructor param by @guilhermesimoes in #761 - Add more exports by @guilhermesimoes in #760
- fix: sdf kerning by @jfboeve in #762
- fix: guard against undefined or empty text nodes by @wouterlucas in #763
- Released 3.0.0-beta24 by @jfboeve in #765
- fix: WebPlatformChrome50 createImageBitmap not works on the ImageWorker by @pecoram in #757
New Contributors
- @minhui-foxtel made their first contribution in #540
- @WillsonHaw made their first contribution in #639
- @estobbart made their first contribution in #679
- @guilhermesimoes made their first contribution in #761
Full Changelog: v2.13.0...v3.0.0