Skip to content

Releases: zauberzeug/nicegui

v1.4.3

22 Nov 14:24
c0bf52f
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation

v1.4.2

06 Nov 14:55
Compare
Choose a tag to compare

New features and enhancements

Bugfix

Documentation

v1.4.1

26 Oct 16:49
Compare
Choose a tag to compare

Bugfixes

Documentation

v1.4.0

23 Oct 19:22
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation

Breaking changes and migration guide

No need to await JavaScript calls

When using run_javascript, run_method, call_api_method and call_column_api_method,
you can decide whether the client should respond with a return value or not by awaiting the method call or not.
The method will automatically inform the client.
The respond parameter of run_javascript is not used anymore. See https://nicegui.io/documentation/run_javascript

ui.chart is now ui.highchart and requires the package "nicegui-highchart"

Highcharts requires you to buy a license for commercial products if the code is installed on your machine.
That's why we made it an optional package.
Install with pip install nicegui[highcharts].

The globals module is gone

We removed the ugly globals module, which was never intended to be public API,
but might have been used nonetheless.

  • If you need the app configuration, use app.config instead (using from nicegui import app to get the app object).
  • If you need the current client or slot, use the context module instead.
  • If you need the client dictionary, use Client.instances instead.

FastAPI's new lifespan API

Since FastAPI's @on_event("startup") and @on_event("shutdown") are deprecated,
NiceGUI switched to the new lifespan API.
You can still use app.on_startup() and app.on_shutdown().

Layout elements use flex layout by default

Before you needed to use ui.column inside, e.g., ui.tab_panel and other elements to get proper alignment, padding and spacing.
Now most UI elements provide reasonable default so that the content looks like in a ui.row or ui.column.

Upgraded third-party dependencies

  • vue: 3.3.4 → 3.3.6
  • quasar: 2.12.2 → 2.13.0
  • tailwindcss: 3.3.2 (unchanged)
  • socket.io: 4.7.1 → 4.7.2
  • es-module-shims: 1.7.3 → 1.8.0
  • aggrid: 30.0.3 → 30.2.0
  • echarts: 5.4.3 (unchanged)
  • mermaid: 10.2.4 → 10.5.1
  • nipplejs: 0.10.1 (unchanged)
  • plotly: 2.24.3 → 2.27.0
  • three: 0.154.0 → 0.157.0
  • tween: 21.0.0 (unchanged)
  • vanilla-jsoneditor: 0.18.0 → 0.18.10

v1.3.18

20 Oct 06:16
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation

  • Increased JavaScript timeout for search commands (#1823 by @rodja)

Development

v1.3.17

16 Oct 13:23
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation

v1.3.16

06 Oct 09:34
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation

Development

v1.3.15

26 Sep 03:22
Compare
Choose a tag to compare

New features and enhancements

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

Development

v1.3.14

19 Sep 07:10
bfd70b0
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation

v1.3.13

29 Aug 17:42
833b0cc
Compare
Choose a tag to compare

New features and enhancements

Bugfixes

Documentation