@holoflows/kit 0.3.0
You can install it on npm
now.
π₯ Breaking Changes
- You need to install webextension-polyfill on Chrome to use @holoflows/kit
- The behavior of
.querySelector
and.querySelectorAll
chaining has changed!
- previously: .querySelector('a').querySelector('.b') means `a, b`
+ currently : .querySelector('a').querySelector('.b') means `a b`
- Effect forwarding of
style
has changed.
- previously: style (forward, no-undo, move)
+ currently : style (forward, undo, move)
- metadata support for
AsyncCall
has dropped. - Two new contexts for
Context
now ('options' and 'debugging')
π New
- Add
.clone
,.getElementsByClassName
,.getElementsByTagName
,.closest
(beta) onLiveSelector
- Add creating options for
DomProxy
(See document for details). - New
.observer
property onDomProxy
can help you watch the dom changes. - New
.beforeShadow
,.afterShadow
property onDomProxy
can directly attach shadow roots. - New
.weakBefore
,.weakAfter
property onDomProxy
can checkbefore
andafter
without creating them implicitly. - Now
before
andafter
of DomProxy get typed. - New
.once
onWatcher
class, it will return a promise and resolved when LiveSelector selects enough element then stop watching. - You can omit the warning from Watcher now. (omitWarningForRepeatedKeys)
AutomatedTabTask
is configurable now!
π Document
We switch to @microsoft/api-documenter to generate our document from code!
π©βπ» Others
timeout
andsleep
is@internal
now (but you can still use them!)
π Internal
- Watcher now use
requestIdleCallback
(with fallback) to control execute frequency of callback stopWatch
onWatcher
is notabstract
now.- Watcher is no longer a subclass of NodeJS.EventEmitter.