Skip to content

Bump window_manager from 0.5.2 to 0.6.0 - #180

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/window_manager-0.6.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/window_manager-0.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps window_manager from 0.5.2 to 0.6.0.

Changelog

Sourced from window_manager's changelog.

0.6.0

  • Restore frameless client areas, native macOS/Windows getId() results, independent macOS zoom policy and Windows fullscreen drag/resize restrictions through core.
  • Require nativeapi and nativeapi_flutter ^0.5.5.
  • Complete Windows/Linux native caption-group visibility, independent close-button policies and Linux pre-show fullscreen/minimize compatibility through nativeapi.

window_manager is now built on nativeapi: the per-platform plugin code is gone, and one C++ core drives macOS, Windows and Linux.

  • Breaking: package:window_manager/window_manager.dart exports the native API — Window, WindowManager, TitleBarStyle, ResizeEdge, VisualEffect, the window events with EventRequest for answering a close request, DragToMoveArea, DragToResizeArea and MaximizeButtonArea, and the conversions between nativeapi's geometry and colours and Flutter's — next to this package's own WindowCaption, WindowCaptionButton and VirtualWindowFrame. Several windows at once, content bounds, title bar colours, visual effects and focusability come with it.
  • The 0.5.x API moved to package:window_manager/legacy.dart: windowManager, WindowListener, WindowOptions, DockSide and calcWindowPosition. Existing apps change one import. It is a bridge: everything in it is @Deprecated and will be removed in a later release. The README lists the behaviour differences and maps each old call to the native API.
  • Breaking: requires Flutter 3.47 / Dart 3.13 and macOS 10.15, and depends on nativeapi and nativeapi_flutter ^0.5.5. CI builds and the publish workflow pin Flutter 3.47.5.
  • No setup of its own on any platform. The plugin classes, and with them the changes MainFlutterWindow.swift, my_application.cc and the Windows runner used to need, are gone.
  • Closing works per window, as in 0.5.x: with setPreventClose(true) the title bar's close button and close() report onWindowClose and leave the window open, and destroy() closes it anyway. WindowCaption's close button goes through the same close listeners, and its maximize button opens the snap layouts on Windows 11.
  • onWindowClose also reports ordinary close requests when prevent-close is off. A destroy() vetoed by another native listener does not disable prevent-close for subsequent requests. Reattaching a legacy listener reads the current window state, so unmaximize and leaving full screen are reported correctly.
  • WindowCaption and VirtualWindowFrame refresh their state when their target window changes.
  • Events: onWindowResized / onWindowMoved arrive together with onWindowResize / onWindowMove; the full-screen pair comes from the window's own full-screen events; docking and undocking report onWindowDocked / onWindowUndocked. The legacy events are those of the app's window alone, not of other windows it opens.
  • package:window_manager/windowing.dart answers the Window behind each of Flutter's multi-window controllers (nativeWindowOf(controller), controller.nativeWindow), so every window an app opens that way can be managed.
  • popUpWindowMenu() opens the system menu at the cursor on Windows and Linux window managers that have one, and forward: of setIgnoreMouseEvents keeps hover events on macOS, Windows and X11.
  • Restore the old platform capabilities through core: Windows desktop-toolbar docking reserves and releases monitor work area, maximize(vertically: true) changes only height, and top/bottom resize handles support vertical-maximize double-clicks. Linux X11 keyboard grabs work again (Wayland reports unsupported). macOS handles

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [window_manager](https://github.com/leanflutter/window_manager) from 0.5.2 to 0.6.0.
- [Release notes](https://github.com/leanflutter/window_manager/releases)
- [Changelog](https://github.com/leanflutter/window_manager/blob/main/CHANGELOG.md)
- [Commits](https://github.com/leanflutter/window_manager/commits/v0.6.0)

---
updated-dependencies:
- dependency-name: window_manager
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Nov 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pub/window_manager-0.6.0 branch November 15, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant