NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4323 most downloaded on pub.dev
Parser and utilities for AngularDart templates
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 26 of 26 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
30 releases · first in 2016
- Update README.md.
README.md.- Support null safety - Require Dart ^2.14.0
Update package:analyzer dependency to ^0.40.0.
package:analyzer dependency to ^0.40.0.One column per quarter.
Added support for a reference on .
<ng-content>.toolFriendlyAst{Origin} is always true and is no longer configurable.ThrowingAstVisitor.Maintenance release to support Dart 2.5 dev.
New ThrowingTemplateAstVisitor which throws by default in each visit method.
ThrowingTemplateAstVisitor which throws by default in each visit method.Errors caused by parsing an invalid micro expression (i.e. *ngFor) are now reported to the registered ExceptionHandler rather than thrown.
*ngFor) are now
reported to the registered ExceptionHandler rather than thrown.Fixed a type error that occurred when recovering from a missing closing banana ')]'.
Annotations may now have compound names (for example @foo.bar).
Annotations may now have compound names (for example @foo.bar).
It is now an error to use @deferred on a <template> tag or combined with a
structural (i.e. *ngIf) directive.
Ignores right-trailing spaces when parsing micro expression let-assignments.
When parsing a failed micro expression (i.e. *ngFor), avoids a type error.
vellip is now a recognized char.
Whitespace inside preformatted text (<pre> tags) is now always preserved.
Maintenance release to support Dart 2.0 stable.
Maintenance release for -dev.68.
-dev.68.Add CloseElementAst complement into ContainerAst.
CloseElementAst complement into ContainerAst.<template>.@preserveWhitespace.Annotations may now be assigned values.
Exported ParsedAnnotationAst.
Added ContainerAst.
Annotations may now be assigned values.
Added support for annotations on ContainerAst.
The * micro-syntax now supports leading whitespace.
Whitespace between <ng-content> and </ng-content> will no longer yield a
parsing error.
Fixed source span range of AttributeAst which would extend past EOF when recovering from a value with an unclosed quote.
AttributeAst which would extend past EOF when
recovering from a value with an unclosed quote.Maintenance release for -dev.56.
-dev.56.Maintenance release for -dev.60.
-dev.60.The * micro-syntax now supports newlines after an identifier.
* micro-syntax now supports newlines after an identifier.The minimum SDK version is now sdk: ">=2.0.0-dev.46.0 <2.0.0".
The minimum SDK version is now sdk: ">=2.0.0-dev.46.0 <2.0.0".
The * micro-syntax now supports binding to the primary input when followed
by additional input or let bindings. Previously the micro-syntax supported
binding to the primary input only in isolation.
Example usage enabled by this change.
Before:
<template [foo]="expr1" [fooContext]="expr2">
<div></div>
</template>
After:
<div *foo="expr1; context: expr2"></div>
BREAKING CHANGE: We no longer support parsing Dart expressions as part of parsing the template AST. We hope to re-add some support for this by migrati…
BREAKING CHANGE: We no longer support parsing Dart expressions as part of
parsing the template AST. We hope to re-add some support for this by migrating
the existing parser in package:angular, but we are likely not to have a
stable API for some time.
BREAKING CHANGE: Deleted ExpressionParserVisitor (related to above).
Added MinimizeWhitespaceVisitor.
MinimizeWhitespaceVisitor.Maintenance release, supporting newer package versions.
Maintenance release, supporting newer package versions.
Supports the latest version of quiver.
quiver.Un-escape HTML characters, such as <, ∑, or ∑, when they appear in text. Note, we do _not_ do any un-escaping when these characters appear inside elem
<, ∑, or ∑, when they
appear in text. Note, we do not do any un-escaping when these characters
appear inside elements.First stable release in a while! Going forward we'll be versioning this package normally as needed to support the AngularDart template compiler and an
First stable release in a while! Going forward we'll be versioning this package normally as needed to support the AngularDart template compiler and analyzer plugin.
RecursiveTemplateAstVisitor, which will visit all AST nodes accessible
from the given node.ngProjectAs decorator on <ng-content>.DesugarVisitor now desugars AST nodes which were the (indirect) children of
EmbeddedTemplateAst nodes.Nothing published for this version
New code location! angular_ast is now part of the angular mono-repo on https://github.com/angulardart/angular.
[(name)] from nameChanged to
nameChange.Requires analyzer: ^0.31.0-alpha.1.
analyzer: ^0.31.0-alpha.1.AnnotationAsts, like @deferred.sourceSpan calculation to not include the space before the start of
an element decorator.DesugarVisitor.Add an experimental flag to NgParser (toolFriendlyAstOrigin) which wraps de-sugared AST origins in another synthetic AST that represents the intermedi
NgParser (toolFriendlyAstOrigin) which wraps
de-sugared AST origins in another synthetic AST that represents the
intermediate value (i.e. BananaAst or StarAst)new ExpressionAst.parse('some + dart + expression')
| operator is not respected, as it is used for pipes in
AngularDart. Instead, this operator is converted into a special
PipeExpression.TemplateAstVisitor and two examples:
HumanizingTemplateAstVisitorIdentityTemplateAstVisitor*ngFor-style micro expressions; see micro/*_test.dart.
attributes as a valid property of EmbeddedTemplateAstNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →