Comments (2)
@sagikazarmark *
accepts any release version. 3.0.0-rc2
is a pre-release version. This is similar to how others treat it. For example, node-semver (which powers npm)...
± semver -r "*" 1.2.3 1.2.3-alpha.1
1.2.3
Per the spec, pre-release versions may not be compatible with their releases. *
is currently designed to work on releases. Does that help?
You should be able to use >=0.0.0-1
and get everything including pre-releases. When a pre-release is included in the constraint they are then checked.
Does that help?
from semver.
Yes, it does, thanks for the detailed clarification.
from semver.
Related Issues (20)
- Fault tolerant constraints HOT 2
- match on build metadata HOT 2
- Zero Major Caret Special Case HOT 1
- Select only prereleases HOT 1
- This should be a CLI HOT 1
- Constraint for exact version match HOT 4
- Distinguish between zero values and missing values HOT 1
- Allow pre-releases when only used for one part of a range? HOT 5
- `Checking Version Constraints` is unpredictable while patch is missing in version string
- Caret operator (^) gives unexpected results when the minor version in constraint is 0(zero)
- NewConstraint method faulty behavior HOT 6
- Valid constraints fails to parse HOT 2
- v1 - issue with major only constraint HOT 4
- Release of new versions HOT 1
- gob: type semver.Version has no exported fields HOT 2
- `20221209-update-renovatejson-v4` tag does not fail NewVersion test HOT 2
- Improper version constraint HOT 1
- improper constraint error when parsing a constraint with ranges and space separated parts HOT 1
- Ruby pre release support HOT 1
- semver v3 regex is more inclusive than the official semver.org regex HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semver.