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 is out-of-date in 2.13.* release series #4711

Closed
phil-davis opened this issue Jul 14, 2021 · 7 comments
Closed

VERSION is out-of-date in 2.13.* release series #4711

phil-davis opened this issue Jul 14, 2021 · 7 comments

Comments

@phil-davis
Copy link
Contributor

Bug Report

Q A
BC Break no
Version 2.13.2

Summary

lib/Doctrine/DBAL/Version.php has out-of-date version.

Current behaviour

public const VERSION = '2.12.2-DEV';

How to reproduce

Look at the source code.

Expected behaviour

Should have been released as:
public const VERSION = '2.13.2';

And maybe in the branch it should now be:
public const VERSION = '2.13.3-DEV';

@greg0ire
Copy link
Member

That class was deprecated in #3861

It was not stated, but I think one of the goals was to stop bumping it on every release. Also, since it's removed in 3.x, merging this will mean a conflict when merging up 2.x into 3.x.

@phil-davis
Copy link
Contributor Author

OK - feel free to close this, and PR #4712 if the decision is that the value of VERSION will no longer be incremented.

That will mean that consumers of this in 2.13.* will see changed behavior - the VERSION will not be reliably up-to-date. They will "see" more than just a deprecation annotation. (Whoever the consumers are that care - I don't ;) )

@greg0ire
Copy link
Member

greg0ire commented Jul 14, 2021

Let's close then, and let's reopen if a consumer that cares pops up :)

@morozov
Copy link
Member

morozov commented Jul 14, 2021

FWIW, the version of 2.x releases is increased manually by commits like adce7a9 which is easy to forget (the process is described in #3406).

The fact that this API is deprecated and bumping the release version will produce merge conflicts doesn't prevent us from maintaining the proper version for the next 2.x releases but there's nothing we can do about the already released ones.

@phil-davis
Copy link
Contributor Author

Someone please decide - do I reopen PR #4712 ?

By applying the change there, then even if nothing else happens, the next release will have VERSION 2.13.3-DEV, which will be closer to reality.

@greg0ire
Copy link
Member

This has been labeled with "Can't fix", so to me, the decision is pretty clear 😛

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants