Releases: halildurmus/win32
package:win32 v6.3.0
6.3.0 - 2026-05-22
🧹 Refactor
- Remove the build hook that either downloaded prebuilt binaries or compiled
native C wrappers for Win32 APIs that report errors viaGetLastError().
These bindings now pre-resolveGetLastError()before each call, ensuring the
error code is captured reliably without any native code.
package:win32 v6.2.0
6.2.0 - 2026-05-07
🚀 Features
-
Add
OsVersionclass for reliable Windows version detection and OS baseline
checks. UseOsVersion.currentto retrieve the running version and the
relational operators (<,<=,>=,>) to range-check it against
well-known baselines (OsVersion.win10,OsVersion.win11, etc.). -
Add extension methods on
GUIDfor comparison and ordering:compareTo(),
isEqualTo(), and the relational operators (<,<=,>=,>). Useful for
usingGUIDas a key in sorted collections such asSplayTreeMap. -
Add
GET_X_LPARAM()andGET_Y_LPARAM()macros for correctly extracting
signed x/y cursor coordinates from Windows message parameters. Unlike
LOWORD()/HIWORD(), these macros handle negative coordinates that occur
when a secondary display is positioned to the left of or above the primary
display.
🐛 Bug Fixes
- Fix
IsWindowsServer()using the wrong constant.
package:win32 v6.1.0
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:hooks: user_defines: win32: local_build: true
win32-prebuilt-assets-v6.1.0
feat(win32): support prebuilt assets in the build hook (#1064)
package:win32_registry v3.0.3
package:win32_clipboard v2.0.3
package:win32 v6.0.1
package:filepicker_windows v3.0.2
package:ffi_leak_tracker v0.1.2
package:winmd v7.1.0
7.1.0 - 2026-03-06
🚀 Features
- Add retry logic for Windows Metadata downloads, retrying up to 5 attempts on
failure
⚡ Performance
- Optimize the metadata reader for improved throughput
🧹 Refactor
- Replace the global
winmdLogger(now deprecated) with a constructor-injected
Loggerfor better testability and flexibility - Improve console output formatting
🎨 Styling
- Apply Dart dot shorthand syntax across the codebase