Skip to content

Latest commit

 

History

History
313 lines (166 loc) · 19.4 KB

CHANGELOG.md

File metadata and controls

313 lines (166 loc) · 19.4 KB

astro-icon

1.1.5

Patch Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

Patch Changes

1.0.0-next.4

Patch Changes

1.0.0-next.3

Patch Changes

1.0.0-next.2

Patch Changes

1.0.0-next.1

Patch Changes

  • Oops, actually publish dist

1.0.0-next.0

Major Changes

  • #111 f1c763d Thanks @natemoo-re! - This version of astro-icon provides a new way to manage your icons, relying on Astro's official integration API rather than a managed remote API. Please see the README for more information.

0.8.2

Patch Changes

0.8.1

Patch Changes

0.8.0

Minor Changes

Patch Changes

  • #64 2c75a4a Thanks @stramel! - Update Sprite context to track usages using Astro.request

0.7.3

Patch Changes

0.7.2

Patch Changes

0.7.1

Patch Changes

0.7.0

Minor Changes

  • #32 4cfc1ba Thanks @tony-sull! - Removes the deprecation warning for assert in import.meta.globEager

Patch Changes

  • 3b29d89 Thanks @natemoo-re! - Improve warning when no sprites are found rather than throwing an error

0.6.1

Patch Changes

0.6.0

Minor Changes

  • #26 21bfa28 Thanks @matthewp! - astro-icon is now compatible with Astro's --experimental-static-build flag
  • #26 21bfa28 Thanks @matthewp! - # Breaking Changes

    • [email protected] is compatible with [email protected] and up, but will no longer work in lower versions.

    • The createIconPack export has been moved from astro-icon to astro-icon/pack.

      You will likely see a Vite error that createIconPack is not defined until you update your import statement.

      - import { createIconPack } from "astro-icon";
      + import { createIconPack } from "astro-icon/pack";
      
      export default createIconPack({ package: "heroicons", dir: "outline" })

0.5.3

Patch Changes

0.5.2

Patch Changes

  • #16 9ff5e7d Thanks @natemoo-re! - Fix parallelism issue when fetching icons from the Icon service in a map

0.5.1

Patch Changes

0.5.0

Minor Changes

  • e61559b Thanks @natemoo-re! - Adds <Sprite.Provider> component. This will render <Spritesheet> internally, after all <Sprite> components have been rendered, solving a race condition.

    Deprecates <Spritesheet>, to be replaced with <Sprite.Provider> component.

    Migrating from <Spritesheet> to <Sprite.Provider>

    • Remove Spritesheet component.
    • Wrap your site content in <Sprite.Provider>. This also works inside of a layout component!
     ---
    - import { Sprite, Spritesheet } from 'astro-icon';
    + import { Sprite } from 'astro-icon';
     ---
    
     <body>
    +  <Sprite.Provider>
         <Sprite name="icon" />
    -    <Spritesheet />
    +  </Sprite.Provider>
     </body>

0.4.0

Minor Changes

  • #7 3715ead Thanks @natemoo-re! - Add support for custom icon packs from local or remote sources.

    Add built-in icon packs powered by Iconify! You can search for supported on icons on Icônes.

0.3.0

Minor Changes

  • 62559e0 Thanks @natemoo-re! - Improve SpriteSheet component by automatically including only referenced icon files

0.2.2

Patch Changes

0.2.1

Patch Changes

  • Fix issue with published package

0.2.0

Minor Changes

  • 52bb8ff Thanks @natemoo-re! - Add <Sprite> and <SpriteSheet> components that take advantage of <use>