Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Update angular monorepo (major) #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 5, 2019

This PR contains the following updates:

Package Type Update Change
@angular/animations dependencies major 5.2.11 -> 10.0.2
@angular/common dependencies major 5.2.11 -> 10.0.2
@angular/compiler dependencies major 5.2.11 -> 10.0.2
@angular/compiler-cli dependencies major 8.1.2 -> 10.0.2
@angular/core dependencies major 5.2.11 -> 10.0.2
@angular/forms dependencies major 5.2.11 -> 10.0.2
@angular/http dependencies major 5.2.11 -> 7.2.16
@angular/platform-browser dependencies major 5.2.11 -> 10.0.2
@angular/platform-browser-dynamic dependencies major 5.2.11 -> 10.0.2

Release Notes

angular/angular

v10.0.2

Compare Source

Bug Fixes
Performance Improvements
  • compiler-cli: fix memory leak in retained incremental state (#​37835) (57a518a)

v10.0.1

Compare Source

Bug Fixes
Performance Improvements
  • compiler-cli: fix regressions in incremental program reuse (#​37690) (96b96fb)

v10.0.0

Compare Source

Release Highlights & Update instructions

To learn about the release highlights and our CLI-powered automated update workflow for your projects please check out the v10 release announcement.

Features
Bug Fixes
Code Refactoring
Performance Improvements
Dependency updates

@​angular/compiler-cli now requires:

  • TypeScript 3.9
BREAKING CHANGES
  • TypeScript 3.6, 3.7 and 3.8 are no longer supported, please update to TypeScript 3.9.
  • core: Angular npm packages no longer contain jsdoc comments
    to support Closure Compiler's advanced optimizations

The support for Closure Compiler in Angular packages has been
experimental and broken for quite some time.

As of TS3.9, Closure is unusable with the JavaScript emit. Please follow
microsoft/TypeScript#​38374 for more
information and updates.

If you used Closure Compiler with Angular in the past, you will likely
be better off consuming Angular packages built from sources directly
rather than consuming the version we publish on npm,
which is primarily optimized for Webpack/Rollup + Terser build pipeline.

As a temporary workaround, you might consider using your current build
pipeline with Closure flag --compilation_level=SIMPLE. This flag
will ensure that your build pipeline produces buildable and
runnable artifacts, at the cost of increased payload size due to
advanced optimizations being disabled.

If you were affected by this change, please help us understand your
needs by leaving a comment on #​37234.

  • core: make generic mandatory for ModuleWithProviders

A generic type parameter has always been required for the ModuleWithProviders pattern to work with Ivy, but prior to this commit, View Engine allowed the generic type to be omitted (though support was officially deprecated).
If you're using ModuleWithProviders without a generic type in your application code, a v10 migration will update your code for you.

However, if you are using View Engine and also depending on a library that omits the generic type, you will now get a build time error similar to:

error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

In this case, ngcc won't help you (because it's Ivy-only) and the migration only covers application code.
You should contact the library author to fix their library to provide a type parameter when they use this class.

As a workaround, we suggest setting skipLibChecks to false in your tsconfig or updating your app to use Ivy.

  • forms: Number inputs no longer listen to the change event.

Tests which trigger change events need to be updated to trigger input events instead.

The change event was in place to support IE9, as we found that input events were not fired with backspace or cut actions. If you need to maintain IE9 support, you will need to add a change event listener to number inputs and call the onChange method of NumberValueAccessor manually.

Lastly, old versions of WebDriver would synthetically trigger the change event on WebElement.clear and WebElement.sendKeys. If you are using an old version of WebDriver, you may need to update tests to ensure input events are triggered. For example, you could use element.sendKeys(Keys.chord(Keys.CONTROL, "a"), Keys.BACK_SPACE); in place of element.clear().

  • forms: The minLength and maxLength validators now verify that the form control's value has a
    numeric length property, and only validate for length if that's the case.

Previously, falsey values without the length property (such as 0 or
false values) were triggering validation errors. If your code relies on
the old behavior, you can include other validators such as min or
requiredTrue to the list of validators for a particular field.

  • bazel: esm5 and fesm5 format is no longer distributed in
    Angular's npm packages e.g. @​angular/core

If you are not using Angular CLI to build your application or library,
and you need to be able to build es5 artifacts, then you will need to
downlevel the distributed Angular code to es5 on your own.

Angular CLI will automatically downlevel the code to es5 if differential
loading is enabled in the Angular project, so no action is required from
Angular CLI users.

  • core: Warnings about unknown elements are now logged as errors. This won't break your app, but it may trip up tools that expect nothing to be logged via console.error.
  • router: Any resolver which return EMPTY will cancel navigation.
    If you want to allow the navigation to continue, you will need to update the resolvers to emit
    some value, (i.e. defaultIfEmpty(...), of(...), etc).
  • service-worker: Previously, Vary
    headers would be taken into account when retrieving resources from the
    cache, completely preventing the retrieval of cached assets (due to
    ServiceWorker implementation details) and leading to unpredictable
    behavior due to inconsistent/buggy implementations in different
    browsers.

Now, Vary headers are ignored when retrieving resources from the
ServiceWorker caches, which can result in resources being retrieved even
when their headers are different. If your application needs to
differentiate its responses based on request headers, please make sure
the Angular ServiceWorker is configured
to avoid caching the affected resources.

  • common: This change could result in ExpressionChangedAfterItHasBeenChecked errors that
    were not detected before. The error could previously have gone undetected
    because two WrappedValues are considered "equal" in all cases for the purposes
    of the check, even if their respective unwrapped values are not.

Additionally, [val]=(observable | async).someProperty will no longer
trigger change detection if the value of someProperty is identical to
the value in the previous emit. If you need to force change detection,
either update the binding to use an object whose reference changes or
subscribe to the observable and call markForCheck as needed.

  • common: format day-periods that cross midnight

    When formatting a time with the b or B format codes, the rendered
    string was not correctly handling day periods that spanned midnight.
    Instead the logic was falling back to the default case of AM.

    Now the logic has been updated so that it matches times that are within
    a day period that spans midnight, so it will now render the correct
    output, such as at night in the case of English.

    Applications that are using either formatDate() or DatePipe and any
    of the b or B format codes will be affected by this change.

  • router: UrlMatcher's type now reflects that it could always return
    null.

    If you implemented your own Router or Recognizer class, please update it to
    handle matcher returning null.

9.1.11 (2020-06-10)

Reverts
  • elements: fire custom element output events during component initialization (dc9da17)

9.1.10 (2020-06-09)

Bug Fixes
  • elements: fire custom element output events during component initialization (454e073), closes [/github.com/angular/angular/blob/c0143cb2abdd172de1b95fd1d2c4cfc738640e28/packages/elements/src/create-custom-element.ts#L167-L170](https://togithub.com/angular/angula

Renovate configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 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.

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Aug 5, 2019
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 157459f to 94fd05f Compare August 8, 2019 22:45
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 94fd05f to 3013db3 Compare August 12, 2019 22:40
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from daf225f to e18f1fa Compare August 28, 2019 18:53
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from a1bcd52 to dd56266 Compare September 11, 2019 19:59
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from ca0431f to 29200b5 Compare September 18, 2019 17:24
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 29200b5 to 78f6b00 Compare September 25, 2019 17:26
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 78f6b00 to 73b3986 Compare October 2, 2019 18:31
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 73b3986 to 6757f76 Compare November 10, 2019 21:01
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 6757f76 to 74819ca Compare November 21, 2019 10:48
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 74819ca to d247c0e Compare January 18, 2020 15:54
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from d247c0e to 6b3f9e7 Compare February 9, 2020 04:59
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 6b3f9e7 to 87d1069 Compare March 14, 2020 20:57
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 87d1069 to 3d82db4 Compare April 27, 2020 23:00
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 3d82db4 to cfdb5ca Compare May 8, 2020 05:58
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from cfdb5ca to 4aea2ac Compare July 1, 2020 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔍 Ready for Review Pull Request is not reviewed yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant