You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lucide icons are still shipped under version "0.x.x," which is treated as an unstable version according to semver specification. This contradicts the package's real observed stability, compliance with the semver standard for stable packages and broad adoption by stable and very popular packages like Vercel or shadcn.
That leads to two problems:
Semantic confusion for people new to the package, incorrectly hinting you to treat a package as unstable and, possibly, seek other alternatives.
tools following semver treat the package as unstable. For example npm update command will never update a minor version of the package e.g. "0.123.0" -> "0.124.0", which is probably a desired update, as it brings new icons and doesn't introduce any breaking changes.
For me, it's the only "unstable" dependency in projects that requires special attention whenever I update packages: after npm update i have to run npm install lucide-react@latest
Are there any reasons for sticking to major version 0, that I'm not seeing? I'm curious about opinions on this topic.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Lucide icons are still shipped under version "0.x.x," which is treated as an unstable version according to semver specification. This contradicts the package's real observed stability, compliance with the semver standard for stable packages and broad adoption by stable and very popular packages like Vercel or shadcn.
That leads to two problems:
npm update
command will never update a minor version of the package e.g. "0.123.0" -> "0.124.0", which is probably a desired update, as it brings new icons and doesn't introduce any breaking changes.For me, it's the only "unstable" dependency in projects that requires special attention whenever I update packages: after
npm update
i have to runnpm install lucide-react@latest
Are there any reasons for sticking to major version 0, that I'm not seeing? I'm curious about opinions on this topic.
Beta Was this translation helpful? Give feedback.
All reactions