[QUESTION] Major version 0 and the spec

Aperta
#344 13 commenti 5 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 !

Lingua principale
JavaScript
Stelle
5.5k
Fork
635
Merge medio
1h 24m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di npm/node-semver

Tutte le issue di npm/node-semver

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.