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

fix(ui5-proxy-middleware):directLoad support for UI5 2.x / legacy-free #3017

Merged
merged 3 commits into from
Mar 17, 2025

Conversation

heimwege
Copy link
Contributor

@heimwege heimwege commented Mar 12, 2025

Currently the directLoad property is not aware of the sandbox2.js from UI5 2.x. With this PR it also replaces the bootstrap URL of the sandbox2.js which is now located in /resources.

Copy link

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 61dfd63

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sap-ux/ui5-proxy-middleware Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@heimwege heimwege requested a review from tobiasqueck March 12, 2025 10:15
@heimwege
Copy link
Contributor Author

w.r.t the sonar issue: regex101 states that the escape char is needed
image
So I'm not sure who's right here 🤷🏻

@heimwege heimwege marked this pull request as ready for review March 12, 2025 13:07
@heimwege heimwege requested a review from a team as a code owner March 12, 2025 13:07
@heimwege heimwege added the ui5-proxy-middleware @sap-ux/ui5-proxy-middleware label Mar 12, 2025
@heimwege heimwege changed the title fix(ui5-proxy-middleware):directLoad for UI5 2.x fix(ui5-proxy-middleware):directLoad support for UI5 2.x Mar 12, 2025
Copy link
Contributor

@tobiasqueck tobiasqueck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • clean fix and easy to understand
  • tests cover the scenario
  • did not test manually

@heimwege heimwege changed the title fix(ui5-proxy-middleware):directLoad support for UI5 2.x fix(ui5-proxy-middleware):directLoad support for UI5 2.x / legacy-free Mar 13, 2025
Copy link
Contributor

@Klaus-Keller Klaus-Keller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @heimwege,

  • changes for sandbox2.js look good
  • changeset exists
  • test coverage is great
  • did a visual review, no manual test

Approved from my side.

@heimwege heimwege merged commit 66be708 into main Mar 17, 2025
16 checks passed
@heimwege heimwege deleted the fix/ui5-proxy-middleware/ui5-2-directLoad branch March 17, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui5-proxy-middleware @sap-ux/ui5-proxy-middleware
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants