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

feat!: updated frontend-build & frontend-platform major versions #22

Merged

Conversation

BilalQamar95
Copy link
Contributor

Description

  • Major version upgrades, Updating frontend-build to v14 & frontend-platform to v8
  • Updated jest to v29
  • Updated snapshots for failing tests

Breaking Change: Due to peerDependency upgrades these packages upgrades are to be released as a breaking change

@BilalQamar95 BilalQamar95 self-assigned this Apr 24, 2024
@BilalQamar95 BilalQamar95 requested a review from feanil May 15, 2024 10:52
package.json Outdated
Comment on lines 49 to 50
"@edx/frontend-platform": "8.0.0",
"@openedx/frontend-build": "14.0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a specific reason to pin these at exact versions instead of ^ versions?

Suggested change
"@edx/frontend-platform": "8.0.0",
"@openedx/frontend-build": "14.0.3",
"@edx/frontend-platform": "^8.0.0",
"@openedx/frontend-build": "^14.0.3",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No specific reason, I have made the required update

Copy link
Contributor

@brian-smith-tcril brian-smith-tcril left a comment

Choose a reason for hiding this comment

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

I left a comment about pinned versions in devDependencies but I consider that a non-blocking request. This LGTM!

@BilalQamar95
Copy link
Contributor Author

I do not have the merge rights, @brian-smith-tcril can you please merge it?

@feanil feanil merged commit 1f228cd into openedx:main May 15, 2024
3 checks passed
@edx-semantic-release
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Comment on lines +64 to +65
"@edx/frontend-platform": "^8.0.0",
"@openedx/frontend-build": "^14.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

These should have been changed to

    "@edx/frontend-platform": "^7.0.1 || ^8.0.0",
    "@openedx/frontend-build": "^13.0.27 || ^14.0.0",

Any of the package complete deprecation will make the other project break, thus a breaking change. This change should have bump it to version 3.0.0 instead of 2.1.0

Copy link
Contributor

Choose a reason for hiding this comment

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

@BilalQamar95 sorry for late comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was supposed to go as a breaking change as per description, it was reverted immediately and republished as a breaking change

@abdullahwaheed
Copy link

@leangseu-edx these changes were reverted and released as breaking change in #24

@leangseu-edx
Copy link
Contributor

leangseu-edx commented May 16, 2024

@abdullahwaheed Yes. However, 2.1.0 still got released and it still contain the breaking change. It actually causing error to other MFEs. I was hoping, there would be a 2.1.1 to patch that.

@leangseu-edx
Copy link
Contributor

@BilalQamar95 @abdullahwaheed I added a pr for manual release. #25 I don't think it is possible to release the patch 2.1.1 with semantic release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants