- Update
typescript
version to 2.4.2
- TypeScript declarations have become strict, which can cause a build failure. Use correct types to prevent this.
- The jQuery dependency has been removed (#46). To use jQuery, you need to manually install the jquery npm package and include the jQuery integration module in your application. For more information, please see: Include jQuery integration
- The
dxo-data-source
nested component is deprecated. Use thedataSource
option instead.
Previously, you could use dxo-data-source
component as nested component for widgets:
<dx-data-grid>
<dxo-data-source
...
></dxo-data-source>
</dx-data-grid>
Currently, this will be used like simple property:
<dx-data-grid
[dataSource]='...'
></dx-data-grid>
- DevExtreme dependency has been updated to the 17.2.2-pre-beta
- Update
devextreme
version to 17.2.1-pre-17273
- Update
typescript
version to 2.4.2 - Update
devextreme
version to 17.2.1-pre
- An
index
has been added to the context object of thedxTemplate
directive for collection widgets (#523)
- Release a stable version of
devextreme-angular
- DevExtreme dependency has been updated to the 17.1 release
- Fix case when item validation rule uses ngIf directive (#440)
- DevExtreme dependency has been updated to the 17.1 preview
- Fix disposing nested components in dxDataGrid
- Fix firing onValueChanged event several times on change value option
- Fix watcher for values of the date type (8a8355b)
- Release a stable version with Angular 4 support
- Support for Angular 4 RC has been provided (#386).
- Added the "Add DevExtreme to Ionic 2 Application" guide (119fab1)
- Improved and updated documentation (9ea5c92, 2dcb8ee)
@angular/forms
added topeerDependencies
(b26a3b9)- Improved integration with NgZone (4c2ae38)
- Refactored
CustomValueAccessor
implementation (b69d7a0)
- Item template defined in
dxi-item
anddxTemplate
now works consistently.
Previously, the result of the dxi-item
in the DxList was rendered as follows:
<div class="dx-item-content">
<dxi-item>...</dxi-item>
</div>
Currently, this will be rendered as follows:
<dxi-item class="dx-item-content">
...
</dxi-item>
- Dependencies updated
- Update DevExtreme peer dependency to
16.2.4
- Resolve AoT compilation issue (after the Angular 2.3.0 release)
- Resolve AoT compilation issue (after the TypeScript 2.1.4 release)
-
The following complex nested options were renamed:
dxi-serie
todxi-series
dxi-categorie
todxi-category
-
The
devextreme-angular/core/dx.template
module was renamed todevextreme-angular/core/template
. Also, it is not required to import this module (as demonstrated below) within your application because this module is already included into all DevExtreme components requiring it.import { DxTemplateModule } from 'devextreme-angular/core/dx.template';
- In our npm package,
devextreme
dependency has been moved topeerDependencies
. Now it should be installed manually. See README.md for more details.
- Our npm package has been renamed from devextreme-angular2 to devextreme-angular.
- The DxTemplate directive now uses template names instead of template option names. For example, for the DxList widget, use
*dxTemplate="let data of 'item'"
instead of*dxTemplate="let data of 'itemTemplate'"
.
- Fix an issue in Plunker when jszip was used
- Fix a DataGrid issue in Mozila FF
- Introduce configuration components (#5). See examples.
- Fix the 'dx-validator' component (#30)
- Fix the component property change propagation to the corresponding widget option (#6)
- Fix the 'dxTemplate' directive issues (#4 and #106)
- Fix the 2-way data binding to DevExtreme collection widgets, dxDataGrid and dxForm (#36)
- Use DevExtreme modules to provide better integration with WebPack (#16)
- Add new scenarios to examples: DxTabsComponent, DxTabPanelComponent.
- Fix the onContentReady and onOptionChanged events (#137)
- The algorithm of DevExtreme package linking has been changed. Now instead of referencing DevExtreme and jQuery links in a script tag, the links will be resolved automatically by js module loading. For more information, please see: Adding DevExteme widgets to an Angular 2 application
- Create "IterableDiffer" for every option that supports collections.
- Add new scenarios to examples: DxSchedulerComponent, DxScrollViewComponent, DxResizableComponent.
- Update vendor scripts.
- Fix the onInitialized event (#14)
- Enhancements to building tools (#94)
- Add a component template for widgets with transcluded content (#49)
- The DxTemplate directive syntax has been changed. Now instead of assigning
data
to a local variable, use its local variable definition only. To migrate to the new syntax, please remove= data
from*dxTemplate="let item = data of 'itemTemplate'"
. After this change, the directive should be as follows:*dxTemplate="let item of 'itemTemplate'"
.
We have supported NgModules in the context of updating to Angular 2.0. You can read more about NgModules here.
We defined NgModule
for each of our components: DxButtonModule
, DxCheckBoxModule
, DxTextBoxModule
, etc.
To make the process of migration easier, you can check our updated README and take a look at this commit.
Also we defined a DevExtremeModule
, which exports all our components:
import { DevExtremeModule } from 'devextreme-angular';
- Added 'Directive' suffix has been added to the
DxTemplate
directive's class name. UseDxTemplateDirective
instead ofDxTemplate
. - Added 'Component' suffix has been added to all our components' class names. Example: Use
DxButtonComponent
instead ofDxButton
.
We made these changes according to the Angular 2 style guide.