Code Monkey home page Code Monkey logo

Comments (7)

tedivm avatar tedivm commented on August 16, 2024

Using the ~ for dependency injection isn't a good idea for Stash right now. Until 1.0.0 is reached the API is considered unstable, so moving from 0.10 to 0.11 should require a manual chance (while moving from 0.10.1 to 0.10.2 should not). The way the ~ operator works is that it would allow any version to update to any other as long as it started with that "0." version.

This isn't to say it's a bad idea to drop the v from the versioning- I'll take a look at that. I'm just pointing out a separate issue you should be aware of.

from stash.

tedivm avatar tedivm commented on August 16, 2024

I've also just confirmed that the "v" is parsed out by the Composer normalization function, so adding or removing the v will have no effect at all on how dependency/versioning is actually used.

from stash.

staabm avatar staabm commented on August 16, 2024

moving from 0.10 to 0.11 should require a manual chance (while moving from 0.10.1 to 0.10.2 should not)

The ~ operator does exactly that...~0.10.0.

Last time i tried ~v0.10.0 I got an error,... I will try it for a 2nd time

from stash.

tedivm avatar tedivm commented on August 16, 2024

Try it without the "v" in your package maybe? As in, "~0.10.0".

from stash.

tedivm avatar tedivm commented on August 16, 2024

By "v" in your package, I mean without the "v" in the composer.json file.

from stash.

staabm avatar staabm commented on August 16, 2024

Will give it a try tomorrow, thanks

from stash.

staabm avatar staabm commented on August 16, 2024

you are right, this works as expected:

{
    "require": {
        "tedivm/stash": "~0.10"
    }
}

from stash.

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.