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

Improve VERSION_CONFIG #1221

Merged
merged 5 commits into from
Sep 7, 2019
Merged

Improve VERSION_CONFIG #1221

merged 5 commits into from
Sep 7, 2019

Conversation

jonpas
Copy link
Member

@jonpas jonpas commented Sep 6, 2019

When merged this pull request will:

  • Fix VERSION_CONFIG version number API - version should always be a number, while versionStr should be a string, without automatic conversions (version = 1.0.1 gets converted to string).
  • Make help component read versionStr and fall-back to version.
  • Add documentation of VERSION_CONFIG to macros file and expand wiki page.
  • Fix unquoted string warning #1206

This PR provides full backwards compatibility, all mods that want to use this new API properly must change it on their end as well. That way, anyone using the API in the wrong manner should not see anything broken in relation to his own mod.

@jonpas jonpas added this to the 3.13 milestone Sep 6, 2019
@jonpas jonpas requested a review from commy2 September 6, 2019 14:06
@jonpas jonpas merged commit 851b690 into master Sep 7, 2019
@jonpas jonpas deleted the fix-versioncfg-number branch September 7, 2019 10:47
@commy2 commy2 modified the milestones: 3.13, 3.12.2 Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unquoted string warning
2 participants