- Update Dart SDK constraint to
^3.0.0
. - Support changes in the SDK layout for Dart 3.0.
- By default, start the frontend server from the AOT snapshot shipped in the Dart SDK.
- Throw an
ArgumentError
whenFrontendServerClient.start
is called with thefrontendServerPath
argument omitted and thedebug
argument set to true. - Update
package:vm_service
constraint to^14.0.0
.
- Add
nativeAssets
parameter toFrontendServerClient
, for passing additional--native-assets
to the kernel compiler.
- Add
additionalSources
parameter toFrontendServerClient
, for passing additional--source
s to the kernel compiler.
- Update the
compile
api to return a non-nullCompileResult
, and instead make thedillOutput
field nullable. This allows you to still get compiler output if no dill file was produced.
- Update
package:vm_service
to version^8.0.0
- Force kill the frontend server after one second when calling shutdown. It appears to hang on windows sometimes.
- Fix a bug where spaces in the output dill path would cause a parse error when reading the error count output.
- Support enabling experiments when starting the compiler.
- Widen the upper bound sdk constraint to
<3.0.0
. The frontend server api is now considered quite stable and this package is now depended on by package:test, so a tight constraint would cause unnecessary headaches.
- Support null safety.
- Initial version