All notable changes to tiny-svg are documented here. We use semantic versioning for releases.
Note: Yet to be released changes appear here.
FIX
: escape entities in attributes (#16)
FIX
: escape entities in attributes (#16)
CHORE
: makeclear
work standalone
CHORE
: standaloneclear
implementation
CHORE
: revert to basicclear
CHORE
: rever to basicclear
FEAT
: use optimizedclear
FEAT
: trim whitespace aroundcreate
FEAT
: use optimizedclear
FEAT
: trim whitespace aroundcreate
CHORE
: turn into ES moduleCHORE
: require Node >= 16CHORE
: drop UMD distribution
- This library is now an ES only module, and can consumed as such in modern JavaScript environments.
FIX
: correctcreate
type definition (#13)
FEAT
: change library target toES2018
FEAT
: drop polyfills for browser not supportingES2018
- Target syntax is
ES2018
. Transpile the code base to target< ES2018
. - Polyfills for browsers not supporting
ES2018
are dropped (e.g. Element.classList).
FIX
: lazily create utility elements (#10)
CHORE
: add type definitions for prepend and prependTo
FIX
: correct type definitions for select and selectAll
FIX
: work around IE / MS Edge transform issue (980e9d6f
)
FEAT
: add ability tocreate
any SVG element via markupFEAT
: add ability to setinnerSVG
to fragmentFEAT
: addprependTo
andprepend
utils
FIX
: correct{}
TypeScript definition
FIX
: correct TypeScript definitions
FEAT
: add TypeScript definitions
FIX
: dropbrowser
field for better interoperability with module bundlers
CHORE
: mark utils as side-effect free viasideEffects: false
CHORE
: migrate code base to ES6FEAT
: generate bundles for CJS, ES6 and UMD
Check git log
for earlier history.