From 01db558af569bf3c8e023decd7cab5250fae3b55 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 21 Dec 2023 09:42:43 +0800 Subject: [PATCH] Add release notes for v0.4.1. --- changes/1156.bugfix.rst | 1 - changes/2142.feature.rst | 1 - changes/2193.bugfix.rst | 1 - changes/2194.bugfix.rst | 1 - changes/2195.bugfix.rst | 1 - changes/2198.feature.rst | 1 - changes/2198.removal.rst | 1 - changes/2199.doc.rst | 1 - changes/2200.feature.rst | 1 - changes/2201.misc.rst | 1 - changes/2204.misc.rst | 1 - changes/2208.bugfix.rst | 1 - changes/2214.bugfix.rst | 1 - changes/2215.misc.rst | 1 - changes/2216.misc.rst | 1 - changes/2219.misc.rst | 1 - changes/2222.misc.rst | 1 - changes/2224.misc.rst | 1 - changes/2226.misc.rst | 1 - changes/2228.removal.rst | 1 - changes/2230.misc.rst | 1 - changes/2235.misc.rst | 1 - changes/2240.misc.rst | 1 - changes/2246.misc.txt | 1 - changes/2249.misc.rst | 1 - changes/2255.doc.rst | 1 - changes/2256.misc.rst | 1 - changes/2257.misc.rst | 1 - changes/2259.feature.1.rst | 1 - changes/2259.feature.2.rst | 1 - changes/2259.removal.rst | 1 - changes/2260.feature.rst | 1 - changes/2261.misc.rst | 1 - changes/2263.feature.rst | 1 - changes/2264.misc.rst | 1 - changes/2264.removal.rst | 1 - changes/2265.bugfix.rst | 1 - changes/2267.misc.rst | 1 - changes/2269.misc.rst | 1 - changes/2270.misc.rst | 1 - changes/2271.misc.rst | 1 - changes/2272.misc.rst | 1 - changes/2275.bugfix.rst | 1 - changes/2283.misc.rst | 1 - changes/2284.misc.rst | 1 - changes/2287.misc.rst | 1 - changes/2294.misc.rst | 1 - docs/background/project/releases.rst | 46 ++++++++++++++++++++++++++++ 48 files changed, 46 insertions(+), 47 deletions(-) delete mode 100644 changes/1156.bugfix.rst delete mode 100644 changes/2142.feature.rst delete mode 100644 changes/2193.bugfix.rst delete mode 100644 changes/2194.bugfix.rst delete mode 100644 changes/2195.bugfix.rst delete mode 100644 changes/2198.feature.rst delete mode 100644 changes/2198.removal.rst delete mode 100644 changes/2199.doc.rst delete mode 100644 changes/2200.feature.rst delete mode 100644 changes/2201.misc.rst delete mode 100644 changes/2204.misc.rst delete mode 100644 changes/2208.bugfix.rst delete mode 100644 changes/2214.bugfix.rst delete mode 100644 changes/2215.misc.rst delete mode 100644 changes/2216.misc.rst delete mode 100644 changes/2219.misc.rst delete mode 100644 changes/2222.misc.rst delete mode 100644 changes/2224.misc.rst delete mode 100644 changes/2226.misc.rst delete mode 100644 changes/2228.removal.rst delete mode 100644 changes/2230.misc.rst delete mode 100644 changes/2235.misc.rst delete mode 100644 changes/2240.misc.rst delete mode 100644 changes/2246.misc.txt delete mode 100644 changes/2249.misc.rst delete mode 100644 changes/2255.doc.rst delete mode 100644 changes/2256.misc.rst delete mode 100644 changes/2257.misc.rst delete mode 100644 changes/2259.feature.1.rst delete mode 100644 changes/2259.feature.2.rst delete mode 100644 changes/2259.removal.rst delete mode 100644 changes/2260.feature.rst delete mode 100644 changes/2261.misc.rst delete mode 100644 changes/2263.feature.rst delete mode 100644 changes/2264.misc.rst delete mode 100644 changes/2264.removal.rst delete mode 100644 changes/2265.bugfix.rst delete mode 100644 changes/2267.misc.rst delete mode 100644 changes/2269.misc.rst delete mode 100644 changes/2270.misc.rst delete mode 100644 changes/2271.misc.rst delete mode 100644 changes/2272.misc.rst delete mode 100644 changes/2275.bugfix.rst delete mode 100644 changes/2283.misc.rst delete mode 100644 changes/2284.misc.rst delete mode 100644 changes/2287.misc.rst delete mode 100644 changes/2294.misc.rst diff --git a/changes/1156.bugfix.rst b/changes/1156.bugfix.rst deleted file mode 100644 index cd4c54d426..0000000000 --- a/changes/1156.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -TableViews on macOS will no longer crash if a drag operation is initiated from inside the table. diff --git a/changes/2142.feature.rst b/changes/2142.feature.rst deleted file mode 100644 index 2af07cce3e..0000000000 --- a/changes/2142.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Toga images can now be created from (and converted to) PIL images. Image constructor also now takes a single argument, src; path and data are deprecated. diff --git a/changes/2193.bugfix.rst b/changes/2193.bugfix.rst deleted file mode 100644 index ad8226c640..0000000000 --- a/changes/2193.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Separators before and after command sub-groups are now included in menus. diff --git a/changes/2194.bugfix.rst b/changes/2194.bugfix.rst deleted file mode 100644 index 5e064641e3..0000000000 --- a/changes/2194.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The web backend no longer generates a duplicate titlebar. diff --git a/changes/2195.bugfix.rst b/changes/2195.bugfix.rst deleted file mode 100644 index 4fb4695357..0000000000 --- a/changes/2195.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -An issue with the display of the About dialog on the web backend was corrected. diff --git a/changes/2198.feature.rst b/changes/2198.feature.rst deleted file mode 100644 index 4b2d73689a..0000000000 --- a/changes/2198.feature.rst +++ /dev/null @@ -1 +0,0 @@ -A wider range of command shortcut keys are now supported on WinForms. diff --git a/changes/2198.removal.rst b/changes/2198.removal.rst deleted file mode 100644 index 02e332e010..0000000000 --- a/changes/2198.removal.rst +++ /dev/null @@ -1 +0,0 @@ -The use of Caps Lock as a keyboard modifier for commands was removed. diff --git a/changes/2199.doc.rst b/changes/2199.doc.rst deleted file mode 100644 index 4ee080ce2d..0000000000 --- a/changes/2199.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Documentation for ``toga.Key`` was added. diff --git a/changes/2200.feature.rst b/changes/2200.feature.rst deleted file mode 100644 index 701f35111b..0000000000 --- a/changes/2200.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Most widgets with flexible sizes now default to a minimum size of 100 CSS pixels. An explicit size will still override this value. diff --git a/changes/2201.misc.rst b/changes/2201.misc.rst deleted file mode 100644 index 4d73995780..0000000000 --- a/changes/2201.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Minor fix: removed a repeated word in the docs for App Paths diff --git a/changes/2204.misc.rst b/changes/2204.misc.rst deleted file mode 100644 index 1524aa29c5..0000000000 --- a/changes/2204.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Some inconsistencies in widget support documentation were corrected. diff --git a/changes/2208.bugfix.rst b/changes/2208.bugfix.rst deleted file mode 100644 index 2968695750..0000000000 --- a/changes/2208.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The testbed is now able to run on macOS when the user running the tests has the macOS display setting "Prefer tabs when opening documents" set to "Always". diff --git a/changes/2214.bugfix.rst b/changes/2214.bugfix.rst deleted file mode 100644 index 97e2873a7e..0000000000 --- a/changes/2214.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Compliance with Apple's HIG regarding the naming and shortcuts for the Close and Close All menu items was improved. diff --git a/changes/2215.misc.rst b/changes/2215.misc.rst deleted file mode 100644 index 918e180a5b..0000000000 --- a/changes/2215.misc.rst +++ /dev/null @@ -1 +0,0 @@ -On Android the creation of the app commands has been moved to the method _create_app_commands() diff --git a/changes/2216.misc.rst b/changes/2216.misc.rst deleted file mode 100644 index dd3c07c506..0000000000 --- a/changes/2216.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add more tests for sliders with empty ranges diff --git a/changes/2219.misc.rst b/changes/2219.misc.rst deleted file mode 100644 index 1aeeab9a28..0000000000 --- a/changes/2219.misc.rst +++ /dev/null @@ -1 +0,0 @@ -An invalid anchor in webview download link of windows docs was corrected. diff --git a/changes/2222.misc.rst b/changes/2222.misc.rst deleted file mode 100644 index 68e289651b..0000000000 --- a/changes/2222.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Corrected "command" argument name in command handler definitions. diff --git a/changes/2224.misc.rst b/changes/2224.misc.rst deleted file mode 100644 index 01363c0b10..0000000000 --- a/changes/2224.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The development dependencies were all updated to their latest versions. diff --git a/changes/2226.misc.rst b/changes/2226.misc.rst deleted file mode 100644 index 473a631c4d..0000000000 --- a/changes/2226.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Packaging was updated to use PEP621-compatible metadata definitions. diff --git a/changes/2228.removal.rst b/changes/2228.removal.rst deleted file mode 100644 index 5291990aac..0000000000 --- a/changes/2228.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Support for macOS release prior to Big Sur (11) has been dropped. diff --git a/changes/2230.misc.rst b/changes/2230.misc.rst deleted file mode 100644 index c31430f856..0000000000 --- a/changes/2230.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Run the testbed CI tests for Android on Linux. diff --git a/changes/2235.misc.rst b/changes/2235.misc.rst deleted file mode 100644 index 164d14d437..0000000000 --- a/changes/2235.misc.rst +++ /dev/null @@ -1 +0,0 @@ -If the testbed fails on Windows, the user's app data path contents are now uploaded. diff --git a/changes/2240.misc.rst b/changes/2240.misc.rst deleted file mode 100644 index 2797e9db2d..0000000000 --- a/changes/2240.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure ``pip`` is upgraded to the latest version before installing Briefcase for running testbed tests. diff --git a/changes/2246.misc.txt b/changes/2246.misc.txt deleted file mode 100644 index 90529ffb44..0000000000 --- a/changes/2246.misc.txt +++ /dev/null @@ -1 +0,0 @@ -Path declarations across the project have been simplified, with unneeded slash operators removed. diff --git a/changes/2249.misc.rst b/changes/2249.misc.rst deleted file mode 100644 index 23e2f063b0..0000000000 --- a/changes/2249.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Module imports that are dependent on the version of Python are now explicitly structured to declare the Python versions they are dependent on. diff --git a/changes/2255.doc.rst b/changes/2255.doc.rst deleted file mode 100644 index b625f87e1f..0000000000 --- a/changes/2255.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Some limitations on App presentation imposed by Wayland have been documented. diff --git a/changes/2256.misc.rst b/changes/2256.misc.rst deleted file mode 100644 index 99fc4e99ca..0000000000 --- a/changes/2256.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated tox from 4.11.3 to 4.11.4 in /core. diff --git a/changes/2257.misc.rst b/changes/2257.misc.rst deleted file mode 100644 index 96df6c2f21..0000000000 --- a/changes/2257.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest-asyncio from 0.21.1 to 0.23.1 in /core. diff --git a/changes/2259.feature.1.rst b/changes/2259.feature.1.rst deleted file mode 100644 index 20d0e13138..0000000000 --- a/changes/2259.feature.1.rst +++ /dev/null @@ -1 +0,0 @@ -An OptionContainer widget was added for iOS. diff --git a/changes/2259.feature.2.rst b/changes/2259.feature.2.rst deleted file mode 100644 index 96a7f2f336..0000000000 --- a/changes/2259.feature.2.rst +++ /dev/null @@ -1 +0,0 @@ -OptionContainer content can now be constructed using ``toga.OptionItem`` objects. diff --git a/changes/2259.removal.rst b/changes/2259.removal.rst deleted file mode 100644 index 48bc6977e3..0000000000 --- a/changes/2259.removal.rst +++ /dev/null @@ -1 +0,0 @@ -When inserting or appending a tab to an OptionContainer, the ``enabled`` argument must now be provided as a keyword argument. diff --git a/changes/2260.feature.rst b/changes/2260.feature.rst deleted file mode 100644 index c5a7f41db2..0000000000 --- a/changes/2260.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Apps can now specify platform-specific icon resources by appending the platform name (e.g., ``-macOS`` or ``-windows``) to the icon filename. diff --git a/changes/2261.misc.rst b/changes/2261.misc.rst deleted file mode 100644 index 9405bcd73e..0000000000 --- a/changes/2261.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinch-to-zoom feature has been added to WebView on Android. diff --git a/changes/2263.feature.rst b/changes/2263.feature.rst deleted file mode 100644 index 6ee2179ac5..0000000000 --- a/changes/2263.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Images can now be created from the native platform representation of an image, without needing to be transformed to bytes. diff --git a/changes/2264.misc.rst b/changes/2264.misc.rst deleted file mode 100644 index c4656df867..0000000000 --- a/changes/2264.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Synchronous ``on_result`` handling was merged into AsyncResult. diff --git a/changes/2264.removal.rst b/changes/2264.removal.rst deleted file mode 100644 index 991290bb60..0000000000 --- a/changes/2264.removal.rst +++ /dev/null @@ -1 +0,0 @@ -The use of synchronous ``on_result`` callbacks on dialogs and ``Webview.evaluate_javascript()`` calls has been deprecated. These methods should be used in their asynchronous form. diff --git a/changes/2265.bugfix.rst b/changes/2265.bugfix.rst deleted file mode 100644 index 805a1fee3c..0000000000 --- a/changes/2265.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Font handling on older versions of iOS has been corrected. diff --git a/changes/2267.misc.rst b/changes/2267.misc.rst deleted file mode 100644 index 165e2bd80b..0000000000 --- a/changes/2267.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Corrected event handling and app impl assignment on the Textual backend. diff --git a/changes/2269.misc.rst b/changes/2269.misc.rst deleted file mode 100644 index 27e57a7e18..0000000000 --- a/changes/2269.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The ``pre-commit`` hook for ``isort`` was updated to its latest version. diff --git a/changes/2270.misc.rst b/changes/2270.misc.rst deleted file mode 100644 index c30df2e9eb..0000000000 --- a/changes/2270.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pre-commit from 3.5.0 to 3.6.0 in /core. diff --git a/changes/2271.misc.rst b/changes/2271.misc.rst deleted file mode 100644 index 33c704f057..0000000000 --- a/changes/2271.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest-asyncio from 0.23.1 to 0.23.2 in /core. diff --git a/changes/2272.misc.rst b/changes/2272.misc.rst deleted file mode 100644 index cb2859a2db..0000000000 --- a/changes/2272.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/setup-python from 4.7.1 to 5.0.0. diff --git a/changes/2275.bugfix.rst b/changes/2275.bugfix.rst deleted file mode 100644 index e12be2dd48..0000000000 --- a/changes/2275.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -ImageViews with ``flex=1`` will now shrink to fit if the image is larger than the available space. diff --git a/changes/2283.misc.rst b/changes/2283.misc.rst deleted file mode 100644 index 27e57a7e18..0000000000 --- a/changes/2283.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The ``pre-commit`` hook for ``isort`` was updated to its latest version. diff --git a/changes/2284.misc.rst b/changes/2284.misc.rst deleted file mode 100644 index bd8bb5d7c4..0000000000 --- a/changes/2284.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The ``pre-commit`` hook for ``black-pre-commit-mirror`` was updated to its latest version. diff --git a/changes/2287.misc.rst b/changes/2287.misc.rst deleted file mode 100644 index d7cc1cd494..0000000000 --- a/changes/2287.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage[toml] from 7.3.2 to 7.3.3 in /core. diff --git a/changes/2294.misc.rst b/changes/2294.misc.rst deleted file mode 100644 index 3d13a806d8..0000000000 --- a/changes/2294.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Some minor bugs and inconsistencies discovered during pre-release testing were corrected. diff --git a/docs/background/project/releases.rst b/docs/background/project/releases.rst index 4e62b06f00..4a09f4e198 100644 --- a/docs/background/project/releases.rst +++ b/docs/background/project/releases.rst @@ -6,6 +6,52 @@ Release History .. towncrier release notes start +0.4.1 (2023-12-21) +================== + +Features +-------- + +* Toga images can now be created from (and converted to) PIL images. (`#2142 `__) +* A wider range of command shortcut keys are now supported on WinForms. (`#2198 `__) +* Most widgets with flexible sizes now default to a minimum size of 100 CSS pixels. An explicit size will still override this value. (`#2200 `__) +* OptionContainer content can now be constructed using ``toga.OptionItem`` objects. (`#2259 `__) +* An OptionContainer widget was added for iOS. (`#2259 `__) +* Apps can now specify platform-specific icon resources by appending the platform name (e.g., ``-macOS`` or ``-windows``) to the icon filename. (`#2260 `__) +* Images can now be created from the native platform representation of an image, without needing to be transformed to bytes. (`#2263 `__) + +Bugfixes +-------- + +* TableViews on macOS will no longer crash if a drag operation is initiated from inside the table. (`#1156 `__) +* Separators before and after command sub-groups are now included in menus. (`#2193 `__) +* The web backend no longer generates a duplicate title bar. (`#2194 `__) +* The web backend is now able to display the About dialog on first page load. (`#2195 `__) +* The testbed is now able to run on macOS when the user running the tests has the macOS display setting "Prefer tabs when opening documents" set to "Always". (`#2208 `__) +* Compliance with Apple's HIG regarding the naming and shortcuts for the Close and Close All menu items was improved. (`#2214 `__) +* Font handling on older versions of iOS has been corrected. (`#2265 `__) +* ImageViews with ``flex=1`` will now shrink to fit if the image is larger than the available space. (`#2275 `__) + +Backward Incompatible Changes +----------------------------- + +* The ``toga.Image`` constructor now takes a single argument (``src``); the ``path`` and ``data`` arguments are deprecated. (`#2142 `__) +* The use of Caps Lock as a keyboard modifier for commands was removed. (`#2198 `__) +* Support for macOS release prior to Big Sur (11) has been dropped. (`#2228 `__) +* When inserting or appending a tab to an OptionContainer, the ``enabled`` argument must now be provided as a keyword argument. (`#2259 `__) +* The use of synchronous ``on_result`` callbacks on dialogs and ``Webview.evaluate_javascript()`` calls has been deprecated. These methods should be used in their asynchronous form. (`#2264 `__) + +Documentation +------------- + +* Documentation for ``toga.Key`` was added. (`#2199 `__) +* Some limitations on App presentation imposed by Wayland have been documented. (`#2255 `__) + +Misc +---- + +* `#2201 `__, `#2204 `__, `#2215 `__, `#2216 `__, `#2219 `__, `#2222 `__, `#2224 `__, `#2226 `__, `#2230 `__, `#2235 `__, `#2240 `__, `#2246 `__, `#2249 `__, `#2256 `__, `#2257 `__, `#2261 `__, `#2264 `__, `#2267 `__, `#2269 `__, `#2270 `__, `#2271 `__, `#2272 `__, `#2283 `__, `#2284 `__, `#2287 `__, `#2294 `__ + 0.4.0 (2023-11-03) ==================