This page summarizes changes to this site’s documentation and examples. Many of these changes are due to new releases of AngularDart, AngularDart Components, or the Dart SDK. Others are the result of new recommendations or documentation.
- Changelog for the 5.0.0-alpha+2 (dev) version of this site
- History of commits to AngularDart documentation
- History of commits to AngularDart examples
- Package changelogs:
HTML library tour (December 2017)
Forms (October 2017)
Updated the forms page and its example app to use custom CSS classes instead of the
ng-* classes associated with the deprecated
Router HashLocationStrategy (October 2017)
In this way, features like deep linking into the example apps work as expected
when no server-side support is available (such as with GitHub Pages
pub serve, which is often used during app development).
See the Router section on Declaring router providers and directives
AngularDart 4.0.0 (August 2017)
All pubspecs and imports changed, as well as API doc URLs,
due to the
angular2 package changing its name to
- Updated package versions in
angular_forms: ^1.0.0for examples using forms
angular_router: ^1.0.0for examples using the router
- Updated transformers in
resolved_identifiersentry from the
angular: entry_points:for examples with component tests
- Changed imports in Dart files:
angular_forms/angular_forms.dartto files using
- Other Dart file changes:
const Provider<T>(x,y)for a provider of
Tinstances; this is a first step towards strongly-typed providers
- Changed injected
Element, which requires an import of
- Changed the CSS pseudo selector
- Changed a component (PR#950) to use the new
@Component(RFC#374) to export enums to the component template
- Switched from the use of
outputsparameters to appropriate
- Switched from the use of
- Changed API doc URLs
angularchange affected API doc URLs.
Example: …/angular2/NgFor-class → …/angular/NgFor-class
angular_formsfor forms API elements, such as
angular_routerfor router API elements, such as
- Diff between 3.x and 4-dev branches
- History for site-webdev/examples/ng (4-dev branch)
- 4.0 prep tracking issue
API reference (August 2017)
The API entries from both the
have been combined into a single unified API reference.
Testing docs, part 2 (August 2017)
Created several test-related pages. The original page, Testing, is now mostly a table of contents.
All of these pages are drafts, and we’d appreciate your feedback.
- Running component tests
- Writing component tests
- End-to-end (E2E) testing (placeholder)
API doc changes (July 2017)
common.dart is going away in 4.0, we changed API doc generation.
We also fixed some bugs in the API doc homepage
and added import information for each library.
Example: …/angular2.common/NgFor-class → …/angular2/NgFor-class
The API doc homepage
now shows an
importstatement next to each library’s heading.
Dart 1.24 (June 2017)
We did initial work to prepare the examples to use the Dart development compiler (dartdevc):
pubspec.yamlto make dartdevc the default development compiler.
- Moved most implementation Dart files under
lib/src/*, instead of
lib/*, to improve dartdevc performance.
- Preparing your code in the dartdevc documentation
- Dart 1.24 announcement
- PR #744 and other “src reorg” PRs
- PR #684 (pubspec changes)
AngularDart 3.1 (May 2017)
The examples changed to update the release and reflect new recommendations.
angular2.coreAPI doc references. Example: …/angular2.core/OnInit-class → …/angular2/OnInit-class
- To prepare for 3.1’s experimental compiler, in each example:
pubspec.yaml, moving the directives it listed to the relevant components’
COMMON_PIPESto the relevant components’
- Updated the
angular2dependency in each example’s pubspec:
Here’s an example of moving the directive and pipe lists:
Common directive constants include
Testing doc and code, part 1 (March-April 2017)
Created an initial Testing page and added component tests to the tutorial examples.
- Added the