Repository navigation
chore: Update win32 to 6.x in serverpod_shared - #5265
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Bumps the win32 dependency from ^5.13.0 to ^6.0.0 in serverpod_shared (and its template) to avoid version conflicts with consumers already on win32 6.x, and migrates the only usage site (process_alive.dart) to the 6.x API.
Changes:
- Update
win32constraint to^6.0.0in both the package and templatepubspec.yaml. - Migrate
_readWindowsImagePathto usePWSTR,PROCESS_NAME_WIN32, and the newWin32Resultreturn shape fromQueryFullProcessImageName. - Migrate
_withProcessHandleto useHANDLE,Win32Result, the booleanbInheritHandleparameter, andhandle.isValidforOpenProcess.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/serverpod_shared/pubspec.yaml | Bumps win32 from ^5.13.0 to ^6.0.0. |
| templates/pubspecs/packages/serverpod_shared/pubspec.yaml | Mirrors the dependency bump in the template pubspec. |
| packages/serverpod_shared/lib/src/utils/process_alive.dart | Migrates OpenProcess and QueryFullProcessImageName calls to the win32 6.x API (PWSTR, HANDLE, Win32Result, isValid). |
FXschwartz
force-pushed
the
5224-update-win32
branch
from
June 1, 2026 23:45
d0812a6 to
9fdcd7c
Compare
marcelomendoncasoares
approved these changes
Jun 2, 2026
marcelomendoncasoares
left a comment
Collaborator
There was a problem hiding this comment.
Given that everything is still working as expected, LGTM! 🪟
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump win32 from ^5.13.0 to ^6.0.0 so
serverpod_sharedno longer conflicts with packages that already require win32 6.x.Fixed #5224
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
No breaking changes to public API