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.

How is the starting version calculated?

See original GitHub issue

If no releases of a package were made before, how is the starting version calculated? Is it taken from package.json or v1.0.0 or something else?

I wasn’t able to find anything about this in README.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
edbzncommented, May 25, 2022

0.x.x could bring unexpected hard-to-understand troubles to developers. E.g. ^0.3.0 wouldn’t be resolved to 0.4.0, only to 0.3.x.

You point out something I was not aware of, it is super confusing. On the other hand, starting the initial version from 1.0.0 would be an opinionated choice, I’m not against but we should document it well. @yjaaidi what do you think about that?

1reaction
limontecommented, May 27, 2022

I’d consider my question fully answered, thank you both @edbzn and @yjaaidi for this discussion.

I’ll close this issue and file a new one with the suggested feature request so people can easily find it and vote for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
How do version numbers work? - Akeeba Ltd
If the minor version is higher, your version is newer. If it is lower, your version is older. If it's the same, continue...
Read more >
What to use as an initial version? [closed] - Stack Overflow
I usually start my projects with a version 1.0.0. As soon as I have some stuff together, I release it as 1.0.0 and...
Read more >
Use Semantic Versioning and Give Your Version Numbers ...
Precedence MUST be calculated by separating the version into major, minor, patch and pre-release identifiers in that order (Build metadata does ...
Read more >
How do you decide on / calculate your version numbers?
I use the format major.minor.build.revision. For in-house testing only the build and revision numbers are changed. They are generated ...
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