PrefectHQ
prefect
BlogDocsChangelog

Remove deprecated code `Runner` functionality and system Blocks

#19307Merged
Comparing
remove-deprecations-3.5.0
(
ba5bf78
) with
main
(
ee25381
)
CodSpeed Performance Gauge
+1%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
+1%
1.4 s1.3 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
457.1 µs456.3 µs

Ignored

bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-2%
162.1 ms165.2 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-4%
6.1 ms6.4 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
+1%
1 s1 s
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
0%
5.7 ms5.7 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-3%
167.1 ms171.6 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.6 ms107.4 ms

Commits

Click on a commit to change the comparison range
Base
main
ee25381
+0.71%
chore: Remove deprecated code from core Prefect This PR removes all deprecated code from core Prefect that has reached or passed its scheduled removal date: **Removed Blocks:** - JSON, String, DateTime blocks (deprecated June 2024, removal date June 2025) **Removed Functions:** - ResultStore.store_parameters() and read_parameters() (deprecated May 2025, removal date November 2025) - build_server() and start_webserver() from runner.server (deprecated April 2025, removal date October 2025) - submit_to_runner() and wait_for_submitted_runs() from runner.submit (deprecated April 2025, removal date October 2025) - DeploymentClient.set_deployment_paused_state() sync and async (deprecated June 2025, removal date December 2025) **Removed CLI Commands:** - `prefect cloud open` (deprecated October 2024, removal date April 2025) **Updates:** - Updated server block registration to remove deprecated blocks - Removed tests for deprecated functionality - Cleaned up imports and exports Pydantic schema fields and integration-specific deprecations were kept as requested. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
b513888
2 days ago
by desertaxle
-0.23%
fix: Remove webserver functionality and update tests - Remove webserver parameter from Runner.__init__() and Runner.start() - Remove unused _build_generic_endpoint_for_flows and related helper functions - Update test_block_registration.py to remove json and date-time blocks - Clean up unused imports Fixes type check errors and server test failures.
d587a36
2 days ago
by desertaxle
+0.17%
Keep basic Runner webserver for healthcheck, run count, and shutdown
87fa5bc
1 day ago
by desertaxle
-0.26%
Fixes failing tests
a484a3a
1 day ago
by desertaxle
+0.04%
Remove old test file
37bffad
1 day ago
by desertaxle
-0.07%
Fix failing integration test
897fc64
1 day ago
by desertaxle
+0.12%
Fix failing integration tests
38fe5bf
22 hours ago
by desertaxle
+0.08%
Merge branch 'main' into remove-deprecations-3.5.0
ba5bf78
19 hours ago
by desertaxle
© 2025 CodSpeed Technology
Home Terms Privacy Docs