Skip to content

Latest commit

 

History

History
142 lines (90 loc) · 5.25 KB

CHANGELOG.md

File metadata and controls

142 lines (90 loc) · 5.25 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

5.0.1 — 2024–11–01

Fixed

  • The deprecation warning for the fs.Stats constructor no longer litters the output in the terminal.

5.0.0 — 2024–10–30

Changed

  • The minimum required node.js version has been increased to 20.12.0, except for version 21.

4.0.0 — 2024–05–11

Changed

  • The plugin no longer accepts any options. Previously option defaults are now the only possible values:
    • subdirectory delimiter substitute — underscore;
    • space substitute — hyphen;
    • output file name — stack.svg.

3.0.0 — 2023–10–29

Changed

  • The required node.js to the latest maintained LTS versions.

2.0.3 — 2023–10–29

No significant changes.

2.0.2 — 2023–06–16

No significant changes.

2.0.1 — 2023–03–20

No significant changes.

2.0.0 — 2022–12–21

Changed

  • Improved namespace processing:
    • Namespace values are now checked for uniqueness, since they are essential.
    • Different aliases of the same namespace are now cast to the same name.
    • The declaration of the deprecated namespace http://www.w3.org/1999/xlink and its aliases in href attribute prefixes are now removed.
    • Duplicate aliases of different namespaces are now renamed.
    • Declarations of only used namespaces are now added to the root svg element.
    • Namespace processing takes into account aliases for both attributes and tag names.
    • The main namespace xmlns="http://www.w3.org/2000/svg" has been moved to the map object.

1.1.0 — 2022–12–12

Added

  • Removing whitespace between tags when reading icon code. It will allow even well-optimized icons to be kept in source files in a readable form of formatted code.

1.0.6 — 2022–10–28

Fixed

  • Rendering in Safari.

1.0.5 — 2022–10–27

Fixed

  • Support node@16.

1.0.4 — 2022–09–22

No significant changes.

1.0.3 — 2022–09–04

Fixed

  • The unnecessary XML declaration is no longer added. Because it turns out that not only the DTD is not needed, but also the XML declaration, since the values ​​used are the default values. Stack works without all this XML prolog. More details can be found in supplementary material to the book “Using SVG with CSS3 and HTML5”.
  • File existence check, which became unnecessary after the previous code optimization.

1.0.2 — 2022–09–01

Fixed

  • Different icons may contain the same identifiers. Previously, this was not taken into account in any way and could lead to erroneous rendering. This is now fixed, all identifiers on the stack are unique.

1.0.1 — 2022–08–29

Fixed

  • The contents of defs tags are no longer transferring to defs of the root element since there is no need for this.
  • Optional namespace xmlns:xlink is now added only if it is necessary.
  • The content of the icons does not turn into the g tag and the attributes remain on the svg tag, except deprecated and interfering.

1.0.0 — 2022–08–29

Changed

  • The project has been renamed to gulp-stacksvg.
  • Changed sprite assembly method from symbol to stack.
  • Project converted to es-module.
  • The ability to inline a sprite into markup has been removed.
  • Missing viewBoxes are now created from icon sizes.

Added

0.0.1 — 2022–08–27

Just forked the gulp-svgstore project.