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

WRQ-10629: Removed deprecated APIs #3244

Merged
merged 14 commits into from
Jul 9, 2024
Merged

Conversation

SkylerBaek
Copy link
Member

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

As major version upgrade, deprecated APIs are removed.

Resolution

Removed deprecated APIs.

Additional Considerations

Links

WRQ-10629

Comments

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

SkylerBaek and others added 6 commits May 30, 2024 14:13
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
* Removed deprecated components from enact/ui:
IconButton, RadioDecorator, Scroller.ScrollerBase, SlotItem, ToggleItem, VirtualList.UiVirtualListBase, VirtualList.VirtualListBase

* Removed reference to ui/SlotItem from ui/Slottable.

* Updated changelog

* Update CHANGELOG.md

---------

Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com>
Co-authored-by: Seungcheon Baek <5037955+SeungcheonBaek@users.noreply.github.com>
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
Copy link

codecov bot commented Jun 11, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.25%. Comparing base (2777e54) to head (2a1dddc).

Files Patch % Lines
packages/core/platform/platform.js 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##           feature/enact_v5    #3244      +/-   ##
====================================================
- Coverage             82.51%   82.25%   -0.26%     
====================================================
  Files                   157      152       -5     
  Lines                  7245     7084     -161     
  Branches               1917     1864      -53     
====================================================
- Hits                   5978     5827     -151     
+ Misses                  995      986       -9     
+ Partials                272      271       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
@juwonjeong
Copy link
Contributor

Please resolve conflicts in CHANGELOG.md

@juwonjeong
Copy link
Contributor

I think we should remove some lines in codecov.yml

  • "packages/ui/Scrollable"
  • "packages/ui/Scroller/UiScrollerBase.js"
  • "packages/ui/GridListImageItem"
  • "packages/ui/VirtualList/VirtualListBase.js"
  • "packages/ui/VirtualList/UiVirtualListBase.js"

packages/ui/CHANGELOG.md Show resolved Hide resolved
packages/webos/CHANGELOG.md Outdated Show resolved Hide resolved
packages/ui/CHANGELOG.md Outdated Show resolved Hide resolved
@SkylerBaek
Copy link
Member Author

I think we should remove some lines in codecov.yml

  • "packages/ui/Scrollable"
  • "packages/ui/Scroller/UiScrollerBase.js"
  • "packages/ui/GridListImageItem"
  • "packages/ui/VirtualList/VirtualListBase.js"
  • "packages/ui/VirtualList/UiVirtualListBase.js"

Good catch! Thank you!

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
Copy link
Contributor

@juwonjeong juwonjeong left a comment

Choose a reason for hiding this comment

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

LGTM

@MikyungKim
Copy link
Contributor

Sorry for the late review. Please resolve the merge conflicts.

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
Copy link
Contributor

@MikyungKim MikyungKim left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -220,27 +74,19 @@ const parseUserAgent = (userAgent) => {
deprecate({name: `supporting ${detectedInfo.browserName} version before ${supportedVersions[detectedInfo.browserName]}`, until: '5.0.0'});
Copy link
Member

Choose a reason for hiding this comment

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

@0x64 Why the version is already '5.0.0'? until is also unclear for me.

Copy link
Member Author

Choose a reason for hiding this comment

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

until makes a message like " Will be removed in ${until}" and the original message was correct. But, it looks not good to notify 'deprecate' along with versions as we will update the base browser versions annually.
For now, it looks better simply removing 'until' option.

Copy link
Member

@seunghoh seunghoh left a comment

Choose a reason for hiding this comment

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

webos/platform/platform.js line 26~27 are not needed as legacy version

const platforms = [
	// LG webOS before adapting Chrome
	{regex: /Web0S;.*Safari\/537.41/, version: 1}, // using WebKit 537.41 for WebAppManager, using Chrome 26 for the browser app
	{regex: /Web0S;.*Safari\/538.2/, version: 2},  // using WebKit 538.2  for WebAppManager, using Chrome 34 for the browser app

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
@SkylerBaek
Copy link
Member Author

I removed UA for unsupported legacy versions.

Enact-DCO-1.0-Signed-off-by: Seungho Park <seunghoh.park@lge.com>
@seunghoh seunghoh merged commit b9c9f5c into feature/enact_v5 Jul 9, 2024
3 of 5 checks passed
@seunghoh seunghoh deleted the feature/WRQ-10629 branch July 9, 2024 02:22
SkylerBaek added a commit that referenced this pull request Jul 25, 2024
* WRQ-22937: Updated storybook to version 8 (#3224)

* Updated storybook to version 8

* upgraded storybook to 8.1.5

* minor fix for changelog

* merged with enact_v5

* Update CHANGELOG.md

* code review fixes

* revert of commented properties

* code review fix

* eslint fixes

* eslint fixes

* removed unneeded storybook ui properties

* updated storybook to 8.1.6 and storybook-utils branch to enact_v5

* removed docs configuration in preview.js
removed docs information in About story

* removed @storybook/addon-docs

* added back storybook/addon-docs

* WRQ-25915: Added custom site icon for sampler app (#3246)

* added custom site icon for storybook

* Update packages/sampler/.storybook/manager-head.html

* removed manager-head

* WRQ-17541: Changed `ui/Marquee.MarqueeDecorator` to use `@enact/i18n` utils for `marqueeDirection` (#3237)

* update marqueeDirection to use @enact/i18n API

* update CHANGELOG.md

* Update MarqueeDecorator.js

* update CHANGELOG.md

* update packages/ui/CHANGELOG.md

* remove unused module and sort modules alphabetically

* fix changelog

* WRQ-10629: Removed deprecated APIs (#3244)

* Removed deprecated APIs from core/platform

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Removed deprecated APIs from webos/platform

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* WRQ-228: Removed Moonstone related modules (#3207)

* Removed deprecated components from enact/ui:
IconButton, RadioDecorator, Scroller.ScrollerBase, SlotItem, ToggleItem, VirtualList.UiVirtualListBase, VirtualList.VirtualListBase

* Removed reference to ui/SlotItem from ui/Slottable.

* Updated changelog

* Update CHANGELOG.md

---------

Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com>
Co-authored-by: Seungcheon Baek <5037955+SeungcheonBaek@users.noreply.github.com>

* Removed ui/Marquee.MarqueeDecorator config className

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Refined CHANGELOG files

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Fixed Sampler not to use a removed component

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Updated changelogs and missing changes

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Updated docs

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Fix changelogs broken by merging

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Refined warning message and removed code for unsupported legacy webOS

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)

* Update deprecation message

Enact-DCO-1.0-Signed-off-by: Seungho Park <seunghoh.park@lge.com>

---------

Co-authored-by: Seungcheon Baek <5037955+SeungcheonBaek@users.noreply.github.com>
Co-authored-by: alexandru-morariu-lgp <84004128+alexandrumorariu@users.noreply.github.com>
Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com>
Co-authored-by: Seungho Park <seunghoh.park@lge.com>

* Update change logs for 5.0.0-rc.1

* unpinning ilib peerDependencies

* applying storybook-utils 6.0.0-rc.1

* applying storybook-utils 6.0.0-rc.1 in lockfile

* Update release version & date

* Version value updating

* WRQ-29126: Updated storybook to 8.2 and fixed enact/ui interlink script (#3256)

* fixed missing depedency, updated storybook to 8.2 and changed package.json dependencies to patch version

* updated storybook dependencies to use latest minor version

* fixed merge conflicts

* fixed interlink script and added ilib dependency for enact/ui

* WRQ-28801: Fix `marqueeController` to marquee properly when `marqueeOnFocus` is true and content is changed  (#3255)

* WRQ-28801: Rollback handleComplete function in useMarqueeController to not decide whether to start by checking contentFits

Enact-DCO-1.0-Signed-off-by: Juwon Jeong (juwon.jeong@lge.com)

* Add changelog

Enact-DCO-1.0-Signed-off-by: Juwon Jeong (juwon.jeong@lge.com)

* Fix typo

Enact-DCO-1.0-Signed-off-by: Juwon Jeong (juwon.jeong@lge.com)

* WRQ-30274: Merge `feature/enact_v5` to `develop` branch (#3261)

* change travis dist from focal to jammy
Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com)

* modify npm-shrinkwrap.json

* add changelog
Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com)

* add changelog
Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com)

---------

Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com>
Co-authored-by: Juwon Jeong <juwon.jeong@lge.com>
Co-authored-by: taeyoung.hong <taeyoung.hong@lge.com>
Co-authored-by: taeyoung.hong <35059065+hong6316@users.noreply.github.com>
Co-authored-by: Seungcheon Baek <5037955+0x64@users.noreply.github.com>
Co-authored-by: Seungcheon Baek <5037955+SeungcheonBaek@users.noreply.github.com>
Co-authored-by: alexandru-morariu-lgp <84004128+alexandrumorariu@users.noreply.github.com>
Co-authored-by: Seungho Park <seunghoh.park@lge.com>
Co-authored-by: Jenkins <accounts@enactjs.com>
Co-authored-by: Jiye Kim <128779942+vJIYEv@users.noreply.github.com>
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.

5 participants