fix(deps): update dependency win32 to v6#1429
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
1b516ec to
61f97a8
Compare
4a13d77 to
f4dc732
Compare
e326479 to
33f5fb5
Compare
9fc03ff to
9ab1b81
Compare
0f1ec57 to
6cdbab7
Compare
6cdbab7 to
efeff7d
Compare
bb56055 to
13f6a45
Compare
91cfb3b to
6ee4652
Compare
6ee4652 to
0e75b01
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
^5.15.0→^6.0.0Release Notes
halildurmus/win32 (win32)
v6.3.0: package:win32 v6.3.0Compare Source
6.3.0 - 2026-05-22
🧹 Refactor
native C wrappers for Win32 APIs that report errors via
GetLastError().These bindings now pre-resolve
GetLastError()before each call, ensuring theerror code is captured reliably without any native code.
v6.2.0: package:win32 v6.2.0Compare Source
6.2.0 - 2026-05-07
🚀 Features
Add
OsVersionclass for reliable Windows version detection and OS baselinechecks. Use
OsVersion.currentto retrieve the running version and therelational operators (
<,<=,>=,>) to range-check it againstwell-known baselines (
OsVersion.win10,OsVersion.win11, etc.).Add extension methods on
GUIDfor comparison and ordering:compareTo(),isEqualTo(), and the relational operators (<,<=,>=,>). Useful forusing
GUIDas a key in sorted collections such asSplayTreeMap.Add
GET_X_LPARAM()andGET_Y_LPARAM()macros for correctly extractingsigned x/y cursor coordinates from Windows message parameters. Unlike
LOWORD()/HIWORD(), these macros handle negative coordinates that occurwhen a secondary display is positioned to the left of or above the primary
display.
🐛 Bug Fixes
IsWindowsServer()using the wrong constant.v6.1.0: package:win32 v6.1.0Compare Source
6.1.0 - 2026-04-22
🚀 Features
The build hook now downloads prebuilt binaries from GitHub release artifacts
instead of compiling from C source, eliminating the MSVC requirement for
users who don't have the necessary tools installed.
Users who prefer or require local compilation can opt out by setting the
local_builduser-define totruein theirpubspec.yaml:v6.0.1: package:win32 v6.0.1Compare Source
6.0.1 - 2026-04-11
📦 Dependencies
v6.0.0: package:win32 v6.0.0Compare Source
6.0.0 - 2026-02-22
🔄 Breaking Changes
This release introduces a major redesign of the Win32 Dart API with a strong
focus on type safety, deterministic resource management, and
idiomatic Dart usage. Most changes are mechanical but widespread.
Key breaking changes include:
Exception-based error handling
HRESULTnow throwWindowsExceptionon failureNew error model for APIs that call
SetLastError()Win32Result<T>which captures both the logical returnvalue and the associated last-error code atomically on the native side,
ensuring the error state is preserved
Strongly typed Win32 handles
HKEY,HWND,HICON) are now extension typesinstead of plain
intorPointervaluesWin32
BOOLmapped to DartboolEnums are now extension types
intconstants with strongly typed extension typesExplicit COM lifetime management
Finalizerhas been removedArenaCOM and
HRESULTAPI simplificationsQueryInterface-style methods now return interfaces directlyHRESULTchecks and pointer plumbing are eliminatedMajor string API cleanup
TEXT(),BSTRclass, and legacy helpersGUID API redesign
Guidclass and string-based helpersGUIDstruct is now the single, explicit representationwinsock2library removedwin32.dartDispatcher API redesign
VARIANTorDISPPARAMSconstruction🚀 Features
Scope-based lifetime management
Arenato manage native memory and COM lifetimesMuch stronger type safety across the API surface
More idiomatic Dart APIs
Reliable error handling
GetLastError()values on native side, exposed viaWin32Result<T>Cleaner, more consistent conversion APIs
FILETIMEvaluesNative memory leak detection via
package:ffi_leak_trackerLeak Tracking guide for
details
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.