GithubHelp home page GithubHelp logo

Comments (6)

Mmarzex avatar Mmarzex commented on June 27, 2024 6

@martincostello Semvar doesn't require a pre-release identifier to be appended to versions. Since v4 is a new major version we released it as such. Our intention is to provide frequent updates to help close the gap between beta and GA quickly. I'd suggest pinning to v3 for now if you are concerned about stability.

@kyl0b1te-red Since your issue is not related to what was reported in this issue, can you please open a different issue? Looking at it though it appears you have an issue with your SSL certificate chain. install.serverless.com certificate is issued by AWS ACM and should be trusted in any systems default chain.

from serverless.

jonasduever avatar jonasduever commented on June 27, 2024 6

Related: Even if it would not be a semver issue, I cannot understand why v4 is now the latest npm tag while it's still beta. Why didn't you use another tag, like next (see Angular, express, axios, ...) or beta (see React)?
Imagine other big projects would do it like this and the docs of the latest stable(!) version would be outdated because it would install the beta version.

from serverless.

martincostello avatar martincostello commented on June 27, 2024 1

Sure I can (and did) do that, but it's going to do the same thing to countless other users.

I already ignored these updates before opening the issue, but it's noise. Just because something isn't required doesn't mean it isn't a good idea.

Just two examples of two completely different tools doing automated upgrades with no obvious hint to the user of the version being a beta:

image

image

from serverless.

kyl0b1te-red avatar kyl0b1te-red commented on June 27, 2024

yeah, It looks wrong and already raised following error in my local setup:

$ sls -v
panic: Get "https://install.serverless.com/releases.json": tls: failed to verify certificate: x509: certificate signed by unknown authority

goroutine 1 [running]:
main.main()
	/home/runner/work/framework-core/framework-core/binary-installer/main.go:473 +0x614

$ npm list -g
       /usr/local/lib
            +-- [email protected]
            +-- [email protected]
            +-- [email protected]
            `-- [email protected]

from serverless.

martincostello avatar martincostello commented on June 27, 2024

The suffix should have been used as a way for automated tooling to understand that this is considered a beta. That can then be dropped when you consider it stable for adoption.

from serverless.

Mmarzex avatar Mmarzex commented on June 27, 2024

Sorry that this may have impacted tooling you use @martincostello, but again as I mentioned semver does not require it. You should be able to pin to a major version to get the same affect as any automation with suffixes.

from serverless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.