Skip to content

v2.0.0

Compare
Choose a tag to compare
@r52 r52 released this 31 May 00:38
· 232 commits to master since this release

What's new in v2.0.0

Breaking Changes

Extension API version 2

  • Extension info fields has been separated out into its own struct for future non-breaking extensibility.
  • New info field url allows extension authors to specify a website URL for their extension.
  • New Data Source parameter validtime for client polled sources that specifies the amount of time in milliseconds that the data is cached and remains valid for.
  • Added support for returning basic JSON data types int, double, bool, as well as null returns.
  • Added support for string and selection type extension settings. String type fields can also be designated a password field, where the data will be obscured in the UI.
  • Added support for simple field storage (hidden settings).
  • Added support for error propagation to clients.
  • Added support for passing simple arguments to get_data()
  • Version 1 of the API is no longer supported.

New JSON Message Format

  • Redesigned JSON message format for functional clarity.
  • All sample widgets have been updated to reflect changes.
  • See documentation for more details.

Widget Authentication

  • Added new definition parameter dataserver that defines whether connection and authentication scripts are loaded into the widget. This parameter must be defined and set to true if the widget requires a connection to the Data Server. If this parameter is not defined, or if false is set, then the connection/authentication scripts are not loaded and the widget will not be able to connect to the Data Server.
  • Widgets that connect to the Data Server must now authenticate with the server using the JavaScript function quasar_authenticate(socket). Widgets that do not authenticate within a certain timeframe will be disconnected.
  • External widgets and apps that depend on the Quasar Data Server must now also authenticate using User Keys, user generated authentication codes for external clients.
  • See documentation for more details.

New Features

Debug/Developer Console

  • Added a Debug/Developer Console for widget and extension developers.
  • This console allows extension and widget developers to test queries and sample outputs without having to write a test widget or log JavaScript.

Update Checker

  • Quasar now checks for updates, and asks whether you'd like to go to the download page if a new version is available.
  • This functionality only applies to the main Quasar application for now. Eventually, extensions may be supported too.

Custom App Launcher Icons

  • Users can now add custom icons to configured App Launcher commands. These icons are sent to App Launcher widgets when requested, where they can be incorporated into the design.

Fixes and Misc Changes

  • Added new WebGL based audio visualizer sample widget.
  • Extensions now run in its own thread for optimal performance.
  • Left-clicking the tray icon now opens the context menu as well.
  • Fixed widget UI freezing when bringing up the context menu in a clickable widget.
  • Added resize functionality for widgets.
  • Extensions can now be installed to My Documents\Quasar\extensions\ on Windows.
  • Added a setting to allow changing the Data Server protocol between secure (wss) and non-secure (ws).
  • The Settings page has been redesigned in HTML for more eye pleasing dynamically generated components.
  • Updated to Qt 5.12.
  • Sample widget win_visualizer: Updated animation library and visual styles.
  • Replaced WiX MSI installer with Qt Installer Framework installer for easier maintenance.
  • Extension settings page now preserves the order the that settings were created in.
  • Improved WebSocket initialization performance.