PackageTrack
Sign in Get early access

angular_ast

Parser and utilities for AngularDart templates

2.0.1 angulardart/angular

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 2021
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 30
  1. 2.0.1 07 Oct 2021
    Release notes
    • Update README.md.
    Open source →
  2. 2.0.0 16 Sep 2021
    Release notes
    • Support null safety
    • Require Dart ^2.14.0
    Open source →
  3. 1.0.1 21 Oct 2020
    Release notes
    • Update package:analyzer dependency to ^0.40.0.
    Open source →
  4. 1.0.0 07 Oct 2020
    Release notes
    • Stable release.
    • Added support for a reference on <ng-content>.
    • toolFriendlyAst{Origin} is always true and is no longer configurable.
    • Removed ThrowingAstVisitor.
    Open source →
  5. 0.5.11 25 Jul 2019
    Release notes
    • Maintenance release to support Dart 2.5 dev.
    Open source →
  6. 0.5.10 06 May 2019
    Release notes
    • New ThrowingTemplateAstVisitor which throws by default in each visit method.
    Open source →
  7. 0.5.9 05 Apr 2019
    Release notes
    • Errors caused by parsing an invalid micro expression (i.e. *ngFor) are now reported to the registered ExceptionHandler rather than thrown.
    Open source →
  8. 0.5.8 10 Dec 2018
    Release notes
    • Fixed a type error that occurred when recovering from a missing closing banana ')]'.
    Open source →
  9. 0.5.7 10 Oct 2018
    Release notes
    • 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.

    Open source →
  10. 0.5.6 07 Aug 2018
    Release notes
    • Maintenance release to support Dart 2.0 stable.
    Open source →
  11. 0.5.5 01 Aug 2018
    Release notes
    • Maintenance release for -dev.68.
    Open source →
  12. 0.5.4 16 Jul 2018
    Release notes
    • Add CloseElementAst complement into ContainerAst.
    • Added support for annotations on <template>.
    • The whitespace transformer now understands @preserveWhitespace.
    Open source →
  13. 0.5.3 17 May 2018
    Release notes
    • 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.

    Open source →
  14. 0.5.3+1 24 May 2018
    Release notes
    • Fixed source span range of AttributeAst which would extend past EOF when recovering from a value with an unclosed quote.
    Open source →
  15. 0.5.3+2 05 Jun 2018
    Release notes
    • Maintenance release for -dev.56.
    Open source →
  16. 0.5.3+3 15 Jun 2018
    Release notes
    • Maintenance release for -dev.60.
    Open source →
  17. 0.5.2 23 Apr 2018
    Release notes
    • The * micro-syntax now supports newlines after an identifier.
    Open source →
  18. 0.5.1 10 Apr 2018
    Release notes
    • 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>
      
    Open source →
  19. 0.5.0 29 Mar 2018
    Release notes
    • 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).

    Open source →
  20. 0.4.4 16 Mar 2018
    Release notes
    • Added MinimizeWhitespaceVisitor.
    Open source →
  21. 0.4.3 06 Feb 2018
    Release notes
    • Maintenance release, supporting newer package versions.
    Open source →
  22. 0.4.3+1 07 Mar 2018
    Release notes
    • Maintenance release, supporting newer package versions.
    Open source →
  23. 0.4.2 18 Jan 2018
    Release notes
    • Supports the latest version of quiver.
    Open source →
  24. 0.4.1 08 Jan 2018
    Release notes

    Bug fixes

    • Un-escape HTML characters, such as &lt;, &#8721;, or &#x2211;, when they appear in text. Note, we do not do any un-escaping when these characters appear inside elements.
    Open source →
  25. 0.4.0 19 Dec 2017
    Release notes

    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 ngProjectAs decorator on <ng-content>.

    Bug fixes

    • DesugarVisitor now desugars AST nodes which were the (indirect) children of EmbeddedTemplateAst nodes.
    Open source →
  26. 0.4.0-alpha.0 25 Aug 2017 pre-release

    Nothing published for this version

  27. 0.4.0-alpha+1 10 Oct 2017 pre-release
    Release notes
    • 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)] from nameChanged to nameChange.
    Open source →
  28. 0.4.0-alpha+2 21 Nov 2017 pre-release
    Release notes
    • 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 sourceSpan calculation 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.
    Open source →
  29. 0.2.0 10 Jan 2017
    Release notes
    • Add an experimental flag to NgParser (toolFriendlyAstOrigin) which wraps de-sugared AST origins in another synthetic AST that represents the intermediate value (i.e. BananaAst or StarAst)
    • 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 special PipeExpression.
    • Added TemplateAstVisitor and two examples:
      • HumanizingTemplateAstVisitor
      • IdentityTemplateAstVisitor
    • De-sugars the *ngFor-style micro expressions; see micro/*_test.dart.
      • Added attributes as a valid property of EmbeddedTemplateAst
    Open source →
  30. 0.1.0-dev 14 Dec 2016 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive