Update dependency @angular/cli to v8 - autoclosed #200
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~1.7.3
->~8.0.0
By merging this PR, the below issues will be automatically resolved and closed:
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
angular/angular-cli (@angular/cli)
v8.0.0
Compare Source
Welcome to version 8.0 of Angular and the CLI.
This release includes some significant new features:
ng update
, we make some minor changes to your application to make it possible for all browsers to automatically downloaded the most suitable bundles. This change requires no server-side or serving infrastructure changes. The change is enabled by default via thetarget
field set toes2015
in application’s tsconfig.json. If this change breaks your application, you can change the value back toes5
which disables differential loading. Thanks to Manfred Steyer https://github.com/manfredsteyer for upstreaming his excellent work on ngx-build-plus. See the documentation at https://angular.io/guide/deployment#differential-loadingimport()
for lazy loading of routes. This aligns Angular with the JavaScript specification and makes your application more compatible with tooling.ng update
will automatically change theloadChildren
syntax to import(), and we no longer recommend using the string-based style likepath/to/module#ModuleName
. Thanks to Craig Spence https://github.com/phenomnomnominal for adding support for this.deploy
command. Along with Architect, we've added a Workspace API for tools that need to read or write theangular.json
file; see https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/core/README.md#workspaces@angular/cli
by 60%To update, please visit https://update.angular.io
Breaking Changes
@angular-devkit/build-angular: use `sass` instead of `node-sass` (ce15899)
we no longer use `node-sass` by default, instead we use `sass` (dart-sass).While in most cases this should not have an impact the generated code, dart sass has some differences from Ruby Sass. See https://github.com/sass/dart-sass#behavioral-differences-from-ruby-sass for more details
If you wish to use
node-sass
instead ofsass
you need to install node-sass as a dev dependency.npm users
yarn users
Note: for larger Sass projects to avoid this performance hit you might want to install
fibers
. See: https://www.npmjs.com/package/fibersRef: TOOL-748
@angular-devkit/core: Remove dep on chokidar (eb5643e)
Users who rely on angular-devkit/core to do the file watching must add chokidar to their devDependencies.@angular-devkit/build-angular: disable by default stylesheet root relative URL rebasing (94b087c)
Root relative URLs are a standardized method to reference a resource path from the root of a host. The previous behavior of the Angular CLI prevented this from occuring and resulted in an inability to reference stylesheet assets in this manner. The initial reason for this behavior is no longer present in the internal implementation of the Angular CLI. Therefore, this now unnecessary and non-standard behavior is being phased out. If an application currently relies on this behavior, a compatibility option `rebaseRootRelativeCssUrls` has been provided for the 8.x release cycle to facilitate transition away from this non-standard and limiting behavior. The recommended method to transition is to use relative paths within the source stylesheet. This allows the build system to process and generate a full URL for the asset.Schematics are now async
For Schematics authors: note that schematics have always been potentially async, but now they all are.Commits
@angular/cli (8.0.0)
@angular-devkit/architect (0.800.0)
@angular-devkit/build-angular (0.800.0)