This repository was archived by the owner on May 7, 2018. It is now read-only.
build: update @angular/language-service to version ^6.0.0 #39
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 Pull Request renovates the package group "angular".
devDependencies
): from^5.0.0
to^6.0.0
devDependencies
): from^5.0.0
to^6.0.0
devDependencies
): from1.7.4
to6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
dependencies
): from^5.0.0
to^6.0.0
Release Notes
angular/angular
v6.0.0
Compare Source
Release Highlights & Update instructions
Angular v6 is the first release of Angular that unifies the Framework, Material and CLI.
To learn about the release highlights and our new CLI-powered update workflow for your projects please check out the v6 release announcement.
Dependency updates
Small Features
element
andparams
within transition matchers (#22693) (58b94e6)preserveWhitespaces
to false by default (#22046) (f1a0632), closes #22027Bug Fixes
CurrencyPipe
(#21783) (44154e7), closes #10189/*# sourceURL ... */
(#16088) (5f681f9).ngsummary.json
files idempotent (#21448) (e64b1e9)*
match 0 characters in globs (#23339) (6c2c958)only-if-cached
requests (#22883) (d9dc46e), closes #22362OnPush
components (#22209) (ad9ce5c), closes #14286=
bindings in[@angular]/upgrade
(#22167) (f089bf5)Possible Breaking Changes
animations: When animation is triggered within a disabled zone, the associated event (which an instance of AnimationEvent) will no longer report the totalTime as 0 (it will emit the actual time of the animation).
To detect if an animation event is reporting a disabled animation then the
event.disabled
property can be used instead.compiler: The
<template>
tag was deprecated in Angular v4 to avoid collisions (i.e. when using Web Components).This change removes support for
<template>
.<ng-template>
should be used instead.BEFORE:
tsconfig.json
...
...
This option is no more supported and will have no effect
AFTER:
core: it is no longer possible to import animation-related functions from @angular/core. All animation symbols must now be imported from @angular/animations.
forms: -
AbstractControl#statusChanges
now emits an event of'PENDING'
when you callAbstractControl#markAsPending
markAsPending
statusChanges
that you account for the new event when callingmarkAsPending
forms: ngModelChange is now emitted after the value/validity is updated on its control.
Previously, ngModelChange was emitted before its underlying control was updated.
This was fine if you passed through the value directly through the $event keyword, e.g.
However, if you had a handler for the ngModelChange event that checked the value through the control,
you would get the old value rather than the updated value. e.g:
Now the value and validity will be updated before the ngModelChange event is emitted,
so the same setup will log the updated value.
We think this order will be less confusing when the control is checked directly.
You will only need to update your app if it has relied on this bug to keep track of the old control value.
If that is the case, you should be able to track the old value directly by saving it on your component.
5.2.10 (2018-04-16)
Bug Fixes
only-if-cached
requests (#22883) (0d4fe38), closes #22362OnPush
components (#22209) (f43fba6), closes #142864.4.7 (2018-04-16)
Bug Fixes
5.2.9 (2018-03-14)
Bug Fixes
5.2.8 (2018-03-07)
Bug Fixes
=
bindings in[@angular]/upgrade
(#22167) (6638390)5.2.7 (2018-02-28)
Bug Fixes
=
bindings in[@angular]/upgrade
(#22167) (6638390)5.2.6 (2018-02-22)
Bug Fixes
5.2.5 (2018-02-14)
Bug Fixes
5.2.4 (2018-02-07)
Bug Fixes
5.2.3 (2018-01-31)
Bug Fixes
5.2.2 (2018-01-25)
Bug Fixes
/*# sourceURL ... */
(#16088) (de6c644)5.2.1 (2018-01-17)
Bug Fixes
.ngsummary.json
files idempotent (#21448) (a931a41)Features
angular/angular-cli
v6.0.0
Compare Source
CLI Version 6 – Hamilton
Hello y'all, CLI team again.
This is a really big release for us, and listing each changes individually would be too much information for you. As such we're going to summarize the new features and changes that are included, from a higher point of view.
Also, please note that there is a blog post for version 6 here.
ng eject
The 'eject' command has been temporarily disabled, as it is not yet compatible with the new
angular.json format. The new configuration format provides further flexibility to modify the
configuration of your workspace without ejecting. Ejection will be re-enabled in a future
release of the CLI.
In the meantime, you can eject with 1.7.4, then update your project and keep using webpack to build.
ng update
A new Angular CLI command to help simplify keeping your projects up to date with the latest versions. Packages can define logic which will be applied to your projects to ensure usage of latest features as well as making changes to reduce or eliminate the impact related to breaking changes.
Configuration information for ng update can be found here
ng add
A new Angular CLI command provides package authors the ability to include dynamic setup instructions as part of the installation procedures. When a user installs a package via
ng add
and that package includes a schematic named "ng-add" logic will run to set up that package within your project.For package owners:
ng-add
is powered by a single schematic named "ng-add" within your package's schematics collection. Options will be passed through to your schematic when running the schematic to allow for further configuration options.PWA Support
Progressive Web Apps have grown in popularity and support with all major browswers supporting service workers. Adding the configuration and assets to configure your applications as PWAs can be confusing and time consuming, to simplify the process you can now run
ng add @​angular/pwa --project [project-name]
to configure the supplied project as a progressive web application.Angular Workspace
The
.angular-cli.json
configuration file is replaced withangular.json
workspace file, a new file the lays the foundation for multiple projects in a single workspace.In this file you can find every configuration item and default that Angular CLI uses. Having all configuration on file allows you to avoid typing out multiple configuration flags on each command and
npm
script.If your editor has JSON schema support, you will be able to see auto-completion with suggestions and defaults for each property in the
angular.json
file.Read more about the Angular Workspace here.
Build improvements
The build system Angular CLI uses has been overhauled to be faster and more easily configurable.
We have upgrade to Webpack 4 which comes with several performance and bundling improvements.
Angular Workspaces will also allow you to configure each build exactly the way you need instead of using lengthy
npm
scripts:Multi application support
Angular CLI now supports multiple individual applications within one workspace, each with separate configurations and defaults.
To create another app you can use the following command:
The new application will be generated inside
projects/my-other-app
.Now we can
serve
either application by passing the project name with the command:Library Support
Angular CLI now comes with library support via ng-packagr plugged into the build system we use in Angular CLI, together with schematics for generating a library.
You can create a library in a existing workspace by running the following commands:
You should now have a library inside
projects/my-lib
. It contains a component and a service inside a NgModule.Read more about library creation here.
Schematic Defaults
Default values for schematics can be configured for any schematic property in any schematic collection. In previous versions the Angular CLI only provided access to configure defaults for certain properties of the default schematics.
Values can be provided at the root level:
Or at the project level:
Or even at the global level, same as at the root level, except in a file located here:
[homedir]/.angular-config.json
Smart Defaults
Smart defaults is a new feature within Schematics which grants authors of schematics more control about how their values are parsed. An example is to specify how arguments (unnamed options) are parsed from the command line.
This example will set the value of the name option to the first argument. As you see defined in the
$default
value.Breaking changes
The
allowOutsideOutDir
option in assets has been removed.Special thanks to everyone who participated in this release:
Charles Lyding, Filipe Silva, Hans Larsen, Mike Brocchi, Alan Agius, Rahul Bhooteshwar, Cyrille Tuzi, Noel Mace, Christofer Steingrefer, Vikram Subramanian, Sébastien Cevey, Maxim Salnikov, Jose E, Cédric Exbrayat, sergey.sokolov, Yaroslav Admin, Will 保哥, Sylvain Dumont, Suguru Inatomi, Steven Enten, Stephen Fluin, Shai Reznik, PhilippeMorier, Miles Malerba, Michael Prentice, Matthias Lischka, Luke Chatton, Luis Confraria, Kasidit Iamthong, Jiaren Liu, GerbetMikhaël, George Kalpakas, Evan Carroll, Danny, Brandon, Alan
This PR has been generated by Renovate Bot.