Comments (3)
If you want to reproduce you can check out the build here. https://travis-ci.org/golang/dep/builds/588252088
from semver.
@kevinburke dep uses an unreleased version of sermver with a different Go API from either the 1.x branch of the 3.x branch. From the README.md...
There are three major versions of the semver package.
- 3.x.x is the new stable and active version. This version is focused on constraint compatibility for range handling in other tools from other languages. It has a similar API to the v1 releases. The development of this version is on the master branch. The documentation for this version is below.
- 2.x was developed primarily for dep. There are no tagged releases and the development was performed by @sdboyer. There are API breaking changes from v1. This version lives on the 2.x branch.
- 1.x.x is the most widely used version with numerous tagged releases. This is the previous stable and is still maintained for bug fixes. The development, to fix bugs, occurs on the release-1 branch. You can read the documentation here.
The 2.x branch was never released and I'm not sure anyone other than dep is using it.
If I understand it right, dep is going to be archived in the not to distant future (unless something changed since last I checked). I would suggest keeping dep on 2.x.
from semver.
For reference on my archiving comment see golang/go#29639 (comment) where it says
Once modules is moved out of experimental (we are targeting Go 1.13), we will likely archive the dep repo shortly after to avoid confusion on which dependency management solution the Go project officially supports. We will do our best to communicate when exactly the archive will happen to avoid surprise, but it should be planned for.
from semver.
Related Issues (20)
- 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
- [Sorting] Captial Release Candidate is sorted before alpha releases HOT 1
- The semver.version Marshal Problem HOT 1
- Link to API documentation HOT 1
- Struct Version has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation HOT 1
- new tag for merged PRs ? HOT 2
- strict version check constraint bug (or expected?)
- `vert` is outdated but still referenced
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.