You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update UI5 Legacy-Free page for v2 branches of frontend repo
Expand the legacy-free page with background on the OpenUI5 legacy-free
distribution (1.142.0-legacy-free) and why it previews UI5 2.x. Replace
the installation reference to the obsolete abap2UI5/frontend-legacy-free
repository with the cloud_v2/standard_v2 branches of abap2UI5/frontend.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vcu4GveFfuSZTjA5YL8pyM
Copy file name to clipboardExpand all lines: docs/advanced/legacy_free.md
+42-6Lines changed: 42 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,47 @@ outline: [2, 4]
3
3
---
4
4
# UI5 Legacy-Free
5
5
6
-
abap2UI5-frontend-legacy-free is a frontend variant for abap2UI5 based on OpenUI5's legacy-free distribution. It removes deprecated features such as jQuery dependencies, synchronous APIs, and compatibility shims, providing a preview of the UI5 2.x API surface.
6
+
The abap2UI5frontend is also available as a **legacy-free** variant, bootstrapped from the new legacy-free distribution of OpenUI5 (`1.142.0-legacy-free`) — the build without `jQuery.sap.*`, synchronous APIs, and other deprecated globals. It is essentially a preview of the API surface that UI5 2.x will enforce.
7
7
8
-
- Future-proof: applications stay compatible with UI5 2.x
9
-
- Leaner runtime: smaller footprint and improved performance
10
-
- Modern async patterns: asynchronous module loading and Promise-based APIs
11
-
- Runs in parallel to the classic abap2UI5 frontend, so both can be evaluated side by side
8
+
### What is UI5 Legacy-Free?
12
9
13
-
For full details, see the repository: [abap2UI5-frontend-legacy-free](https://github.com/abap2UI5/frontend-legacy-free)
10
+
`*-legacy-free` is a parallel distribution of OpenUI5/SAPUI5 (starting with the 1.136.x line) that ships the same controls and APIs as the regular 1.x build, but with everything deprecated removed up front. In practice that means no `jQuery.sap.*`, no `sap.ui.getCore()`, no synchronous module loading (`sap.ui.requireSync`, sync XHR), no global view/controller factories, no jQuery bundled into the core, and none of the compatibility shims that 1.x kept around for backwards compatibility.
11
+
12
+
### Why It Matters for the Future
13
+
14
+
UI5 2.x — the next major release line — will enforce exactly this surface. By developing against the legacy-free build today, the project gets several things at once:
15
+
16
+
-**A real-world preview of UI5 2.x.** Anything that still works here will keep working on 2.x; anything that breaks is something that would have broken on 2.x anyway, just discovered earlier and on our terms.
17
+
-**No future migration cliff.** The painful "rip out jQuery.sap and sync APIs" step that most UI5 1.x apps will eventually face is done incrementally as part of normal development, not as a one-shot upgrade project.
18
+
-**A leaner, faster runtime.** Dropping jQuery and the compatibility layers shrinks the bootstrap, speeds up startup, and reduces memory footprint — particularly noticeable on mobile and constrained networks.
19
+
-**Modern, async-first patterns.** Async module loading, async component and view creation, and standard `Promise`-based APIs are the only option, which keeps the codebase aligned with the current web platform instead of with patterns from the early 2010s.
20
+
-**Cleaner extension points for abap2UI5.** Custom controls and the frontend glue code can rely on stable, documented APIs only, without reaching into internals that are scheduled for removal.
21
+
22
+
In short: the legacy-free build is the bridge between today's UI5 1.x ecosystem and tomorrow's UI5 2.x. Building the abap2UI5 frontend on it now means the framework is ready for 2.x the day it lands, instead of chasing it afterwards.
23
+
24
+
### Installation
25
+
26
+
The legacy-free frontend ships as the `v2` branches of the [frontend repository](https://github.com/abap2UI5/frontend). Pull the branch that matches your system into your ABAP system with [abapGit](https://abapgit.org) and activate — there is no separate build step:
The v2 branches install the frontend under the same `z2ui5` name as the classic branches. To evaluate the legacy-free frontend side by side with the classic one in the same system, use the frontend repository's `build_rename` workflow to generate a branch with the whole deployment identity (BSP, ICF nodes, handler class) under a different name — see the [frontend repository](https://github.com/abap2UI5/frontend) for details.
34
+
35
+
::: warning Obsolete Repository
36
+
The former separate repository `abap2UI5/frontend-legacy-free` is obsolete. The legacy-free frontend is now maintained on the `*_v2` branches of the [frontend repository](https://github.com/abap2UI5/frontend), generated from the same single source as the classic variant.
37
+
:::
38
+
39
+
### Why Try the v2 Version?
40
+
41
+
-**Future-proof.** Apps already run on what UI5 2.x will require — no big-bang migration later.
42
+
-**Smaller and faster.** No jQuery and no compatibility layers means a leaner core and quicker startup.
43
+
-**Cleaner foundation.** Modern async patterns, no hidden globals, better alignment with current web standards.
-[Adapt your app to SAPUI5 2.x (SAP Community)](https://community.sap.com/t5/technology-blog-posts-by-sap/adapt-your-app-to-sapui5-2-x-make-an-impact-by-joining-our-cei-project/ba-p/13722775)
0 commit comments