v0.3.0-alpha.42 - little by little, good things take time!
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">
- F.e.
- 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 #265el.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 globalNode
) toElement3D
, but leave a deprecatedNode
class for backwards compat for now by @trusktr in #250
Docs
- docs: Update README.md by @UdayKharatmol in #282
- docs: Update README.md by @bhargavshirin in #286
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 newerqueueMicrotask()
by @trusktr in #250 - internal: legacy code cleanup 🎉: remove
DeclarativeBase
, split intoCompositionTracker
andChildTracker
classes, move remaining logic to theImperativeBase
base class by @trusktr in #250 - internal: rename
ImperativeBase
toSharedAPI
. 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
- @keywizzle made their first contribution in #265
- @UdayKharatmol made their first contribution in #282
- @bhargavshirin made their first contribution in #286
Full Changelog: v0.3.0-alpha.14...v0.3.0-alpha.42