Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump toga from 0.4.2 to 0.4.6 #70

Closed
wants to merge 1 commit into from
Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2024

Bumps toga from 0.4.2 to 0.4.6.

Release notes

Sourced from toga's releases.

0.4.6

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)

... (truncated)

Commits
  • 34e6b43 Add release notes for v0.4.6.
  • e757387 Merge pull request #2768 from freakboy3742/status_icons
  • dc009bb Update screenshots to reflect standard menu item text.
  • c13fa70 Tweaks to documentation from code review
  • 285484f Use the standard commands for status icon menus.
  • 78f19d3 Merge branch 'main' into status_icons
  • 37525ec Merge pull request #2666 from freakboy3742/document-api
  • 514fc89 Merge pull request #2788 from beeware/autoupdates/config-files
  • 42791a3 Merge pull request #2789 from beeware/dependabot/pip/testbed/pytest-asyncio-0...
  • 7efb016 Merge pull request #2790 from beeware/dependabot/pip/core/pytest-asyncio-0.24.0
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [toga](https://github.com/beeware/toga) from 0.4.2 to 0.4.6.
- [Release notes](https://github.com/beeware/toga/releases)
- [Commits](beeware/toga@v0.4.2...v0.4.6)

---
updated-dependencies:
- dependency-name: toga
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 28, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 18, 2024

Superseded by #72.

@dependabot dependabot bot closed this Sep 18, 2024
@dependabot dependabot bot deleted the dependabot/pip/toga-0.4.6 branch September 18, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants