Skip to content

Latest commit

 

History

History
827 lines (528 loc) · 74.9 KB

CHANGELOG.md

File metadata and controls

827 lines (528 loc) · 74.9 KB

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

Bug Fixes

  • .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)

Code Refactoring

  • @angular/cli: removed the github pages deploy command (#4385) (0f8689b)

Features

BREAKING CHANGES

  • e2e: ng e2e no longer needs ng 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 of coverage/coverage.lcov.
  • @angular/cli:ng test --code-coverage now uses karma-coverage-istanbul-reporter instead of karma-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'), with require('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)

Bug Fixes

  • @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)

Features

  • @angular/cli: move angular-cli to @angular/cli (#4328) (601f9b3)

1.0.0-beta.28 (2017-02-01)

Bug Fixes

Code Refactoring

Features

  • @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

Performance Improvements

  • @ngtools/webpack: Improve rebuild performance (#4145) (9d033e7)
  • @ngtools/webpack: improve rebuild performance (#4188) (7edac2b)
  • @ngtools/webpack: reduce rebuild performance by typechecking more (#4258) (29b134d)

BREAKING CHANGES

  • 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's angular-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 to false 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)

Bug Fixes

  • @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)

Features

  • @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)

Bug Fixes

Features

  • @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)

Bug Fixes

  • @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 from ng test (#3628) (3459300)
  • webpack: correctly load component stylesheets (#3511) (d4da7bd)

Features

1.0.0-beta.23 (2016-12-15)

This beta was abandoned and unpublished due to a breaking bug.

Bug Fixes

Features

Performance Improvements

  • install time: Remove dependency to zopfli. (#3414) (e6364a9)

BREAKING CHANGES

  • blueprints: The app root module and component must now be imported directly. (e.g., use import { AppModule } from './app/app.module'; instead of import { AppModule } from './app/';)

1.0.0-beta.22-1 (2016-12-05)

Bug Fixes

1.0.0-beta.22 (2016-12-02)

Bug Fixes

  • @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)

Features

  • 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)

BREAKING CHANGES

  • build: ng build/serve now generates vendor.bundle.js by default.

1.0.0-beta.21 (2016-11-23)

Bug Fixes

  • 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)

Features

1.0.0-beta.20 (2016-11-16)

Bug Fixes

Features

BREAKING CHANGES

  • 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)

Bug Fixes

Features

1.0.0-beta.18 (2016-10-20)

Bug Fixes

Features

BREAKING CHANGES

  • 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)

Bug Fixes

Features

  • 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)

Bug Fixes

  • 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)

Features

  • webpackDevServer: Add watchOptions for webpackDevServer (#1814) (ce03088)

1.0.0-beta.15 (2016-09-20)

Bug Fixes

1.0.0-beta.14 (2016-09-15)

Bug Fixes

Bug Fixes

Features

  • module: add ability to generate a routing file for new modules (#1971) (9ddba69)
  • module: select module to add generations to for declaration (#1966) (a647e51)

Bug Fixes

Features

  • 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

Bug Fixes

  • 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)

Features

  • add utility functions for route generation (#1330) (4fd8e9c)
  • ngmodules and insert components based on the AST (#1616) (5bcb7be)

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...

Features

🎺 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)

Bug Fixes

Features

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)

Bug Fixes

1.0.0-beta.7 (2016-06-23)

Bug Fixes

  • 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

Features

  • add file system utilities for 'upgrade' process (327f649)

1.0.0-beta.6 (2016-06-15)

Bug Fixes

Features

  • 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)

BREAKING CHANGES

  • 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 simply AppComponent, and it's selector is now app-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.

1.0.0-beta.5 (2016-05-19)

Bug Fixes

  • build: fix broken sourcemaps (#839) (234de2b), closes #839

Features

  • blueprint: add blueprint for generating interfaces (#757) (482aa74), closes #729
  • test: use link-cli option on e2e (#841) (85d1400)

Performance Improvements

  • ng new: command to link to angular-cli (#778) (9b8334f)

1.0.0-beta.4 (2016-05-18)

Bug Fixes

  • 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)

Features

  • mobile: add app shell to mobile blueprint (#809) (e7d7ed8)
  • SASSPlugin: Allow regexes to be passed to include/exclude certain file patterns (6b45099), closes #558

1.0.0-beta.2-mobile.3 (2016-05-13)

Bug Fixes

  • 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)

Features

  • blueprints: add enum blueprint. (eddb354), closes #707

1.0.0-beta.2-mobile (2016-05-12)

Bug Fixes

  • 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)

Features

  • 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)

1.0.0-beta.1 (2016-05-07)

Bug Fixes

  • generated-project: cli was not using the correct version of CLI in generated project. (#672) (02073ae)