Angular CLI: v6.1.0 Release

Release date:
July 25, 2018
Previous version:
v6.1.0-rc.3 (released July 18, 2018)
Magnitude:
1 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in v6.1.0

hansl

Directory Browser for v6.1.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

:tada:

Commits

@angular-devkit/architect

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| unsubscribe on timeout in runTargetSpec| | Bug Fix| always clear TestProjectHost on restore|

@angular-devkit/build-angular

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| fix webpack hostadapter return types| | Bug Fix| use the internal buildWebpackConfig method| | Bug Fix| don't add hash to lazy styles| Closes #11235 | Bug Fix| update node-sass| | Bug Fix| add missing deploy-url to server| Closes #11426 | Bug Fix| downgrade sass-loader to 6.0.7| | Bug Fix| update minimum copy-webpack-plugin version| Closes #9230 | Bug Fix| add all current TSLint default formatters to schema| | Bug Fix| revert to webpack 4.9.2| | Bug Fix| pass in ContextElementDependency to ngtools/webpack| | Bug Fix| update webpack types| | Bug Fix| use webpack 4.11.1| | Bug Fix| Allow less-loader to use webpack resolver|

@angular-devkit/build-optimizer

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| support object literal methods|

@angular-devkit/build-webpack

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| support minor versions of webpack 4.x|

@angular-devkit/build_angular

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| use webpack 4 hooks for karma plugin|

@angular-devkit/core

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| allow use of ResolverHost| | Bug Fix| propagate node host delete errors| | Bug Fix| ensure full path is renamed for memory host| | Bug Fix| detect ambiguous projects with path discover| | Bug Fix| remove circular dependencies| | Bug Fix| when two projects are the same, pick the first declared|

@angular-devkit/schematics

Two notes about changes in Schematics in 0.7.0:

  1. We refactored the Tree implementation with a new CordHost recorder. All the changes you make to the Tree is now recorded in a set of changes (Create, Delete, Rename and Overwrite) instead of a list of Actions. This means that branching and merging are now consistent with the expected behaviour and the MergeStrategy work as expected. However, because of the nature of the old implementation, to maintain backward compatibility we had to keep some old code around that is only used when using two versions of Schematics; this code will move away in 7 and will likely break some Schematics that relied on it. Overall this is a huge improvement in the stability, speed and code health and will make understanding and learning Schematics easier.
  2. We now allow people to return a Rule which will be run as if it was chained. This was a long standing feature that people had to be able to read files before setting up which Rule to run; itโ€™s now entirely possible and we started using it in our own schematics, making things easier to read and understand.

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| implement HostTree specific filtering| | Bug Fix| support VirtualTree/HostTree interop| | Bug Fix| ensure renamed files do not exist| | Bug Fix| support filtering a HostTree| | Bug Fix| fix declaring multiple aliases| Closes #11389 | Bug Fix| avoid piping input multiple times when calling rules|

@angular/cli

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| add all current TSLint default formatters to schema| | Bug Fix| use default project when project path is ambiguous| | Bug Fix| Fix double setting of the path options for new| Closes #11025 | Bug Fix| support entry component|

@angular/pwa

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| Fix JSON parsing|

@ngtools/webpack

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| don't add resource sourcemap to parent compilation| Closes #9980 | Bug Fix| support watching file replacements| | Bug Fix| fix resolution fallback of paths-plugin| Closes #607 | Bug Fix| improve fallbacking for path mapping| | Bug Fix| improve support for multi-option path mapping| | Bug Fix| allow passing in the right ContextElementDependency class| Closes #6417

@schematics/angular

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| ensure production configuration when migrating| | Bug Fix| add module in root tsconfig when migrating| | Bug Fix| add baseUrl in root tsconfig when migrating| | Bug Fix| add module option in library tsconfig| Closes #11255 | Bug Fix| use es2015 modules overall| | Bug Fix| allow ServiceWorker to work with baseHref| Closes #8515 | Bug Fix| Fix JSON parsing| Closes #10880 | Bug Fix| Fix root path for e2e projects during update|

@schematics/update

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| use rc to find and read npm config| | Bug Fix| ensure auth config options are typed properly| | Bug Fix| support npm auth bearer tokens| | Bug Fix| allow beta versions to be valid peer|

angular_devkit

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| stop blocking karma after compilation error|

Misc

| Commit | Description | Notes | |:------:| ----------- | -----:| | Bug Fix| typo fix for error logging|


Special Thanks

Charles Lyding, Hans Larsen, Filipe Silva, Alan Agius, Mike Brocchi, Alex Eagle, George Kalpakas, Teamop, Charles Suttie, banjankri, Christian Hagendorn, Brenden, Nico Jansen, Huรกng Jรนnliร ng, Vincent Pizzo, Ferdinand Malcher