Skip to content

☂️ Road to 2.0 #3857

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

Closed
44 tasks done
Lukas742 opened this issue Dec 9, 2022 · 9 comments
Closed
44 tasks done

☂️ Road to 2.0 #3857

Lukas742 opened this issue Dec 9, 2022 · 9 comments

Comments

@Lukas742
Copy link
Contributor

Lukas742 commented Dec 9, 2022

This issue is a smorgasbord of topics we would like to include in our 2.0 release. It mainly contains features that require breaking changes.

Prerequisites

  • Release of UI5 Web Components 2.0
    2.0 Summary ui5-webcomponents#8608

    All breaking changes of UI5 Web Components will be applied to this repository as well, the list below only tracks changes to our own components.

General

TypeScript

  • Investigate if ReactElement should be replaced by ReactNode for public types. See this PR for more details.

Components

Charts

@stephen-schmith
Copy link

@Lukas742 @MarcusNotheis I see that this issue was placed on the 2024-Q3 road map - is that when we can expect the beta for compatibility with UI5WC 2.0?

@MarcusNotheis
Copy link
Contributor

Hi @stephen-schmith,
we want to release our stable version 2.0.0 latest by the beginning of Q3, this is also depending on the final release date of UI5 Web Components 2.0.0 and our process of updating to React 19.
You can expect the our beta for the release candidates of UI5 Web Components way earlier, maybe already next week.

@ej612
Copy link
Contributor

ej612 commented Jun 10, 2024

Hi @MarcusNotheis & @Lukas742,
Some thoughts I had while looking at the code recently, maybe this is something you'd want to look at in the scope of the 2.0 upgrade:

  • Should ValueState.None be removed? According to the docs, it's identical to ValueState.Information
  • Should MessageBoxTypes be renamed to MessageBoxType?

I just saw these in passing, no pressure, maybe they've been made this way intentionally. Thanks!

@MarcusNotheis
Copy link
Contributor

Thanks for your suggestion @ej612.
You're totally right, we should always use singulars for our enums, so this will affect MessageBoxActions as well and we've added it to our list 👍

Regarding the ValueState: In general the ValueState None is valid, so we would like to keep it like that for now. We've also double checked the SAPUI5 implementation and they are handling it in the same way

@softshipper
Copy link

Hi @MarcusNotheis,
I have added the UI5 react components to my project with the following versions:

"@ui5/webcomponents": "^2.0.1",
"@ui5/webcomponents-fiori": "^2.0.1",
"@ui5/webcomponents-react": "^1.29.4",

When I run the app the compiler is complaining:

 You can mark the path "@ui5/webcomponents/dist/types/TableRowType.js" as external to exclude it
  from the bundle, which will remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@ui5/webcomponents/dist/types/PopoverPlacementType.js"

    node_modules/@ui5/webcomponents-react/dist/enums/PopoverPlacementType.js:3:33:
      3 │ import PopoverPlacementType from '@ui5/webcomponents/dist/types/PopoverPlacementType.js';
        ╵                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  The module "./dist/types/PopoverPlacementType.js" was not found on the file system:

    node_modules/@ui5/webcomponents/package.json:40:16:
      40 │     "./dist/*": "./dist/*",
         ╵                 ~~~~~~~~~~

  You can mark the path "@ui5/webcomponents/dist/types/PopoverPlacementType.js" as external to
  exclude it from the bundle, which will remove this error and leave the unresolved path in the
  bundle.
  

Best regards

@Lukas742
Copy link
Contributor Author

Lukas742 commented Jul 15, 2024

Hi @softshipper

v1 of ui5-webcomponents-react is not compatible with v2 of ui5-webcomponents. You should also see a peer dependencies error when installing the modules with the given versions.

We're currently in the process of preparing our 2.0, if you want to checkout the changes already, you can use the pre-release version (2.0.0-rc.X - current latest pre release version: 2.0.0-rc.0).

@lenafi5cher
Copy link

Hi @Lukas742 and @MarcusNotheis ,
you mentioned in one of the above comments that the release for version 2.0.0 was planned for the beginning of Q3. Since we are in the middle of Q3 now, I wanted to ask if you have an updated prognosis for the release? Just a rough guesstimate would help us with planning :)

Thanks!

@MarcusNotheis
Copy link
Contributor

Hey @lenafi5cher,

unfortunately things got a bit more complicated than expected, but we're now in the final tasks of completing the update.
We expect that we can provide our 2.0.0 release towards the end of August.
If you're already interested in trying out the update, you can update to our latest 2.0.0 release candidate (currently 2.0.0-rc.2).

@Lukas742
Copy link
Contributor Author

Lukas742 commented Aug 28, 2024

Version 2 has been released 🎉

Closing this issue.

@Lukas742 Lukas742 unpinned this issue Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 2024-Q3
Development

No branches or pull requests

6 participants