Skip to content

fix(framework): correct runtime compare#13105

Merged
nnaydenow merged 1 commit intomainfrom
runtime-compare
Feb 17, 2026
Merged

fix(framework): correct runtime compare#13105
nnaydenow merged 1 commit intomainfrom
runtime-compare

Conversation

@nnaydenow
Copy link
Contributor

@nnaydenow nnaydenow commented Feb 17, 2026

compareRuntimes returns:

  • Difference in build timestamps if a next (experimental) version exists
  • Difference in major versions
  • Difference in minor versions
  • Difference in patch versions

Previously, the check worked fine when comparing runtimes that were close to each other (e.g., 2.16.0 vs 2.17.0). However, comparing versions that were further apart (e.g., 2.16.0 vs 2.19.0) would incorrectly return 3, which caused updates to CSS variables from @sap-theming/theming-base-content to be skipped.

With this PR, the check is fixed and now properly updates the CSS variables for all version differences.

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Feb 17, 2026

🧹 Preview deployment cleaned up: https://pr-13105--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 17, 2026 13:51 Inactive
@nnaydenow nnaydenow merged commit eb8cc19 into main Feb 17, 2026
14 checks passed
@nnaydenow nnaydenow deleted the runtime-compare branch February 17, 2026 13:56
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 17, 2026 13:56 Inactive
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.

3 participants