Skip to content

Commit

Permalink
chore: release (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 2, 2024
1 parent a8828da commit 92fb12d
Show file tree
Hide file tree
Showing 6 changed files with 1,699 additions and 4,231 deletions.
5 changes: 0 additions & 5 deletions .changeset/heavy-insects-yawn.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/hungry-steaks-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-lizards-double.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# astro-icon

## 1.0.2

### Patch Changes

- [#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.

- [#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.

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 name `astro`. It should correctly be referenced as `logos/astro`.

**Before**

```jsx
<Icon name="astro" />
```

**After**

```jsx
<Icon name="logos/astro" />
```

- [#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

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-icon",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
Loading

2 comments on commit 92fb12d

@vercel
Copy link

@vercel vercel bot commented on 92fb12d Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 92fb12d Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api-astroicon – ./packages/service

api-astroicon-nmoo.vercel.app
api-astroicon-git-main-nmoo.vercel.app
api.astroicon.dev

Please sign in to comment.