pypi dash 2.9.0
Dash v2.9.0

latest releases: 2.18.1, 2.18.0, 2.17.1...
18 months ago

Breaking

  • #2450 Set label style display: block if inline is false in RadioItems & Checklist components. To keep previous behavior, set inline=True. This is already how it was described and worked in our documentation and other places with CSS stylesheets that set the default orientation of RadioItems and Checklist options to vertical (including Dash Design Kit), but for unstyled pages it is a breaking change.

Added

  • #2392 Improved pages feature:
    • Accept an absolute path or a pathlib.path for pages_folder, to match assets_folder
    • Fix inferring use_pages=True when you supply a custom pages_folder
    • Fix for pages_folder that includes special characters
    • New test fixture clear_pages_state
    • Make imported pages act more like regular Python modules
  • #2068 Added refresh="callback-nav" in dcc.Location. This allows for navigation without refreshing the page when url is updated in a callback.
  • #2417 Add wait_timeout property to customize the behavior of the default wait timeout used for by wait_for_page, fix #1595
  • #2417 Add the element target text for wait_for_text* error message, fix #945
  • #2425 Add add_log_handler=True to Dash init, if you don't want a log stream handler at all.
  • #2260 Experimental support for React 18. The default is still React v16.14.0, but to use React 18 you can either set the environment variable REACT_VERSION=18.2.0 before running your app, or inside the app call dash._dash_renderer._set_react_version("18.2.0"). THIS FEATURE IS EXPERIMENTAL. It has not been tested with component suites outside the Dash core, and we may add or remove available React versions in any future release.
  • #2414 Add dash.Patchfor partial update Output props without transferring the previous value in a State.
  • #2414 Add allow_duplicate to Output arguments allowing duplicate callbacks to target the same prop.

Fixed

  • #2429 Fix side effect on updating possible array children triggering callbacks, fix #2411.
  • #2417 Disable the pytest plugin if dash[testing] not installed, fix #946.
  • #2417 Do not swallow the original error to get the webdriver, easier to know what is wrong after updating the browser but the driver.
  • #2425 Fix multiple log handler added unconditionally to the logger, resulting in duplicate log message.
  • #2415 Fix background callbacks progress not deleted after fetch.
  • #2426 Set default interval to 1 second for app.long_callback, restoring the behavior it had before v2.6.0 when we introduced backround=True callbacks.

Changed

  • #2425 Moved the logger namespace to dash.dash, as library logger it should be on that namespace instead of the user app.

Updated

  • #2241 Update Plotly.js to v2.20.0 from v2.18.0.
    • Feature release 2.20.0 adds automargin to the main plot title.
    • Feature release 2.19.0 adds text labels to layout.shapes, and adds a labelalias property to replace specific axis tick labels.
    • Patch releases 2.18.1,
      2.18.2,
      2.19.1 fix various bugs.

Don't miss a new dash release

NewReleases is sending notifications on new releases.