1.0.0-rc.0 (2017-02-25)
- @angular/cli: add $schema as a schema prop (#4779) (ab06196)
- @angular/cli: add more description (b4594ba)
- @angular/cli: adding help descriptions (7ebe4f0)
- @angular/cli: allow flat modules from Angular RC (#4969) (a537dce)
- @angular/cli: apps fixes (#4942) (c57ce2a)
- @angular/cli: cache config by file path. (#4902) (198d27a)
- @angular/cli: conform to style-guide import line spacing (#4954) (c3dd28a)
- @angular/cli: fix angular-cli logic (00f913c)
- @angular/cli: fix css url processing (#4803) (a2e819a), closes #4778 #4782 #4806
- @angular/cli: fix ng lint formatted output (#4917) (0d8799e)
- @angular/cli: fixing the help command aliases (#4880) (ba30cc1)
- @angular/cli: Headless win32 now works as expected (#4871) (4af7a42), closes #4870
- @angular/cli: improve matching range to match beta/rc (#4989) (d2d788b)
- @angular/cli: put aliases for local config too (#4886) (2abbce2)
- @angular/cli: remove ng from blueprints help, simplify blueprints logic (d4b56e4), closes #4887
- @angular/cli: show help on just ng command (#4780) (b6d8511), closes #4776
- update dependencies in yarn.lock (#4988) (554e7f9)
- @angular/cli: stabilize webpack module identifiers (26d1e41), closes #4733
- @ngtools/json-schema: aliases on invalid properties are noop (68bd221)
- @ngtools/webpack: add exclude override to tsconfig (1e30159), closes #3973
- @ngtools/webpack: allow 4.0.0-beta version of @angular/tsc-wrapped dependency (#4847) (224eac7)
- eject: set ejected project to run
webdriver-manager update
as part ofe2e
npm script (7567f5c), closes #4920 - serve: allow relevant live-reload options to function (#4744) (a4b43a5), closes #3361
- @angular/cli: add async method in Jasmine Tests blueprints (#4775) (c792c9f)
- @angular/cli: add npm build script (#4949) (e661f55)
- @angular/cli: add warning when angular-cli is detected locally (ae89fde), closes #4466
- @angular/cli: adding the --app command option (#4754) (ade2236)
- @angular/cli: allow code coverage excludes (#4966) (b6893d0)
- @angular/cli: allow setting ssl certificate in angular-cli.json (#4730) (b498549)
- @angular/cli: allow to create new projects in existing directory (e4fc294), closes #4762 #4901
- @angular/cli: don't add empty assets to karma (#4952) (958bee3)
- @angular/cli: don't use config file version (#4795) (3c3f74c)
- @angular/cli: hash loaded media by default (#4878) (1655e51)
- @angular/cli: ng e2e defaults to random port (#4753) (d2bef98)
- @angular/cli: update ascii art to Angular CLI (#4785) (432c0a2)
- @angular/cli: use same webpack config for karma (3bba4cb), closes #4851 #3605 #4850 #4876
- @angular/cli: use separate tsconfigs (69e6c71)
- @ngtools/webpack: allow to pass in overrides for compilerOptions (6dff3b7), closes #4851
- generate: add guard generation (#4055) (2c1e877)
- @angular/cli: dev builds will hash relative resources from CSS (images, etc).
- @angular/cli:
ng e2e
will use a random port for serving by default instead of using 4200.
1.0.0-beta.32 (2017-02-17)
- @angular/cli: don't load old ember config (98a3430), closes #4057
- @angular/cli: don't rerun protractor on rebuild (#4661) (3a85ffc)
- @angular/cli: fixing the help command (#4726) (121c390)
- @angular/cli: generate command now ignores duplicate component symbol (#4446) (9c25f74), closes #4323
- @angular/cli: include polyfills before scripts in ng test (ca29eab), closes #4545 #4656
- @angular/cli: lint now works with excluded files. (351f6b1)
- @angular/cli: remove component generation from module generation (#4706) (9db71d8), closes #4209
- @angular/cli: remove inexistent tslint override (82b9715), closes #4696
- @angular/cli: show blueprints in completion script (26b1ee4), closes #4571
- @angular/cli: use correct tslint rule args (#4662) (16bceee), closes #4648
- @angular/cli: use default .map filename (#4742) (78313b3), closes #4741
- @ngtools/webpack: fix error with object spread (#4642) (8b3e300), closes #4600
- @angular/cli: remove ng init & ng update (#4628) (a127cad)
- @angular/cli: rename config file from angular-cli.json to .angular-cli.json (#4681) (809340a)
- @angular/cli: remove compression plugin
- @angular/cli: add --stats-json flag to build (#4189) (469ca91), closes #3179
- @angular/cli: add in-browser development error overlay (7ea8013), closes #4513
- @angular/cli: add watch flag to serve/e2e (#4749) (9d29cbc)
- @angular/cli: added *.sublime-workspace to gitignore blueprint (#4698) (f8b5c94)
- @angular/cli: added argument for karma configuration file (#4564) (b9295e0), closes #183
- @angular/cli: allow assets from outside of app root. (9e91d86), closes #3555 #4691
- @angular/cli: allow component css imports (#4667) (e55cb82), closes #4285
- @angular/cli: disable invalid commands on ejected apps (6402a27), closes #4680
- @angular/cli: eject command (7ac0d05)
- @angular/cli: extend karma.conf.js w/ kjhtml reporter (4543be9), closes #4567
- @angular/cli: use environmentSource key for environments (#4705) (16bfdf0), closes #3857
- @angular/cli: version shows ejected app or not (6b53cd0)
- @ngtools/webpack: add an option to redirect files (e0edccf)
- build: add
--poll
option to build/serve/test commands (57ef508), closes #4268 #4715 - new: read GIT_AUTHOR_NAME/_EMAIL from process.ENV for initial commit message (fd4cf47), closes #4012
-
@angular/cli: compressed output (.gz) is no longer generated on production builds.
-
@angular/cli: sourcemaps now are always [filename].map (e.g
main.bundle.js.map
instead ofmain.bundle.map
). -
@angular/cli: The configuration file
angular-cli.json
has been renamed to.angular-cli.json
.Rename the file in your project, and update the file reference in
karma.conf.js
. -
@angular/cli: Generating a module with routing will no longer generate an associated component.
-
@angular/cli: 'assets' as a string in angular-cli.json is no longer allowed.
Use an array instead.
-
@angular/cli: Removing the
ng init
&ng update
commands because their current implementation causes more problems than it solves. Once RC is released, we won't need to use those to update anymore as the step will be as simple as installing the latest version of the CLI.Use this section for updating to newer versions of the CLI, along with the update documentation.
-
@angular/cli: A new environmentSource entry replaces the previous source entry inside environments.
To migrate the code follow the example below:
Before:
"environments": { "source": "environments/environment.ts", "dev": "environments/environment.ts", "prod": "environments/environment.prod.ts" }
After:
"environmentSource": "environments/environment.ts", "environments": { "dev": "environments/environment.ts", "prod": "environments/environment.prod.ts" }
1.0.0-beta.31 (2017-02-09)
Special thanks to: Andrew Seguin, Bram Borggreve and Carlo Dapor for helping debugging issue #4453.
PLEASE TAKE NOTE OF THE BREAKING CHANGES BELOW
- .nvmrc: change Node.js version from 4 to 6 (#4399) (e6422e9)
- @angular/cli: add a dependency to RXJS (#4465) (39fa206)
- @angular/cli: add environment file to compilerHost (#4475) (2797a89), closes #4375
- @angular/cli: Bail out if output path is the root folder (#4490) (22f4bea)
- @angular/cli: Bail out if output path is the root folder pt2 (#4518) (488185b)
- @angular/cli: create app.component.styl for Stylus. (#4540) (0f7a35f)
- @angular/cli: don't override base-href if not directly specified (#4489) (6bab5ec)
- @angular/cli: GlobCopyWebpackPlugin should wait until assets are added before completing (849155c)
- @angular/cli: improve bootstrapping time (#4537) (6b26f91)
- @angular/cli: remove unneeded dependencies (#4473) (d8f36df)
- @angular/cli: update dependency to remove install warning (#4562) (4e06612)
- @ngtools/json-schema: enum values properly handle defaults and null. (#4387) (ea9f334)
- @ngtools/json-schema: support enums in d.ts (#4426) (6ff0f80)
- @ngtools/webpack: better ctor parameters in AOT (#4428) (7f25548), closes #4427
- @ngtools/webpack: invalidate all the files changed (#4542) (9548d90)
- @ngtools/webpack: resolve file name before invalidating cached files (#4384) (9fcf10a), closes #4422 #4345 #4338
- command options: allow to use camelCase for options. (#3787) (496e13a), closes #3625
- config: tsconfig should support other formats too (#4469) (aa87de7)
- readme: point npm badges to @angular/cli instead of angular-cli (#4395) (4ad406f)
- webpack: remove usage of fallbackLoader and loader (#4435) (73d5628)
- @angular/cli: add ability to exclude files and directories (#4437) (6e3186d), closes #4350
- @angular/cli: add ng4 option to ng new (#4507) (c096afb)
- @angular/cli: Add options for third party package manager (#4321) (d2849c7)
- @angular/cli: add schema to the config (#4504) (186d50d)
- @angular/cli: Generate completion.sh automatically. (d2f8ca7), closes #3981
- @angular/cli: provide '--sourcemaps' alias for build (#4462) (e0fb87c)
- @angular/cli: show detailed help for blueprints. (#4267) (b20d87e)
- e2e: use protractor api (#4527) (8d2d93a), closes #4256 #4478
- add support for @angular/service-worker and manifest generation (cb2e418), closes #4544
- support TS 2.1 (#4572) (c617c21)
- e2e:
ng e2e
no longer needsng serve
to be running. - @angular/cli:
--skip-npm
flag is now named--skip-install
- @angular/cli: The deploy command is being removed from the core of the CLI. There are several options for deploying CLI-based applications outside the scope of this project. One of which being https://github.com/angular-buch/angular-cli-ghpages
- @angular/cli: The default LCOV file is now
coverage/lcov.info
instead ofcoverage/coverage.lcov
. - @angular/cli:
ng test --code-coverage
now useskarma-coverage-istanbul-reporter
instead ofkarma-remap-istanbul
.
To update follow these steps in your project:
npm uninstall karma-remap-istanbul --save-dev
npm install karma-coverage-istanbul-reporter --save-dev
Then copy karma.conf.js
from a new project, or update it manually:
- replace
require('karma-remap-istanbul'),
withrequire('karma-coverage-istanbul-reporter'),
- replace
['progress', 'karma-remap-istanbul']
with['progress', 'coverage-istanbul']
- replace
remapIstanbulReporter: {
reports: {
html: 'coverage',
lcovonly: './coverage/coverage.lcov'
}
},
with
coverageIstanbulReporter: {
reports: [ 'html', 'lcovonly' ],
fixWebpackSourcePaths: true
},
1.0.0-beta.30 (2017-02-03)
- @angular/cli: Backwards warning that global CLI is greater version than local CLI #4341 (cc2651c)
- @angular/cli: properly check the project status (#4381) (1dd5399), closes #4379
- @ngtools/webpack: change of CSS no longer breaks rebuild (#4334) (9afaa3a), closes #4326 #4329
- @ngtools/webpack: only diagnose each resource once (#4374) (b0c1551)
- @ngtools/webpack: prevent emitting of sourcemaps (#4221) (a6b1bdd)
1.0.0-beta.29 (2017-02-03)
1.0.0-beta.28 (2017-02-01)
- @ngtools/json-schema: values of non-existent objects should return undefined (#4300) (95f28fd)
- @ngtools/webpack: don't override context module deps (#4153) (4b9af62), closes #2496
- @ngtools/webpack: skip null files (#4168) (43c6861), closes #4165
- build: don't leave dist folder on fail (#4047) (790dda6)
- build: ExtractTextWebpack 2.0.0-rc.1 and remove unsupported prop (#4265) (1bbd12d), closes #4264
- css: emit css sourcemaps only when extracting (#4280) (3aa55d7)
- deps: pin lodash types (#4260) (5f6a7f2)
- deps: update mocha dev dependency (#4291) (49d15b3)
- docs: remove mention to code formatting (c079ccf), closes #4144
- lint: fix new linting errors (#4241) (76f8827)
- polyfills: move polyfills to own entry point (#3812) (08bb738), closes #2752 #3309 #4140
- scripts: allow using same lib inside app (#3814) (a2ea05e), closes #2141
- serve: delete dist on serve (#4293) (8e82d17)
- serve: improve error message when port is in use (#4167) (75e83a4)
- styles: correctly output sourcemaps (#4222) (c29ed53), closes #2020
- build: consolidate build options (#4105) (e15433e)
- lint: use tslint api for linting (#4248) (0664beb), closes #867 #3993
- test: remove lint option from test command (#4261) (645c870)
- @ngtools/webpack: remove annotations (#4301) (439dcd7)
- angular-cli: Add a postinstall warning for Node 4 deprecation. (#4309) (916e9bd)
- build: minify/optimize component stylesheets (#4259) (499ef2f)
- serve: Persist serve options in angular-cli.json (#3908) (da255b0), closes #1156
- update: add ng update as alias of ng init (#4142) (2211172), closes #4007
- @ngtools/webpack: Improve rebuild performance (#4145) (9d033e7)
- @ngtools/webpack: improve rebuild performance (#4188) (7edac2b)
- @ngtools/webpack: reduce rebuild performance by typechecking more (#4258) (29b134d)
-
angular-cli: Node < 6.9 will be deprecated soon, and this will show a warning to users. Moving forward, that warning will be moved to an error with the next release.
-
test: ng test no longer has the --lint flag available.
-
lint: In order to use the updated
ng lint
command, the following section will have to be added to the project'sangular-cli.json
at the root level of the json object."lint": [ { "files": "src/**/*.ts", "project": "src/tsconfig.json" }, { "files": "e2e/**/*.ts", "project": "e2e/tsconfig.json" } ],
Alternatively, you can run ng update
.
- build: -
--extractCss
defaults tofalse
on all--dev
(ng build
with no flags uses--dev
)
--aot
defaults to true in--prod
- the alias for
--output-path
is now-op
instead of-o
1.0.0-beta.26 (2017-01-19)
- @ngtools/json-schema: serialize object properties better. (#4103) (48d1e44), closes #4044
- @ngtools/webpack: dont error on non-identifier properties. (#4078) (e91552f)
- @ngtools/webpack: honor tsconfig#angularCompilerOptions.entryModule before trying to resolveEntryModuleFromMain() (#4013) (c9ac263)
- build: override publicPath for ExtractTextPlugin and add extract-css test (#4036) (c1f1e0c)
- generate: correct component path when module is generated in subfolder, and parent folder is not a module too (#3916) (f70feae), closes #3255
- generate: normalize pwd before using it (#4065) (09e1eb3), closes #1639
- get/set: Add support for global configuration. (#4074) (088ebf0)
- help: remove ember references in console output (#4026) (394aa05)
- help: remove match of *.run.ts files (#3982) (7b47753)
- new: improve error message when project name does not match regex (bf23b13), closes #3816 #3902
- test: remove webpack size limit warning (#3974) (5df4799)
- @ngtools/json-schema: add support for enums. (c034a44), closes #4082
- build: add style paths (#4003) (e5ef996), closes #1791
- build: use NamedModulesPlugin with HMR (c5b2244), closes #3679 #4037
- deploy: add custom-domain support for gh-pages deployment (#1781) (#3392) (a54bc16)
- generate: add option to auto-export declarations (#3876) (6d63bb4), closes #3778
- generate: create parent directories required for blueprints if they do not exist (76380a6), closes #3307 #3912
- gh-pages:deploy: add aot and vendor-chunk options for gh-pages:deploy (#4073) (71445c3)
1.0.0-beta.25 (2017-01-12)
- @ngtools/webpack: fix tsconfig paths resolver (#3831) (c6d1c99), closes #3586
- @ngtools/webpack: search recursively for entry module (#3708) (bb748f2)
- build: close tags in index.html (#3743) (aaca100), closes #3217
- build: disable performance hints (#3808) (2a513ca)
- build: fix path error when appConfig has no main (#3867) (7bd165b)
- build/serve: correct check against angular v2.3.1 (#3785) (d0224a5), closes #3720 #3729
- config: allow minimal config for build/serve (#3835) (f616158)
- lint: remove tslint rule that requires type info (#3818) (1555c2b)
- lint: use noUnusedParameters and noUnusedLocals instead of no-unused-variable (#3945) (dd378fe)
- serve: communicate that ng serve is not secure. (#3646) (766394d)
- serve: fallback to config.app[0].index (#3813) (45e2985), closes #3748
- test: remove webpack size limit warning (#3974) (b25b97d)
- tests: add global scripts in karma plugin (#3543) (1153c92), closes #2897
- @ngtools/json-schema: Introduce a separate package for JSON schema. (#3927) (74f7cdd)
- @ngtools/logger: Implement a reactive logger. (#3774) (e3b48da)
- @ngtools/webpack: convert dashless resource urls (#3842) (4e7b397)
- build: add --extract-css flag (#3943) (87536c8)
- build: add publicPath support via command and angular-cli.json (#3285) (0ce64a4), closes #3136 #2960 #2276 #2241 #3344
- build: allow output hashing to be configured (#3885) (b82fe41)
- build: disable sourcemaps for production (#3963) (da1c197)
- commands: lazy load commands (#3805) (59e9e8f)
- deploy:github-pages: support usage of gh-token for deployment from external env (#3121) (3c82b77)
- generate: add ability to specify module for import (#3811) (e2b051f), closes #3806
- lint: now lint e2e ts files as well (#3941) (f84e220)
- new: add --skip-tests flag to ng new/init to skip creating spec files (#3825) (4c2f06a)
- new: add flag to prevent initial git commit (#3712) (2e2377d)
- new: show name of created project in output (#3795) (888beb7)
- version: compare local and global version and warn users. (#3693) (8b47a90)
1.0.0-beta.24 (2016-12-20)
- @ngtools/webpack: report errors during codegen (#3608) (0f604ac)
- build: hashes in prod builds now changes when ID change. (#3609) (8e9abf9)
- test: exclude non spec files from test.ts (#3538) (bcb324f)
- tests: serve
assets
files fromng test
(#3628) (3459300) - webpack: correctly load component stylesheets (#3511) (d4da7bd)
- generate: Show files updated when generating (#3642) (c011b04), closes #3624
- version: display versions of @angular/* and @ngtools/* (#3592) (123f74d), closes #3589
1.0.0-beta.23 (2016-12-15)
This beta was abandoned and unpublished due to a breaking bug.
- @ngtools/webpack: keep the decorators in. (#3583) (db25183)
- @ngtools/webpack: use tsconfig declaration flag to report decl errors (#3499) (c46de15)
- blueprints: remove app root barrel (#3530) (3329d46), closes #3369
- build: added autoprefixer to prod (1648d51), closes #3156 #3164
- build: pin @types/lodash (#3465) (9b65481)
- completion: Update with the new help command (#3479) (0b5dc74)
- dependencies: reduce the dependencies further. (#3488) (901a64f)
- deploy: gh-pages checkout initial branch on error (#3378) (c5cd095), closes #3030 #2663 #1259
- deploy: gh-pages deploy fail after repo create (#3386) (0a68cc5), closes #3385
- gitignore: No longer ignore VSCode settings (#3477) (8d88446)
- help: fix
ng help <command>
(#3442) (51659b9) - new: Make sure the project name is valid. (#3478) (e836f92)
- webpack: fix some problems with errors not reported. (#3444) (09f9aa9)
- webpack: remove usage of __dirname from the config. (#3422) (8597786)
- Make CLI available without install (761e86f), closes #3126
- build: add lazy styles/scripts (#3402) (20bb864), closes #3401 #3400
- deps: Unblock the version of Angular to >= 2.3 (#3569) (bd03100)
- generate: change generate --prefix option type from Boolean to string (#3457) (8d5a915)
- i18n: add i18n command line options (#3098) (2a0a42d)
- module: component optional when generating module (#3389) (2fb2d13)
- serve: Add support to open with ssl. (#3432) (83dfc96)
- blueprints: The app root module and component must now be imported directly. (e.g., use
import { AppModule } from './app/app.module';
instead ofimport { AppModule } from './app/';
)
1.0.0-beta.22-1 (2016-12-05)
- @ngtools/webpack: performance improvement. (#3360) (4dcfe27)
- deploy: clean up gh-pages obsolete files (#3081) (#3333) (51869fb)
- change apiFilter querystring to query in ng doc(#3383) (5b2a0fb), closes #3363
1.0.0-beta.22 (2016-12-02)
- @ngtools/webpack: fixed path resolution for entry modules and lazy routes (#3332) (45d5154)
- build: don't inline sourcemaps (#3262) (859d905)
- build: use custom index value when copying to 404.html during github deploy (#3201) (b1cbf17)
- ngtools/webpack: move the generate directory to a separate dir (#3256) (d1037df)
- version: bump ast-tools and webpack versions to correct mismatch with published packages (54ef738)
- angular: Update Angular2 version to 2.2.3 (#3295) (ed305a2)
- build: add --verbose and --progress flags (#2858) (f6f24e7), closes #1836 #2012
- build: auto generate vendor chunk (#3117) (bf9c8f1)
- new: include routing in spec and inline template when called with
--routing
(#3252) (53ab4df) - serve: add --hmr flag for HotModuleReplacement support (#3330) (46efa9e)
- build:
ng build/serve
now generatesvendor.bundle.js
by default.
1.0.0-beta.21 (2016-11-23)
- angular-cli: add necessary dependencies. (#3152) (8f574e4), closes #3148
- angular-cli: add necessary dependency. (f7704b0)
- angular-cli: change version of webpack plugin. (07e96ea)
- aot: lock the angular version to 2.2.1. (#3242) (6e8a848)
- editorconfig: use off instead of 0 for max line length (#3186) (f833d25)
- generate: revert change to component dir in generate module, as it caused component declaration to go to parent module (#3158) (71bf855)
- github-pages-deploy: Show more accurate url (#3160) (a431389)
1.0.0-beta.20 (2016-11-16)
- @ngtools/webpack: fixed relative path for AoT. (#3114) (27a034d)
- aot: exclude spec files from aot (#2758) (215e555)
- aot: output the sources in the sourcemap. (#3107) (7127dba)
- aot: remove the genDir plugin option. (0e91dfe), closes #2849 #2876
- aot: Use the proper path when statically analyzing lazy routes. (#2992) (88131a0), closes #2452 #2735 #2900
- build: correct forkChecker option for ATS. (#3011) (a987cf5)
- build: enable chunkhash in inline.js (30cc482), closes #2899
- build: show full error stats (#2879) (d59fa1f)
- deps: explicitely add portfinder (#2831) (2d8f162), closes #2755 #2769
- e2e: fix broken test pipeline (#2999) (37a1225)
- generate: fix module component path if module is created in child folder (#3066) (38d5f2c), closes #3063
- generate: stop default browser error from ng new --routing (a45a1f2), closes #2794
- package: add some more metadata to webpack package.json (c2dbf88), closes #2854
- serve: added accept html headers option to webpack-dev-server (#2990) (86f2a1b), closes #2989
- test: catches module loading errors (f09439c), closes #2640 #2785
- version: update version of @angular packages. (#3145) (a2f0a1a)
- bypass Watchman check (#2846) (9aa1099), closes #2791
- build: add loaders for fonts (3497373), closes #1765
- build: use appConfig.index to set output index file (d3fd8b0), closes #2241 #2767
- build: use static files for css (a6415cc), closes #2148 #2020 #2826 #2646
- serve: allow CORS access while running ng serve (#2872) (#3009) (7c834a8)
- aot: Using relative paths might lead to path clashing. We now properly output an error in this case.
1.0.0-beta.19 (2016-10-28)
- appveyor: add workaround for webdriver bug (#2862) (2b17b46)
- compiler: update codegen API (#2919) (b50c121), closes #2917
- e2e: fix travis e2e (#2914) (b62b996)
1.0.0-beta.18 (2016-10-20)
- #1875: Support npm linked libraries (#2291) (8bf69d9)
- aot-tools: add missing tsc-wrapped dep (1587c1b), closes #2498 #2598
- build: add react minification support (e23e0fe), closes #2110 #2754
- build: fix sourcemap in prod (d292eac), closes #2533 #2519
- build: set tls and net node builtins to empty (7424795), closes #1696 #2626
- build: use outputPath from config (ec0cdb5), closes #2511 #2611
- doc: update invalid link (e17d4a8), closes #2553
- docs: Correct the usage of redirecting the output from
ng completion
. (2225027), closes #2635 - generate: show error when no name is specified (249ccf7), closes #2684
- init: ignore favicon (699ebba), closes #2274 #2617
- override ui write level (4608445), closes #2540 #2627
- init: throw when called with mobile flag (#2753) (9b1c3e0), closes #2679
- karma: Add cli config poll option to karma default config (#2486) (63023ae)
- new: add prefix to spec name (1307dc8), closes /github.com/angular/angular-cli/commit/06976f4f07a6d6065124a819b95634bddaac4598#commitcomment-19241601 #2595
- new: fix relativeRootPath for typeRoots (eb2f939), closes #2206 #2597
- serve: enable routes with dots (#2535) (6f8b1b5), closes #2168
- set: output value for additional props (f7bf0aa), closes #1900 #2614
- build: add gzip to serve --prod (7c13cc5), closes #2028 #2621
- build: add support for assets array (#2570) (de3c275)
- build: added postcss-discard-comments (883fe46), closes #2593
- generate: specify class type via dot notation (#2707) (c2dd94c), closes #2155
- serve: implement open browser option (8bddabe), closes #1081 #2489
- ssl: add support for the ssl options of the ng serve task: --ssl, --ssl-cert, and --ssl-key (#2792) (ba414ab)
- generate: The ability to specify a class type via an additional arg has been replaced by combining the name and type args separated by a dot
1.0.0-beta.17 (2016-10-07)
- build: remove html-loader (#2537) (afb36e8)
- build: use baseUrl and paths from tsconfig (#2470) (32e60b7)
- cli: fix
completion
andmake-this-awesome
command invalid problem(#1889) (4b36ecf), closes #1890 - generate: use prefix when initializing app (#2046) (#2367) (06976f4)
- typo: fixed typo in README (#2383) (f6a39b2)
- webpack: Added ContextReplacementPlugin to remove ng test warning (c2f4b37), closes #2362
- check for old version of the CLI on empty project (2b6bfe7), closes #2135 #2178
- aot: adding README and type checking. (8a5b265), closes #2527
- aot: creating files in a virtual fs. (#2464) (790a1b4)
- aot: do not populate the whole filesystem if nothing changed (#2490) (b5771df)
- template: issue template look better (#2384) (398cfb3)
1.0.0-beta.16 (2016-09-28)
- build: fail ng build on error (#2360) (aa48c30), closes #2014
- build: use config output path as default (#2158) (49a120b)
- generate: Update directive.spec.ts blueprint to fix incorret import (#1940) (93da512)
- karma: set defaults for karma.conf.js (#1837) (e2e94a5)
- test: correctly report packages spec failures (#2238) (3102453)
1.0.0-beta.15 (2016-09-20)
- help: fix a bug where help was not available inside a project. (#2146) (5b880b2)
- pin beta package versions (#2236) (638a54b), closes #2234
1.0.0-beta.14 (2016-09-15)
- config: change css regex which causes error (#2069) (7096cc9), closes angular/angular#11445
- init: fix link and npm install (#2086) (7a39162)
1.0.0-beta.11-webpack.9 (2016-09-13)
- add ast-tools as a direct dependency to angular-cli (bf18f4d)
- bootstrap: fix windows node_modules path (#2037) (c41600a)
- find-lazy-modules: Allow for any valid keys/value to be used (#1987) (caa3142), closes #1891 #1960
- lint: Updated the main.ts's blueprint to fix the ng lint failure (#1903) (#1904) (0d9d646)
- add loader for gif (#2066) (126c82b), closes #1878
- lazy loading now works as expected with latest webpack (#2038) (33c9c73)
- test: add build environment to karma (#2074) (b6a2165)
- module: add ability to generate a routing file for new modules (#1971) (9ddba69)
- module: select module to add generations to for declaration (#1966) (a647e51)
1.0.0-beta.11-webpack.3 (2016-08-29)
- lint: change " to ' (#1779) (e572bb4)
- change inline-source-map to source-map for dev and common, prod already supports (#1659) (e0454e3)
- test: use updated ngModules in blueprint (#1680) (cb67d25)
- denodeify is needed in prod now too (#1879) (5e68151)
- build: copy dot files in assets (8c566ca), closes #1758 #1847
- fix compilation errors for the whole project (#1864) (8be7096)
- config: misnamed variable causing errors. (e9ea554)
- generate: use canonical paths for template and style URLs (339af33), closes #1840
- init: karma paths reflect sourceDir config (#1686) (504a497), closes #1683
- mobile: add
icons/
path in front of iconsrc
values (cc5e9ad), closes #1179 #1181 - mobile: remove icon
density
field from manifest (382487b), closes #1178 #1180 - prod: fix function name mangling (9188ea2), closes #1644 #1644 #1662
- improve 'ember'->'ng' replacement (80512ba), closes #1405 #1829
- removed travis-specific configuration from karma (#1815) (f03f275)
- add features in get-dependent-files.ts (#1525) (7565f2d)
- Add LCOV reporting by default in karma remap instanbul reporter (#1657) (10dd465)
- build: implement --base-href argument (74b29b3), closes #1064 #1506
- build: silence sourcemap warnings for vendors (#1673) (67098e0)
- build: update angular-cli.json (#1633) (3dcd49b)
- feature: add ability to generate feature modules (#1867) (1f4c6fe)
- module: add generation of modules (f40e6f1), closes #1650
- serve: add proxy support (9d69748)
- tslint: add validation for selector prefix (9ff8c09), closes #1565
1.0.0-beta.11-webpack.2 (2016-08-10)
- webpack-copy: copies files from public/ directory to dist/ and preserves references (b11bc94)
- Set fs building/polyfill empty for better package support (#1599) (560ae8f)
- Updated webpack-karma which has proper peer deps settings (#1597) (ace720b)
- add utility functions for route generation (#1330) (4fd8e9c)
- ngmodules and insert components based on the AST (#1616) (5bcb7be)
1.0.0-beta.11-webpack (2016-08-02)
Hey you! Yes, you! Angular-CLI team here. You know us, but we don't know you enough. And we like to hear about you too. That's why we did this release, so that you could check out for us, as we're looking out for you.
Anyway, here goes...
🎺 We moved the build system from SystemJS to Webpack. 🎉
🎊 Yeah! 🎊 ^_^
This is kind of a big deal, really. This will mean less thinking about the internals of the CLI and SystemJS, less time spent configuring a new npm package and karma, your life is going to be much easier! More coding where it actually matters, faster builds, more time spent with your loved ones, and lots of other goodies. Just for you. You'll love it!
We want to make sure it's ready. That's why we need your help. Basically, things should work. Build and Serve should work. Also, testing and E2E should too. To put it short, everything should work as it was before. But we're not certain! Test every commands you can think of. Use your normal work flows. We need you to test your projects and file issues about it.
If you have a special build file that requires shuffling files around in Broccoli, give it a try without that. Note that TypeScript 2.0 path mapping is supported by the CLI so that might help you find out files.
There's a migration document to move your project over. It's not complete yet, but we're working on it. Here's the PR: angular#1456. The main take away is that most build configuration and system configuration should not be needed anymore.
Please note that this is a really alpha release of this, and we want to tighten every nut and bolt before making it an official beta.
Which we will release. Shortly after we tighten it up. Because we love you, our users, very much. And we want to help you make your apps awesome. With webpack.
- The Angular-CLI team
Oh, almost forgot. Also:
- tests: allow to create component without a spec file (a85a507), closes #1256
- add module-resolver utils (b8ddeec)
- add utilities for typescript ast (#1159) (0cfc2bf)
1.0.0-beta.10 (2016-07-19)
- build: don't ignore js in public (#1129) (00e111a), closes #540
- mobile: remove app/index.js from concatenated bundle (#1267) (03fd4c4)
- Fix all versions of dependencies to Angular-CLI (#1331) (022e7f9), closes #1331
- fix versions in the shrinkwrap instead of using ranges (#1350) (72bc9d9), closes #1350
Always follow the update guide when updating to a new version. The changelog does not list breaking changes that are fixed via the update procedure.
1.0.0-beta.9 (2016-07-04)
- npm: update to npm 3.10.2 (#1250) (6f0ebfb), closes #1186 #1191 #1201 #1209 #1207 #1248
- sass: don't compile partials (af9a4f9)
- deps: update router (#1121) (b90a110)
- e2e: prevent chrome race condition (#1141) (9df0ffe)
- init: don't replace live reload script on diffs (#1128) (e97fd9f), closes #1122
- lint: add missing rulesDirectory (#1108) (1690a82), closes #1094
- mobile: partially fix dep problem (#1151) (4b638c8), closes #1151
- add file system utilities for 'upgrade' process (327f649)
- admin: added support for non Administrator CLI user (0bc3d94), closes #905 #886 #370
- barrel: alphabetized barrel exports (67b577d), closes #582
- deploy: Fix base href for user pages (#965) (424cff2), closes #965
- e2e: return exit codes on failure of e2e tests (d0c07ac), closes #1017 #1025 #1044
- generator: --dry-run no longer modifies files (6efc8ee)
- Persist style extension config at project creation. (85c9aec), closes #780
- skips git-init if working folder is inside a git repo (52c0cfb), closes #802
- gh-deploy: fix deep links (#1020) (f8f8179), closes [(#1020](https://github.com/(/issues/1020) #995
- mobile: add missing vendor file to build (#972) (9a7bfe0), closes #847
- mobile: lock dependency (#961) (740805b), closes #958
- sourcemaps: try to improve the source maps by fixing the path (#1028) (5f909aa)
- template: Update pipe template to include Pipe in name (c92f330), closes #869
- allow lazy route prefix to be configurable (c3fd9c7), closes #842
- router: upgrade the router version (eb9b80e)
- style: automatically add dependencies if style is set on new projects (01e31ab), closes #986
- test: run e2e of generated project (#490) (d0dbd70)
-
The router has been updated to the newest version, usage of the deprecated router and the original release candidate routers are no longer supported
-
<PROJECT-NAME>AppComponent
is now simplyAppComponent
, and it's selector is nowapp-root
(angular#1042). -
Route generation is temporarily disabled while we move to the recently announce router(angular#992). It is recommended that users manually move to this router in all new projects.
- blueprint: add blueprint for generating interfaces (#757) (482aa74), closes #729
- test: use link-cli option on e2e (#841) (85d1400)
- ng new: command to link to
angular-cli
(#778) (9b8334f)
- build: fix infinite loop on ng serve (#775) (285db13), closes #775
- deploy: fix file copy, index tag rewrite (#772) (a34aca8), closes #772
- index: fix live reload file path (#774) (be718cb), closes #774
- mobile: don't import system-config in system-import.js (#794) (7ab7d72)
- mobile: make app-shell compilation synchronous (9ed28ba)
- mobile: prevent already-bundled JS from getting cached by Service Worker (9d18f74)
- mobile: add app shell to mobile blueprint (#809) (e7d7ed8)
- SASSPlugin: Allow regexes to be passed to include/exclude certain file patterns (6b45099), closes #558
- broccoli-typescript: properly parse compilerOptions (#764) (bbf1bc8)
- mobile: include vendor scripts in bundle (679d0e6), closes #733
- mobile: remove mobile-specific dependencies from root package (263e23b)
- mobile: update path to reflect updated service worker package (#746) (818fb19)
- package: temporarily remove angular2-service-worker (7f86ab3)
- package.json use sourceDir for new command (8dcd996)
- use options sourceDir, and fix null property access. Also use 1.9 (7ba388d), closes #619
- 710: Missing http module dependency (c0aadae)
- commands: fix outdated string utils import. (7db40df)
- mobile: add blueprint for app manifest and icons (f717bde)
- mobile: add prod build step to concatenate scripts (51569ce)
- mobile: add ServiceWorker generation to build process and index (04593eb)
- mobile: add support for generating App Shell in index.html (cb1270f)
- ng2 blueprint: add test script entry to package.json (eabc160)
- generated-project: cli was not using the correct version of CLI in generated project. (#672) (02073ae)