chore(deps): update angular monorepo to v8 (major) #1206
Merged
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:
7.2.13
->8.0.0
7.2.13
->8.0.0
7.2.13
->8.0.0
7.2.13
->8.0.0
7.2.13
->8.0.0
7.2.13
->8.0.0
7.2.13
->8.0.0
7.2.13
->8.0.0
Release Notes
angular/angular
v8.0.0
Compare Source
Features
onUrlChange
hook (#30466) (8022d36)SwRegistrationOptions
token to allow runtime config (#21842) (39c0152)Bug Fixes
TestBed.deprecatedOverrideProvider
API (#30576) (5a46f94)history.state
is set ineager
update mode (#30154) (9720227)[@angular](https://github.com/angular)/bazel
is installed (#30072) (2905bf5)onMicrotaskEmpty
emits while a$digest
is in progress (#29794) (0ddf2e7), closes #24680 /github.com/angular/angular/blob/78146c189/packages/core/src/util/ng_dev_mode.ts#L12 #24680EventListener
in typings (#29809) (4bde40f), closes /github.com/angular/angular/blob/303eae918d997070a36b523ddc97e018f622c258/packages/core/src/debug/debug_node.ts#L32 #29806ng add
when invoked independently (#29852) (bd2ce9c)@Injectable()
to common pipes (#29834) (387fbb8)<tr>
and<col>
elements into a required parent (#29219) (f2dc32e)DEPRECATIONS
BREAKING CHANGES
bazel: @bazel/typescript is now a peerDependency of @angular/bazel so user's of @angular/bazel must add @bazel/typescript to their package.json
bazel: ng_module now depends on a minimum of build_bazel_rules_nodejs 0.27.12
core: In Angular version 8, it's required that all @ViewChild and @ContentChild
queries have a 'static' flag specifying whether the query is 'static' or
'dynamic'. The compiler previously sorted queries automatically, but in
8.0 developers are required to explicitly specify which behavior is wanted.
This is a temporary requirement as part of a migration; see
https://v8.angular.io/guide/static-query-migration for more details.
@ViewChildren and @ContentChildren queries are always dynamic, and so are
unaffected.
TestBed.get()
has two signatures, one which is typed and another which accepts and returnsany
. The signature forany
is deprecated; all usage ofTestBed.get()
should go through the typed API. This mainly affects string tokens(which aren't supported) and abstract class tokens.
Before:
After:
core: Certain elements (like
<tr>
or<col>
) require parent elements to be of a certain type by the HTML specification(ex.
<tr>
can only be inside<tbody>
/<thead>
). Before this change Angular template parser was auto-correcting"invalid" HTML using the following rules:
<tr>
would be wrapped in<tbody>
if not inside<tbody>
,<tfoot>
or<thead>
;<col>
would be wrapped in<colgroup>
if not inside<colgroup>
.This meachanism of automatic wrapping / auto-correcting was problematic for several reasons:
it is non-obvious and arbitrary (ex. there are more HTML elements that has rules for parent type);
it is incorrect for cases where
<tr>
/<col>
are at the root of a component's content, ex.:In the above example the
<projecting-tr-inside-tbody>
component could be "surprised" to see additional<tbody>
elements inserted by Angular HTML parser.TypeScript 3.1 and 3.2 are no longer supported.
Please update your TypeScript version to 3.3
v7.2.15
Compare Source
Bug Fixes
onMicrotaskEmpty
emits while a$digest
is in progress (#29794) (#30107) (1084c19), closes #24680 /github.com/angular/angular/blob/78146c189/packages/core/src/util/ng_dev_mode.ts#L12 #24680v7.2.14
Compare Source
Bug Fixes
onMicrotaskEmpty
emits while a$digest
is in progress (#29794) (#30107) (1084c19), closes #24680 /github.com/angular/angular/blob/78146c189/packages/core/src/util/ng_dev_mode.ts#L12 #24680Renovate configuration
📅 Schedule: "after 11pm every weekday,before 6am every weekday" in timezone Europe/Warsaw.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot. View repository job log here.