Comments (7)
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.
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.
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.
Try it without the "v" in your package maybe? As in, "~0.10.0".
from stash.
By "v" in your package, I mean without the "v" in the composer.json file.
from stash.
Will give it a try tomorrow, thanks
from stash.
you are right, this works as expected:
{
"require": {
"tedivm/stash": "~0.10"
}
}
from stash.
Related Issues (20)
- Driver Memcache "clear" = "inc" ? HOT 2
- Warning from filesystem driver: mkdir(): File exists in /data/www/wrbm/corporate/prod/vendor/tedivm/stash/src/Stash/Driver/FileSystem.php on line 234 HOT 5
- Stash Issue with Concrete5? HOT 4
- lock method creates empty folder
- class_exists() calls in APC class may trigger fatal errors
- Cached instances of objects can be altered outside of Stash HOT 3
- Redis items aren't really deleted? HOT 1
- How to disable stashcache throughout project HOT 1
- Filedriver cannot save the cache with expiration time of less than 40 seconds HOT 1
- Filedriver purge didn't work in docker HOT 2
- Function Redis::delete() is deprecated HOT 4
- Password is not global entity, it should be available in each servers for redis
- PHP 8.0 support HOT 1
- Enhance PHP 8 compatibility HOT 2
- SQLite PDO driver does not honor file permissions HOT 1
- [Redis] Option to authenticate using name and password HOT 1
- Union type declaration in Session.php is available as of PHP 8.0.0 HOT 1
- Query wildcard syntax? HOT 1
- Add an ability to disable expiration time randomization. HOT 2
- Update psr/cache to v3.0.0 HOT 3
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 stash.