Skip to content

ci: update angular-cli (minor) #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 13, 2020
Merged

ci: update angular-cli (minor) #269

merged 3 commits into from
Nov 13, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 11, 2020

This PR contains the following updates:

Package Type Update Change
@angular-devkit/build-angular devDependencies minor 0.1002.0 -> 0.1100.1
@angular/animations devDependencies major 10.2.3 -> 11.0.0
@angular/cdk devDependencies major 10.2.7 -> 11.0.0
@angular/cli devDependencies major 10.2.0 -> 11.0.1
@angular/common devDependencies major 10.2.3 -> 11.0.0
@angular/compiler devDependencies major 10.2.3 -> 11.0.0
@angular/compiler-cli devDependencies major 10.2.3 -> 11.0.0
@angular/core devDependencies major 10.2.3 -> 11.0.0
@angular/forms devDependencies major 10.2.3 -> 11.0.0
@angular/language-service devDependencies major 10.2.3 -> 11.0.0
@angular/material devDependencies major 10.2.7 -> 11.0.0
@angular/platform-browser devDependencies major 10.2.3 -> 11.0.0
@angular/platform-browser-dynamic devDependencies major 10.2.3 -> 11.0.0
@angular/router devDependencies major 10.2.3 -> 11.0.0

Release Notes

angular/angular

v11.0.0

Compare Source

Bug Fixes
Features
Performance Improvements
  • compiler-cli: only generate template context declaration when used (#​39321) (1ac0500)
  • core: do not recurse into modules that have already been registered (#​39514) (5c13c67), closes #​39487
  • compiler-cli: only emit directive/pipe references that are used (#​38539) (077f516)
  • compiler-cli: optimize computation of type-check scope information (#​38539) (297c060)
  • router: use ngDevMode to tree-shake error messages in router (#​38674) (db21c4f)
BREAKING CHANGES
  • platform-server: If you use useAbsoluteUrl to setup platform-server, you now need to
    also specify baseUrl.
    We are intentionally making this a breaking change in a minor release,
    because if useAbsoluteUrl is set to true then the behavior of the
    application could be unpredictable, resulting in issues that are hard to
    discover but could be affecting production environments.
  • compiler: TypeScript 3.9 is no longer supported, please upgrade to TypeScript 4.0.
  • router: * The initialNavigation property for the options in
    RouterModule.forRoot no longer supports legacy_disabled,
    legacy_enabled, true, or false as valid values.
    legacy_enabled (the old default) is instead enabledNonBlocking
  • enabled is deprecated as a valid value for the
    RouterModule.forRoot initialNavigation option. enabledBlocking
    has been introduced to replace it
  • router: preserveQueryParams has been removed, use
    queryParamsHandling="preserve" instead
  • router: If you were accessing the RouterLink values of queryParams,
    fragment or queryParamsHandling you might need to relax the typing to also
    accept undefined and null. (#​39151)
  • core: * ViewEncapsulation.Native has been removed. Use ViewEncapsulation.ShadowDom instead. Existing
    usages will be updated automatically by ng update.
  • compiler-cli: Expressions within ICUs are now type-checked again, fixing a regression
    in Ivy. This may cause compilation failures if errors are found in
    expressions that appear within an ICU. Please correct these expressions
    to resolve the type-check errors.
  • forms: Directives in the @angular/forms package used to have any[] as a type of validators and
    asyncValidators arguments in constructors. Now these arguments are properly typed, so if your
    code relies on directive constructor types it may require some updates to improve type safety.
  • forms: Type of AbstractFormControl.parent now includes null. null is now included in the types of .parent. If you don't already have a check for this case,
    the TypeScript compiler might complain. A v11 migration exists which adds the non-null assertion
    operator where necessary. In an unlikely case your code was testing the parent against undefined with strict equality,
    you'll need to change this to === null instead, since the parent is now explicitly initialized
    with null instead of being left undefined.
  • packaging: In v10, IE 9, 10, and IE mobile support was deprecated. In v11, Angular framework removes IE 9,
    10, and IE mobile support completely.
    Supporting outdated browsers like these increases bundle size, code complexity, and test load,
    and also requires time and effort that could be spent on improvements to the framework.
    For example, fixing issues can be more difficult, as a straightforward fix for modern browsers
    could break old ones that have quirks due to not receiving updates from vendors.
  • platform-webworker: @​angular/platform-webworker and @​angular/platform-webworker-dynamic
    have been removed as they were deprecated in v8
  • common: The slice pipe now returns null for the undefined input value,
    which is consistent with the behavior of most pipes. If you rely on
    undefined being the result in that case, you now need to check for it
    explicitly.
  • common: The typing of the keyvalue pipe has been fixed to report that for
    input objects that have number keys, the result will contain the
    string representation of the keys. This was already the case and the
    code has simply been updated to reflect this. Please update the
    consumers of the pipe output if they were relying on the incorrect
    types. Note that this does not affect use cases where the input values
    are Maps, so if you need to preserve numbers, this is an effective
    way.
  • common: The signatures of the number pipes now explicitly state which types are
    accepted. This should only cause issues in corner cases, as any other
    values would result in runtime exceptions.
  • common: The signature of the date pipe now explicitly states which types are
    accepted. This should only cause issues in corner cases, as any other
    values would result in runtime exceptions.
  • common: The async pipe no longer claims to return undefined for an input that
    was typed as undefined. Note that the code actually returned null on
    undefined inputs. In the unlikely case you were relying on this,
    please fix the typing of the consumers of the pipe output.
  • common: The case conversion pipes no longer let falsy values through. They now
    map both null and undefined to null and raise an exception on
    invalid input (0, false, NaN) just like most "common pipes". If
    your code required falsy values to pass through, you need to handle them
    explicitly.
  • router: While the new parameter types allow a variable of type
    NavigationExtras to be passed in, they will not allow object literals,
    as they may only specify known properties. They will also not accept
    types that do not have properties in common with the ones in the Pick.
    To fix this error, only specify properties from the NavigationExtras which are
    actually used in the respective function calls or use a type assertion
    on the object or variable: as NavigationExtras.
  • router: This commit changes the default value of
    relativeLinkResolution from 'legacy' to 'default'. If your
    application previously used the default by not specifying a value in the
    ExtraOptions and uses relative links when navigating from children of
    empty path routes, you will need to update your RouterModule to
    specifically specify 'legacy' for relativeLinkResolution.
    See https://angular.io/api/router/ExtraOptions#relativeLinkResolution
    for more details.
  • core: If you call TestBed.overrideProvider after TestBed initialization, provider overrides are not applied. This
    behavior is consistent with other override methods (such as TestBed.overrideDirective, etc) but they
    throw an error to indicate that, when the check was missing in the TestBed.overrideProvider function.
    Now calling TestBed.overrideProvider after TestBed initialization also triggers an
    error, thus there is a chance that some tests (where TestBed.overrideProvider is
    called after TestBed initialization) will start to fail and require updates to move TestBed.overrideProvider calls
    before TestBed initialization is completed.
  • router: This change corrects the argument order when calling
    RouteReuseStrategy#shouldReuseRoute. Previously, when evaluating child
    routes, they would be called with the future and current arguments would
    be swapped. If your RouteReuseStrategy relies specifically on only the future
    or current snapshot state, you may need to update the shouldReuseRoute
    implementation's use of "future" and "current" ActivateRouteSnapshots.
  • common: The locale data API has been marked as returning readonly arrays, rather
    than mutable arrays, since these arrays are shared across calls to the
    API. If you were mutating them (e.g. calling sort(), push(), splice(), etc)
    then your code will not longer compile. If you need to mutate the array, you
    should now take a copy (e.g. by calling slice()) and mutate the copy.
  • common: When passing a date-time formatted string to the DatePipe in a format that contains
    fractions of a millisecond, the milliseconds will now always be rounded down rather than
    to the nearest millisecond. Most applications will not be affected by this change. If this is not the desired behaviour
    then consider pre-processing the string to round the millisecond part before passing
    it to the DatePipe.
  • core: CollectionChangeRecord has been removed, use IterableChangeRecord instead
  • forms: Previously if FormControl, FormGroup and FormArray class instances had async validators
    defined at initialization time, the status change event was not emitted once async validator
    completed. After this change the status event is emitted into the statusChanges observable.
    If your code relies on the old behavior, you can filter/ignore this additional status change
    event.
Code Refactoring

10.2.3 (2020-11-09)

Bug Fixes

10.2.2 (2020-11-04)

Bug Fixes
Performance Improvements

10.2.1 (2020-10-28)

Bug Fixes
angular/components

v11.0.0

Compare Source

cdk
bug fix a11y: allow for origin of already focused element to be changed (#​20966) (da581a2), closes #​20965
bug fix layout: decrease breakpoint upper bounds (#​20866) (cf7267e), closes angular/components#​20850
bug fix stepper: error if out-of-bounds index is assigned before initialization (#​20766) (793b62f), closes #​20735
bug fix drag-drop: error if dragging starts from active sibling container (#​20704) (6d86f0f), closes #​20623
bug fix drag-drop: error when cloning file input with value (#​20793) (5eb1035), closes #​20783
bug fix drag-drop: references to SVG not working inside preview (#​20742) (06294d1), closes #​20720
feature scrolling: update CdkVirtualForOf to work with sets. (#​20594) (e15f82c), closes #​20210
bug fix testing: avoid using dotted property access for dispatchEven… (#​20754) (7d99c35)
feature overlay: connected-overlay directive should have input for disabling escape close (#​20585) (57c7b6a)
feature testing: add the ability to dispatch arbitrary events (#​20714) (b7cfe67)
feature testing: support right clicking on a TestElement (#​20400) (b1be164), closes #​20385
bug fix a11y: cdkAriaLive default to polite (#​20672) (1ac653f), closes #​11618
bug fix a11y: error if FocusMonitor is used on non-element nodes (#​20640) (9edab81), closes #​20632
bug fix drag-drop: throw if drop list or handle are set on a non-element node (#​20668) (d4b505a), closes #​13540
bug fix testing: fix behavior in fakeAsync tests (#​20638) (40fa9ff)
bug fix tree: fix level for nested tree nodes (#​20226) (f951bf4)
feature coercion: add coercion for string arrays (#​20652) (a14eeb4)
feature table: add API for registering no data row (#​20658) (58341a7), closes #​20560
feature table: fixed table layouts (#​20258) (58e0c48)
feature testing: add getNativeElement to harness environments (#​20538) (1328420)
feature testing: add the ability to select options inside a native select (6de8ca3)
feature testing: allow disabling & batching of change detection (#​20464) (5562788)
feature testing: make MatButtonHarness extend ContentContainerComponentHarness (#​20653) (8cacf64)
performance testing: Improve performance of clicking in unit tests. (#​20441) (5b725d6)
material

Breaking changes:

  • snack-bar: matSnackBarHarness.getRole() replaced with .getAriaLive() due to using aria-live
    rather than the alert and status roles.
  • Deprecated month constants from @angular/material/core have been
    removed. These have been accidentally published in the past while they
    were only intended for internal consumption in tests.
bug fix button-toggle: clear static aria attributes from host nodes (#​17086) (fab6880), closes #​16938
bug fix checkbox: set display on host node (#​20961) (d868717), closes #​20954
bug fix datepicker: input harness not dispatching dateChange event (#​20877) (a2cd41b), closes #​20480
bug fix datepicker: range input emitters not picked up by language service (#​20937) (63d9364), closes #​20932
bug fix dialog: incorrect action height if box-sizing is configured globally (#​20889) (cc32c5d), closes #​20887
bug fix paginator: remove unnecessary @​ViewChild in harness test (#​20943) (28c70d3)
bug fix progress-bar: buffer not rendering correctly on ios (#​19346) (4eb5504), closes #​19328
bug fix progress-spinner: rotating circle changing surrounding layout (#​16930) (87ccb98), closes #​16894
bug fix slider: some screen readers announcing long decimal values (#​20870) (2291100), closes #​20719
bug fix table: filter predicate not called for falsy values (#​19094) (acd8e74), closes #​19092 #​9967
bug fix icon: not updating svg icon assigned through setter (#​20509) (9f73933), closes #​20470
bug fix list: exclude icons from harness getText result (#​20845) (aec12b6), closes #​20812
bug fix button: add more prominent focus indication in high contrast mode (#​20821) (345ad70), closes #​20820
bug fix menu: getLabel not working if text is inside indirect descendant node (#​20705) (a461929), closes #​20200
feature tabs: add test harnesses for tab nav bar (#​20822) (bb44f02)
bug fix datepicker: add close button for screen readers (#​20666) (407398f), closes #​14379
bug fix datepicker: don't handle escape key presses with modifier (#​20713) (54f36a3)
bug fix select: make VoiceOver read options for selects in dialogs (#​20695) (33a43f7), closes #​20694
feature select: add a global option to specify overlay panel class (#​20702) (17a9ad0)
feature tabs: allow for dynamicHeight to be configured through MAT_TABS_CONFIG (#​19677) (d6e6f44), closes #​19662
feature tree: add getTreeStructure for tree harness (#​20568) (483c3e2)
bug fix core: incorrectly formatting dates in the years 0 to 99 (#​20612) (dd49fa6), closes #​20418
bug fix datepicker: fix handling of short years (#​20709) (b3f1fb3)
bug fix menu: open animation not working on repeat opens (#​20382) (ea628c9), closes #​20379
bug fix select: option active styling not removed when value is changed programmatically (#​20649) (c4078aa), closes #​19970 #​19970
bug fix snack-bar: flaky screen reader announcements for NVDA/JAWS (#​20487) (cf8e8ee)
feature autocomplete: add panelClass default option (#​20429) (3c2334c)
feature datepicker: add viewChanged output to calendar (#​13759) (#​20468) (dfdf5cf)
feature drag-drop: add predicate function for whether an item can be sorted into an index (#​20389) (d14d986), closes #​19436
feature stepper: add theming support ([#​20424](https://togithub.com/angular/components/issues/

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/devdependencies branch 3 times, most recently from dac2386 to a45e854 Compare November 12, 2020 00:29
@renovate renovate bot changed the title ci: update angular-framework to v11 ci: update angular-cli (minor) Nov 12, 2020
only dev dependencies
@renovate renovate bot force-pushed the renovate/devdependencies branch from a45e854 to 5a0d5ac Compare November 12, 2020 21:39
@splincode splincode merged commit 9bea70e into master Nov 13, 2020
@splincode splincode deleted the renovate/devdependencies branch November 13, 2020 15:05
splincode added a commit that referenced this pull request Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants