Changelogs >

Nicegui

PyUp actively tracks 437,546 Python packages for vulnerabilities to keep your Python environments secure.

Scan your dependencies

0.8.4

- introducing `on_page_ready` callback for ui.page
- bugfies
- made sure our own print statements are shown
- fixed rendered texture side
- added missing ui update for markdown
- cleaner DOM for `ui.notify`

0.8.3

- introduction of `scene.text` and `scene.text3d` to render text in 3d
- fixed timer update behaviour

0.8.2

0.8.1

- introducing disconnect-handlers for ui and page
- timer.interval is now a bindable property
- removed support for the obsolete keypress event
- improved documentation
- fixed firefox update issues and other bugfixes

0.8.0

From 0.8 onwards we changed the update strategy of NiceGUI:

Prior to this release, we used and propagated the same strategy as JustPy: event handlers needed to return `False` to not trigger full page updates. This works good for small examples. But if your UI gets bigger, full page updates become a real performance bottle neck. Adding `return False` everywhere is quite cumbersome and error prone. Instead, NiceGUI now smartly updates only the element which changes. And for cases where it can not simply detect a change the user can use `ui.update(...)` to enforce an update. See our [documentation for more details and examples](https://nicegui.io/#ui_updates).

0.7.30

- introducing `ui.add_head_html()` and `ui.add_body_html()`
- updated lifecycle example to include `ui.on_connect`

0.7.29

- ability to exclude features to speed up loading time
- removed pydantic dependency
- improved console output on start
- lots of bugfixes

0.7.28

- allow awaiting javascript code
- fix camera movement
- introduce `ui.add_static_files` for serving a static folder
- fix main file detection for PyCharm

0.7.27

- introduction of `ui.tree` to display a hierarchy of elements
- introduction of `ui.color_picker`
- updated dependencies

0.7.26

- improve behavior of ui.link and ui.open as well as routing of static resources when NiceGUI is served with X-Forwarded-Prefix header

0.7.25

- introduce `scene.ring`, `scene.tube` and `scene.spotlight` for 3d scenes
- allow changing rendered material side for 3d objects
- allow hiding 3d objects
- introduce `ui.table` using AG Grid
- allow chaining `tooltip()` method via builder pattern
- allow nesting elements within `ui.link`
- bugfixes

0.7.24

- README with badges
- GitHub ribbon on https://nicegui.io
- improved examples and headlines in README

0.7.23

- introduce `ui.expansion` element
- `ui.dialog` is now awaitable
- adding `.tooltip(...)` for all ui.elements
- allow changing joystick style
- scale img to fill the whole interactive image element
- limit watchgod to python files by default
- disable input event to avoid page updates while typing
- smaller bugfixes
- cleanup

0.7.22

- introducing parameters to fine-control reload_dir and include/exclude patterns
- allow setting initial camera position within `ui.scene`
- bugfixes

0.7.21

triggering new deployment

0.7.20

ability to move the camera in `ui.scene`

0.7.19

we do not need the "binding" package

0.7.18

added "binding" package

0.7.17

- let ui.open() use socket argument if it is not None

0.7.16

- make socket parameter optional for `ui.open`
- allow passing a page as target for `ui.open`

0.7.15

- remove obsolete hint about Heroku

0.7.14

- print hint about Heroku setup
- allowing to set host and port via environment variables
- making refresh interval for bindings configurable

0.7.13

- start NiceGUI in interactive mode (without auto-reload) if ui.run is not found or cannot be pre-evaluated

0.7.12

- allow binding to value properties
- fixing view update issues

0.7.11

- renamed `ui.annotation_tool` to `ui.interactive_image` to have a better name for the newly introduced features
- allow changing of image source for `ui.interactive_image`
- allow changing texture urls in `ui.scene`
- fixed auto-reload not working due to running timer

0.7.10

- parameter injection for get decorator
- upgraded dependencies

0.7.9

minor corrections improving demo page and documentation

0.7.8

- introducing `on_request` callback for pages to provide session info (this [allows reauthentication through cookies](https://github.com/zauberzeug/nicegui/issues/15))
- mouse handler in `ui.annotation_tool` is now optional
- allow styling of `ui.annotation_tool` with tailwind and css
- use more default styling for `ui.chart`
- bug fixes

0.7.7

- introduce `page.route`
- allow passing page instance to `ui.link`

0.7.6

- introduction of `ui.chart` element
- adding support for dark mode
- upgraded to JustPy 0.2.3 (fixes 5)
- bugfixes