4.0.0 (2026-04-07)
Bug Fixes
- ๐ lint (9af6872)
- ๐ linting issues (b0bdd0f)
- ๐ setup and linting (a01837e)
- ๐ story (4afb583)
- ๐ typecheck (4933ebd)
- api: fire zoom callbacks from programmatic zoomIn/resetTransform (665bff5), closes #369 #553
- bounds: respect disablePadding and explicit position props in bounds calculation (41f2f54)
- build: resolve TS7053 index-signature errors in stories utils (8f7e5a8)
- core: fix all failing tests and restore elastic zoom bounds (4a19bea), closes #396 #438 #516 #553
- core: refine initialization, reset, and scale safety (81e7c67), closes #363 #369 #259 #305 #250 #478 #498 #404 #406 #168 #323 #463 #495 #431 #241 #392 #483 #524 #286 #479 #427 #364 #432 #408 #547 #487 #513 #423
- pan: handle stale mouse/keyboard state across iframe boundaries (69d1f41)
- pan: sync modifier key release via event flags in iframes (83a269a)
- pan: use content-overflow check instead of scale > 1 for velocity (5520cc2), closes #363
- test: pass modifier flags on WheelEvent for activationKeys tests (114c02c)
- zoom: remove setState rounding that caused trackpad pinch-to-zoom drift (ad1f433)
Features
- ๐ธ Added mini map limiter (7401345)
- ๐ธ general logic cleanup for tests (38d3b96)
- ๐ธ moved 'smooth' to the wheel options, removed smoothStep (97e2515)
- ๐ธ New version (bc22bb7)
- ๐ธ setup (72e72f7)
- add support for custom offset when zooming to element (#535) (a0dac69)
- minimap: preview and wrapper customization; expand Storybook examples (20e481f)
- virtualize: add Virtualize component and infinite grid prop (f9d7ac8)
BREAKING CHANGES
- ๐งจ Small API changes, added tests, fixed many many bugs
- ๐งจ wheel api change