81a139584e
This CL migrates the `frontend_server_client` package into the Dart SDK repository. Key Changes: - Migration: Moved source code and tests into `pkg/frontend_server_client`. - Monorepo Compliance: Updated the pubspec to align with the SDK pub workspace setup. - Linting: Adopts `package:dart_flutter_team_lints` for analysis options and fixes associated linting errors. - Path Resolution: Resolved package configuration and script path issues encountered in local and CI environments; see the [Workspace Tests Fixes](https://docs.google.com/document/d/1UdiRqP19qYgj-ItxDfqXSdUU6CGimiyK3BmdvjtTEyw/edit?pli=1&tab=t.0#heading=h.xfm1ezicaoik) in the design doc for implementation details. Testing: - All tests passing locally. - CI try bots are green. Design Doc: http://goto.google.com/migrating-webdev Cq-Include-Trybots: luci.dart.try:pkg-win-release-try,pkg-win-release-arm64-try,pkg-mac-release-try,pkg-mac-release-arm64-try,pkg-linux-release-try,pkg-linux-release-arm64-try,pkg-linux-debug-try Change-Id: Id44a701107d626df5fcd21d724980243981c7958 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/461200 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Jessy Yameogo <yjessy@google.com>
1.5 KiB
1.5 KiB
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
ArgumentErrorwhenFrontendServerClient.startis called with thefrontendServerPathargument omitted and thedebugargument set to true. - Update
package:vm_serviceconstraint to^14.0.0.
3.2.0
- Add
nativeAssetsparameter toFrontendServerClient, for passing additional--native-assetsto the kernel compiler.
3.1.0
- Add
additionalSourcesparameter toFrontendServerClient, for passing additional--sources to the kernel compiler.
3.0.0
- Update the
compileapi to return a non-nullCompileResult, and instead make thedillOutputfield nullable. This allows you to still get compiler output if no dill file was produced.
2.1.3
- Update
package:vm_serviceto 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