frontend_server_client 4.0.0 copy "frontend_server_client: ^4.0.0" to clipboard
frontend_server_client: ^4.0.0 copied to clipboard

Client code to start and interact with the frontend_server compiler from the Dart SDK.

4.0.0 #

  • 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 when FrontendServerClient.start is called with the frontendServerPath argument omitted and the debug argument set to true.
  • Update package:vm_service constraint to ^14.0.0.

3.2.0 #

  • Add nativeAssets parameter to FrontendServerClient, for passing additional --native-assets to the kernel compiler.

3.1.0 #

  • Add additionalSources parameter to FrontendServerClient, for passing additional --sources to the kernel compiler.

3.0.0 #

  • Update the compile api to return a non-null CompileResult, and instead make the dillOutput field nullable. This allows you to still get compiler output if no dill file was produced.

2.1.3 #

  • Update package:vm_service to version ^8.0.0

2.1.2 #

  • Force kill the frontend server after one second when calling shutdown. It appears to hang on windows sometimes.

2.1.1 #

  • Fix a bug where spaces in the output dill path would cause a parse error when reading the error count output.

2.1.0 #

  • Support enabling experiments when starting the compiler.

2.0.1 #

  • 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.

2.0.0 #

  • Support null safety.

1.0.0 #

  • Initial version
7
likes
150
points
4.06M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

Client code to start and interact with the frontend_server compiler from the Dart SDK.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async, path

More

Packages that depend on frontend_server_client