Repository navigation
fix: Support for webdev 4.0 - #73
Merged
Merged
Conversation
- Allow webdev versions up to <5.0.0. - Update build complete detection to match AOT builder output (Built with build_runner/aot). - Add build_daemon >=4.1.3 <5.0.0 dev_dependency for webdev 4 client compatibility. - Handle SIGTERM in serve command. - Update tests and documentation. Co-authored-by: Cursor <cursoragent@cursor.com>
alanknight-wk
approved these changes
Sep 21, 2026
Member
Author
|
QA +1 CI passes and manually testing with some projects works on latest dart and webdev @Workiva/release-management-p |
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.
Problem / Feature
On Dart 3.13+ with the latest
webdev(4.x), runningwebdev_proxy servefails with:Solution
webdevCompatibilityversion constraint inlib/src/webdev_proc_utils.dartto>=1.0.1 <5.0.0.build_daemon: ^4.1.3dev_dependency inpubspec.yamlto satisfy the client requirements ofwebdev 4.x.lib/src/serve_command.dartto match(Built|Failed to build) with build_runnerso it detectsBuilt with build_runner/aotoutput emitted by newer webdev.SIGTERMsignal handling inlib/src/serve_command.dartto ensure clean shutdown when stopped.Areas of Impact
lib/src/webdev_proc_utils.dartlib/src/serve_command.dartpubspec.yamltest/README.mdCHANGELOG.mdTest Overview
dart test ...) – all passed.dart analyze– clean.dart format– clean.dart run bin/webdev_proxy.dart serve -- test:8080successfully completes initial build withwebdev 4.0.3.