diff --git a/changes/1870.feature.rst b/changes/1870.feature.rst deleted file mode 100644 index 07d1166998..0000000000 --- a/changes/1870.feature.rst +++ /dev/null @@ -1 +0,0 @@ -It is now possible to use an instance of Window as the main window of an app. This allows the creation of windows that don't have a menu bar or toolbar decoration. diff --git a/changes/2023.feature.rst b/changes/2023.feature.rst deleted file mode 100644 index ee83fb8c52..0000000000 --- a/changes/2023.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The initial position of each newly created window is now different, cascading down the screen as windows are created. diff --git a/changes/2099.removal.rst b/changes/2099.removal.rst deleted file mode 100644 index 8d89cf8b52..0000000000 --- a/changes/2099.removal.rst +++ /dev/null @@ -1 +0,0 @@ -The ``add_background_task()`` API on ``toga.App`` has been deprecated. Background tasks can be implemented using the new ``on_running`` event handler, or by using :any:`asyncio.create_task`. diff --git a/changes/2209.feature.1.rst b/changes/2209.feature.1.rst deleted file mode 100644 index 8c08790d36..0000000000 --- a/changes/2209.feature.1.rst +++ /dev/null @@ -1 +0,0 @@ -Toga can now define an app whose life cycle isn't tied to a single main window. diff --git a/changes/2209.feature.2.rst b/changes/2209.feature.2.rst deleted file mode 100644 index 67ce4f6b71..0000000000 --- a/changes/2209.feature.2.rst +++ /dev/null @@ -1 +0,0 @@ -The API for Documents and document types has been finalized. Document handling behavior is now controlled by declaring document types as part of your ``toga.App`` definition. diff --git a/changes/2209.removal.rst b/changes/2209.removal.rst deleted file mode 100644 index 7de1a9f877..0000000000 --- a/changes/2209.removal.rst +++ /dev/null @@ -1,13 +0,0 @@ -The API for Documents and Document-based apps has been significantly modified. Unfortunately, these changes are not backwards compatible; any existing Document-based app will require modification. - -The ``DocumentApp`` base class is no longer required. Apps can subclass ``App`` directly, passing the document types as a ``list`` of ``Document`` classes, rather than a mapping of extension to document type. - -The API for ``Document`` subclasses has also changed: - -* A path is no longer provided as an argument to the Document constructor; - -* The ``document_type`` is now specified as a class property called ``description``; and - -* Extensions are now defined as a class property of the ``Document``; and - -* The ``can_close()`` handler is no longer honored. Documents now track if they are modified, and have a default ``on_close`` handler that uses the modification status of a document to control whether a document can close. Invoking ``touch()`` on document will mark a document as modified. This modification flag is cleared by saving the document. diff --git a/changes/2382.misc.rst b/changes/2382.misc.rst deleted file mode 100644 index 38ad904859..0000000000 --- a/changes/2382.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The Testbed tests were updated to use the latest testing dependencies. diff --git a/changes/2478.feature.rst b/changes/2478.feature.rst deleted file mode 100644 index b5a363c391..0000000000 --- a/changes/2478.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The Divider widget was implemented on iOS. diff --git a/changes/2619.bugfix.rst b/changes/2619.bugfix.rst deleted file mode 100644 index 5e221112cc..0000000000 --- a/changes/2619.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The order of creation of system-level commands is now consistent between platforms, and menu creation is deferred until the user's startup method has been invoked. diff --git a/changes/2635.misc.rst b/changes/2635.misc.rst deleted file mode 100644 index 1960ec620e..0000000000 --- a/changes/2635.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The testbed app always creates a Briefcase logfile in CI now. diff --git a/changes/2636.feature.rst b/changes/2636.feature.rst deleted file mode 100644 index 94bff35fe3..0000000000 --- a/changes/2636.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Commands can now be retrieved by ID. System-installed commands (such as "About" and "Visit Homepage") are installed using a known ID that can be used at runtime to manipulate those commands. diff --git a/changes/2638.bugfix.rst b/changes/2638.bugfix.rst deleted file mode 100644 index 449610133f..0000000000 --- a/changes/2638.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The type of SplitContainer's content was modified to be a list, rather than a tuple. diff --git a/changes/2640.misc.rst b/changes/2640.misc.rst deleted file mode 100644 index 9ca8f5aa57..0000000000 --- a/changes/2640.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Support for conditional coverage based on the Python version was added for unit testing. diff --git a/changes/2643.bugfix.rst b/changes/2643.bugfix.rst deleted file mode 100644 index 5c57adaa87..0000000000 --- a/changes/2643.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Programmatically invoking ``close()`` on the main window will now trigger ``on_exit`` handling. Previously ``on_exit`` handling would only be triggered if the close was initiated by a user action. diff --git a/changes/2643.feature.rst b/changes/2643.feature.rst deleted file mode 100644 index 40c242a278..0000000000 --- a/changes/2643.feature.rst +++ /dev/null @@ -1 +0,0 @@ -A MainWindow can now have an ``on_close`` handler. If a request is made to close the main window, the ``on_close`` handler will be evaluated; app exit handling will only be processed if the close handler allows the close to continue. diff --git a/changes/2646.bugfix.rst b/changes/2646.bugfix.rst deleted file mode 100644 index f6777007c6..0000000000 --- a/changes/2646.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -GTK apps no longer have extra padding between the menubar and the window content when the app does not have a toolbar. diff --git a/changes/2646.removal.1.rst b/changes/2646.removal.1.rst deleted file mode 100644 index d874bb66ef..0000000000 --- a/changes/2646.removal.1.rst +++ /dev/null @@ -1 +0,0 @@ -It is no longer possible to create a toolbar on a ``Window`` instance. Toolbars can only be added to ``MainWindow`` (or subclass). diff --git a/changes/2646.removal.2.rst b/changes/2646.removal.2.rst deleted file mode 100644 index a41d944717..0000000000 --- a/changes/2646.removal.2.rst +++ /dev/null @@ -1 +0,0 @@ -The default title of a ``toga.Window`` is now the name of the app, rather than ``"Toga"`. diff --git a/changes/2647.misc.rst b/changes/2647.misc.rst deleted file mode 100644 index 53f125b265..0000000000 --- a/changes/2647.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The "live docs" tox environments were updated to allow a grace period for ``sphinx-autobuild`` to shutdown the HTTP server. Without waiting, the HTTP server may have been left running when tox exited. diff --git a/changes/2648.misc.rst b/changes/2648.misc.rst deleted file mode 100644 index 764f234764..0000000000 --- a/changes/2648.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The testbed testing strategy for MapView and WebView were updated to avoid Python crashes from WebKit. diff --git a/changes/2653.bugfix.rst b/changes/2653.bugfix.rst deleted file mode 100644 index d97efde4a2..0000000000 --- a/changes/2653.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -On Winforms, the window of an application that is set as the main window is no longer shown as a result of assigning the window as ``App.main_window``. diff --git a/changes/2654.misc.rst b/changes/2654.misc.rst deleted file mode 100644 index cc5746951b..0000000000 --- a/changes/2654.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/checkout from 4.1.6 to 4.1.7. diff --git a/changes/2657.misc.rst b/changes/2657.misc.rst deleted file mode 100644 index f0d9c268d3..0000000000 --- a/changes/2657.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Dependency specifications for the testbed were revised to avoid issues with Dependabot. diff --git a/changes/2660.misc.rst b/changes/2660.misc.rst deleted file mode 100644 index e1b6193e1c..0000000000 --- a/changes/2660.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The ``pre-commit`` hook for ``flake8`` was updated to its latest version. diff --git a/changes/2661.bugfix.rst b/changes/2661.bugfix.rst deleted file mode 100644 index 6532dbca97..0000000000 --- a/changes/2661.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Menu items on macOS are now able to correctly bind to the arrow and home/end/delete keys. diff --git a/changes/2665.misc.rst b/changes/2665.misc.rst deleted file mode 100644 index 0161579c1e..0000000000 --- a/changes/2665.misc.rst +++ /dev/null @@ -1 +0,0 @@ -An error raised and ignored during testbed testing on Winforms was silenced. diff --git a/changes/2668.misc.rst b/changes/2668.misc.rst deleted file mode 100644 index d974f313bc..0000000000 --- a/changes/2668.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add Wayland to the matrix for testbed CI testing. diff --git a/changes/2669.feature.rst b/changes/2669.feature.rst deleted file mode 100644 index 6a9bcc1705..0000000000 --- a/changes/2669.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Dialogs can now be displayed relative to an app, in addition to be being modal to a window. diff --git a/changes/2669.removal.rst b/changes/2669.removal.rst deleted file mode 100644 index 540e926525..0000000000 --- a/changes/2669.removal.rst +++ /dev/null @@ -1 +0,0 @@ -The APIs on ``Window`` for displaying dialogs (``info_dialog()``, ``question_dialog()``, etc) have been deprecated. They can be replaced with creating an instance of a ``Dialog`` class (e.g., ``InfoDialog``), and passing that instance to ``window.dialog()``. diff --git a/changes/2675.misc.rst b/changes/2675.misc.rst deleted file mode 100644 index f7ebec91ef..0000000000 --- a/changes/2675.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage from 7.5.3 to 7.5.4 in /testbed. diff --git a/changes/2676.misc.rst b/changes/2676.misc.rst deleted file mode 100644 index 08cd276c7e..0000000000 --- a/changes/2676.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinned dependencies in pyproject.toml and tox.ini were updated to their latest versions. diff --git a/changes/2677.misc.rst b/changes/2677.misc.rst deleted file mode 100644 index e571cf6293..0000000000 --- a/changes/2677.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage[toml] from 7.5.3 to 7.5.4 in /core. diff --git a/changes/2678.feature.1.rst b/changes/2678.feature.1.rst deleted file mode 100644 index db21ba77d3..0000000000 --- a/changes/2678.feature.1.rst +++ /dev/null @@ -1 +0,0 @@ -The ``on_exit`` handler for an app can now be defined by overriding the method on the ``toga.App`` subclass. diff --git a/changes/2678.feature.2.rst b/changes/2678.feature.2.rst deleted file mode 100644 index f8c6aeb680..0000000000 --- a/changes/2678.feature.2.rst +++ /dev/null @@ -1 +0,0 @@ -An ``on_running`` event handler was added to ``toga.App``. This event will be triggered when the app's main loop starts. diff --git a/changes/2682.misc.rst b/changes/2682.misc.rst deleted file mode 100644 index 758213cb09..0000000000 --- a/changes/2682.misc.rst +++ /dev/null @@ -1 +0,0 @@ -An intermittent failure in macOS CI was corrected, and usage of Rubicon syntax was upgraded. diff --git a/changes/2683.misc.rst b/changes/2683.misc.rst deleted file mode 100644 index 08cd276c7e..0000000000 --- a/changes/2683.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinned dependencies in pyproject.toml and tox.ini were updated to their latest versions. diff --git a/changes/2684.misc.rst b/changes/2684.misc.rst deleted file mode 100644 index 1dcbe143ce..0000000000 --- a/changes/2684.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated sphinx-toolbox from 3.5.0 to 3.6.0 in /core. diff --git a/changes/2689.misc.rst b/changes/2689.misc.rst deleted file mode 100644 index 9f79d3a708..0000000000 --- a/changes/2689.misc.rst +++ /dev/null @@ -1 +0,0 @@ -A potential workaround for macOS CI result reporting was added. diff --git a/changes/2693.misc.rst b/changes/2693.misc.rst deleted file mode 100644 index f0d161d1ba..0000000000 --- a/changes/2693.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated sphinx-toolbox from 3.6.0 to 3.7.0 in /core. diff --git a/changes/2694.misc.rst b/changes/2694.misc.rst deleted file mode 100644 index 63f7c5d1ed..0000000000 --- a/changes/2694.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pillow from 10.3.0 to 10.4.0 in /core. diff --git a/changes/2695.misc.rst b/changes/2695.misc.rst deleted file mode 100644 index 07ef6fdbd5..0000000000 --- a/changes/2695.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated tox from 4.15.1 to 4.16.0 in /core. diff --git a/changes/2696.misc.rst b/changes/2696.misc.rst deleted file mode 100644 index 08cd276c7e..0000000000 --- a/changes/2696.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinned dependencies in pyproject.toml and tox.ini were updated to their latest versions. diff --git a/changes/2697.misc.rst b/changes/2697.misc.rst deleted file mode 100644 index d9bf678b46..0000000000 --- a/changes/2697.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/upload-artifact from 4.3.3 to 4.3.4. diff --git a/changes/2698.misc.rst b/changes/2698.misc.rst deleted file mode 100644 index b83bfa0942..0000000000 --- a/changes/2698.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/download-artifact from 4.1.7 to 4.1.8. diff --git a/changes/2699.misc.rst b/changes/2699.misc.rst deleted file mode 100644 index 1d5e1953ef..0000000000 --- a/changes/2699.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated fonttools from 4.53.0 to 4.53.1 in /testbed. diff --git a/changes/2701.feature.rst b/changes/2701.feature.rst deleted file mode 100644 index 63dc7a0328..0000000000 --- a/changes/2701.feature.rst +++ /dev/null @@ -1 +0,0 @@ -CommandSet now exposes a full set and dictionary interface. Commands can be added to a CommandSet using ``[]`` notation and a command ID; they can be removed using set-like ``remove()`` or ``discard()`` calls with a Command instance, or using dictionary-like ``pop()`` or ``del`` calls with the command ID. diff --git a/changes/2703.bugfix.rst b/changes/2703.bugfix.rst deleted file mode 100644 index b8b0561750..0000000000 --- a/changes/2703.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -On GTK, the currently selected tab index on an ``OptionContainer`` can now be retrieved inside an ``on_select`` handler. diff --git a/changes/2709.misc.rst b/changes/2709.misc.rst deleted file mode 100644 index 8a87f60172..0000000000 --- a/changes/2709.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/setup-python from 5.1.0 to 5.1.1. diff --git a/changes/2710.misc.rst b/changes/2710.misc.rst deleted file mode 100644 index 183edb9fc0..0000000000 --- a/changes/2710.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage[toml] from 7.5.4 to 7.6.0 in /core. diff --git a/changes/2711.misc.rst b/changes/2711.misc.rst deleted file mode 100644 index 08cd276c7e..0000000000 --- a/changes/2711.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinned dependencies in pyproject.toml and tox.ini were updated to their latest versions. diff --git a/changes/2712.misc.rst b/changes/2712.misc.rst deleted file mode 100644 index 53c0155964..0000000000 --- a/changes/2712.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage from 7.5.4 to 7.6.0 in /testbed. diff --git a/changes/2722.misc.rst b/changes/2722.misc.rst deleted file mode 100644 index 3040f9b990..0000000000 --- a/changes/2722.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest-asyncio from 0.23.7 to 0.23.8 in /testbed. diff --git a/changes/2723.misc.rst b/changes/2723.misc.rst deleted file mode 100644 index d1e9c6a73f..0000000000 --- a/changes/2723.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest from 8.2.2 to 8.3.1 in /testbed. diff --git a/changes/2724.misc.rst b/changes/2724.misc.rst deleted file mode 100644 index 08cd276c7e..0000000000 --- a/changes/2724.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinned dependencies in pyproject.toml and tox.ini were updated to their latest versions. diff --git a/changes/2726.misc.rst b/changes/2726.misc.rst deleted file mode 100644 index 9a0490497b..0000000000 --- a/changes/2726.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest from 8.2.2 to 8.3.1 in /core. diff --git a/changes/2727.misc.rst b/changes/2727.misc.rst deleted file mode 100644 index 8650d9d5df..0000000000 --- a/changes/2727.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest-asyncio from 0.23.7 to 0.23.8 in /core. diff --git a/changes/2728.misc.rst b/changes/2728.misc.rst deleted file mode 100644 index 74db4cd1ad..0000000000 --- a/changes/2728.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated furo from 2024.5.6 to 2024.7.18 in /core. diff --git a/changes/2733.misc.rst b/changes/2733.misc.rst deleted file mode 100644 index 9eb46067a6..0000000000 --- a/changes/2733.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The ``pre-commit`` hook for ``pyupgrade`` was updated to its latest version. diff --git a/changes/2734.misc.rst b/changes/2734.misc.rst deleted file mode 100644 index c13b517e3d..0000000000 --- a/changes/2734.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest from 8.3.1 to 8.3.2 in /core. diff --git a/changes/2735.misc.rst b/changes/2735.misc.rst deleted file mode 100644 index 145d62a911..0000000000 --- a/changes/2735.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pre-commit from 3.7.1 to 3.8.0 in /core. diff --git a/changes/2736.misc.rst b/changes/2736.misc.rst deleted file mode 100644 index bd89ca17a3..0000000000 --- a/changes/2736.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest from 8.3.1 to 8.3.2 in /testbed. diff --git a/changes/2739.misc.rst b/changes/2739.misc.rst deleted file mode 100644 index b554f95391..0000000000 --- a/changes/2739.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated sphinx from 7.3.7 to 8.0.2 in /core. diff --git a/changes/2740.misc.rst b/changes/2740.misc.rst deleted file mode 100644 index de9c04dff8..0000000000 --- a/changes/2740.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage[toml] from 7.6.0 to 7.6.1 in /core. diff --git a/changes/2742.misc.rst b/changes/2742.misc.rst deleted file mode 100644 index 145fd33a3e..0000000000 --- a/changes/2742.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/upload-artifact from 4.3.4 to 4.3.5. diff --git a/changes/2743.misc.rst b/changes/2743.misc.rst deleted file mode 100644 index 4eb9973c37..0000000000 --- a/changes/2743.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated coverage from 7.6.0 to 7.6.1 in /testbed. diff --git a/changes/2745.doc.rst b/changes/2745.doc.rst deleted file mode 100644 index c4762e91ca..0000000000 --- a/changes/2745.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Building Toga's documentation now requires the use of Python 3.12. diff --git a/changes/2752.bugfix.rst b/changes/2752.bugfix.rst deleted file mode 100644 index 673ba65194..0000000000 --- a/changes/2752.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The WebView can now be loaded when using Python from the Windows Store. diff --git a/changes/2755.misc.rst b/changes/2755.misc.rst deleted file mode 100644 index bd8bb5d7c4..0000000000 --- a/changes/2755.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/2756.misc.rst b/changes/2756.misc.rst deleted file mode 100644 index e1b6193e1c..0000000000 --- a/changes/2756.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The ``pre-commit`` hook for ``flake8`` was updated to its latest version. diff --git a/changes/2757.misc.rst b/changes/2757.misc.rst deleted file mode 100644 index be0940bb0b..0000000000 --- a/changes/2757.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated furo from 2024.7.18 to 2024.8.6 in /core. diff --git a/changes/2758.misc.rst b/changes/2758.misc.rst deleted file mode 100644 index c0e37e8a4e..0000000000 --- a/changes/2758.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated tox from 4.16.0 to 4.17.1 in /core. diff --git a/changes/2760.misc.rst b/changes/2760.misc.rst deleted file mode 100644 index 9b18c23781..0000000000 --- a/changes/2760.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated actions/upload-artifact from 4.3.5 to 4.3.6. diff --git a/changes/2764.feature.rst b/changes/2764.feature.rst deleted file mode 100644 index 1b281424f5..0000000000 --- a/changes/2764.feature.rst +++ /dev/null @@ -1 +0,0 @@ -WebView2 on Winforms now uses the v1.0.2592.51 WebView2 runtime DLLs. diff --git a/changes/2771.misc.rst b/changes/2771.misc.rst deleted file mode 100644 index 8444f40be5..0000000000 --- a/changes/2771.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Testbed CI was temporarily reverted to use briefcase 0.3.19. diff --git a/changes/2775.misc.rst b/changes/2775.misc.rst deleted file mode 100644 index ec7fa3643b..0000000000 --- a/changes/2775.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated sphinx-toolbox from 3.7.0 to 3.8.0 in /core. diff --git a/changes/2776.misc.rst b/changes/2776.misc.rst deleted file mode 100644 index c7bc21b353..0000000000 --- a/changes/2776.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated tox from 4.17.1 to 4.18.0 in /core. diff --git a/changes/2777.misc.rst b/changes/2777.misc.rst deleted file mode 100644 index de31084bd7..0000000000 --- a/changes/2777.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Toga's determination for whether a Linux host is running X11 or Wayland is now more robust. diff --git a/changes/2779.bugfix.rst b/changes/2779.bugfix.rst deleted file mode 100644 index c568937e9e..0000000000 --- a/changes/2779.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -The WebView and MapView widgets now log an error if initialization fails. diff --git a/changes/2783.misc.rst b/changes/2783.misc.rst deleted file mode 100644 index 7367c17b70..0000000000 --- a/changes/2783.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated sphinx-csv-filter from 0.4.1 to 0.4.2 in /core. diff --git a/changes/2788.misc.rst b/changes/2788.misc.rst deleted file mode 100644 index 08cd276c7e..0000000000 --- a/changes/2788.misc.rst +++ /dev/null @@ -1 +0,0 @@ -The pinned dependencies in pyproject.toml and tox.ini were updated to their latest versions. diff --git a/changes/2789.misc.rst b/changes/2789.misc.rst deleted file mode 100644 index 37567e2fa2..0000000000 --- a/changes/2789.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest-asyncio from 0.23.8 to 0.24.0 in /testbed. diff --git a/changes/2790.misc.rst b/changes/2790.misc.rst deleted file mode 100644 index 8ea19fa113..0000000000 --- a/changes/2790.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated pytest-asyncio from 0.23.8 to 0.24.0 in /core. diff --git a/changes/90.feature.rst b/changes/90.feature.rst deleted file mode 100644 index bb3a35e6eb..0000000000 --- a/changes/90.feature.rst +++ /dev/null @@ -1 +0,0 @@ -An app can now define a ``preferences()`` method to hook into the default menu item generated by Toga. The system-installed (but disabled) app command, that command will no longer be installed unless a ``preferences()`` method is defined. diff --git a/changes/97.feature.1.rst b/changes/97.feature.1.rst deleted file mode 100644 index 1f86c16505..0000000000 --- a/changes/97.feature.1.rst +++ /dev/null @@ -1 +0,0 @@ -Toga can now define apps that persist in the background without having any open windows. diff --git a/changes/97.feature.2.rst b/changes/97.feature.2.rst deleted file mode 100644 index 7980b9656f..0000000000 --- a/changes/97.feature.2.rst +++ /dev/null @@ -1 +0,0 @@ -Apps can now add items to the system tray. diff --git a/docs/background/project/releases.rst b/docs/background/project/releases.rst index f40d2a4967..47bc35d606 100644 --- a/docs/background/project/releases.rst +++ b/docs/background/project/releases.rst @@ -6,6 +6,75 @@ Release History .. towncrier release notes start +0.4.6 (2024-08-28) +================== + +* An app can now define a ``preferences()`` method to hook into the default menu item generated by Toga. The system-installed (but disabled) app command, that command will no longer be installed unless a ``preferences()`` method is defined. (`#90 `__) + +Features +-------- + +* Toga can now define apps that persist in the background without having any open windows. (`#97 `__) +* Apps can now add items to the system tray. (`#97 `__) +* It is now possible to use an instance of Window as the main window of an app. This allows the creation of windows that don't have a menu bar or toolbar decoration. (`#1870 `__) +* The initial position of each newly created window is now different, cascading down the screen as windows are created. (`#2023 `__) +* The API for Documents and document types has been finalized. Document handling behavior is now controlled by declaring document types as part of your ``toga.App`` definition. (`#2209 `__) +* Toga can now define an app whose life cycle isn't tied to a single main window. (`#2209 `__) +* The Divider widget was implemented on iOS. (`#2478 `__) +* Commands can now be retrieved by ID. System-installed commands (such as "About" and "Visit Homepage") are installed using a known ID that can be used at runtime to manipulate those commands. (`#2636 `__) +* A ``MainWindow`` can now have an ``on_close`` handler. If a request is made to close the main window, the ``on_close`` handler will be evaluated; app exit handling will only be processed if the close handler allows the close to continue. (`#2643 `__) +* Dialogs can now be displayed relative to an app, in addition to be being modal to a window. (`#2669 `__) +* An ``on_running`` event handler was added to ``toga.App``. This event will be triggered when the app's main loop starts. (`#2678 `__) +* The ``on_exit`` handler for an app can now be defined by overriding the method on the ``toga.App`` subclass. (`#2678 `__) +* CommandSet now exposes a full set and dictionary interface. Commands can be added to a CommandSet using ``[]`` notation and a command ID; they can be removed using set-like ``remove()`` or ``discard()`` calls with a Command instance, or using dictionary-like ``pop()`` or ``del`` calls with the command ID. (`#2701 `__) +* WebView2 on Winforms now uses the v1.0.2592.51 WebView2 runtime DLLs. (`#2764 `__) + +Bugfixes +-------- + +* The order of creation of system-level commands is now consistent between platforms. Menu creation is guaranteed to be deferred until the user's startup method has been invoked. (`#2619 `__) +* The type of SplitContainer's content was modified to be a list, rather than a tuple. (`#2638 `__) +* Programmatically invoking ``close()`` on the main window will now trigger ``on_exit`` handling. Previously ``on_exit`` handling would only be triggered if the close was initiated by a user action. (`#2643 `__) +* GTK apps no longer have extra padding between the menu bar and the window content when the app does not have a toolbar. (`#2646 `__) +* On Winforms, the window of an application that is set as the main window is no longer shown as a result of assigning the window as ``App.main_window``. (`#2653 `__) +* Menu items on macOS are now able to correctly bind to the arrow and home/end/delete keys. (`#2661 `__) +* On GTK, the currently selected tab index on an ``OptionContainer`` can now be retrieved inside an ``on_select`` handler. (`#2703 `__) +* The WebView can now be loaded when using Python from the Windows Store. (`#2752 `__) +* The WebView and MapView widgets now log an error if initialization fails. (`#2779 `__) + + +Backward Incompatible Changes +----------------------------- + +* The ``add_background_task()`` API on ``toga.App`` has been deprecated. Background tasks can be implemented using the new ``on_running`` event handler, or by using :any:`asyncio.create_task`. (`#2099 `__) +* The API for Documents and Document-based apps has been significantly modified. Unfortunately, these changes are not backwards compatible; any existing Document-based app will require modification. + + The ``DocumentApp`` base class is no longer required. Apps can subclass ``App`` directly, passing the document types as a ``list`` of ``Document`` classes, rather than a mapping of extension to document type. + + The API for ``Document`` subclasses has also changed: + + * A path is no longer provided as an argument to the Document constructor; + + * The ``document_type`` is now specified as a class property called ``description``; and + + * Extensions are now defined as a class property of the ``Document``; and + + * The ``can_close()`` handler is no longer honored. Documents now track if they are modified, and have a default ``on_close`` handler that uses the modification status of a document to control whether a document can close. Invoking ``touch()`` on document will mark a document as modified. This modification flag is cleared by saving the document. (`#2209 `__) +* It is no longer possible to create a toolbar on a ``Window`` instance. Toolbars can only be added to ``MainWindow`` (or subclass). (`#2646 `__) +* The default title of a ``toga.Window`` is now the name of the app, rather than ``"Toga"``. (`#2646 `__) +* The APIs on ``Window`` for displaying dialogs (``info_dialog()``, ``question_dialog()``, etc) have been deprecated. They can be replaced with creating an instance of a ``Dialog`` class (e.g., ``InfoDialog``), and passing that instance to ``window.dialog()``. (`#2669 `__) + +Documentation +------------- + +* Building Toga's documentation now requires the use of Python 3.12. (`#2745 `__) + +Misc +---- + +* `#2382 `__, `#2635 `__, `#2640 `__, `#2647 `__, `#2648 `__, `#2654 `__, `#2657 `__, `#2660 `__, `#2665 `__, `#2668 `__, `#2675 `__, `#2676 `__, `#2677 `__, `#2682 `__, `#2683 `__, `#2684 `__, `#2689 `__, `#2693 `__, `#2694 `__, `#2695 `__, `#2696 `__, `#2697 `__, `#2698 `__, `#2699 `__, `#2709 `__, `#2710 `__, `#2711 `__, `#2712 `__, `#2722 `__, `#2723 `__, `#2724 `__, `#2726 `__, `#2727 `__, `#2728 `__, `#2733 `__, `#2734 `__, `#2735 `__, `#2736 `__, `#2739 `__, `#2740 `__, `#2742 `__, `#2743 `__, `#2755 `__, `#2756 `__, `#2757 `__, `#2758 `__, `#2760 `__, `#2771 `__, `#2775 `__, `#2776 `__, `#2777 `__, `#2783 `__, `#2788 `__, `#2789 `__, `#2790 `__ + + 0.4.5 (2024-06-11) ==================