Nicegui

Latest version: v2.8.0

Safety actively analyzes 688323 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 44

1.4.34

Bugfix

- Fix missing dependency in Docker image (falkoschindler, codingpaula)

1.4.31

New features and enhancements

- Introduce a new [integration test framework](https://nicegui.io/documentation/section_testing) (#1931, 2496, 3121, 3413 by rodja, ed2050, MarcDelahousse, codingpaula, falkoschindler):
- a new [`user` fixture](https://nicegui.io/documentation/user) cuts away the browser and replaces it by a lightweight simulation entirely in Python; a test for a login page can now be written like this:
py
async def test_login():
await user.open('/')
user.find('Username').type('user1')
user.find('Password').type('pass1').trigger('keydown.enter')
await user.should_see('Hello user1!')
user.find('logout').click()
await user.should_see('Log in')
- a new [`ElementFilter`](https://nicegui.io/documentation/element_filter) allows to find and manipulate UI elements during tests and in production
- a new [pytest plugin](https://nicegui.io/documentation/project_structure#project_structure) allows to use both NiceGUI fixtures `screen` and `user` via `pytest_plugins = ['nicegui.testing.plugin']`
- Remove icecream dependency (3439 by falkoschindler)
- Provide tests for [`run.io_bound`](https://nicegui.io/documentation/section_action_events#running_i_o-bound_tasks) and [`run.cpu_bound`](https://nicegui.io/documentation/section_action_events#running_cpu-bound_tasks) (2234 by rodja, falkoschindler)

Documentation

- Add more links to the documentation (3434 by rodja)
- Improve the [documentation overview](https://nicegui.io/documentation) (#3409 by rodja)
- Say [browser session cookie](https://nicegui.io/documentation/storage) is "signed", not "encrypted" (#3424 by NickCrews)
- Restrict access to all routes in the ["Authentication" example](https://github.com/zauberzeug/nicegui/blob/main/examples/authentication/main.py) (#3403, 3417 by Daniel-Fei, falkoschindler, rodja)

1.4.30

New features and enhancements

- Introduce [`get_computed_prop` method](https://nicegui.io/documentation/table#computed_props) for any UI element; provide computed, filtered and sorted rows for `ui.table` (3395 by srobertson86, falkoschindler)
- Support [`app.shutdown()` ](https://nicegui.io/documentation/section_action_events#shut_down_nicegui)even for `ui.run(reload=True)` (3320 by NiklasNeugebauer, python-and-fiction, falkoschindler)
- Allow [pretty-printing storage](https://nicegui.io/documentation/storage#indentation) JSON files (3367, 3396 by sseshan7, falkoschindler)

Bugfixes

- Update [`ui.number`](https://nicegui.io/documentation/number) after sanitization (#3324, 3389 by eddie3ruff, python-and-fiction, falkoschindler)
- Fix value updates in [`ui.editor`](https://nicegui.io/documentation/editor) after client-side changes (#1088, 3217, 3346 by tjongsma, falkoschindler, frankvp11, python-and-fiction)

Documentation

- Improve notes about [contributing](https://github.com/zauberzeug/nicegui/blob/main/CONTRIBUTING.md) (#3390 by codingpaula, falkoschindler)
- Add [info about failing pre-commit hook](https://github.com/zauberzeug/nicegui/blob/main/CONTRIBUTING.md#linting) (3362 by rodja)
- Fix parameter description for [input validation](https://nicegui.io/documentation/input#input_validation) (3350 by python-and-fiction, falkoschindler)
- Extend [tooltip](https://nicegui.io/documentation/tooltip) documentation (#3322, 3331, 3338 by FSchmidt-FUNKE, python-and-fiction, rodja, falkoschindler)

1.4.29

New features and enhancements

- Support named slots in `Element.move()` (3319 by NiklasNeugebauer, falkoschindler)
- Add pytest-watcher dependency to the devcontainer (3327 by rodja)

Bugfixes

- Enforce amd64 platform for devcontainer to fix chromedriver on Mac (3328 by rodja)
- Fix misleading error message if storage secret is set (2520, 3273, 3310 by dr-yd, kwmartin, Bacoknight, Dan1001, erdincka, j4nSolo, MaiHoangViet1809, bin-san, python-and-fiction, falkoschindler, rodja)
- Ignore `CancelledError` in `check_for_late_return_value` (3268, 3296 by CatamountJack, falkoschindler)

Documentation

- Add documentation about `BindableProperty` for better binding performance (1975, 3325, 3333 by eponymic, v479038280, python-and-fiction, falkoschindler)
- Fix link to Quasar's [Tab Panels](https://quasar.dev/vue-components/tab-panels) (#3329 by rodja)
- Add `ui.teleport` demo for placing charts in table cells (3309 by frankvp11, falkoschindler)
- Provide info on how to run the docs locally (3304, 3305 by DeflateAwning, python-and-fiction, rodja)

1.4.28

New features and enhancements

- Add `request` object to the `client` (1695, 2399, 3286 by DoPaminexL, rodja, falkoschindler)
- Introduce [`ui.skeleton`](https://nicegui.io/documentation/skeleton) (#3082, 3202 by patrickwasp, frankvp11, falkoschindler)
- Added support for [3D graphing](https://nicegui.io/documentation/echart#3d_graphing) for `ui.echart` (3184, 3195 by natankeddem, falkoschindler)
- Add `min`, `max` and `step` properties to [`ui.range`](https://nicegui.io/documentation/range) (#3167, 3191, 3242, 3260 by bojh, falkoschindler, Ezbaze)
- Allow [changing grid parameters](https://nicegui.io/documentation/scene#custom_grid) of `ui.scene` (3254, 3257 by v479038280, python-and-fiction, falkoschindler)

Bugfixes

- Fix SVG of [`ui.pyplot`](https://nicegui.io/documentation/pyplot) not filling its container (#3277, 3289 by Guilhermwn, python-and-fiction, falkoschindler)
- Fix change event value of [`ui.number`](https://nicegui.io/documentation/number) differing from `value` property (#3110, 3142, 3281 by CrystalWindSnake, Lucas-lyh, frankvp11, falkoschindler)

Documentation

- Add demos for using `ui.refreshable` with [local scope](https://nicegui.io/documentation/refreshable#local_scope_(variant_a)) (2535, 3219, 3233, 3279 by Ezbaze, ruisilvestre-snapp, arunmp25, falkoschindler, rodja)
- Add demo for `ui.upload` [with large files](https://nicegui.io/documentation/upload#uploading_large_files) (3220, 3235 by Rjdrenth)
- Add demo on how to use `ui.teleport` for [fancy radio options](https://nicegui.io/documentation/teleport#radio_element_with_arbitrary_content) (3224, 3230 by pierrecdn, rodja)
- Improve [date picker demo with input element](https://nicegui.io/documentation/date#date_input) and add [similar demo for time picker](https://nicegui.io/documentation/time#time_input) (3155, 3226 by tmlmt)
- Add details and [examples](https://github.com/zauberzeug/nicegui/tree/main/examples/nginx_https/) in [docs for running apps with https](https://nicegui.io/documentation/section_configuration_deployment#server_hosting) (3155, 3213 by tmlmt, rodja)

1.4.27

New features and enhancements

- Introduce [`ui.teleport`](https://nicegui.io/documentation/teleport) element to inject NiceGUI elements into regular html. (#3148, 3159 by CrystalWindSnake, falkoschindler)
- Introduce `align_items` parameter for [`ui.row`](https://nicegui.io/documentation/row), [`ui.column`](https://nicegui.io/documentation/column) and [`ui.card`](https://nicegui.io/documentation/card) (#3174, 3175 by tz301, falkoschindler)
- Introduce `config` parameter for [`ui.mermaid`](https://nicegui.io/documentation/mermaid) (#3164 by kyloe, falkoschindler)
- Improve error message for source elements with missing files (3162 by CrystalWindSnake, falkoschindler)
- Allow commas and equal signs in unquoted prop strings (3128, 3130, 3193 by miccs0, ed2050, falkoschindler)

Bugfixes

- Fix type annotation in NPM import script (3186 by natankeddem)
- Fix JavaScript error due to wrong variable in download function (3173 by 123swk123, falkoschindler)
- Encode auto-generated URLs to support filenames with hashtags `` (3124, 3138 by gotev, afullerx)
- Bump pywebview to 5.0 to support `settings` attribute (3135 by miek770, falkoschindler)
- Fix [`ui.codemirror`](https://nicegui.io/documentation/codemirror) ignoring path prefixes (#3122, 3126 by amks1, falkoschindler)

Documentation

- Fix link to Quasar's QTime component (3214 by tmlmt)

Page 3 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.