regression: apps semver validation broke with pre-release identifier
Merged
D-
5mo ago+6+6+0123456789-18-18-01234567890123456789
Proposed changes (including videos or screenshots)
Introduced by #40343
When moving app management code to the packages/apps workspace, the AppPackageParser inadvertedly stopped discarding the pre-release portion of the apps-engine version, which makes range comparisons like ^1.44.0 invalid. The issue only came up after the candidate bumped the apps-engine version to 1.63.0-rc.0.
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
- Refactor
- Simplified internal version handling and removed a redundant exported version value.
- Parser now derives and normalizes the engine version directly for compatibility checks, improving reliability of version comparisons without changing user-facing behavior.