Releases: zauberzeug/nicegui
v1.2.2
Release Notes
This release includes several improvements and bug fixes.
Features
- Automatically strip indentation from markdown content (#617 by @falkoschindler)
- Add syntax highlighting for code blocks in
ui.markdown
(#612 by @falkoschindler, @pythonormen) - Provide search-as-you-type within the options of
ui.select
(#272 by @falkoschindler, @shakamoushie)
Bug Fixes
- Fix issue when replacing a
ui.interactive_image
(#600, #616 by @dclause, @DavidLeBonk, @falkoschindler) - Fix single selection for
ui.table
(#609 by @falkoschindler) - Correctly initialize
ui.color_input
's popup (#603 by @RobinSchfr, @falkoschindler)
Documentation
- Improve documentation with more demos and more complete API reference (#439 by @falkoschindler, @Quadrum1)
Thank you to all contributors who helped make this release possible.
v1.2.1
Bug Fixes
- Fixed an issue where an exception was thrown when closing the window in native mode on Windows. (#584, #602 by @al-eax, @rodja)
- Fixed an error when updating
ui.chart
before it is successfully mounted. (#581 by @dclause) - Fixed using PyInstaller with native mode. (#579, #582 by @rodja)
- Fixed texture rendering in
ui.scene
(#591 by @falkoschindler)
Updates
Enhancements
- Re-introduced auto-wrap for flex containers such as
ui.row
andui.column
. (#595 by @DavidLeBonk, @falkoschindler)
Thank you to all our contributors!
v1.2.0
We are excited to announce the release of NiceGUI 1.2.0! While including many great new features, we want to specially highlight the introduction of a “native” mode which allows Electron-like capabilities by not opening a browser but a native window on your desktop. Of course this can also be packaged into an executable.
Breaking Changes
The implementation of ui.table
is no longer based on AG Grid but rather on QTable from Quasar which is in line with the other components. The AG Grid element is still available through ui.aggrid
(see #370 and #500 for details; by @dclause, @falkoschindler, @Diegiwg and @rbeeli).
All web dependencies have been upgraded to their most recent stable version (with the exception of Mermaid, which is at 9.x instead of 10.x due to technical reasons). In general, this should not change the behavior of NiceGUI applications (#524 by @dclause and @falkoschindler).
The upgrade of TailwindCSS can, however, change the interpretation of contradicting Tailwind classes: The effective class order has been nondeterministic and using contradicting classes was dangerous and discouraged by the Tailwind developers. Now the order is deterministic such that the result does not change when, e.g., moving the element around. But this could change the behavior of your app if it relies on a certain interpretation order. See this very informative post and this comment for more information.
Other Features and Enhancements
- make NiceGUI the Electron of Python by introducing
ui.run(native=True)
which will open a desktop window instead of a browser tab (#89, #558, #519 by @eli-kha, @rodja, @al-eax, @smojef, @bobwatcherx, @hditano, @ItsCubeTime and @falkoschindler) - add point cloud support for 3D scenes (#545 by @kielnino)
- add support for scoped slots (#514, #501 by @dclause and @falkoschindler)
- provide a global exception handler (#289, #445 by @smojef and @falkoschindler)
- allow clearing the content of a
ui.log
element (#414 by @Allen-Taylor and @falkoschindler) - allow looping
ui.audio
andui.video
(#555 by @chook100 and @falkoschindler)
Bug Fixes
- make elements that are ignored by
ui.keyboard
configurable (#460 by @MrTLMWD and @falkoschindler) - support 32-bit Windows using the built-in json package instead of orjson (#518, #532 by @rbeeli, @ghuserlb, @rodja and @falkoschindler)
Documentation
- improve documentation for authentication demo (#527 by @Shmuma and @rodja)
- improve explanation of menu placement (#541 by @rodja)
- improve deployment documentation uncovered by experiments with Heroku (#469 by @krummja and @rodja)
- improve script executor demo by fixing
asyncio.create_subprocess_exec
for Windows (#486 by @wielandb, @spehj and @rodja) - improve NGINX subpath demo (#245 by @rodja)
v1.1.11
New Features and Enhancements
- Added persistent tabs functionality to ui.tabs (Issue #488 by @wwoods)
- Improved opencv_webcam example by respecting IO and CPU, and moving some work off the main thread (Issue #490 by @rodja)
Bug Fixes
- Fixed an issue where installation would fail due to python-multipart-0.0.5 dependency (Issue #504 by @nahakiole)
- Aligned mute and unmute buttons with their actual function in the Audio reference (Issue #503 by @g-bulgarit)
- Fixed an issue where ui.tabs lost state when changing tabs (Issue #488 by @falkoschindler)
Thanks for all the great contributions. We hope you enjoy the new features and improvements in NiceGUI v1.1.11!
v1.1.10
New Features
- new
ui.knob
element (Issue #424 by @Diegiwg). - new
ui.avatar
element (Issue #416 by @Diegiwg). - Support for multiple paths for the same page builder function (Issue #418 by @rodja).
- Added mouse buttons and modifier keys to MouseEventArguments (Issue #444 by @falkoschindler, triggered by #425 from @smojef).
- SSL parameters for ui.run (Issue #421 by @falkoschindler, triggered by #387 from @morningstarsabrina).
Enhancements
- Improved performance and enhanced integration with plotly.js (PR #380 by @rbeeli).
- Automatic string conversion of display methods (Issue #446 by @smojef).
Bug Fixes
- Numerous errors in the example files (Issue #454 by @wielandb).
- Using keyword arguments from Quasar's API in ui.notify() don't work (Issue #458 by @MrTLMWD).
Documentation
- More explanations in the script executor example (Commit fbc878a)
- Improved authentication example (Commit 4ac21c5 and bdaab55)
- Added Trello-like drag and drop example (Issue #397 by @kausar007).
- Added contribution guide on development with Docker, setup and formatting ((Issue #432 by @rbeeli)).
- Updated description on how to execute the automated tests (Issue #436 by @rbeeli).
Huge thank to all contributors for their valuable help in making NiceGUI better.
v0.9.28
NiceGUI version 0.9.28 is a bugfix release that resolves compatibility issues with the old 0.9 version. Thanks to the effort of @me21, this release addresses conflicts caused by the required cryptography version, which affected users running Debian Buster with only version 37.0.4 (see #374). We recommend upgrading to this latest release to avoid any compatibility issues.
v1.1.9
New Features
- Introduced a new multiline textarea element (Issue #390 by @falkoschindler).
Documentation
- Improved documentation for server hosting (Issue #355 by @JS-Aibel and @rodja).
- Added documentation for launching NiceGUI app as an executable with PyInstaller (Issue #355 by @JS-Aibel and @rodja).
- Fixed pip dependency conflicts with docutils used on website (Issue #399 by @smojef and @rodja).
Thank you to everyone who contributed to this release, including @JS-Aibel and @smojef. We hope that you will enjoy using NiceGUI 1.1.9!
v0.9.27
v1.1.8
New Features
- Added support for creating tabs (Issue #251 by @JS-Aibel).
- Added a new component for loading spinners along with an example in the documentation (Issue #368 by @rbeeli).
- Added support for input validation rules (Issue #336 by @falkoschindler).
Documentation
- Improved the documentation for core concepts (Issue #242 by @falkoschindler).
- Extended the documentation with new examples and explanations (Issue #242 by @falkoschindler).
Thank you to everyone who contributed to this release, including @JS-Aibel, and @rbeeli. We hope that you will enjoy using NiceGUI 1.1.8!
v1.1.7
Fixes
- Drawers now behave correctly thanks to the resolution of #308.
- Disabling Tailwind no longer causes a JavaScript runtime error. (#369)
Enhancements
- NiceGUI now integrates with Plotly.py, adding more visualization options. (#317, thanks @misterkramer)
- The AG Grid table's getSelectedRows function is now exposed for easier use. (#363, thanks @Diegiwg)
Documentation
- Documentation and type-hinting have been added to the base element class
ui.element
to improve the overall developer experience. (#356, thanks @washad)
We would like to extend a special thank you to @misterkramer, @Diegiwg, and @washad for their contributions to this release.