Repository navigation
Release Haptic 0.3.0 - #46
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the
0.3.0release of@bloxwap/haptic. Thenpm run benchsuite (#35) found four performance issues, and this release ships the fixes, which have already been merged tomain:triggerHapticno longer bundlesweb-haptics. The imperative-only import went from 3,313 to 1,273 gzip bytes (−62%).MutationObservernow runs only on the iOS native path. Observers per instance (vibration / iOS / desktop) went from 1/1/1 to 0/1/0. Vibration mount for 1,000 targets dropped by about 24%.useIOSNativeHaptics()now resolves on the first client-only render. iOS commits per mount went from 3 to 2. This is a visible behavior change, which is why the version is a pre-1.0 minor.web-hapticsengine. Engines, body nodes and rAF after 100 taps went from 100/300/2 to 0/0/0, and first-tap cost fell by about 70%.Changes
0.3.0in the package, the docs workspace dependency and the lockfile..github/planning/0.3.0-release.json. Its implementation commit is26603e7, the currentmain, so runtime source is unchanged after it.RELEASING.mdandreleasing.mdxnow reference the new decision.Device-testing notes
Every benchmark number above is a simulated-browser measurement (Node 24, production React, jsdom with a stubbed
navigator). None come from physical devices. Physical iPhone, Android, iPadOS and VoiceOver certification is still pending in #9, and the CHANGELOG, README and docs say so.After merge: tag
v0.3.0on the merge commit and publish the GitHub release. That triggerspublish_npm.yml.