Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit c1da299

Browse files
committed
Release version 4.0.0
1 parent c9b50ed commit c1da299

10 files changed

+49
-51
lines changed

DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prerequisites
44

5-
Node.js and npm are essential to Angular 2 development.
5+
Node.js and npm are essential to Angular development.
66

77
[Get it now](https://docs.npmjs.com/getting-started/installing-node) if it's not already installed on your machine.
88

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Angular DataTables [![Build Status](https://travis-ci.org/l-lin/angular-datatables.png?branch=angular2)](https://travis-ci.org/l-lin/angular-datatables) [![npm version](https://badge.fury.io/js/angular-datatables.svg)](https://badge.fury.io/js/angular-datatables)
22

3-
> [Angular 2](https://angular.io/) + [DataTables](https://datatables.net/)
3+
> [Angular](https://angular.io/) + [DataTables](https://datatables.net/)
44
55
# Documentation
66

77
Please check the [online documentation](http://l-lin.github.io/angular-datatables/)
88

99
# FAQ
10-
## Why version 2.X? Where is version 1.X?
10+
## Why version 4.X? Where is version 3.X? And 1.X?
1111

12-
Since AngularJS has released a version 2 that is breaking everything, I made a version 2 for simplicity purpose, to indicate the major version of this library is using the version 2 of AngularJS.
12+
The major version of the projet (it's using a [Semantic versioning](http://semver.org/)) will be synchronized with the major version of Angular.
1313

1414
## Why is there less functionnalities?
1515

demo/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-datatables-demo",
3-
"version": "2.3.1-dev",
3+
"version": "4.0.0",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
@@ -12,17 +12,17 @@
1212
},
1313
"private": true,
1414
"dependencies": {
15-
"@angular/common": "2.4.8",
16-
"@angular/compiler": "2.4.8",
17-
"@angular/core": "2.4.8",
18-
"@angular/forms": "2.4.8",
19-
"@angular/http": "2.4.8",
20-
"@angular/platform-browser": "2.4.8",
21-
"@angular/platform-browser-dynamic": "2.4.8",
22-
"@angular/platform-server": "2.4.8",
23-
"@angular/router": "3.4.8",
15+
"@angular/common": "4.0.3",
16+
"@angular/compiler": "4.0.3",
17+
"@angular/core": "4.0.3",
18+
"@angular/forms": "4.0.3",
19+
"@angular/http": "4.0.3",
20+
"@angular/platform-browser": "4.0.3",
21+
"@angular/platform-browser-dynamic": "4.0.3",
22+
"@angular/platform-server": "4.0.3",
23+
"@angular/router": "4.0.3",
2424
"angular-datatables": "file:..",
25-
"angular2-highlight-js": "4.0.0",
25+
"angular2-highlight-js": "5.0.0",
2626
"core-js": "2.4.1",
2727
"datatables.net": "1.10.13",
2828
"datatables.net-dt": "1.10.13",
@@ -31,19 +31,19 @@
3131
"highlight.js": "9.9.0",
3232
"jquery": "3.1.1",
3333
"materialize-css": "0.98.0",
34-
"rxjs": "5.1.1",
34+
"rxjs": "5.3.0",
3535
"tether": "1.3.8",
3636
"ts-helpers": "1.1.1",
37-
"zone.js": "0.7.7"
37+
"zone.js": "0.8.5"
3838
},
3939
"devDependencies": {
40-
"@angular/cli": "1.0.0-rc.1",
41-
"@angular/compiler-cli": "2.4.8",
40+
"@angular/cli": "1.0.0",
41+
"@angular/compiler-cli": "4.0.3",
4242
"@types/datatables.net": "~1.10.1",
4343
"@types/jasmine": "2.5.38",
4444
"@types/jquery": "^2.0.41",
45-
"@types/node": "~6.0.60",
46-
"codelyzer": "~2.0.0-beta.4",
45+
"@types/node": "~6.0.70",
46+
"codelyzer": "~2.0.1",
4747
"jasmine-core": "~2.5.2",
4848
"jasmine-spec-reporter": "~3.2.0",
4949
"karma": "~1.4.1",
@@ -54,7 +54,7 @@
5454
"karma-jasmine-html-reporter": "^0.2.2",
5555
"protractor": "~5.1.0",
5656
"ts-node": "~2.0.0",
57-
"tslint": "~4.4.2",
58-
"typescript": "~2.0.10"
57+
"tslint": "~4.5.1",
58+
"typescript": "~2.2.2"
5959
}
6060
}

demo/src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<h3>
99
<a id="logo-container" routerLink="" class="brand-logo">
1010
<div class="logo-img">
11-
<img src="assets/angular2.png" alt="Angular 2" />
11+
<img src="assets/angular.png" alt="Angular" />
1212
<span class="plus">+</span>
1313
<img src="assets/datatables.png" alt="DataTables" />
1414
</div>

demo/src/app/getting-started.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ <h2 class="header">Installation</h2>
1919
The documentation will only deal with projects that use <a href="https://github.com/angular/angular-cli">angular-cli</a>. Indeed, the front-end ecosystem is evolving at a pace I can't follow anymore. Thus, there will only have a tutorial for angular-cli's project. If you managed to make it work in, for example, SystemJS projects, please submit a pull request to improve this documentation. Thanks!
2020
</p>
2121
<div class="col s12">
22-
<h4>Angular-CLI version 1.0.0-rc.1</h4>
23-
<p>I recommend using <a href="https://github.com/angular/angular-cli">angular-cli</a> to create and manage your angular2 project</p>
22+
<h4>Angular-CLI version 1.0.0</h4>
23+
<p>I recommend using <a href="https://github.com/angular/angular-cli">angular-cli</a> to create and manage your angular project</p>
2424
<p>
25-
Since Angular-CLI is still in beta, I prefer to warn you the demo was developpped in version <b>1.0.0-rc1</b> and newer version of Angular-CLI may need to have different configuration.
25+
Since Angular-CLI is still in beta, I prefer to warn you the demo was developpped in version <b>1.0.0</b> and newer version of Angular-CLI may need to have different configuration.
2626
</p>
2727
</div>
2828
<div class="col s12">

demo/src/app/welcome.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 class="header center-on-small-only">Angular DataTables</h1>
1313
<div class="col s12 m9 l12">
1414
<div class="section">
1515
<p class="caption">
16-
<a href="https://angular.io/"><img src="https://angular.io/resources/images/logos/angular2/angular.svg" height="32px" />&nbsp;Angular</a>
16+
<a href="https://angular.io/"><img src="https://angular.io/resources/images/logos/angular/angular.svg" height="32px" />&nbsp;Angular</a>
1717
Structural framework for dynamic web apps +
1818
<a href="https://datatables.net/"><img src="https://datatables.net/media/images/nav-dt.png" />&nbsp;DataTables</a>
1919
jQuery plug-in for complex HTML tables
@@ -25,9 +25,9 @@ <h1 class="header center-on-small-only">Angular DataTables</h1>
2525
<div class="col s12 m6 l6">
2626
<div class="center promo">
2727
<a class="welcome-btn waves-effect btn" href="/angular-datatables/archives">
28-
<span class="promo-caption">Using AngularJS 1</span>
28+
<span class="promo-caption">Using AngularJS</span>
2929
<br />
30-
<img src="assets/angular.png" />
30+
<img src="assets/angularjs.png" />
3131
<br />
3232
<span class="light center">Check the archive</span>
3333
</a>
@@ -37,11 +37,11 @@ <h4></h4>
3737
<div class="col s12 m6 l6">
3838
<div class="center promo">
3939
<a class="welcome-btn waves-effect btn" routerLink="/getting-started">
40-
<span class="promo-caption">Using Angular 2</span>
40+
<span class="promo-caption">Using Angular</span>
4141
<br />
42-
<img src="assets/angular2.png" />
42+
<img src="assets/angular.png" />
4343
<br />
44-
<span class="light center">Try using with Angular 2</span>
44+
<span class="light center">Try using with Angular</span>
4545
</a>
4646
</div>
4747
<h4></h4>

demo/src/assets/angular.png

-1.65 KB
Loading

demo/src/assets/angular2.png

-3.04 KB
Binary file not shown.

demo/src/assets/angularjs.png

4.69 KB
Loading

package.json

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-datatables",
3-
"version": "2.3.1-dev",
3+
"version": "4.0.0",
44
"description": "Angular directive for DataTables",
55
"scripts": {
66
"build": "npm run clean && npm run compile && npm run bundles",
@@ -29,25 +29,23 @@
2929
"typings": "index.d.ts",
3030
"license": "MIT",
3131
"dependencies": {
32-
"@angular/common": "~2.4.8",
33-
"@angular/compiler": "~2.4.8",
34-
"@angular/core": "~2.4.8",
35-
"@angular/platform-browser": "~2.4.8",
36-
"@angular/platform-browser-dynamic": "~2.4.8",
32+
"@angular/common": "~4.0.0",
33+
"@angular/compiler": "~4.0.0",
34+
"@angular/core": "~4.0.0",
35+
"@angular/platform-browser": "~4.0.0",
36+
"@angular/platform-browser-dynamic": "~4.0.0",
3737
"core-js": "~2.4.1",
3838
"datatables.net": "~1.10.13",
3939
"jquery": "~3.1.1",
40-
"reflect-metadata": "~0.1.9",
41-
"rxjs": "5.1.1",
42-
"zone.js": "~0.7.6"
40+
"rxjs": "~5.3.0",
41+
"zone.js": "~0.8.8"
4342
},
4443
"devDependencies": {
45-
"@angular/compiler-cli": "~2.4.8",
46-
"@types/core-js": "0.9.41",
44+
"@angular/compiler-cli": "~4.0.0",
4745
"@types/datatables.net": "1.10.1",
4846
"@types/jasmine": "2.5.40",
4947
"@types/jquery": "2.0.41",
50-
"@types/node": "6.0.68",
48+
"@types/node": "6.0.70",
5149
"canonical-path": "0.0.2",
5250
"codelyzer": "~2.0.1",
5351
"concat-cli": "4.0.0",
@@ -59,13 +57,13 @@
5957
"karma-cli": "~0.1.2",
6058
"karma-htmlfile-reporter": "~0.2.2",
6159
"karma-jasmine": "~0.3.8",
62-
"protractor": "~3.3.0",
63-
"rimraf": "~2.5.2",
64-
"rollup": "~0.41.4",
65-
"rollup-plugin-uglify": "~1.0.1",
66-
"systemjs": "0.19.41",
60+
"protractor": "~5.1.1",
61+
"rimraf": "~2.6.1",
62+
"rollup": "~0.41.6",
63+
"rollup-plugin-uglify": "~1.0.2",
64+
"systemjs": "0.20.12",
6765
"tslint": "~4.5.1",
68-
"typescript": "~2.0.10"
66+
"typescript": "~2.2.2"
6967
},
7068
"engines": {
7169
"node": ">=6.9.0"

0 commit comments

Comments
 (0)