Skip to content

Latest commit

 

History

History
343 lines (227 loc) · 17.3 KB

CHANGELOG.md

File metadata and controls

343 lines (227 loc) · 17.3 KB

1.6.0-alpha Maintenance pre-release (2020-01-18)

  • Remove support for Node < 8.0
  • Update dependencies (#306, #310)
  • Update documentation to use updated SVGO plugin name (#275)
  • Move mocha and should dependencies back to devDependencies again (#297, #285)
  • Add built-in templating function to encode hash signs (#294)
  • Fix verbose logging output (#279, #291)
  • Add option to prefix auto-generated namespace IDs (#292, #293)
  • Update preview templates to use SVG checker image (#287)

1.5.0 Maintenance release (2018-09-18)

  • Updated dependencies
  • Dropped support for Node.js < 6.4

1.4.1 Maintenance release (2018-09-18)

1.4.0 Maintenance release (2018-03-17)

  • Added more Node.js versions to Travis instructions
  • Updated dependencies
  • Updated SVGO version & test fixture (#258, #259)
  • Reformatted documentation code examples (#236)
  • Fix JSHint errors (#261)
  • Add support for simple shape ID generator (#240)
  • Add failing CPU detection workaround (#252)
  • Changed SVGO plugin defaults (#249)

1.3.7 Bugfix release (2017-06-01)

  • Updated dependencies
  • Fixed invalid markup in <defs> example html (#229)
  • Fallback for failing CPU detection (#217)
  • Fixed broken SVGO configuration in CLI (#216, #199)
  • Added glob base directory option to CLI (#220)
  • Fixed broken rootAttributes option in CLI (#228)

1.3.6 Bugfix release (2016-08-29)

  • Updated dependencies
  • Fixed LESS template mixin call (#187)
  • Fixed broken keyframe animation support (gulp-svg-sprite #63)

1.3.5 Bugfix release (2016-08-15)

  • Fixed file name regression bug (#186)

1.3.4 Bugfix release (2016-08-12)

  • Updated dependencies
  • Extended the ID generator callback signature (#176)
  • Improved usage pattern example (#177)
  • Added support for mode shorthand definitions in CLI mode (#183)

1.3.3 Bugfix release (2016-04-28)

  • Fixed CLI regression bug (#173)
  • Fixed CLI root attributes file handling (#144)

1.3.2 Feature release (2016-04-27)

  • Updated dependencies
  • Restored documentation image (#168)
  • Added CLI rendering options for defs/symbol/stack sprites (#160)
  • Added CLI option for external JSON config file (#160, #165)

1.3.1 Bugfix release (2016-04-17)

1.3.0 Major maintenance release (2016-04-14)

  • Updated dependencies
  • Tweaked .gitignore to ignore symlinked test files (closes #140) Reverted & made the files real copies
  • Updated documentation (grunt-svg-sprite #69)
  • Removed redundant require (#156)
  • Dropped support for Node.js < 4.0 and io.js
  • Added explicit sprite size in example document (#138)
  • Added XML entity resolution (#118)
  • Allow multiple selectors for ID / class namespacing (#109)
  • Switched to patched svg2png until media queries are properly supported (devDependencies)

1.2.19 Maintenance release (2016-01-11)

  • Updated dependencies
  • Temporarily fixed xmldom dependency problem (#135)

1.2.18 Maintenance release (2016-01-05)

  • Updated dependencies
  • Fixed inline embedding link in example templates (#130)
  • Fixed broken Less mixin support (#133)
  • Introduced support for custom shape orders (#131)

1.2.17 Maintenance release (2015-12-17)

  • Updated dependencies

1.2.16 Maintenance release (2015-12-01)

  • Updated dependencies
  • Improved log level config handling (#124)
  • Wrapped CSS url()s in quotes (#125)

1.2.15 Maintenance release (2015-11-24)

  • Updated dependencies

1.2.14 Bugfix release (2015-11-17)

  • Updated dependencies & test fixture
  • Added Node.js versions 4 & 5 to Travis tests
  • Fixed broken svg4everybody links (#122, gulp-svg-sprite #39)

1.2.13 Maintenance release (2015-11-06)

1.2.12 Maintenance release (2015-10-24)

  • Updated dependencies
  • Dropped example file extension restriction (#119)

1.2.11 Maintenance release (2015-10-07)

  • Updated dependencies

1.2.10 Maintenance release (2015-08-19)

  • Updated dependencies
  • Added browser compatibility hint (#106)
  • Added accessibility features to symbol sprites (#107)

1.2.9 Bugfix release (2015-08-19)

  • Updated dependencies
  • Fixed broken classname rendering function (#71)

1.2.8 Feature release (2015-08-12)

  • Updated dependencies
  • Introduced CSS positioning values floating point precision (#102)

1.2.7 Maintenance release (2015-07-29)

  • Updated dependencies
  • Fixed error in symbol example template (#99)

1.2.6 Feature release (2015-07-17)

  • Updated dependencies
  • Added CSS class namespacing (#42)

1.2.5 Maintenance release (2015-06-24)

  • Updated dependencies
  • Changed sprite file name handling (#97)

1.2.4 Bugfix release (2015-06-17)

  • Updated dependencies
  • Fixed invalid SVG validation regex (#94)

1.2.3 Bugfix release (2015-06-08)

  • Fixed string conversion regression (#89)
  • Updated dependencies

1.2.2 Feature release (2015-06-05)

1.2.1 Bugfix release (2015-06-04)

  • Fixed broken npm publish settings

1.2.0 Feature release (2015-06-04)

  • Updated dependencies & development dependencies (#67, #82)
  • Relocated the shape transformations list config option
  • Added custom root attributes support (#87)
  • Introduced a global post-processing transformation option (#64, #87)

1.1.2 Bugfix release (2015-04-22)

  • Fixed symbol example template regression bug (#70)
  • Added mixin option to CLI arguments
  • Fixed boolean CLI argument notation (#76)
  • Added whitespace replacement for shape IDs (#77)

1.1.1 Bugfix release (2015-04-19)

  • Updated dependencies & development dependencies
  • Added viewBox attribute to SVG stacks (#73)
  • Fixed example document path resolution bug (#70)
  • Allow negative viewBox values (#72)
  • Fixed symbol example document (#71)
  • Improved error log for invalid SVG files (#69)

1.1.0 Maintenance release (2015-04-04)

  • Updated dependencies & development dependencies
  • Added mixin option (#66; ATTENTION: May break custom templates!)
  • Node.js 0.12 compatibility

1.0.20 Bugfix release (2015-03-28)

  • Updated dependencies
  • Fixed several CLI bugs (#65)

1.0.19 Maintenance release (2015-03-08)

  • Changed alias for shape.dest CLI option
  • Updated dependencies
  • Fixed ID bug with view sprites
  • Fixed sprite CSS path calculation

1.0.18 Bugfix release (2015-02-20)

  • Removed excessive console output

1.0.17 Maintenance release (2015-02-20)

  • Optimized stylesheet templates
  • Introduced boolean hasCommon template variable
  • Updated dependencies
  • Fixed incomplete dimension CSS selector suffix (grunt-svg-sprite #31)

1.0.16 Bugfix release (2015-02-11)

  • Fixed broken previous release

1.0.15 Bugfix release (2015-02-11)

  • Fixed missing file extensions with CSS resources (#54)
  • Fixed broken sprite URL in css/view example HTML documents (#53)
  • Fixed wrong base path for intermediate SVG shapes
  • Removed the automatic dot prefix for CSS selectors (#55)

1.0.14 Maintenance release (2015-02-08)

  • Restructured documentation
  • Updated dependencies
  • Fixed error with falsy rendering configurations (#52)

1.0.13 Maintenance release (2015-01-28)

  • Fixed windows path separator bug (gulp-svg-sprite #6)
  • Made dimension attributes (width & height) optional (#45)
  • Added cache busting option for non-CSS sprites (#48)

1.0.12 Feature release (2015-01-27)

  • Added dimension CSS output for non-CSS sprites (#45)
  • Bumped lodash dependency version (#44)

1.0.11 Bugfix release

  • Fixed coordinate distortion in CSS sprites (#41)

1.0.10 Maintenance release

  • Added support for custom mode keys
  • Fixed external CLI transform configuration support
  • Fixed typos in README example (PR #39)
  • Added support for Windows file name globbing (#40)

1.0.9 Maintenance release

  • Updated dependencies
  • Introduced svg getter in templating shape variables
  • Fixed broken dimension argument in CLI version (#38)
  • Fixed logging error in SVGO optimization
  • Fixed missing XML namespaces in SVG stack
  • Fixed cache busting errors with example HTML document

1.0.8 Bugfix release

1.0.7 Feature release

  • Improved error handling
  • Improved XML & DOCTYPE declaration handling and fixed (grunt-svg-sprite #28)

1.0.6 Feature release

1.0.5 Bufix release

  • Fixed regression bug with SVG stacks
  • Added support for ID generator templates in CLI version (#37)

1.0.4 Bufix release

  • Fixed XML & doctype declaration bug with inline sprites (gulp-svg-sprite #2)
  • Added support for ID generator templates (#37)

1.0.3 Bufix release

  • Fixed dependency error (#36)

1.0.2 Maintenance release

  • Improved error handling

1.0.1 Maintenance release

  • Updated module dependencies

1.0.0 Next generation release

  • Rewritten from scratch (#23, #30)
  • Dropped libxmljs dependency for improving Windows support (e.g. grunt-svg-sprite #14)
  • Added support for view, symbol and stack modes (#27, #35, grunt-svg-sprite #24)
  • Strip off all file access methods, making the module a good basis for 3rd party tools (like Grunt & Gulp plugins) (#21, #25)
  • Improved command line version (#34)
  • Switched to relative positioning in CSS sprites (grunt-svg-sprite #23)
  • Made the configuration of Mustache templates and destinations more intuitive
  • Enabled customization of shape IDs
  • Enabled custom SVG transformations
  • Enhanced padding options (#24)
  • Added cache busting for css and view mode (enabled by default; #29)
  • Added support for meta data injection

For older release notes please see here.

About

The original svg-sprite was my first-ever Node.js module and featured CSS sprites only. The 1.0 release is rewritten from scratch and introduces a bunch of new features like less dependencies (for improved Mac OS and Windows compatibility), support for inline sprite formats and the removal of file-system access so that other libraries can build on top of it more easily. Derived libraries include:

iconizr, another project of mine, is based on svg-sprite and adds PNG fallbacks for the sprites so you can use them as universal icon systems for websites (Node.js module, Grunt plugin, PHP version and online service).