All notable changes to min-dom are documented here. We use semantic versioning for releases.
Note: Yet to be released changes appear here.
CHORE
: revert to basicclear
CHORE
: revert to basicclear
FEAT
: optimizeclear
FEAT
: use nativeclosest
FIX
: properly handle missingelement
inmatches
FEAT
: optimizeclear
FEAT
: use nativeclosest
FIX
: properly handle missingelement
inmatches
CHORE
: turn into ES moduleCHORE
: drop UMD distributionCHORE
: do not inline stable external dependencies
- This is an ES module only package now. Consume in modern browsers.
- Dropped UMD distribution. Consume as an ES module
DEPS
: update to[email protected]
(#19)
DEPS
: bump tomin-dash@4
FIX
: correctly reexportcomponent-event
(#18)CHORE
: generate sourcemaps
CHORE
: remove unnecessary deps, script, and .babelrc
FEAT
: change library target toES2018
FEAT
: dropmatches
shimFEAT
: drop polyfills for browser not supportingES2018
- You have to shim
Element#matches
- Target syntax is
ES2018
. Transpile the code base to target< ES2018
. - Polyfills for browsers not supporting
ES2018
are dropped (e.g. Element.classList).
FIX
: expose correct types (#14)
FEAT
: addassignStyle
utility
FIX
: insource delegate-events (#8)
FIX
: makeclosest
work inside shadow DOM (#5)
FIX
: correct TypeScript export definitions
FEAT
: add TypeScript definitions
FIX
: remove browser field again; it confuses modern module bundlers. This partially revertsv2.1.0
CHORE
: mark utils as side-effect free viasideEffects: false
CHORE
: addbrowser
field
-
CHORE
: expose utils via main entry point only; use imports / destructuring to access them:import { bind } from 'min-dom';
-
CHORE
: exposequery.all()
asqueryAll
CHORE
: migrate libray to ES6CHORE
: build and publish ES6, CommonJS and UMD distributions
CHORE
: removecomponent-query
and rely on nativequerySelector(All)
Check git log
for earlier history.