Skip to content

Update dash requirement from ~=4.1.0 to ~=4.2.0#434

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/dash-approx-eq-4.2.0
Jun 3, 2026
Merged

Update dash requirement from ~=4.1.0 to ~=4.2.0#434
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/dash-approx-eq-4.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Updates the requirements on dash to permit the latest version.

Release notes

Sourced from dash's releases.

Dash Version 4.2.0

[4.2.0] - 2026-06-01 - The Freedom Update

This release marks a major milestone for Dash, bringing unprecedented flexibility to how you build and deploy your applications.

🚀 Multiple Backend Support

Dash is no longer tied to Flask. You can now run your Dash apps on FastAPI or Quart, or even bring your own backend implementation:

# FastAPI backend
app = Dash(__name__, backend="fastapi")
Quart backend (async-native)
app = Dash(name, backend="quart")
Or use an existing server
from fastapi import FastAPI
server = FastAPI()
app = Dash(name, server=server)

Install with pip install dash[fastapi] or pip install dash[quart].

⚡ Websocket Callbacks

Real-time, bidirectional communication is here. Websocket callbacks enable persistent connections for live updates without polling:

@callback(
    Output("live-output", "children"),
    Input("trigger", "n_clicks"),
    websocket=True,
    persistent=True
)
def live_updates(n_clicks):
    ws = ctx.websocket
    while True:
        data = fetch_live_data()
        ws.send(Output("live-output", "children", data))
        time.sleep(1)

🔓 Relaxed Pattern Matching Rules

MATCH wildcards are now allowed in Input and State even when your Output has no wildcards, making dynamic UIs simpler to build:

@callback(
    Output("summary", "children"),  # Fixed ID output
    Input({"type": "item", "index": MATCH}, "value")  # MATCH input - now allowed!
)
def update_summary(value):
</tr></table> 

... (truncated)

Changelog

Sourced from dash's changelog.

[4.2.0] - 2026-06-01 - The Freedom Update

This release marks a major milestone for Dash, bringing unprecedented flexibility to how you build and deploy your applications.

🚀 Multiple Backend Support

Dash is no longer tied to Flask. You can now run your Dash apps on FastAPI or Quart, or even bring your own backend implementation:

# FastAPI backend
app = Dash(__name__, backend="fastapi")
Quart backend (async-native)
app = Dash(name, backend="quart")
Or use an existing server
from fastapi import FastAPI
server = FastAPI()
app = Dash(name, server=server)

Install with pip install dash[fastapi] or pip install dash[quart].

⚡ Websocket Callbacks

Real-time, bidirectional communication is here. Websocket callbacks enable persistent connections for live updates without polling:

@callback(
    Output("live-output", "children"),
    Input("trigger", "n_clicks"),
    websocket=True,
    persistent=True
)
def live_updates(n_clicks):
    ws = ctx.websocket
    while True:
        data = fetch_live_data()
        ws.send(Output("live-output", "children", data))
        time.sleep(1)

🔓 Relaxed Pattern Matching Rules

MATCH wildcards are now allowed in Input and State even when your Output has no wildcards, making dynamic UIs simpler to build:

@callback(
    Output("summary", "children"),  # Fixed ID output
    Input({"type": "item", "index": MATCH}, "value")  # MATCH input - now allowed!
)
def update_summary(value):
    return f"Selected: {value}"
</tr></table> 

... (truncated)

Commits
  • 887fd67 build artifacts for 4.2.0
  • 805b3ce Merge pull request #3804 from plotly/master-4.2.0
  • 3b483d1 build artifacts for 4.2.0
  • ed2363d Merge branch 'dev' into master-4.2.0
  • d0f78b6 Merge pull request #3803 from plotly/version-4.2.0
  • 6c3fdab Version 4.2.0
  • c41939b Merge pull request #3797 from plotly/fix/ws-connection-management
  • 8c2329f add configuration for heartbeat and proper te\sts for reconnect
  • e15ef05 Merge branch 'dev' into fix/ws-connection-management
  • 715dae8 Merge pull request #3798 from plotly/fix/init-flask-run-command
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 3, 2026
@github-actions github-actions Bot enabled auto-merge June 3, 2026 10:53
@dependabot dependabot Bot force-pushed the dependabot/pip/dash-approx-eq-4.2.0 branch from b5611e2 to eca80a2 Compare June 3, 2026 10:56
Updates the requirements on [dash](https://github.com/plotly/dash) to permit the latest version.
- [Release notes](https://github.com/plotly/dash/releases)
- [Changelog](https://github.com/plotly/dash/blob/dev/CHANGELOG.md)
- [Commits](plotly/dash@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: dash
  dependency-version: 4.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/dash-approx-eq-4.2.0 branch from eca80a2 to 83549bb Compare June 3, 2026 11:01
@github-actions github-actions Bot merged commit 4c6264d into main Jun 3, 2026
11 checks passed
@github-actions github-actions Bot deleted the dependabot/pip/dash-approx-eq-4.2.0 branch June 3, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants