Skip to content

Releases: plotly/dash

Dash v.1.6.0

04 Nov 21:15
Compare
Choose a tag to compare

Dash

Fixed

  • #999 Fix fingerprint for component suites with metadata in version.
  • #983 Fix the assets loading issues when dashR application runner is handling with an app defined by string chunk.

Dash-Core-Components

Added

  • #692 Async DatePickerSingle, DatePickerRange, Dropdown, Markdown, Upload components

Dash v1.5.1

30 Oct 01:35
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #987 Fix cache string handling for component suites with nested folders in their packages.
  • #986 Fix a bug with evaluation of _force_eager_loading when application is loaded with gunicorn

Dash v1.5.0

29 Oct 17:12
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #964 Adds support for preventing updates in clientside functions.
    • Reject all updates with throw window.dash_clientside.PreventUpdate;
    • Reject a single output by returning window.dash_clientside.no_update
  • #899 Add support for async dependencies and components
  • #973 Adds support for resource caching and adds a fallback caching mechanism through etag

Dash-Core-Components

Added

  • #616 Async Graph and Plotly.js

Dash-Table

Changed

  • #554 Async loading of xlsx library on export

Dash v1.4.1

17 Oct 14:02
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #969 Fix warnings emitted by react devtools coming from our own devtools components.

Dash-Core-Components

Updated

  • Upgraded plotly.js to 1.50.1 #681
    • Patch release 1.50.1 containing several bug fixes.

Fixed

  • #681 Fix a bug with the dcc.Graph component logging errors in certain circumstances when nested inside a dcc.Loading component

Dash-Table

Fixed

  • #618 Fix a bug with keyboard navigation not working correctly in certain circumstances when the table contains readonly columns.
  • #206 Fix a bug with copy/paste to and from column filters not working.
  • #561 Fix an incorrect React PureComponent usage causing warnings in DevTools.
  • #611 Fix a bug with copy/paste causing hidden columns to be removed from the table

Dash v1.4.0

08 Oct 19:43
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #948 Support setting working directory for R apps run using the dashr fixture, primarily useful for tests with assets. dashr.start_server supports a cwd argument to set an explicit working directory, and has smarter defaults when it's omitted: if app is a path to an R script, uses the directory of that path; if app is a string, uses the directory the test file itself is in.
  • #944
    • Relevant dash.testing methods can now be called with either an element or a CSS selector: select_dcc_dropdown, multiple_click, clear_input, zoom_in_graph_by_ratio, click_at_coord_fractions.
    • Three new dash.testing methods: clear_local_storage, clear_session_storage, and clear_storage (to clear both together)
  • #937 dash.testing adds two APIs zoom_in_graph_by_ratio and click_at_coord_fractions about advanced interactions using mouse ActionChain
  • #938 Add debugging traces to dash backend about serving component suites, to verify the installed packages whenever in doubt.

Fixed

  • #944 Fix a bug with persistence being toggled on/off on an existing component.

Dash-Table

Added

#546

  • New prop export_columns that takes values all or visible (default). This prop controls the columns used during export

#597

  • Add is blank unary operator. Returns true for undefined, null and ''.

#299

  • New prop page_count that sets the maximum number of pages that are
    accessible via the pagination menu when using backend pagination.

Changed

#598

  • Allow values with whitespaces in column filters

#580

  • Change pagination menu button UI to use arrow icons instead of plain
    buttons
  • Move pagination menu to bottom-right of table
  • Include go-to-first and go-to-last buttons
  • Include current-page and total-pages display in pagination menu
  • Include input box for user to navigate directly to a page

Fixed

#460

  • The datestartswith relational operator now supports number comparison
  • Fixed a bug where the implicit operator for columns was equal instead of the expected default for the column type

#546

  • Visible columns are used correctly for both header and data rows

#563

  • Fixed a bug where any string beginning with a relational operator was being interpreted as that operator being applied to the rest of the string (e.g., "lens" was interpreted as "<=ns")

#591

  • Fixed row and column selection when multiple tables are present

#600

  • Fixed reconciliation when validation default value is 0 (number)
  • Apply reconciliation value when deleting cells, if possible

Dash-Core-Components

Added

  • Added search_value prop to Dropdown, for server-side options loading/filtering. #660

Updated

  • Upgraded plotly.js to 1.50.0 #675
    • Feature release 1.50.0 which contains:
      • A new treemap trace type for display of hierarchical data.
      • texttemplate support for all traces with on-graph text, and custom date formatting for templated on-graph and hover text.
      • Transitions (animation) for bar charts.
      • Numerous other performance improvements, features, and bug fixes.
    • Patch release 1.49.5 containing several bug fixes.

Dash v1.3.1

19 Sep 14:17
Compare
Choose a tag to compare

##dash-core-components

Fixed

  • Fix regression in DatePickerRange, DatePickerSingle, Input
    #652

Dash v1.3.0

17 Sep 18:50
Compare
Choose a tag to compare

dash

Added

  • #923 Adds one configuration --percy-assets in pytest to specify extra application assets path if needed
  • #918 Adds wait_for_element_by_id and visit_and_snapshot APIs in browser, adds raw_command option (it also has higher priority than
    the default waitress one) and optional start_timeout argument to handle large application within process runner

dash-core-components

Added

  • Added support for persistence of user-edited props to value-input components: Checklist, DatePickerRange, DatePickerSingle, Dropdown, Input, RadioItems, RangeSlider, Slider, Tabs, and Textarea. New props are persistence, persistence_type, and persisted_props. Set persistence to a truthy value to enable, the other two modify persistence behavior. See plotly/dash#903 for more details. #646

Fixed

  • Fixed Slider and RangeSlider components with tooltip.always_visible #640
  • Fixed an infinite loop problem when Graph is wrapped by Loading component #608

dash-renderer

Added

  • #903 enables props edited by the user to persist across recreating the component or reloading the page. Components need to define three new props: persistence, persisted_props, and persistence_type as described in the lead comment of src/persistence.js. App developers then enable this behavior by, in the simplest case, setting persistence: true on the component. First use case is table, see dash-table#566

Fixed

  • Reduced about 55% of the dash-renderer packages size on PyPI by removing the source maps. To do more advanced debugging, the source maps needs to be generated from source code with npm run build:local and pip install in editable mode, i.e. pip install -e . #910

dash-table

Added

#566

  • Support persisting user edits when the component or the page is reloaded. New props are persistence, persistence_type, and persisted_props. Set persistence to a truthy value to enable, the other two modify persistence behavior. See plotly/dash#903 for more details.
    #319
  • New 'loading_state' prop that contains information about which prop, if any, is being computed.
  • Table no longer allows for editing while the data prop is loading.

Fixed

#578

  • Fix #576, editing column names or deleting columns while other columns are hidden causing the hidden columns to be lost.
  • Fix an unreported bug that clicking "Cancel" at the column name edit prompt would clear the name, rather than leaving it unchanged as it should.
    #569, #544
  • Allow empty strings in all filter_query (e.g filter_query: '{colA} eq ""')
    #567
  • Add support for missing border-radius in style_** props
  • Fix table's inner vs. outer container styling
    #18
  • Fix row selection vertical and horizontal alignment
    #103
  • Simplify usage for multi-line cells and ellipsis. The cell's content now inherits the value of
    white-space, overflow and text-overflow from its parent, making it possible to style
    multi-line & ellipsis with style_data and other style props.
    #583
  • Fix regression when editing the content of a cell in a scrolled virtualized table

Dash v1.2.0

28 Aug 13:10
Compare
Choose a tag to compare

dash

Added

  • #860 Adds a new arg dev_tools_prune_errors to app.run_server and app.enable_dev_tools. Default True, tracebacks only include user code and below. Set it to False for the previous behavior showing all the Dash and Flask parts of the stack.

dash-core-components

Fixed

  • Fixed problems with Graph components leaking events and being recreated multiple times if declared with no ID #604

  • Fixed problem with DatePickerRange component about clearable not working #614 and #594

Updated

dash-html-components

Updated

  • Generated documentation

dash-renderer

Changed

  • Clean all the binary assets in dash-renderer repo, add tool to build all the required bundles from fresh source code to avoid confusion of the assets and improve the release process. #874

dash-table

Added

#317

  • New column.selectable nested prop that displays a selection checkbox or radio button in the column.
  • New column_selectable prop to choose whether columns can be selected or not, and whether a single or
    multiple selections can be in effect at the same time.
  • New selected_columns prop that contains the list of visible and hidden columns that are currently selected
  • New derived_viewport_selected_columns that contains the list of visible columns that are currently selected
    This prop is read-only. Use selected_columns in callbacks instead.

Fixed

#533

  • Fixed problem clearing one column shifting everything to the left and
    leaving the last column blank
  • Add merge_duplicate_headers prop to correct export_format: display behavior.
    #549
  • Fixed renaming of single-row headers in the GUI

Dash v1.1.1

06 Aug 23:08
Compare
Choose a tag to compare

dash-core-components

Changed

  • Upgraded plotly.js to 1.49.1 #595

Dash v1.1.0

05 Aug 19:34
Compare
Choose a tag to compare

dash

Added

  • #827 Adds support for dashR testing using pytest framework

dash-core-components

Changed

  • Fixed inconsistent behavior of input with type=number #580

Updated

  • Upgraded plotly.js to 1.49.0 #589
    • Feature release 1.49.0 which contains:
      • New indicator trace type for gauge and KPI displays.
      • Lots of tile map improvements: choroplethmapbox and densitymapbox trace types, numerous style options for mapbox subplots that do not require a Mapbox access token, and more.
      • Various bug fixes and smaller improvements.

dash-table

Added

#314

  • New column.hideable flag that displays an "eye" action icon in the column
    Accepts a boolean, array of booleans, 'last' or 'first'. Clicking on the "eye" will add the column to the hidden_columns prop.
    hidden_columns can be added back through the Columns toggle menu whether they are hideable or not.
  • New accepted values for column.clearable, column.deletable and column.renamable
    These props now also accept 'last' and 'first'.
    • 'last' will display the action only on the last row of the headers
    • 'first' will display the action only on the first row of the headers

#313 Ability to export table as csv or xlsx file.

#497

  • New column.clearable flag that displays a "eraser" action in the column
    Accepts a boolean or array of booleans for multi-line headers.
    Clicking a merged column's "eraser" will clear all related columns.

    • Clearing column(s) will remove the appropriate data props from each datum
      row of data.
    • Additionally clearing the column will reset the filter for the affected column(s)

#318 Headers are included when copying from the table to different
tabs and elsewhere. They are ignored when copying from the table onto itself and
between two tables within the same tab.

Changed

#497 Like for clearing above, deleting through the "trash" action will also
reset the filter for the affected column(s)

Fixed

#524 Fixed readonly dropdown cells content (display label, not value)

#259 Fixed columns sticky on Safari

#491 Fixed inconsistent behaviors when editing cell headers

#521 Fixed white line artifacts when rendering the table with browser zoom different from 100%