Skip to content

Modify getMidVersion method - #62

Merged
boxbeam merged 1 commit into
boxbeam:masterfrom
sammyt291:fix-modern-version-parsing
Aug 29, 2026
Merged

Modify getMidVersion method#62
boxbeam merged 1 commit into
boxbeam:masterfrom
sammyt291:fix-modern-version-parsing

Conversation

@sammyt291

@sammyt291 sammyt291 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Modify getMidVersion method to first check major version, then determine midversion.
This is required due to the new version formatting not having a "mid" version.
2EleYear.Version is the new format, instead of 1.Mid.Minor

…ine midversion.

this is required due to the new version formatting not having a "mid" version.

e.g 26.2 vs the old 1.21.11
@sammyt291 sammyt291 changed the title Modify getMidVersion method to first check major version, then determine midversion. this is required due to the new version formatting not having a "mid" version. Modify getMidVersion method Aug 24, 2026
@sammyt291

Copy link
Copy Markdown
Contributor Author

Tested on the following versions:

"1.8" returns 8
"1.12.2" returns 12
"1.21" returns 21
"1.7.10" returns 7
"26.1.2" returns 26
"26.2" returns 26

@boxbeam
boxbeam merged commit add95f8 into boxbeam:master Aug 29, 2026
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

Successfully merging this pull request may close these issues.

2 participants