Skip to content

Chore/update dependencies #233

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

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

Conversation

gwleuverink
Copy link
Contributor

This pull request updates several dependencies. NativePHP/laravel#390

I wanted to upgrade Electron as well but we're locked to v33 for now since a package we're depending on hasn't been updated for a while: https://github.com/max-mapper/menubar

Updates to production dependencies:

  • Upgraded body-parser to version ^2.2.0 from ^1.20.3.
  • Upgraded express to version ^5.1.0 from ^4.21.2.

Updates to development dependencies:

  • Upgraded electron-builder to version ^26.0.19 from ^26.0.14.
  • Upgraded electron-vite to version ^4.0.0 from ^3.0.0.
  • Upgraded vite to version ^7.0.5 from ^6.2.1.

Furthermore it has to be noted that there are some breaking changes when we are able to upgrade electron (33 -> 37)

https://www.electronjs.org/docs/latest/breaking-changes#planned-breaking-api-changes-340
https://www.electronjs.org/docs/latest/breaking-changes#planned-breaking-api-changes-350
https://www.electronjs.org/docs/latest/breaking-changes#planned-breaking-api-changes-360
https://www.electronjs.org/docs/latest/breaking-changes#planned-breaking-api-changes-370

Most notably dropping support for macOS Catalina & changes in menubar behavior.

@gwleuverink gwleuverink self-assigned this Jul 18, 2025
Copy link
Member

@SRWieZ SRWieZ left a comment

Choose a reason for hiding this comment

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

Yeah, I had the same problem last time I tried to upgrade the dependencies.

We might have to look into someone's fork soon.

@gwleuverink
Copy link
Contributor Author

It doesn't look like any forks are regularly updated.

There is a PR open to update to 34, but it has been silent for a while

Def preferable not to pull this package in considering the maintenance burden. I'll see if they'll accept a PR.

max-mapper/menubar#486 (comment)

@simonhamp
Copy link
Member

Dammit. That package is a PITA.

We may need to come up with an alternative. I don't think it's especially complex. I wouldn't fork it tho, just pull the logic straight in

@SRWieZ
Copy link
Member

SRWieZ commented Jul 21, 2025

We can fork it but with a big warning that's it's only supposed to used in NativePHP.

No support.

Until there is a maintained fork upstream.

@gwleuverink
Copy link
Contributor Author

Shall we merge this & create another PR for the menubar dependency & electron itself?

@SRWieZ
Copy link
Member

SRWieZ commented Jul 30, 2025

I vote yes

@gwleuverink
Copy link
Contributor Author

Cool! I need one more review to merge @NativePHP/contributors

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.

3 participants