Releases: zauberzeug/nicegui
Releases · zauberzeug/nicegui
v1.3.17
New features and enhancements
- Introduce
ui.context_menu
(#1738, #1801 by @gavinpotter, @natankeddem, @falkoschindler) - Introduce
validate()
method for validation elements (#1781 by @falkoschindler) - Improve recovery after reconnecting (#1761, #1762, #1763 by @s2terminal, @rodja)
- Adapt socket.io heartbeat depending on the provided reconnect_timeout (#1812 by @rodja)
Bugfixes
- Fix "coroutine 'AsyncServer.enter_room' was never awaited" (#1809 by @FlynV, @Barriradio, @nghia-vo, @falkoschindler)
- Refresh binding before page delivery (#1561, #1775 by @laserir, @falkoschindler)
Documentation
- Improve Fly replay middleware to only replay if the target instance is still available (#1814 by @rodja)
- Fix typo: change "styles" to "style" (#1799 by @frankhuurman)
- Fix script "Script Executor" example on Windows (#1767 by @dotnfc, @rodja)
- Clarify usage of
ui.open
on auto-index pages (#1760 by @rodja) - Simplify tree example and showing disable feature (#1759 by @rodja)
v1.3.16
New features and enhancements
- Simplify row updates in
ui.table
(#1753, #1755 by @nghia-vo, @falkoschindler) - Warn if
ui.notify
has no connected client to display the message (#1754 by @rodja) - Add play, pause and seek methods to
ui.audio
andui.video
(#1636, #1741 by @Squigglez2, @wgong, @falkoschindler) - Make name of
ui.icon
a bindable property (#1690, #1725 by @thetableman, @wgong, @falkoschindler) - Improve
ui.aggrid.from_pandas
to support datatypes likeDatetimeIndex
(#1698 by @johancj, @bapowell, @falkoschindler) - Introduce default style, classes and props for UI elements (#1683, #1689 by @natankeddem, @falkoschindler)
- Add expand and collapse methods to
ui.tree
(#1385, #1704 by @frwkl, @signup2k, @falkoschindler, @rodja)
Bugfixes
- Fix evaluation of empty Tailwind class values (#1736 by @natankeddem, @falkoschindler)
- Fix Ctrl-C not closing the pywebview window (#604, #1732 by @miningmanna, @ItsCubeTime, @al-eax, @rodja, @falkoschindler)
- Connection lost popup drawer interaction (#1729 by @natankeddem, @falkoschindler)
Documentation
- Add licenses of third-party libraries to Dependencies.md (#1286, #1747 by @firai, @rodja, @falkoschindler)
Development
- Fix type hint for
value
inui.tab_panels
(#1728 by @s2terminal) - Fix race condition in pytests (#1734 by @miningmanna, @rodja)
v1.3.15
New features and enhancements
- Introduce
ui.code
for displaying code blocks (#592, #1567, #1653 by @yipeng-jiang, @angel0614563, @falkoschindler) - Introduce
ui.editor
(#1124, #1651 by @DelScipio, @falkoschindler) - Introduce
ui.timeline
(#1639 by @alikalik9, @falkoschindler) - Introduce
run.cpu_bound
andrun.io_bound
(#1609, #1656 by @WolfgangFahl, @falkoschindler) - Improve
ui.echart
with click events and dynamic options (#1562, #1579 by @thetableman) - Support non-string column names for AG Grid from pandas (#1665 by @CrystalWindSnake, @falkoschindler)
On Air
- Correctly propagate the storage session ID to the app (#1603 by @Smug246, @rodja)
- Support multiple identical header fields in HTTP responses (#1661 by @rodja)
Documentation
- Add an example for authentication and user management with Descope (#1676 by @rodja)
- Improve demo for
ui.menu
(#1657 by @natankeddem, @rodja) - Keep header height unchanged when opening a dialog (#1678 by @natankeddem, @falkoschindler)
- New ROS2 tutorial which explains step-by-step how NiceGUI can be used with ROS2 (by @JensOgorek)
Development
- Add a basic dev container to simplify contributing to the project (#1057, #1532 by @xec-abailey, @jacoverster, @natankeddem, @rodja)
- Add NO_NETIFACES environment variable for Docker releases (#1662 by @rodja)
v1.3.14
New features and enhancements
- Allow making
ui.toggle
clearable (#1550, #1644 by @superlou, @falkoschindler) - Provide the list of URLs on which the server is available (#1537 by @rodja, @falkoschindler)
- Allow specifying pagination for
ui.table
as a dictionary (#1643, #1646 by @natankeddem)
Bugfixes
- Make sure to serve static JavaScript files with correct mimetype (#1510, #1594 by @jsmaupin, @thetableman, @natankeddem, @falkoschindler)
- Fix
ui.stepper
dropping UI state (#1638 by @rodja, @falkoschindler) - Fix
ui.echart
width on initial load (#1563, #1570 by @thetableman, @natankeddem, @dabenny, @falkoschindler) - Fix mousemove events for
ui.interactive_image
(#1634, #1635 by @falkoschindler)
Documentation
- Introduce AuthMiddleware in the authentication example (#1555, #1557 by @laserir, @rodja)
- Add a custom binding example (#1578, #1581 by @v479038280, @rodja)
- Fix several demos not being rendered (#1616, #1617 by @natankeddem, @falkoschindler)
- Fix
ui.markdown
by upgrading pygments dependency (#1595, #1605 by @superlou, @clueple, @rodja)
v1.3.13
New features and enhancements
- Use scoped logging (#1496, #1497 by @dreusel)
- Simplify nesting of elements inside
ui.circular_progress
(#1491, #1493 by @Vincent1334, @pythonormen, @rodja)
Bugfixes
- Stop
ui.timer
when its context is deleted (#1500 by @dreusel, @falkoschindler) - Adhere forwarded-prefix for redirects (#1464, #1501 by @Smug246, @rodja)
- Catch gaierror and improve startup speed (#1178, #1498 by @tianqiqiu, @natankeddem, @pythoninthegrass, @rodja)
- Fix type of
GenericEventArguments.args
(#1518 by @AndrewMHenry, @falkoschindler) - Make distinction between absolute and relative urls in redirect middleware (#1517 by @Smug246, @rodja)
- Fix and improve elements clear, remove and delete methods (#1512, #1514 by @dreusel, @falkoschindler)
Documentation
- Fix bug in storage demo (#1511 by @v479038280, @rodja)
- Ensure search index is not cached between versions (#1499 by @rodja)
v1.3.12
New features and improvements
- Allow canceling a
ui.timer
(#1477, #1478 by @bergmansj, @falkoschindler) - Make storage path configurable via environment variable (#1418, #1426, #1476 by @Smug246, @falkoschindler)
- Add optional preview for
ui.color_input
(#1390, #1473 by @adosikas, @falkoschindler) - Support passing functions to
ui.aggrid
(#1420, #1468, #1470 by @PyAntony, @aersam, @falkoschindler) - Introduce new
ui.json_editor
element (#1474 by @natankeddem, @falkoschindler)
Bugfixes
- Fix float conversion for empty
ui.number
(#1479 by @bergmansj, @falkoschindler) - Fix deactivated one-shot
ui.timer
(#1477 by @bergmansj, @falkoschindler)
Development
- Discussion about RuntimeError caused by python-engineio (#1467 by @tianqiqiu)
- Replace obsolete
docker-compose
withdocker compose
(#1456 by @Suraj1089, @rodja)
v1.3.11
Bugfix
- Fix
ui.chart
events (#1450 by @natankeddem)
Documentation
- Fix link to more
ui.echart
documentation (#1451 by @natankeddem, @falkoschindler)
v1.3.10
New features and improvements
- Improve tick API for
ui.tree
(#1439 by @vindevoy, @falkoschindler) - Make auto-sizing of
ui.aggrid
columns configurable (#1419, #1437 by @qingant, @falkoschindler) - Support
ui.aggrid
from pandas with nested structures (#1417 by @dashorty, @firai, @falkoschindler) - Support async event handlers for observable collections (#1411 by @thetableman, @falkoschindler)
- Provide method to set options of choice elements like
ui.select
(#1405, #1409 by @cschmidtoptima, @rodja) - Support
app.shutdown()
in native mode (#1322, #1403 by @Smug246, @rodja) - Support point dragging with
ui.chart
(#1350 by @natankeddem, @falkoschindler) - Introduce
ui.echart
for Apache ECharts (#1346 by @natankeddem, @falkoschindler) - Support drag and drop for 3D objects in
ui.scene
(#1201 by @falkoschindler) - Refactor large try block anti-pattern (#1429 by @Kasperror)
Bugfixes
- Prevent https://nicegui.io from scrolling when closing a dialog (#1401, #1404, #1421 by @v479038280, @falkoschindler)
- Re-use plotly plot if config did not change (#1386, #1393 by @Scheeer, @falkoschindler)
Documentation
- Add example which generates a PDF (#1400, #1402 by @srinath-sankaragallu, @rodja)
- Fix Discord link on https://nicegui.io (#1392 by @guizhenwei, @rodja)
v1.3.9
Bugfixes
- Fix dependency routing for Windows users and NiceGUI On Air (#1279 by @jdess, @rodja, @falkoschindler)
- Fix UI context for async exception handlers (#1370 by @kleynjan, @rodja, @falkoschindler)
v1.3.8
Enhancements
- Add method for calling the Column API of
ui.aggrid
(#1267, #1359 by @aersam) - Add
on_value_change
parameter toui.expansion
(#1354, #1356 by @aersam, @falkoschindler) - Add a
frameless
parameter to native mode (#1341 by @Smug246) - Support scroll padding for
ui.header
(#1329 by @miek770, @falkoschindler) - Implement
clear()
method forui.scene
(#1246, #1327 by @WolfgangFahl, @falkoschindler) - Allow passing local file path to
ui.download
(#1118 by @rodja, @falkoschindler)
Bugfixes
- Prevent errors if non-root user already exists for docker image (#1353 by @rodja)
- Fix pywebview detection (#1341 by @Smug246, @falkoschindler)
- Fix
ui.refreshable
with parameters (#1340 by @alex-bezverkhniy, @falkoschindler) - Improve On Air reconnect (#1337 by @rodja)
- Fix deprecation warning from vbuild (#1187 by @frankenstein91, @falkoschindler)
Documentation
- Fix and improve AG Grid demo with conditional cell formatting (#1342 by @williwehrlos, @falkoschindler)
- Use a machine-independent Python path for script executor example (#1240, #1331 by @v479038280, @falkoschindler)
- Add "disable" context manager demo (#1238 by @BrianLandry)