Skip to content

chore: bump dash from 3.3.0 to 4.2.0#698

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/dash-4.2.0
Closed

chore: bump dash from 3.3.0 to 4.2.0#698
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/dash-4.2.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps dash from 3.3.0 to 4.2.0.

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 Updating or fixing dependencies python Pull requests that update python code labels Jun 7, 2026
Bumps [dash](https://github.com/plotly/dash) from 3.3.0 to 4.2.0.
- [Release notes](https://github.com/plotly/dash/releases)
- [Changelog](https://github.com/plotly/dash/blob/dev/CHANGELOG.md)
- [Commits](plotly/dash@v3.3.0...v4.2.0)

---
updated-dependencies:
- dependency-name: dash
  dependency-version: 4.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/dash-4.2.0 branch from be15e27 to ef65bc5 Compare June 16, 2026 14:07
@dependabot @github

dependabot Bot commented on behalf of github Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #710.

@dependabot dependabot Bot closed this Jun 21, 2026
@dependabot dependabot Bot deleted the dependabot/pip/dash-4.2.0 branch June 21, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updating or fixing dependencies python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants