Skip to content

Commit 92fb12d

Browse files
chore: release (#182)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a8828da commit 92fb12d

File tree

6 files changed

+1699
-4231
lines changed

6 files changed

+1699
-4231
lines changed

.changeset/heavy-insects-yawn.md

-5
This file was deleted.

.changeset/hungry-steaks-relax.md

-21
This file was deleted.

.changeset/two-lizards-double.md

-5
This file was deleted.

packages/core/CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# astro-icon
22

3+
## 1.0.2
4+
5+
### Patch Changes
6+
7+
- [#184](https://github.com/natemoo-re/astro-icon/pull/184) [`beefcb732c266bc3eedfa12740c0842fef7deccf`](https://github.com/natemoo-re/astro-icon/commit/beefcb732c266bc3eedfa12740c0842fef7deccf) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improves handling of invalid local icons, which previously caused all local icons to silently fail.
8+
9+
- [#179](https://github.com/natemoo-re/astro-icon/pull/179) [`b55cd5f92da8988467e86cb2a45d3dfa82ef3ffa`](https://github.com/natemoo-re/astro-icon/commit/b55cd5f92da8988467e86cb2a45d3dfa82ef3ffa) Thanks [@natemoo-re](https://github.com/natemoo-re)! - **BREAKING**: Requires subdirectory prefixes for local icons.
10+
11+
This fixes a regression introduced in v1 and matches the previous v0 `name` behavior.
12+
13+
As an example, the `src/icons/logos/astro.svg` file could previously be referenced by the name `astro`. It should correctly be referenced as `logos/astro`.
14+
15+
**Before**
16+
17+
```jsx
18+
<Icon name="astro" />
19+
```
20+
21+
**After**
22+
23+
```jsx
24+
<Icon name="logos/astro" />
25+
```
26+
27+
- [#180](https://github.com/natemoo-re/astro-icon/pull/180) [`580b5cd93d373ba72418365a97dac4cddf82afd7`](https://github.com/natemoo-re/astro-icon/commit/580b5cd93d373ba72418365a97dac4cddf82afd7) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Removes an unecessary warning when only using local icons
28+
329
## 1.0.1
430

531
### Patch Changes

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro-icon",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"type": "module",
55
"types": "./dist/index.d.ts",
66
"exports": {

0 commit comments

Comments
 (0)