What this package is like to depend on
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
0 releases in the last 12 months
see the full history below
Release timeline
30 releases · Dec 2016 to Oct 2021Releases
latest 30-
2.0.107 Oct 2021 -
2.0.016 Sep 2021 -
1.0.121 Oct 2020 -
1.0.007 Oct 2020Release notes
Open source →- Stable release.
- Added support for a reference on
<ng-content>. toolFriendlyAst{Origin}is alwaystrueand is no longer configurable.- Removed
ThrowingAstVisitor.
-
0.5.1125 Jul 2019 -
0.5.1006 May 2019Release notes
Open source →- New
ThrowingTemplateAstVisitorwhich throws by default in each visit method.
- New
-
0.5.905 Apr 2019Release notes
Open source →- Errors caused by parsing an invalid micro expression (i.e.
*ngFor) are now reported to the registeredExceptionHandlerrather than thrown.
- Errors caused by parsing an invalid micro expression (i.e.
-
0.5.810 Dec 2018Release notes
Open source →- Fixed a type error that occurred when recovering from a missing closing banana ')]'.
-
0.5.710 Oct 2018Release notes
Open source →-
Annotations may now have compound names (for example
@foo.bar). -
It is now an error to use
@deferredon 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. -
vellipis now a recognized char. -
Whitespace inside preformatted text (
<pre>tags) is now always preserved.
-
-
0.5.607 Aug 2018 -
0.5.501 Aug 2018 -
0.5.416 Jul 2018Release notes
Open source →- Add
CloseElementAstcomplement intoContainerAst. - Added support for annotations on
<template>. - The whitespace transformer now understands
@preserveWhitespace.
- Add
-
0.5.317 May 2018Release notes
Open source →-
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.
-
-
0.5.3+124 May 2018Release notes
Open source →- Fixed source span range of
AttributeAstwhich would extend past EOF when recovering from a value with an unclosed quote.
- Fixed source span range of
-
0.5.3+205 Jun 2018 -
0.5.3+315 Jun 2018 -
0.5.223 Apr 2018 -
0.5.110 Apr 2018Release notes
Open source →-
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 orletbindings. 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>
-
-
0.5.029 Mar 2018Release notes
Open source →-
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).
-
-
0.4.416 Mar 2018 -
0.4.306 Feb 2018 -
0.4.3+107 Mar 2018 -
0.4.218 Jan 2018 -
0.4.108 Jan 2018Release notes
Open source →Bug fixes
- 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 elements.
- Un-escape HTML characters, such as
-
0.4.019 Dec 2017Release notes
Open source →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.
New features
- Add
RecursiveTemplateAstVisitor, which will visit all AST nodes accessible from the given node. - Support
ngProjectAsdecorator on<ng-content>.
Bug fixes
DesugarVisitornow desugars AST nodes which were the (indirect) children ofEmbeddedTemplateAstnodes.
- Add
-
0.4.0-alpha.025 Aug 2017 pre-releaseNothing published for this version
-
0.4.0-alpha+110 Oct 2017 pre-releaseRelease notes
Open source →- New code location! angular_ast is now part of the angular mono-repo on https://github.com/angulardart/angular.
Bug fix
- Fixed event name for banana syntax
[(name)]fromnameChangedtonameChange.
-
0.4.0-alpha+221 Nov 2017 pre-releaseRelease notes
Open source →- Requires
analyzer: ^0.31.0-alpha.1.
New Features
- Now supports
AnnotationAsts, like@deferred. - Parse SVG tags as either void or non-void with no error.
Bug fixes
- Fixed
sourceSpancalculation to not include the space before the start of an element decorator. - Sets the origin in all synthetic nodes. Previously, we were missing a few cases.
- Fixed a NPE in
DesugarVisitor.
- Requires
-
0.2.010 Jan 2017Release notes
Open source →- Add an experimental flag to
NgParser(toolFriendlyAstOrigin) which wraps de-sugared AST origins in another synthetic AST that represents the intermediate value (i.e.BananaAstorStarAst) - Add support for parsing expressions, including de-sugaring pipes. When parsing templates, expression AST objects automatically use the Dart expression parser.
new ExpressionAst.parse('some + dart + expression')- One exception: The
|operator is not respected, as it is used for pipes in AngularDart. Instead, this operator is converted into a specialPipeExpression. - Added
TemplateAstVisitorand two examples:HumanizingTemplateAstVisitorIdentityTemplateAstVisitor
- De-sugars the
*ngFor-style micro expressions; seemicro/*_test.dart.- Added
attributesas a valid property ofEmbeddedTemplateAst
- Added
- Add an experimental flag to
-
0.1.0-dev14 Dec 2016 pre-releaseNothing published for this version