Skip to content

v0.3.0-alpha.42 - little by little, good things take time!

Compare
Choose a tag to compare
@trusktr trusktr released this 29 Apr 01:33
· 45 commits to develop since this release

What's Changed since v0.3.0-alpha.14

Features

  • feature: add "l" and "p" shorthands for "literal" and "proportional" sizeMode values, respectively by @trusktr in #250
    • F.e. <lume-mesh size-mode="l p" size="100 0.5">
  • feature: use DOM APIs only on the client, not SSR, by avoiding using DOM APIs at the top level of any module. This allows any SSR code (f.e. Svelte apps, Next/Nuxt, etc) that might be importing lume to not fail. by @trusktr in #250
  • feature: individual instance setter methods for <lume-instanced-mesh> as an alternative to attributes/props to avoid recalculating every instance matrix when updating only a single instance by @keywizzle in #265
    • el.setInstanceRotation(index, x, y, z)
    • el.setInstanceScale(index, x, y, z)
    • el.setInstancePosition(index, x, y, z)
    • el.setInstanceColor(index, r, g, b)
  • feature: remove inertial slowdown for ScrollFling because modern touchpads already have inertial slowdown, and instead add a lerp towards the current position to smooth it out for mouse wheels by @trusktr in #292
  • feature, deprecation: rename Node (which conflicts with the global Node) to Element3D, but leave a deprecated Node class for backwards compat for now by @trusktr in #250

Docs

Infra

  • infra: update to Yarn 4.0 by @trusktr in #284
  • infra: update lume cli to run tests in the amazing @web/test-runner … by @trusktr in #287

Internal

  • internal: replace Promise.resolve().then() with the newer queueMicrotask() by @trusktr in #250
  • internal: legacy code cleanup 🎉: remove DeclarativeBase, split into CompositionTracker and ChildTracker classes, move remaining logic to the ImperativeBase base class by @trusktr in #250
  • internal: rename ImperativeBase to SharedAPI. by @trusktr in #250
    • BREAKING: If you relied on this class (not recommended) import statements should be renamed.
  • internal: remove DOM transform property backfill 🎉 by @trusktr in #250
    • This provides an overall better zoom functionality across all browser and OS combinations.
  • internal: add InstancedMesh tests, and some internal updates fixes by @trusktr in #267

New Contributors

Full Changelog: v0.3.0-alpha.14...v0.3.0-alpha.42