Skip to content

Manually merge dependabot bumps and port NAF to renderer 3.x - #7

Merged
wouterlucas merged 1 commit into
mainfrom
chore/manual-dependabot-bumps
Sep 6, 2026
Merged

Manually merge dependabot bumps and port NAF to renderer 3.x#7
wouterlucas merged 1 commit into
mainfrom
chore/manual-dependabot-bumps

Conversation

@wouterlucas

Copy link
Copy Markdown
Collaborator

Manually merges the open dependabot bumps (renderer 0.6.x -> 3.3.1, vite 6.4.3 -> 8.2.2, actions/checkout 4 -> 7) and ports NAF to the new renderer API, since the 0.6 -> 3.3.1 jump is breaking.

Renderer 3.x port:

  • Drop removed MainCoreDriver/init(); construct RendererMain(settings, target) directly with WebGlRenderer + Sdf/Canvas font engines by default
  • Replace removed CoreExtension/WebTrFontFace/SdfTrFontFace API with stage.loadFont() and shManager.registerShaderType(); old addWebFont/addSdfFont signatures still accepted
  • INodeWritableProps/ITextNodeWritableProps -> INodeProps/ITextNodeProps; map legacy width/height props to w/h
  • Fix Proxy handler typing against new INode (extends CoreNode/EventEmitter)
  • Remove dead src/renderer/test.ts CoreExtension sample
  • Fix vite.config.js (missing defineConfig import, wrong plugin package name)

Validation: tsc clean, all examples + src bundle via esbuild, vite build of ./examples passes, 11/11 node smoke checks pass. Full in-browser check of ?test=index|font|zIndex|zIndexUnstacked still recommended (no headless browser in CI here). Closes #5, closes #4, closes #3.

- Bump @lightningjs/renderer 0.6.x -> 3.3.1, vite 6.4.3 -> 8.2.2,
  actions/checkout 4 -> 7 (equiv. of PRs #5, #4, #3)
- renderer.ts: drop MainCoreDriver/init(), default renderEngine to
  WebGlRenderer with Sdf+Canvas font engines
- extensions.ts: replace removed CoreExtension/WebTrFontFace/SdfTrFontFace
  API with stage.loadFont() and shManager.registerShaderType(), keeping
  backwards-compatible addWebFont/addSdfFont signatures
- Node/Scene: INodeWritableProps -> INodeProps, map legacy width/height
  props to w/h
- vite.config.js: fix missing defineConfig import and plugin package name
- Remove dead src/renderer/test.ts CoreExtension sample
@wouterlucas
wouterlucas merged commit f36ded7 into main Sep 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant