[QUESTION] Major version 0 and the spec

オープン
#344 コメント 13 件 リアクション 5 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
documentation

調査の方向性

Start by reviewing the README's caret-range documentation alongside the linked semver specification and the npm semver calculator behavior for ^0.19.0. Clarify whether this repository maintains the calculator; done means the 0.x compatibility rule is accurately documented in the appropriate place, or the issue is directed to the website's maintainers.

索引モデルが issue の本文から書いたものです。

説明

Needs Documentation spec

What / Why

The official semver spec mentions that major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable. (source).

In semver's README, I read Many authors treat a 0.x version as if the x were the major "breaking-change" indicator. (source).

Do you agree that this assumption - which I fully agree with - is not valid per-spec ? In that case, I think it would be worth mentioning it in the README to avoid confusion.

In any case, I think https://semver.npmjs.com should mention this, because their (your ?) website explains what the ^ is but the exception could get people confused. If you are not maintainers of that website, do you have an idea of who I should ping ?

Where

A good place to try this out is the Npm semver calculator. Search for axios and type version ^0.19.0. Versions 0.20.x are not highlighted.

Who

  • n/a

References

  • n/a

Keep up the great work !

主要言語
JavaScript
スター
5.5k
フォーク
635
平均マージ
1時間 24分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

npm/node-semver のほかの issue

npm/node-semver の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。