Skip to content

Releases: uncenter/eleventy-plugin-icons

v4.5.1

07 Aug 14:36
4c7fece
Compare
Choose a tag to compare

🩹 Fixes

    View changes on GitHub

v4.5.0

08 Apr 15:50
d8d6960
Compare
Choose a tag to compare

   🚀 Enhancements

  • Add optional getFileName option to source objects  -  by uncenter in #62 (7cc40)

   💅 Refactors

  • Update eslint config  -  by uncenter (ccedf)

   📖 Documentation

  • Improve readme  -  by uncenter (befcc)
    View changes on GitHub

v4.4.1

21 Dec 12:11
425ebb5
Compare
Choose a tag to compare

What's Changed

  • fix: avoid minifying identifiers when bundling by @ryanccn in #40

New Contributors

Full Changelog: v4.4.0...v4.4.1

v4.4.0

03 Dec 21:06
604e7b6
Compare
Choose a tag to compare

Full Changelog: v4.3.1...v4.4.0

Fixes sprite mode from an earlier bug I introduced that removed the lines adding each page's icons to this.page.icons (#36), fixes icons from sprite.extraIcons not being included in the sprite shortcode (d4580bb), fixes duplicate symbols appearing in the sprite sheet (5921ae0), upgrades a bunch of dependencies, adds an example for icon.transform usage (382a5b2), and adds a note to the README regarding the usage of attributes in sprite mode (cec2f5a).

v4.3.1

25 Sep 23:52
7f624a2
Compare
Choose a tag to compare

Full Changelog: v4.3.0...v4.3.1

Fixed some bugs with the options validation - it worked fine but would log the location of the issue incorrectly. I simplified how options are validated which will hopefully prevent this from happening again in the future!

v4.3.0

25 Sep 16:20
e829b6c
Compare
Choose a tag to compare

Full Changelog: v4.2.1...v4.3.0

This release removes Zod and related dependencies that were used for validating this plugin's options. Instead I adopted a much more basic validation function that takes a little more work to update each time but is about 4 times faster and reduces the package size by ~76%. The logging is also slightly updated here and looks more similar to 11ty's logging (because it is actually based on 11ty's logging) - you can thank @Aankhen for that.

v4.2.1

12 Sep 00:32
6b71825
Compare
Choose a tag to compare

Full Changelog: v4.2.0...v4.2.1

Fix package not being built before publishing!

v4.2.0

12 Sep 00:29
13f86c2
Compare
Choose a tag to compare

Full Changelog: v4.1.1...v4.2.0

Now written in TypeScript, with options validation, improved docs, and better testing.

v4.1.1

24 Aug 13:59
7ec8633
Compare
Choose a tag to compare

Full Changelog: v4.1.0...v4.1.1

Fixes options not merging properly with the default options.

v4.1.0

23 Aug 19:23
f8732ec
Compare
Choose a tag to compare

Full Changelog: v4.0.1...v4.1.0

The optimize option in pre-v4 releases was often used to bypass parsing errors - the plugin used an HTML parser that couldn't handle things like this:

<!-- ...  -->
<svg></svg>

or this:

<?xml version="1.0" encoding="utf-8"?>
<svg></svg>

SVGO/optimize fixed this due to some parsing to remove these before they were processed by the plugin. Because optimize was removed in v4.0.0, this may have caused some issues. This release switches to https://github.com/NaturalIntelligence/fast-xml-parser, a more flexible parser that can handle those examples above and it might even be a little bit faster. It also has an approximately 85% smaller bundle size than linkedom.