WebbyLab / php-validator-livr

Lightweight PHP validator supporting Language Independent Validation Rules Specification (LIVR)
45 stars 16 forks source link

Make release versioning #26

Open SergeyPodgornyy opened 6 years ago

SergeyPodgornyy commented 6 years ago

Detailed description

Semantic Versioning (SemVer) is a specification that defines rules for changing software version numbers. These rules are intended to minimize the pitfalls of version lock (the inability to upgrade a package without having to release new versions of dependent packages) and promiscuity (allowing dependency versions that are incompatible). Under this scheme, version numbers and the way they change convey meaning about the underlying code and what was modified from one version to the next.

Context

SemVer provides a shared language for library authors and users to speak about the kind of changes that new releases contain.

After SemVer will be implemented, I can start with switching to LIVR v2.0

Possible implementation

This is very easy, just follow this step-by-step instructions: Creating Releases Guide

Then, update Packagist to have proper SemVer. Instead of: export 1

Should be like: export 2

SergeyPodgornyy commented 6 years ago

Two more pros to implement SemVer: 1) The package is not stable by composer criteria, so you can't install it via console: not_stable 2) Good IDE will mark this package, as not recommended to use: version_constraint

@antonfin @koorchik Waiting for any feedback.