Skip to content

chore: upgrade @iconify/svelte v4 → v5#178

Merged
josecelano merged 1 commit intodevelopfrom
chore/upgrade-iconify-svelte-v5
Feb 25, 2026
Merged

chore: upgrade @iconify/svelte v4 → v5#178
josecelano merged 1 commit intodevelopfrom
chore/upgrade-iconify-svelte-v5

Conversation

@josecelano
Copy link
Member

Overview

Upgrades @iconify/svelte from v4.2.0 to v5.2.1.

Part of epic #174.

Closes #172

Changes

  • package.json: @iconify/svelte ^4.2.0^5.2.1
  • package-lock.json: updated lockfile

What's new in v5

  • Updated for Svelte 5 runes compatibility
  • Uses <script module> syntax in the component
  • Component API (icon, color, width, height props) is backward-compatible — no usage changes required

Components using @iconify/svelte (all unchanged)

  • src/lib/components/atoms/Slider.svelte
  • src/lib/components/molecules/CodeBlock.svelte
  • src/lib/components/singletons/SearchBar.svelte
  • src/lib/components/singletons/PrevNextPost.svelte

Testing Checklist

  • No TypeScript errors (svelte-check: 0 errors, 0 warnings)
  • Build completes successfully
  • Lint passes (Prettier + ESLint)
  • All icons render correctly in browser
  • Icons display correctly in production build

Upgrades @iconify/svelte from ^4.2.0 to ^5.2.1.

v5 is updated for Svelte 5 runes compatibility.
The Icon component API (icon, color, width, height props) remains
backward-compatible, so no usage changes were needed.

All checks pass:
- svelte-check: 0 errors, 0 warnings
- build: success
- lint: success

Closes #172
Part of epic #174
@josecelano josecelano self-assigned this Feb 25, 2026
@josecelano
Copy link
Member Author

ACK 4dde0d5

@josecelano josecelano merged commit f918929 into develop Feb 25, 2026
1 check passed
@josecelano josecelano deleted the chore/upgrade-iconify-svelte-v5 branch February 25, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: upgrade @iconify/svelte v4 → v5 (breaking change)

1 participant