question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the lastest version numbers have gone back in time

See original GitHub issue

technically, the latest version (v2.0.0-alpha.7) is a lower version than v2.0.0 from March… in npm v3.10, this command installs v2.0.0:

$ npm i koa@^2.0.0-alpha

Only a mild annoyance, but "koa": "^2.0.0-alpha" in my package.json doesn’t install the latest release as desired.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AubreyHewescommented, Nov 5, 2016

The issue is valid, and actually has nothing to do with npm, it’s down to this project’s release management; the release/tag management of the project in github.

The project has a release 2.0.0 which is older than the latest 2.0.0-alpha.X releases.

This availability of release 2.0.0 supersedes 2.0.0-alpha.X releases, this is basic semver. Therefore anyone trying to install using semver 2.0.0-alpha.X will get the outdated 2.0.0 release and not the latest 2.0.0-alpha.X release.

The project should remove release 2.0.0 as it is not 2.0.0 due to 2.0.0-alpha.X tags still being released… see the release history.

(replace release w/ tag etc)

Sidenotes;

@75lb using ^2.0.0-alpha will install anything up to 3.0.0 – basic semver… your app could break at any time 😉

@jonathanong using next is a bit like using master, just slightly more controlled 😉

@jonathanong remove the “2.0.0” release tag… 😉

Test yourself @ http://jubianchi.github.io/semver-check/

0reactions
jonathanongcommented, Feb 25, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Restore an earlier version of a spreadsheet in Numbers on Mac
View, copy, and restore an earlier version​​ With the spreadsheet open, choose File > Revert To (from the File menu at the top...
Read more >
Version Numbering September 01, 2021 - Michael R Sweet
Version numbering has long been a source of pain in software. Early programs either lacked version numbers or used integers (“version 1”, “ ......
Read more >
Understanding software version numbers: The complete guide
Does decoding software version numbers seem like a puzzle to you? Read our blog & find out the science behind software versioning.
Read more >
Software versioning - Wikipedia
Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software.
Read more >
The Amazing World of Version Numbers
Is there a funniest version number of all time? ... And Lotus SmartSuite Millennium Edition turned out to be the last real upgrade...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found