SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)
MIT License
Bot releases are hidden (Show)
Published by XhmikosR 7 months ago
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v3.0.0-rc1...v3.0.0-rc2
Published by XhmikosR 8 months ago
Hopefully this will be the last 2.x version and the next version will be v3.0.0. There might be regressions compared to 1.x in main (3.x), so if you have time please make a PR with an accompanied test case and CC me.
This is the only way to move forward given the limited resources we have.
lodash.trim
and lodash.trimStart
removal to 2.x by @martell2010 in https://github.com/svg-sprite/svg-sprite/pull/850
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.2...v2.0.3
Published by XhmikosR 8 months ago
Hopefully this will be the last beta/rc version and no further breaking changes will happen. There might be regressions compared to 1.x or 2.x, so if you have time please make a PR with an accompanied test case and CC me.
This is the only way to move forward given the limited resources we have.
Object.keys(NodeList)
with NodeList.length
by @Ingramz in https://github.com/svg-sprite/svg-sprite/pull/865
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v3.0.0-beta3...v3.0.0-rc1
Published by XhmikosR 11 months ago
fs/promises
by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/814
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v3.0.0-beta2...v3.0.0-beta3
Published by XhmikosR over 1 year ago
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v3.0.0-beta1...v3.0.0-beta2?w=1
Published by XhmikosR over 1 year ago
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v3.0.0-alpha2...v3.0.0-beta1
Published by XhmikosR over 1 year ago
_transformShape
Not Calling All Transformations by @babs20 in https://github.com/svg-sprite/svg-sprite/pull/775
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v3.0.0-alpha1...v3.0.0-alpha2
Published by XhmikosR almost 2 years ago
shape.id.separator
regression by @sfe-efficy in https://github.com/svg-sprite/svg-sprite/pull/745
lodash.trim
dependency by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/749
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.2...v3.0.0-alpha1?w=1
Published by XhmikosR almost 2 years ago
Published by XhmikosR almost 2 years ago
shape.id.separator
regression https://github.com/svg-sprite/svg-sprite/pull/745
namespaceIDPrefix
option
rel="noopener noreferrer"
to all links in generated HTML pages.compileAsync
method
href
attributes (earlier worked with xlink:href
only)config.transform
option
config.log
option is an instance of winston.Logger
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v1.5.4...v2.0.0?w=1
Published by XhmikosR over 2 years ago
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.0-beta6...v2.0.0-beta7
Published by XhmikosR over 2 years ago
⚠⚠⚠DEPRECATED DUE TO #702⚠⚠⚠
_.escape
with native JS by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/620
lodash.merge
package by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/619
_.invoke
with vanilla JS by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/461
_.trim
and _.trimStart
with lodash.trim
and lodash.trimstart
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/700
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.0-beta5...v2.0.0-beta6
Published by XhmikosR over 2 years ago
SVGSpriteBase
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/665
_.zipObject
with vanilla JS by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/616
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.0-beta4...v2.0.0-beta5?w=1
Published by XhmikosR over 2 years ago
Object.defineProperty
by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/551
shape.transform
& shape.spacing
in SVGSpriterConfig by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/643
shape.svg
in SVGSpriterConfig.constructor by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/646
calculate-svg-dimensions
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/648
transform/svgo
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/647
Queue
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/650
SVGShape
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/654
SVGShape
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/656
SVGShape
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/659
SVGShape
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/662
SVGShape
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/661
SVGSprite
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/663
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.0-beta3...v2.0.0-beta4
Published by XhmikosR over 2 years ago
SVGSpriter.compileAsync
methodcss.packed.aligned.png
into two files for more clear tests by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/612
'use strict'
directives by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/617
_.pick
with native JS by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/463
_.cloneDeep
with _.merge
by @XhmikosR in https://github.com/svg-sprite/svg-sprite/pull/622
layouter.layout
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/628
utils.isObject
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/630
config.log
passed to SVGSpriterConfig by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/633
SVGSpriterConfig.filter
by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/634
shape.meta
creation in SVGSpriterConfig by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/637
shape.align
creation in SVGSpriterConfig by @Kreeg in https://github.com/svg-sprite/svg-sprite/pull/638
Install with npm i svg-sprite@next
Full Changelog: https://github.com/svg-sprite/svg-sprite/compare/v2.0.0-beta2...v2.0.0-beta3
Published by XhmikosR over 2 years ago
This release reduces the number of total dependencies even further. We also made progress in removing/replacing lodash dependency.
Install with npm i svg-sprite@next
Full diff: https://github.com/svg-sprite/svg-sprite/compare/v2.0.0-beta1...v2.0.0-beta2
Install with npm i svg-sprite@next
Thanks to everyone who contributed, and @Kreeg who joined to help!
Full diff: https://github.com/svg-sprite/svg-sprite/compare/v1.5.4...v2.0.0-beta1
https://github.com/svg-sprite/svg-sprite/compare/v1.5.3...v1.5.4