Comments (3)
I have added this hook for a long time. I don't know why the lastest release haven't been updated in packagist yet,may be cache.
from mongodm.
The same issue at composer/packagist#200
The reason is our package version in composer.json is 1.2.0 , not 1.4.0 as release is.
So I redraft a release for v1.4.0.
It will never show a version 2.0.0 for a branch. If you want to have a stable version, you have to create a tag in the repo.
Btw, you should omit the explicit version in your composer.json as it is useless when using a VCS repo but can be harmful. Here is how the version is infered from the git metadata:
for branches, it will be 2.1.x-dev for the branch 2.1 or 2.1.x (same for any branch looking like a version number, to have a comparable version) and dev-master for master (same for any other branch). In these cases, the version field in the composer.json is ignored entirely
for tags, the version is taken from the tag name. If the tag name cannot be parsed as a version, the tag is skipped and cannot be installed through composer. If you specify the version explicitly and it is different than the tag name, the tag will also be considered as invalid and be skipped.
So specifying the version explicitly in a git repo (or a SVN or Hg repo btw) is only a way to make mistakes each time you do a release.
from mongodm.
Good to know thanks!
from mongodm.
Related Issues (20)
- Embedding: where's the id of the embedded object? HOT 4
- unsupported for Latest extension 'MongoDB'
- Remove _id dependancy of MongoId
- Model (with Reference to Json) HOT 3
- Edit and object HOT 2
- Add Late Static Binding and fix some methods call (i.e. static instead of self) HOT 1
- Geolocation data handling
- Inconsistent behavior when Mongo is not running HOT 3
- Mongodm can not be use in Phalcon? HOT 5
- mongo transaction HOT 1
- Method conflicts with magic methods
- slow to update HOT 1
- is this Compatibled with mongodb 3.0+? HOT 2
- any examples with gridfs?
- PHP 7 support? HOT 2
- MongoDB extension?
- Regex query is not working. HOT 1
- Error in example
- Unit tests support
- MongoDM not fully support PHP 7.1/PHP 7.2/PHP7.0 for find() function
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 mongodm.