dart-sdk/pkg/_macros/CHANGELOG.md
Jake Macdonald fac11694b4 Track async microtasks scheduled by macros, and ensure they have all completed before a macro returns.
Does not track certain events such as async I/O, but will refuse to execute the scheduled callbacks when those do complete.

Bug: https://github.com/dart-lang/sdk/issues/55426
Change-Id: Ie81100e9e4dbe49d050bad875cc9b6a65969863d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370120
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Morgan :) <davidmorgan@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2024-06-11 21:02:29 +00:00

930 B

0.3.1

  • Make it an error for macros to complete with pending async work scheduled.

0.3.0

  • Remove type parameter on internal StaticType implementation.

0.2.0

  • Add identifiers to NamedStaticType.
  • Add StaticType.asInstanceOf.

0.1.7

  • Fix for generating code after extendsType

0.1.6

  • Add extendsType API for adding an extends clause.
  • Refactor builder implementations, fixes some bugs around nested builders.

0.1.5

  • Handle ParallelWaitError with DiagnosticException errors nicely.
  • Fix a bug where we weren't reporting diagnostics for nested builders.

0.1.4

  • Improve formatting of constructor initializer augmentations.

0.1.3

  • Validate parts in Code.fromParts().

0.1.2

  • Add caching for typeDeclarationOf results.

0.1.1

  • Add caching for TypeDeclaration related introspection results.

0.1.0

Initial release, copied from _fe_analyzer_shared/lib/src/macros.