From 1d62b9b5571e0cac7b18706ca592f5dc63ed5836 Mon Sep 17 00:00:00 2001 From: Roman Sirokov Date: Fri, 24 Jan 2020 23:01:33 +0200 Subject: [PATCH] 3.2 info --- docs/CHANGELOG.md | 18 ++++++++++++++++++ docs/README.md | 2 +- setup.py | 4 ++-- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 394a86af..7068c28c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 3.2: Humate Edition + +_Released 24/01/2020_ + +- `New` [All] Window x, y, width and height properties to retrieve coordinates and dimensions of the window. Thanks [@Fizzadar](https://github.com/Fizzadar) +- `New` [All] `window.expose(func)` an ability to expose an arbitrary function to the JS realm, also during the runtime. +- `Improvement` [All] JS API methods can now accept an arbitrary number of arguments +- `Improvement` [All] Exceptions thrown in a JS API method is now raised in Javascript via its promise. +- `Improvement` [All] Exceptions thrown in window event handlers are now caught and logged. +- `Improvement` [All] Random port assigned by the built-in HTTP server can be retrieved via `webview.http_server.port` +- `Improvement` [QT] Microphone/webcam are enabled by default. Thanks [@dtcooper](https://github.com/dtcooper) +- `Improvement` [QT] Default debugger port is changed to 8228. Thanks [@melvinkcx](https://github.com/melvinkcx) +- `Improvement` [CEF] Ability to pass custom CEF settings via ` webview.platforms.cef.settings`. See [example](/examples/cef.md) for details. +- `Fix` [All] Built-in HTTP server is properly restarted when using `window.load_url` +- `Fix` [Cocoa] New window position is correctly calculated when using `window.move` +- `Fix` [EdgeHTML] `window.alert` fix + + ## 3.1: Windows Edition _Released 04/11/2019_ diff --git a/docs/README.md b/docs/README.md index 985ef496..c2f2454d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,7 +7,7 @@ actionLink: /guide/ footer: BSD Licensed | Copyright © 2014-present Roman Sirokov ---
-Current version: 3.1
+Current version: 3.2
What's new
diff --git a/setup.py b/setup.py index 4785100c..b37f5e4a 100644 --- a/setup.py +++ b/setup.py @@ -26,11 +26,11 @@ long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/r0x0r/pywebview', - download_url='https://github.com/r0x0r/pywebview/archive/3.1.tar.gz', + download_url='https://github.com/r0x0r/pywebview/archive/3.2.tar.gz', keywords=['gui', 'webkit', 'html', 'web'], install_requires=install_requires, extras_require=extras_require, - version='3.1', + version='3.2', include_package_data=True, packages=['webview', 'webview.js', 'webview.platforms'], package_dir={'webview': 'webview'},