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

Upgrade electron-forge to 7.5.0 #2526

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

calcaide
Copy link
Collaborator

@calcaide calcaide commented Oct 18, 2024

Description

UPDATE February 12 2025: this PR has been previously approved + a test run on the pipeline.

  • Upgrade electron-forge to7.5.0.
  • Delete lodash patch within electron-app.

The reason behind this changes is electron-forge/packer changed the way it validates semver for windows, therefore, the pattern we used before turns out invalid and returns an error when building the desktop client. More info about the issue within this GH ticket. Code that validates the semVer, within packager.

Due to this change, don't support non-numeric version, we add the function returnSemVerFromReleaseVersion to clean up the provided releaseVersion and bein compliance.

Delete lodash patch for electron-app its not need anymore. The new version of electron-forge resolves lodash 4.17.21, as per snyk scan, does not have security vulnerabilities.

How to Test

  • Perform a pipeline run succesfully.
  • Test pipeline run, using the new branch naming pattern.
  • Unit testing (manually) returnSemVerFromReleaseVersion with next string:
    • 1.2.3-beta.test.node.pty = 1.2.3;
    • 0.2.3-beta.electron.forge = 0.2.3;
    • v2.0.3 = 2.0.3;
    • v0.10.3 = 0.10.3;

@calcaide calcaide self-assigned this Oct 18, 2024
Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 8:44pm
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 8:44pm

…upport for non-numeric appVersion in windows
cameronperera
cameronperera previously approved these changes Nov 6, 2024
Copy link
Collaborator

@cameronperera cameronperera left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for digging into this issue and coming up with a solution for the version.

ZedLi
ZedLi previously approved these changes Nov 6, 2024
Copy link
Collaborator

@ZedLi ZedLi left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

DhariniJeeva
DhariniJeeva previously approved these changes Nov 6, 2024
@calcaide calcaide dismissed stale reviews from DhariniJeeva, ZedLi, and cameronperera via 82719b7 December 2, 2024 17:11
ZedLi
ZedLi previously approved these changes Feb 12, 2025
DhariniJeeva
DhariniJeeva previously approved these changes Feb 12, 2025
Copy link
Collaborator

@DhariniJeeva DhariniJeeva left a comment

Choose a reason for hiding this comment

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

looks great!!

cameronperera
cameronperera previously approved these changes Feb 25, 2025
@calcaide calcaide dismissed stale reviews from cameronperera, DhariniJeeva, and ZedLi via 922d4ff February 25, 2025 20:42
Copy link
Collaborator

@ZedLi ZedLi left a comment

Choose a reason for hiding this comment

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

Looks good!

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

Successfully merging this pull request may close these issues.

5 participants