- Add
BuildResults.changedAssets
containing asset URIs changed during a build. - Updated the example to use
dart pub
instead ofpub
. - Run
serveRequests
in an error zone and forward errors to the clients.
- Drop package:pedantic dependency and replace it with package:lints.
- Migrate to null safety.
- Allow the latest
http_multi_server
.
- Support version
1.x
ofshelf_web_socket
and2.x
ofweb_socket_channel
- Begin conversion to use analyzer 1.0.0.
- Allow the null safe pre-release version of
shelf
andwatcher
.
- Allow the null safe pre-release version of
stream_transform
.
- Allow the null safe pre-release version of
logging
,built_value
, andbuilt_collection
.- Keeps the old
built_value_generator
and generated code which is compatible across both versions of the core libs.
- Keeps the old
- Remove dependency on
package:package_resolver
.
- Allow the latest
stream_transform
.
- Depend on the latest
built_value
.
- Require SDK version
2.6.0
to enable extension methods.
- Added optional
DefaultBuildTarget.buildFilters
field.
- Create a public entrypoint for backend implementations of the daemon protocol.
- Refer to
lib/daemon.dart
.
- Refer to
- Update client
connect
method to now take an optionalbuildMode
. The default mode is auto in which builds will automatically occur on changes. The alternative mode is manual in which builds will only occur when triggered with the clientstartBuild
method. - Add enum of build modes to
constants.dart
.
- Add
failureType
toShutdownNotification
.
- Changed the
ServerLog
class to have separatelevel
,message
,loggerName
,error
, andstackTrace
fields. - Accept file change notifications as
Stream<List<WatchEvent>>
instead ofStream<WatchEvent>
. This allows file change notifications to be sent as batches of simultaneous changes, preventing over-triggering of builds.
- Use
HttpMultiServer
to better support IPv6 and IPv4 workflows.
- Add retry logic to the state file helpers
runningVersion
andcurrentOptions
. DaemonBuilder
is now an abstract class.- Significantly increase doc comment coverage.
- Support shutting down the daemon with a notification.
- Add OutputLocation to DefaultBuildTarget.
- Enable configuring the environment for the daemon.
- Support closing a daemon client.
- Fix a null set bug in the build target manager.
- Replace the client log stream with an optional logHandler. This simplifies the logging logic and prevents the need for the client to print to stdio.
- Forward daemon output while starting up / connecting.
- Shutdown the daemon if no client connects within 30 seconds.
- Resolve client path issues with running on Windows.
- Resolve issues with running on Windows.
- Close the lock file prior to deleting it.
- Properly join paths and escape the workspace.
- Support custom build results.
- Options are no longer dynamic and are provided upon connecting.
- Report OptionsSkew.
- Prefix build daemon directory with username.
- Forward filesystem changes to daemon builder.
- Support custom build targets.
- Initial Build Daemon support.