fix(domtools): stabilize DomTools lifecycle, cleanup, and singleton behavior

This commit is contained in:
2026-04-24 04:54:40 +00:00
parent 6c5271015d
commit 06f0ea4f92
10 changed files with 781 additions and 163 deletions
+11
View File
@@ -1,5 +1,16 @@
# Changelog
## 2026-04-24 - 2.5.6 - fix(domtools)
stabilize DomTools lifecycle, cleanup, and singleton behavior
- make setupDomTools reliably reuse the global singleton while allowing isolated instances with ignoreGlobal
- add dispose support across DomTools, scroller, theme manager, and keyboard to clean up listeners and managed DOM resources
- improve runOnce to share the first in-flight promise across concurrent callers
- make elementBasic setup wait for global style injection and expose globalStylesReady consistently
- harden external script and stylesheet loading with domReady coordination and load/error handling
- refine keyboard combo handling and synthetic key triggering while preserving the public key enum API
- expand tests and documentation for singleton reuse, isolated instances, cleanup, plugin exports, and readiness behavior
## 2026-04-23 - 2.5.5 - fix(build)
align test imports with tstest tapbundle and simplify the build script