Releases: natemoo-re/astro-icon
[email protected]
Patch Changes
-
#247
fce07f17fe67116165d5d3dd279519bb7bbed55c
Thanks @christina-de-martinez! - Adds adesc
prop shorthand which maps to the SVG<desc>
tag, similar totitle
. -
#246
4c5da3378436c2bee6ccdf4ad9cf0e1f32fb6903
Thanks @stramel! - Fixes an issue whereviewBox
was not correctly passed to<symbol>
elements -
#245
ff3a66a8a357375076022b6f9800561ed845c071
Thanks @stramel! - Fixes handling of duplicate icon entries in the integration configuration -
#243
a8c0a6c5fe2a01841c258af5fb3abe04839df5eb
Thanks @stramel! - Replaces deprecatedxlink:href
attribute with standardhref
attribute
[email protected]
Patch Changes
-
#219
f18661fc47da152e7555d24b23143f0b481c852b
Thanks @Harry-Ross! - Added better typings for height, width and size to accept non-number values (i.e. 2 rem) -
#203
a4ff8736965214e16ce0b72364f43b3a4973f281
Thanks @natemoo-re! - Fixes an issue where collections would not be updated when the dev server was automatically restarted -
#230
7b11f6b0fb8977bfa35305f48ce70e9bc04ea07a
Thanks @frankievalentine! - Fixes a type definition issue caused by outdated dependency
[email protected]
Minor Changes
- #200
d7528f61484d5b60108cbe00bc5fb856766688d0
Thanks @natemoo-re! - Adds support for theis:inline
directive, which bypasses automatic sprite optimization and directly embeds the plain SVG.
[email protected]
Patch Changes
- #198
aac1ca330f6fdb56a6f3c32c4a91444ee746b557
Thanks @natemoo-re! - Fixes a regression in1.0.3
that changed how icons were sized
[email protected]
Patch Changes
2aad9d7ab21cdeff91ce43a21babf70e81b1d116
Thanks @natemoo-re! - Fixes an internal TypeScript issue that may have been visible when runningastro check
[email protected]
Patch Changes
-
#184
beefcb732c266bc3eedfa12740c0842fef7deccf
Thanks @natemoo-re! - Improves handling of invalid local icons, which previously caused all local icons to silently fail. -
#179
b55cd5f92da8988467e86cb2a45d3dfa82ef3ffa
Thanks @natemoo-re! - BREAKING: Requires subdirectory prefixes for local icons.This fixes a regression introduced in v1 and matches the previous v0
name
behavior.As an example, the
src/icons/logos/astro.svg
file could previously be referenced by the nameastro
. It should correctly be referenced aslogos/astro
.Before
<Icon name="astro" />
After
<Icon name="logos/astro" />
-
#180
580b5cd93d373ba72418365a97dac4cddf82afd7
Thanks @natemoo-re! - Removes an unecessary warning when only using local icons
[email protected]
Patch Changes
-
#172
3819bd149236e7496beff275adc0239b098fe8ea
Thanks @natemoo-re! - Fix broken link in README -
#175
c8c3df3c7fbeb85ad6bf5af67c53048ea26abefc
Thanks @natemoo-re! - Fixes an issue that caused installed@iconify-json/*
packages to not be detected in production environments
[email protected]
Major Changes
-
#111
a40531cddfe8e688d35bd25ae15ebc64a0a14ec1
Thanks @natemoo-re! - Finally,[email protected]
has arrived! This release provides a more flexible and reliable method of icon management, removes a number of redundant APIs, and now relies on Astro's official integration API.Please see the Upgade to
astro-icon
v1 guide for specific migration steps and the brand new docs site for more information.
Patch Changes
-
#111
a40531cddfe8e688d35bd25ae15ebc64a0a14ec1
Thanks @natemoo-re! - Updates theexports
field to point to the correctastro-icon/components
source file -
#111
a40531cddfe8e688d35bd25ae15ebc64a0a14ec1
Thanks @natemoo-re! - Moves warning about local directory to the moment they are used -
#111
a40531cddfe8e688d35bd25ae15ebc64a0a14ec1
Thanks @natemoo-re! - Makes theastro-icon
integration'sinclude
settings optional. By default, all icons for any detected@iconify-json/*
dependencies will be included. This makes migration much easier for existing static site users, while offering the same amount of control for server rendered users. -
#111
a40531cddfe8e688d35bd25ae15ebc64a0a14ec1
Thanks @natemoo-re! - Updates the SVGO options so that they are correctly passed through the build process
[email protected]
Patch Changes
- #111
1d65511c418b0fef0668e760c33bff21deeb8ef3
Thanks @natemoo-re! - Updates theexports
field to point to the correctastro-icon/components
source file
[email protected]
Patch Changes
-
#153
3664cac3633330c3d19c8e1eb6ffa5c6b8848091
Thanks @natemoo-re! - Fixes incompatability with Vite 5 by removing a deprecated method -
#148
d176a7da3b7332d459ec97c0af1667b6be9057fa
Thanks @kripod! - Fixes an edge case withcreateIconPack
when a module cannot be resolved -
#141
832ac0523905f658cebd537d65c67b391d7c9b52
Thanks @liruifengv! - fix type import -
#149
f5640282120e4eaa947c695e02587604f3f8b1a6
Thanks @kripod! - Improves the performance forcreateIconPack
's local icon resolution