Closed schmunk42 closed 10 years ago
You're right, this should be dropped. It was copied from the Yii 1 version and in Yii 2 there's no such method in base Module.
Also I'm going to fix the version number, thanks for noticing that.
If you're on 0.x
you don't have to take care about API changes according to semver.
My best practice in development so far is this: Start with 0.1.0 (but not too early), if it should work after the update increment the last digit. If it may break, increment the middle digit, eg. 0.2.0.
Only if you have a stable version go for the 1.0.0.
Fixed in 7ac2f781dae7d8119c9f06d12e3bb6ea29fec0f6.
I noticed there's a getVersion method which returns 0.9.9.
According to semantic versioning, it should be 0.1.0 or none for now.
This information should be obtained from composer anyway. What do you think about dropping this?