Security
- ⚠️ Stop evaluating
:-prefixed keys inui.echartseries data and other chart data outsidedataset.sourceas JavaScript (GHSA-3j25-8769-7hhq by @Honeymalik007, @evnchn, @falkoschindler)
New features and enhancements
- Add
on_selection_changetoui.codemirror(#6386 by @Jepson2k, @evnchn, @falkoschindler) - Support async functions in a
validationdictionary (#6455, #6458 by @Dengzi555, @Wang-Zephyr, @evnchn, @falkoschindler) - Speed up building the response of large pages by escaping the embedded element JSON faster (#6506 by @rodja, @falkoschindler)
- Accept the
X-Forwarded-Prefixheader only as a relative path, so that it cannot make a page load its scripts from another origin (#6520 by @falkoschindler, @evnchn) - Upgrade the Docker image from Python 3.14 to 3.15 (#6481, #6517 by @falkoschindler, @evnchn)
- Use tuples instead of mutable lists as default arguments (#6482 by @falkoschindler, @evnchn)
Bugfixes
- Fix unquoted lists and dicts on
:props arriving in the browser as their last item (#6493, #6495 by @evnchn, @Luckyou-d, @falkoschindler) - Fix
.props()dropping unquoted values with special characters like parentheses,!or an IPv6 host (#6491 by @GPT-AGI, @falkoschindler) - Keep the tab storage of connected clients when pruning old tab storages, also in Redis (#6465, #6487, #6488 by @shi-felix, @Luckyou-d, @evnchn, @falkoschindler)
- Stop rewriting storage files whenever they are loaded (#6494 by @rodja, @falkoschindler)
- Stop the Redis storage from publishing data it has just loaded or received, which could restore outdated values (#6497, #6498 by @falkoschindler, @evnchn)
- Give every task awaiting the same
ui.dialogthe submitted result (#6507, #6516 by @evnchn, @falkoschindler) - Fix
previous_valueof change events for elements with dict-backed options (#6499, #6500 by @peterolkhov, @Luckyou-d, @falkoschindler) - Keep the order of JavaScript calls without
awaitrelative to later messages like an awaitedrun_method(#6472, #6473 by @falkoschindler, @Luckyou-d, @evnchn) - Let in-flight awaits of
ui.run_javascriptreturn as soon as the client is deleted (#6489 by @evnchn, @falkoschindler) - Convert union-typed sub-page parameters like
int | Nonethe same way as on plain pages again (#6466, #6478 by @evnchn, @falkoschindler) - Fix polled bindings re-sending an element on every cycle if the target's setter normalizes the value (#6376, #6402 by @falkoschindler, @evnchn)
- Let
ui.scene_viewwait for a scene that is not mounted yet instead of never resolvinginitialized()(#6338, #6505 by @falkoschindler, @evnchn) - Add the missing
Torustonicegui.elements.scene.objects(#6460, #6461 by @python-and-novella, @falkoschindler) - Keep DataFrame columns with duplicate names in
ui.tableandui.aggrid(#6348, #6349 by @SeparateThroughTime, @evnchn, @falkoschindler) - Convert non-serializable Polars columns like
BinaryandDurationinui.tableandui.aggrid(#6457 by @Dengzi555, @falkoschindler) - Reload the page instead of showing "Connection lost" forever when an expired login session redirects the reconnection (#6170, #6289 by @yrobel-lima, @DineshThumma9, @evnchn, @falkoschindler)
- Support nameless callables like
functools.partialin refreshables and exception handlers (#6476 by @falkoschindler, @evnchn) - Fix the
ETagheader and suffix byte ranges of media files (#6474, #6492 by @falkoschindler, @GPT-AGI, @evnchn) - Fix
ui.fullscreenignoringexit()while entering fullscreen is still pending (#6514 by @falkoschindler, @evnchn) - Fix
ui.anywidgetnot running the cleanup functions of its widget (#6462 by @Dengzi555, @falkoschindler)
Documentation
- Add a dynamic resampling recipe to the
ui.plotlydocumentation (#5704 by @evnchn, @NvNielen, @falkoschindler) - Host the demo images on nicegui.io instead of picsum.photos (#6504 by @falkoschindler, @evnchn)
- Redirect www and renamed documentation pages and declare canonical URLs on the website (#6490 by @falkoschindler)
- Fix typos and inaccuracies in docstrings and documentation (#6510, #6512 by @moshe99, @falkoschindler)
- Update the README, contributor docs and issue template (#6477 by @falkoschindler, @evnchn)
Testing
- Let
background_tasks.creatework in async tests that don't start the app (#6508, #6509 by @rodja, @Luckyou-d, @falkoschindler) - Fix an exception inside the
usersimulation making all following tests fail during setup (#6469, #6485 by @falkoschindler, @shi-felix) - Add guidance for Snap-based Chromium to the test setup documentation (#6483, #6484, #6502 by @moi90, @falkoschindler)
Dependencies
- Update Quasar from 2.35.2 to 2.35.3 to fix the focus getting stuck after a tooltip is hidden twice (#6486, #6496 by @falkoschindler, @evnchn, @python-and-novella)
- Remove the
certifidependency and document when to raise minimum versions of Python dependencies (#6503, #6511, #6515 by @KrilleGH, @falkoschindler, @evnchn) - Clean up dev dependencies (#6479 by @falkoschindler, @evnchn)
- Update outdated Docker images in examples and let Dependabot watch compose files (#6518 by @falkoschindler)
Infrastructure
- Harden CI and release workflows (#6480 by @falkoschindler, @evnchn)
- Tighten Ruff and mypy configuration (#6475 by @falkoschindler, @evnchn)
Special thanks to our top sponsors DiscoLike Inc., TestMu AI, Lechler GmbH and egs-hub ✨
and all our other sponsors and contributors for supporting this project!
🙏 Want to support this project? Check out our GitHub Sponsors page to help us keep building amazing features!