Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 3, 2025

Bumps nicegui from 2.23.3 to 3.0.0.

Release notes

Sourced from nicegui's releases.

v3.0.0

This major release introduces several new features and enhancements, as well as breaking changes. We always try to keep breaking changes to a minimum, guide you through the migration process using deprecation warnings, and provide migration instructions. Please read the following release notes carefully to understand the changes and adapt your code accordingly before upgrading.

New features and enhancements

⚠️ Breaking changes and migration guide

  1. Shared auto-index pages (not using @ui.page)

    UI elements defined in global scope have been added to a static shared "auto-index client" served at "/". This caused a multitude of problems throughout the code base, so we decided to remove this shared client.

    In version 3.0 you have the following options:

    • Keep putting (all) UI elements in global scope. We call such apps without page functions "NiceGUI scripts". They will automatically re-evaluated inside an implicit page function when visiting "/". This is almost a drop-in replacement for the auto-index client, but:

      • NiceGUI scripts can't contain page functions.
      • The UI isn't shared but re-created on every page visit.
    • Wrap all UI in a singe function and pass it to the new positional root parameter in ui.run. This is especially handy in combination with ui.sub_pages. This way you can create rich single-page applications without worrying about defining the correct routes with @page decorators.

    • Use page functions for all your pages, including the index page at "/".

    Note that we are introducing a new Event class. Together with the binding module this helps to synchronize long-living objects with short-living UI without relying on a long-living shared client.

  2. Calling .props(), .classes() or .style() with subsequent .update()

    A subsequent .update() is not necessary anymore because props, classes and style are now observable collections that trigger updates automatically.

    When overwriting the update method in custom elements, infinite recursions can occur. If, e.g., the update methods uses .prop() before calling super().update(), the .prop() call will cause an infinite cycle. Wrap it with with self._props.suspend_updates(): (and similar for classes and style) to pause automatic updates in such cases.

  3. Modifying ui.table and ui.aggrid content

... (truncated)

Commits
  • 6e1ec4f Merge pull request #5109 from zauberzeug/3.0
  • 2d50663 Merge branch 'main' into 3.0
  • 24ea5d7 Fix bugs that occurred during final test for 3.0 release (#5194)
  • 4673dc3 Introduce new sanitize argument for ui.html (#5187)
  • 3ebfd72 Update third-party node libraries (#5190)
  • fe19ce6 fix typo in documentation
  • 36fd6f6 Re-initialize process_pool if it was broken by a bad run.cpu_bound (#5129)
  • e663af2 Treat pytest warnings as errors (#5186)
  • ffac997 Segregate Quasar's important rules in Python-side (#5171)
  • d5a7128 Call lifecycle event handlers more consistently (#5173)
  • 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [nicegui](https://github.com/zauberzeug/nicegui) from 2.23.3 to 3.0.0.
- [Release notes](https://github.com/zauberzeug/nicegui/releases)
- [Changelog](https://github.com/zauberzeug/nicegui/blob/main/release.dockerfile)
- [Commits](zauberzeug/nicegui@v2.23.3...v3.0.0)

---
updated-dependencies:
- dependency-name: nicegui
  dependency-version: 3.0.0
  dependency-type: direct:production
...

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 Oct 3, 2025
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