{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"}],"enrichment":{"capability":"Parses and manipulates semantic versions with an optional fourth component for hotfix releases, plus standard semver 2.0 support.","skillfed_tags":["versioning","hotfix-release"],"use_cases":["Distinguish hotfix releases from standard patch releases when pre-release versions already exist for higher patch numbers","Parse and compare version strings that include a fourth numeric component in your release pipeline","Serialize version objects to JSON or YAML for configuration files or API responses","Migrate from standard semver 2.0 parsing while maintaining backward compatibility via the SemVersion class"],"what_it_does":"semver4 extends semantic versioning with a fourth numeric component to distinguish hotfix releases from standard patch releases. The standard semver 2.0 spec treats all backward-compatible bug fixes as patch increments, but this creates ambiguity when a hotfix must ship immediately while higher patch versions already exist as pre-release candidates. semver4 solves this by adding a 'fix' component: a version like 0.4.2.1 represents a hotfix to 0.4.2 without displacing pending 0.4.3 or 0.4.4 pre-releases.\n\nThe package provides two classes: Version4 for the extended four-part scheme and SemVersion for standard semver 2.0 parsing. Both support comparison, string representation, component mutation (inc_major, inc_minor, inc_patch, inc_fix), and serialization to JSON and YAML. It has no runtime dependencies and requires Python 3.8 or later.","worth_installing":"Yes, if you need the four-part versioning scheme for hotfix management. The package is lightweight with no dependencies and permissive licensing. However, maintenance is dormant (last release March 2024, no recent commits), so treat it as stable-but-unsupported; do not expect bug fixes or updates if issues arise. Suitable for projects that have already adopted this versioning model or are willing to lock to a specific version."},"id":"semver4","links":{"html":"https://skillfed.io/packages/semver4","md":"https://skillfed.io/packages/semver4.md","pypi":"https://pypi.org/project/semver4/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-03-24","license_spdx":null,"license_treatment":"permissive","name":"semver4","python_support":"supports_current","summary":"Semantic versioning module enriched by hotfix version"},"popularity":{"monthly_downloads":416108,"position":6821,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.1b8"}
