Svelte

For @devigner-ui/icons-svelte, which jumps from 2.x to 3.5.0 to share one version with the other packages. Nothing in it breaks. Upgrade, then run the codemod, which ships in the React package and works on .svelte files too:

Terminal
npm install @devigner-ui/icons-svelte@^3.5.0
npx @devigner-ui/icons migrate

Old names keep working

Every old name is still exported and renders the renamed icon, with the same props:

HTML
<script>
  import { IconBag2 } from "@devigner-ui/icons-svelte";       // still works
  import { IconBagStraps } from "@devigner-ui/icons-svelte";  // the new name
</script>

In development an old name logs one warning in the browser console, naming its replacement. Production builds are silent. Old names are marked @deprecated in the types, so the Svelte language tools strike them through.

What the codemod cannot see

Icons chosen at runtime, such as a component looked up by a name stored in your data and rendered with <svelte:component>. Map stored names once with renames.json; see the codemod page.

Old names stop working in 4.0.0

See Upcoming 4.0.

Documentation

Browse all 12,480 icons