fix(deps): update dependency dash to v3.4.0#613
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.3.0→==3.4.0Release Notes
plotly/dash (dash)
v3.4.0Compare Source
Fixed
#3351 Fix multi-page app with
suppress_callback_exceptions=True[3.1.0] - 2025-06-27
Fixed
&characters were being truncated. #3106ExternalWrapperwould remove props from the parent component, now there is atempthat is passed to check if it should be removed on unmount.Added
allow_optionalto Input and State to allow callbacks to work even if these components are not in the dash layout.assets_path_ignoretodash.Dash(). Closes #3076pip install dash[async].Changed
Updated
[3.0.4] - 2025-04-24
Fixed
[3.0.3] - 2025-04-14
Fixed
setPropspath, leading to hashes being incorrectdash-hooksto underscoreddash_hooks. Fix #3272Added
dashChildrenUpdate = trueon the component, eg:Tabs.dashChildrenUpdate = true[3.0.2] - 2025-04-01
Changed
Fixed
className_*props indcc.Uploadcomponent.Added
dashRenderTypeto determine why the component layout was changed (internal,callback,parent,clientsideApi):dashRenderTypedefined as a prop, and thedashRenderType = truemust be set on the component, eg (Div.dashRenderType = true)[3.0.1] - 2025-03-24
Fixed
[3.0.0] - 2025-03-17
Added
-t,--custom-typing-moduleargument todash-generate-componentsCLI, default todash_prop_typingand can contains definitions in variables:custom_imports: dict[ComponentName, list[str]]import statement to be copied at the top of the component class definition.custom_props: dict[ComponentName, dict[PropName, function]]for custom props. The function signature is:def generate_type(type_info, component_name, prop_name) -> strPropTypegeneration for Typescript components allowing runtime prop validation when in debug mode.entry_pointswith keydash-hooksto theirsetup.pyfor a module to be run when a Dash app is started.dash.hooksmethods to hook into Dash apps.hooks.layouttakes the layout as argument and must return a layout, can be used to wrap or add to the layout of Dash apps.hooks.callbackdefines a callback to be added to Dash apps.hooks.clientside_callbackdefines a clientside callback to be added to Dash apps.hooks.setupis called before a Dash app is started to get an instance of the app as first argument.hooks.errorto receive all callback errors.hooks.indexto change theDash.index_string.hooks.routeto add a Flask route to the Dash app.hooks.custom_datato add custom data called from the callback route to the user callback.window.dash_component_apifor components developer as alternative to removed_dashprivateprops.dash_component_api.useDashContext,dash_component_api.DashContextto access the redux store and loading mechanisms.DashContext.componentPathhold the path to the current component.DashContext.useLoading(options?)selector to get a boolean if the component is loading.DashContext.isLoadingin case you need to use outside of a functional component.DashContext.useSelectorto create custom selectors for the connected redux store.DashContext.useStoreget the Dash app redux store.DashContext.useDispatchto dispatch new actions on the Dash redux store.dash_component_api.getLayout(path)to replace_dashprivate_layout.stringifyIdinwindow.dash_component_api. #3175window.dash_component_api.ExternalWrapperto render Dash components that are not part of the layout tree. #3170 #3183Removed
loading_stateremoved from components props.dash.development.component_loader, components libraries now required to generate the components withdash-generate-components.Dash.run_serverhas been removed in favor ofDash.run.dcc.LogoutButtoncomponent.longreferences tobackground.dash_core_components,dash_html_componentsanddash_tablestub packages fromdashinstall requirements.Changed
defaultPropson functional components now emits a deprecation warning.Added
Fixed
[3.0.0-rc4] - 2025-03-04
Fixed
Changed
[3.0.0-rc3] - 2025-02-21
Added
custom_datahook.stringifyIdinwindow.dash_component_api.Fixed
ExternalWrapperrendering children and support pattern matching ids.[3.0.0-rc2] - 2025-02-18
Added
-t,--custom-typing-moduleargument todash-generate-componentsCLI, default todash_prop_typingand can contains definitions in variables:custom_imports: dict[ComponentName, list[str]]import statement to be copied at the top of the component class definition.custom_props: dict[ComponentName, dict[PropName, function]]for custom props. The function signature is:def generate_type(type_info, component_name, prop_name) -> strwindow.dash_component_api.ExternalWrapperto render Dash components that are not part of the layout tree.Fixed
[3.0.0-rc1] - 2025-01-28
Added
__init__.PropTypegeneration for Typescript components allowing runtime prop validation when in debug mode.window.dash_component_apifor components developer as alternative to removed_dashprivateprops.dash_component_api.useDashContext,dash_component_api.DashContextto access the redux store and loading mechanisms.DashContext.componentPathhold the path to the current component.DashContext.useLoading(options?)selector to get a boolean if the component is loading.DashContext.isLoadingin case you need to use outside of a functional component.DashContext.useSelectorto create custom selectors for the connected redux store.DashContext.useStoreget the Dash app redux store.DashContext.useDispatchto dispatch new actions on the Dash redux store.dash_component_api.getLayout(path)to replace_dashprivate_layout.entry_pointswith keydash-hooksto theirsetup.pyfor a module to be run when a Dash app is started.dash.hooksmethods to hook into Dash apps.hooks.layouttakes the layout as argument and must return a layout, can be used to wrap or add to the layout of Dash apps.hooks.callbackdefines a callback to be added to Dash apps.hooks.clientside_callbackdefines a clientside callback to be added to Dash apps.hooks.setupis called before a Dash app is started to get an instance of the app as first argument.hooks.errorto receive all callback errors.hooks.indexto change theDash.index_string.hooks.routeto add a Flask route to the Dash app.Removed
loading_stateremoved from components props.dash.development.component_loader, components libraries now required to generate the components withdash-generate-components.Dash.run_serverhas been removed in favor ofDash.run.dcc.LogoutButtoncomponent.longreferences tobackground.Changed
defaultPropson functional components now emits a deprecation warning.Fixed
[2.18.2] - 2024-11-04
Fixed
merge_duplicate_header=True. Fixes #2870Noneto array properties withexactorshapeelement types. Fixes #3010metadata.jsonfiles to reduce package size.[2.18.1] - 2024-09-12
Fixed
Deprecated
run_server, useruninstead.dcc.LogoutButton, can be replaced with ahtml.Buttonorhtml.A. eg:html.A(href=os.getenv('DASH_LOGOUT_URL'))on a Dash Enterprise instance.Dash.__init__keywords:pluginskeyword will be removed.long_callback_managerkeyword will be removed, can usebackground_callback_managerinstead.[2.18.0] - 2024-09-04
Added
no_update. Access to original callback context is preserved andset_propsworks inside the error handler._allow_dynamic_callbacksFixed
[2.17.1] - 2024-06-12
Fixed
[2.17.0] - 2024-05-03
Added
#2832 Add dash startup route setup on Dash init.
#2819 Add dash subcomponents receive additional parameters passed by the parent component. Fixes #2814.
#2826 When using Pages, allows for
app.titleand (new)app.descriptionto be used as defaults for the page title and description. Fixes #2811.#2795 Allow list of components to be passed as layout.
#2760 New additions to dcc.Loading resolving multiple issues:
delay_showanddelay_hideprops to prevent flickering during brief loading periods (similar to Dash Bootstrap Components dbc.Spinner)overlay_stylefor styling the loading overlay, such as setting visibility and opacity for childrentarget_componentsspecifies components/props triggering the loading spinnercustom_spinnerenables using a custom component for loading messages instead of built-in spinnersdisplayoverrides the loading status with options for "show," "hide," or "auto"#2822 Support no output callbacks. Fixes #1549
#2822 Add global set_props. Fixes #2803
Fixed
[2.16.1] - 2024-03-06
Fixed
[2.16.0] - 2024-03-01
Fixed
npm run first-buildChanged
Added
dynamic_loading=Trueto dash init.preloaded_libraries=[]to dash init, included libraries names will be loaded on the index like before.setPropstodash_clientside.clientSide_setPropsto allow for JS code to interact directly with the dash eco-system.mjsending as js modules[2.15.0] - 2024-01-31
Added
triggered_idtodash_clientside.callback_context. Fixes #2692tooltip.templatea string for the format template, {value} will be formatted with the actual value.tooltip.stylea style object to give to the div of the tooltip.tooltip.transforma reference to a function in thewindow.dccFunctionsnamespace._dash_errortosetProps, allowing component developers to send error without throwing in render. Usageprops.setProps({_dash_error: new Error("custom error")})Fixed
Changed
[2.14.2] - 2023-11-27
Fixed
_allow_dynamic_callbacksfor newly-added components.[2.14.1] - 2023-10-26
Fixed
get_caller_namein case the source is not available.Changed
[2.14.0] - 2023-10-11
Fixed
Changed
__name__to Dash constructor.Added
routing_callback_inputsallowing to pass more Input and/or State arguments to the pages routing callback_allow_dynamic_callbacks, register new callbacks inside other callbacks.WARNING: dynamic callback creation can be dangerous, use at you own risk. It is not intended for use in a production app, multi-user or multiprocess use as it only works for a single user.
[2.13.0] 2023-08-28
Changed
Added
[2.12.1] - 2023-08-16
Fixed
[2.12.0] - 2023-08-14
Fixed
moduleResolution, fixes #2618Changed
Updated
[2.11.1] - 2023-06-29
Fixed
Changed
julia --projectcommand insideJuliaRunner.JupyterDash[2.11.0] - 2023-06-23
Added
jupyter_modeargument toapp.run, defaults toinlineand configurable viajupyter_dash.default_mode.JupyterDashtoapp.run:jupyter_width,jupyter_height,jupyter_server_url.Fixed
Updated
[2.10.2] - 2023-05-31
Changed
<2.3.[2.10.1] - 2023-05-30
Fixed
[2.10.0] - 2023-05-25
Changed
<2.2.3because we expect the Dash ecosystem to be incompatible with the next minor release of Flask (this excludes the current latest Flask release 2.3.x). We will raise the upper bound to<2.4after we fix incompatibilities elsewhere in the Dash ecosystem.Added
include_pages_meta=TruetoDashconstructor, and fix a security issue in pages meta tags #2536.Fixed
Updated
#2533 and #2538 Update Plotly.js to v2.23.2 from v2.20.0.
legendreferences to traces.label.texttemplateto parametric shapes.#2538 Update JS dependencies in dcc, html, dash-table, dash-renderer, and dash
[2.9.3] - 2023-04-13
Fixed
Locationobjects are removed from the layout. Event handlers would not be removed and eventually change props of a random DOM element, fix #1346Patchobjects by makingPatchobjects picklable[2.9.2] - 2023-03-29
Fixed
KeyError"Callback function not found for output [...], , perhaps you forgot to prepend the '@'?" issue when using duplicate callbacks targeting the same output. This issue would occur when the app is restarted or when running with multiplegunicornworkers.allow_duplicateoutput with clientside callback, fix #2467[2.9.1] - 2023-03-17
Fixed
[2.9.0] - 2023-03-16
Breaking
display: blockifinlineis false in RadioItems & Checklist components. To keep previous behavior, setinline=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
pathlib.pathforpages_folder, to matchassets_folderuse_pages=Truewhen you supply a custompages_folderpages_folderthat includes special charactersclear_pages_staterefresh="callback-nav"indcc.Location. This allows for navigation without refreshing the page when url is updated in a callback.add_log_handler=Trueto Dash init, if you don't want a log stream handler at all.REACT_VERSION=18.2.0before running your app, or inside the app calldash._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.dash.Patchfor partial update Output props without transferring the previous value in a State.allow_duplicatetoOutputarguments allowing duplicate callbacks to target the same prop.dcc.GeolocationcomponentFixed
dash[testing]not installed, fix #946.backround=Truecallbacks.Changed
dash.dash, as library logger it should be on that namespace instead of the user app.Updated
automarginto the main plot title.layout.shapes, and adds alabelaliasproperty to replace specific axis tick labels.2.18.2,
2.19.1 fix various bugs.
[2.8.1] - 2023-01-30
Fixed
disable_n_clicks=Trueto thehtml.Divcomponents inpage_container.[2.8.0] - 2023-01-24
Added
disable_n_clicksprop to all html components to make it possible to remove onclick event listenersFixed
Updated
favicon.icoto the current Plotly logosynctickmode, so several axes can share ticks and gridlinesscattertraces, and rounded corners ontreemaptraces[2.7.1] - 2022-12-12
Fixed
Updated
[2.7.0] - 2022-11-03
Removed
Added
placeholder_textproperty tofilterOptionsfor DataTable which allows overriding the default filter field placeholder.Updated
sankeylinks, andeditSelectionoption to config.scatterand scatter-like traces and increased control of automargin and legend sizingscattermapboxtraces and restricted bounds tomapboxplots.Fixed
pages_folderis nested, or the 404 page is nested insidepages_folder.before_first_requestas reported in #2177.Changed
flask-compressdependency to new extras requiresdash[compress][2.6.2] - 2022-09-23
Fixed
plotly.jsfromdcc.Graphare properly sequenced even if React initiates multiple render cycles in quick succession.dash.page_registry.suppress_callback_exceptions=Truethevalidation_layoutis not set.dash[testing]is not installed.[2.6.1] - 2022-08-01
Fixed
Updated
plotly_selectedevent on plot API calls and GUI edits.sankeyselect error (regression introduced in 2.13.0).sankeytraces to fix select error.dragmodes when an existing selection is modified.[2.6.0] - 2022-07-14
Added
maxHeightto Dropdown options menu.background=Falsetodash.callbackto use instead ofapp.long_callback.app.long_callbackarguments todash.callback(interval,running,cancel,progress,progress_default,cache_args_to_ignore,manager)searchprop todcc.Dropdownoptions, allowing to search the dropdown options with something other than the label or value.Fixed
cell_selectable=False..were not excluded when buildingdash.page_registry.not_found_404page is incorrect in thedash.page_registrywhen not using thepagesfolder.React.FCempty valueDeclaration error & support empty props components.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.