## 0.3.2

- Windows: Preserve the original HTTP method, POST body, and headers when `setOnUrlRequestCallback` approves navigation. ([#519](https://github.com/MixinNetwork/flutter-plugins/pull/519); thanks [FrankenApps](https://github.com/FrankenApps))

## 0.3.1

* Add Windows `openHidden` and `denyCameraAndMicrophone` options, and fix blank pages when approving navigation requests [#508](https://github.com/MixinNetwork/flutter-plugins/pull/508)
  by [mtallenca](https://github.com/mtallenca)
* Prevent stale Windows navigation approvals from replacing newer navigation, restore WebView visibility when maximizing hidden windows, and keep media permission denials out of the shared profile.
* Update the bundled Windows WebView2 SDK headers, loader DLL, and import library to 1.0.4258.31.
* Fill the window with web content when `runWebViewTitleBarWidget` is not called [#511](https://github.com/MixinNetwork/flutter-plugins/pull/511)
  by [FrankenApps](https://github.com/FrankenApps)
* Fix the macOS Swift Package Manager Flutter framework dependency [#510](https://github.com/MixinNetwork/flutter-plugins/pull/510)
  by [FrankenApps](https://github.com/FrankenApps)
* Fix a use-after-free when closing a Linux window [#513](https://github.com/MixinNetwork/flutter-plugins/pull/513)
  by [matsukiender-star](https://github.com/matsukiender-star)
* Fix crashes when opening new windows on Linux by opening user-clicked links in the current view and ignoring script-opened windows [#514](https://github.com/MixinNetwork/flutter-plugins/pull/514)
  by [matsukiender-star](https://github.com/matsukiender-star)
* Skip the extra Flutter title-bar engine on Linux when `titleBarHeight` is zero [#515](https://github.com/MixinNetwork/flutter-plugins/pull/515)
  by [matsukiender-star](https://github.com/matsukiender-star)
* Make Linux WebView windows transient children of the application window [#516](https://github.com/MixinNetwork/flutter-plugins/pull/516)
  by [matsukiender-star](https://github.com/matsukiender-star)

## 0.3.0

**BREAKING CHANGES**

* Require Dart 3.5 or later.
* Require macOS 10.13 or later for the macOS plugin.
* Change `OnUrlRequestCallback` to return a `bool` so navigation requests can be allowed or blocked.
* Replace `addOnUrlRequestCallback` and `removeOnUrlRequestCallback` with `setOnUrlRequestCallback`.
* Remove the `onError` parameter from `runWebViewTitleBarWidget`.

* Add Swift Package Manager support for macOS [#480](https://github.com/MixinNetwork/flutter-plugins/pull/480)
  by [jose3ww](https://github.com/jose3ww)
* Add `bringToForeground` API [#274](https://github.com/MixinNetwork/flutter-plugins/pull/274)
  by [Iri-Hor](https://github.com/Iri-Hor)
* Add `moveWebviewWindow` API [#280](https://github.com/MixinNetwork/flutter-plugins/pull/280)
  by [Iri-Hor](https://github.com/Iri-Hor)
* Add `maximized` parameter to `bringToForeground` [#282](https://github.com/MixinNetwork/flutter-plugins/pull/282)
  by [Iri-Hor](https://github.com/Iri-Hor)
* Add URL request control support [#296](https://github.com/MixinNetwork/flutter-plugins/pull/296)
  by [Iri-Hor](https://github.com/Iri-Hor)
* Add `getPositionalParameters` API [#291](https://github.com/MixinNetwork/flutter-plugins/pull/291)
  by [Iri-Hor](https://github.com/Iri-Hor)
* Add `getAllCookies` API [#349](https://github.com/MixinNetwork/flutter-plugins/pull/349)
  by [KRTirtho](https://github.com/KRTirtho)
* Add Linux support for `registerJavaScriptMessageHandler` and `unregisterJavaScriptMessageHandler` [#452](https://github.com/MixinNetwork/flutter-plugins/pull/452)
  by [Carapacik](https://github.com/Carapacik)
* Add backward compatibility with webkit2gtk-4.0 on Linux [#311](https://github.com/MixinNetwork/flutter-plugins/pull/311)
  by [prateekmedia](https://github.com/prateekmedia)
* Use deprecated WebKitGTK functions only on versions older than 2.40 [#334](https://github.com/MixinNetwork/flutter-plugins/pull/334)
  by [prateekmedia](https://github.com/prateekmedia)
* Add WebView window safety fixes for Windows and macOS [#451](https://github.com/MixinNetwork/flutter-plugins/pull/451)
  by [paulanatoleclaudot-betclic](https://github.com/paulanatoleclaudot-betclic)
* Update README [#313](https://github.com/MixinNetwork/flutter-plugins/pull/313)
  by [tanvirulislam](https://github.com/tanvirulislam)

## 0.2.3

* fix macOS webview window size not working.

## 0.2.2

* fix memory leak on macOS after close webview window.
* Show and Hide Webview window by [@Iri-Hor](https://github.com/Iri-Hor) in [#268](https://github.com/MixinNetwork/flutter-plugins/pull/268)

## 0.2.1

* add Windows attentions to readme.
* fix linux close sub window cause app exited.
* fix linux webview title bar expanded unexpected.
* More control over webview position and size under windows. [#206](https://github.com/MixinNetwork/flutter-plugins/pull/206) by [Lukas Heinze](https://github.com/Iri-Hor)
* fix zone mismatch [#250](https://github.com/MixinNetwork/flutter-plugins/pull/250) by [CD](https://github.com/459217974)
* fix linux webkit2gtk deprecated error [#246](https://github.com/MixinNetwork/flutter-plugins/pull/246) by [Zhiqiang Zhang](https://github.com/zhangzqs)

## 0.2.0

* BREAK CHANGE: bump linux webkit2gtk version to 4.1

## 0.1.6

* fix WebView render area wrong offset on Windows.

## 0.1.5

* add `close` method for WebView.
* add `onUrlRequest` event for WebView.

## 0.1.4

* support custom userDataFolder on Windows.
* fix open web view failed cause crash on Windows.

## 0.1.3

Remove windows addition import requirements.

## 0.1.2

fix TitleBar reload do not work.

## 0.1.1

fix window title not show on macOS

## 0.1.0

support custom titlebar.

NOTE: contains break change. more details see readme.

## 0.0.7

1. support `isWebviewAvailable` check.
2. fix `clearAll` crash on Linux if no webview created.

## 0.0.6

fix swift definition conflict on macOS.  [flutter-plugins#17](https://github.com/MixinNetwork/flutter-plugins/issues/17)

## 0.0.5

add `setApplicationNameForUserAgent` for append application name to webview user agent.

## 0.0.4

1. implement `addScriptToExecuteOnDocumentCreated` on macOS.
2. add hot key `command + w` to close window.

## 0.0.3

fix linux build

## 0.0.2

* rename project to desktop_webview_window

## 0.0.1

* add Windows, Linux, macOS support.
