Releases: navidrezadoost/svger-cli
2.0.0
Release Title: v1.0.0: The Community-Evolved SVGer CLI
Release Description
This release marks the official revival and enhancement of the original svger-cli project. While this tool originated from the foundational work by faezemohades, this fork has been systematically upgraded, fixed, and modernized to meet contemporary development standards. It is now the recommended, actively maintained version for all users.
Why This Fork? A Side-by-Side Comparison
The table below outlines the key differentiators that make this version the superior choice for production use.
| Feature | This Fork (navidrezadoost/svger-cli) |
Original Fork (faezemohades/svger-cli) |
|---|---|---|
| Maintenance Status | Actively Maintained & Supported | Archived / No longer maintained |
| Core Dependencies | Up-to-date & Secure: All dependencies (e.g., commander, prettier) upgraded to their latest, most secure, and feature-rich versions. |
Critically Outdated: Uses deprecated versions with potential security vulnerabilities and missing features. |
| Code Quality & Stability | Engineered for Reliability: Critical bugs have been identified and fixed. The codebase has been refactored for better stability and error handling. | Unstable Core: Contains known bugs that break the conversion process in common edge cases. |
| Modern Toolchain | Seamless Integration: Compatible with the latest versions of Node.js, React, TypeScript, and Prettier. | Integration Issues: Often fails or produces warnings when used in modern development environments. |
| Developer Experience (DX) | Polished & Predictable: Improved console output, clearer error messages, and a more robust CLI experience. | Basic Implementation: Functional but lacks the polish expected from a modern CLI tool. |
Key Improvements in This Release
- Dependency Modernization: All dependencies have been upgraded, resolving numerous
npm auditvulnerabilities and ensuring compatibility with current ecosystems. - Bug Fixes: Patched critical issues related to SVG attribute parsing and file handling that caused the original tool to fail on valid SVG inputs.
- Enhanced Robustness: The tool now handles edge cases more gracefully, providing meaningful error messages instead of silent failures.
- Future-Proof Foundation: This codebase serves as a stable foundation for community-driven features.
Migration for Existing Users
If you are using the original svger-cli, migrating is straightforward:
# Uninstall the old package
npm uninstall -g svger-cli
# Install the new, maintained fork
npm install -g @navidrezadoost/svger-cliUsage remains identical, so you can enjoy the improvements with zero changes to your workflow.
Looking Forward
This release stabilizes the project. Future releases will focus on introducing new features such as custom SVG preprocessing, more template engines (e.g., Vue, Svelte), and performance optimizations. We welcome issues and pull requests from the community.
Thank you to faezemohades for the original concept. This fork exists to carry that valuable work forward.