Semver比較ツール&チェッカー
私たちについて
セマンティックバージョニング(semver.org)はバージョン番号に契約を与えます。破壊的変更にはMAJOR、後方互換の機能にはMINOR、後方互換の修正にはPATCH。さらにプレリリース接尾辞(1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-beta < 1.0.0) and +build metadata that never affects precedence. The comparator implements the spec's precedence algorithm exactly, including the fiddly pre-release rules (numeric identifiers compare numerically and rank below alphanumeric ones; a version with a pre-release is older than the same version without). It is the check CI pipelines and package managers run millions of times a day.
よくある質問
1.0.0-alphaは1.0.0より新しいですか?
いいえ。プレリリースはそのリリースより古いものです:1.0.0-alpha < 1.0.0。これが、パッケージマネージャーがベータを安全に提供できるルールです。
+build メタデータは重要ですか?
優先順位には関係しません:1.0.0+expと1.0.0は順序では等しく、メタデータは情報として保持されます。