Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version numbering strategy #49

Closed
johnbillion opened this issue Jan 18, 2022 · 0 comments
Closed

Version numbering strategy #49

johnbillion opened this issue Jan 18, 2022 · 0 comments
Milestone

Comments

@johnbillion
Copy link
Owner

johnbillion commented Jan 18, 2022

Proposed version numbering strategy for this library, taking into consideration that I may want to change the schema structure outside any given release of WordPress (eg. in #40).

x.y.z where:

  • x is the schema major version number, currently 2
  • y is the WordPress branch without its decimal place, currently 58, soon to be 59
  • z is the schema patch version, currently 0, although I'll use this for minors too which is currently 12

This allows for sane, semver-compatible version constraints while still allowing a WordPress branch version to be specified:

  • ~2.58 for schema version 2 for WordPress 5.8
  • ^3.0 for schema version 3 for the latest WordPress version
  • 4.61.0 for schema version 4 for WordPress 6.1 without allowing patch releases to the schema (not recommended)
@johnbillion johnbillion added this to the 3.58.0 milestone Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant