fix(deps): update angular monorepo to v10 (major)#112
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
387c828 to
7d62ca5
Compare
7d62ca5 to
101f089
Compare
b8e436f to
905fca3
Compare
905fca3 to
a2e8d3d
Compare
3adb037 to
59a4819
Compare
59a4819 to
65a1d2a
Compare
a0c5c89 to
af703a9
Compare
32c4780 to
aa0b4d7
Compare
f698407 to
5f0d23f
Compare
cac4d1a to
fa6f78f
Compare
fa6f78f to
8227cb7
Compare
8227cb7 to
90d5113
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
8.2.14->10.0.38.2.14->10.0.38.2.14->10.0.3>=8.0.0 <10.0.0->>=8.0.0 <11.0.08.2.14->10.0.38.2.14->10.0.38.2.14->10.0.38.2.14->10.0.38.2.14->10.0.38.2.14->10.0.3Release Notes
angular/angular
v10.0.3Compare Source
Bug Fixes
selectandpluralICU keywords (#37866) (790bb94)v10.0.2Compare Source
Bug Fixes
Performance Improvements
v10.0.1Compare Source
Bug Fixes
selectedOptions(#37620) (dfb58c4), closes #37433RouterLinkActiveshould run CD when settingisActive(#21411) (a8ea817), closes #15943 #19934Performance Improvements
v10.0.0Compare 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
modulepoints to esm2015 output (#36944) (c98a4d6)FileWriter(#36626) (772ccf0)CacheQueryOptionsoptions in ngsw-config (#34663) (dc9f4b9), closes #28443registerWhenStableSW registration strategy (#35870) (00efacf), closes #34464ignoreVary: truewhen retrieving responses from cache (#34663) (ee35e22), closes #36638Bug Fixes
locales/global/*.jsare not ES5 compliant (#36342) (078b0be), closes angular/angular-cli#16394KeyValuePipeaccept type unions withnull(#36093) (d783519), closes #35743isCaseSensitive()returns correct value (#36859) (fc4741f)$localizemessages (#36989) (4e1b5e4)MockFileSystemhandles case-sensitivity (#36859) (26eacd4)getRootDirs()handles case-sensitivity (#36859) (3f3e9b7)@Input(#35889) (cda2530), closes #35383@NgModuleclasses (#36369) (28995db), closes #35700APP_INITIALIZERs before accessingLOCALE_IDtoken in Ivy TestBed (#36237) (1649743), closes #36230undefined(#36140) (9ba46d9)SimpleChange#firstChangefor pre-existing inputs (#36140) (b14ac96), closes #36130[@angular](https://togithub.com/angular)/coremodule (#36783) (dd049ca)HtmlAstto get the span of HTML tag (#36371) (81195a2)}(#36123) (fced8ee), closes #31586getLocation()works (#36853) (70b25a3)viaModuleshould benullfor local imports (#36989) (d268d2a)node_modules/(#36559) (6ab43d7), closes #36526node_modules/(#37040) (9ade1c3)package.json(#37040) (11c0402)pathsmapping does not exist (#36525) (717df13), closes #36518EsmDependencyHost(#37075) (c6872c0)ENOMEMerrors in worker processes (#36626) (4779c4b)mainproperty for ESM5 format (#36396) (2463548), closes #35788defineProperty()re-exports in CommonJS and UMD (#36989) (91092f6)browserproperty in entry-points (#36396) (6b3aa60), closes #36062xhr2dependency (#36366) (b59bc0e), closes #36358Code Refactoring
Performance Improvements
getBasePaths()computation (#36881) (e037840)Dependency updates
@angular/compiler-cli now requires:
BREAKING CHANGES
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 flagwill 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.
A generic type parameter has always been required for the
ModuleWithProviderspattern 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
ModuleWithProviderswithout 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:
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
skipLibChecksto false in your tsconfig or updating your app to use Ivy.changeevent.Tests which trigger
changeevents need to be updated to triggerinputevents instead.The
changeevent was in place to support IE9, as we found thatinputevents 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 theonChangemethod ofNumberValueAccessormanually.Lastly, old versions of WebDriver would synthetically trigger the
changeevent onWebElement.clearandWebElement.sendKeys. If you are using an old version of WebDriver, you may need to update tests to ensureinputevents are triggered. For example, you could useelement.sendKeys(Keys.chord(Keys.CONTROL, "a"), Keys.BACK_SPACE);in place ofelement.clear().minLengthandmaxLengthvalidators now verify that the form control's value has anumeric
lengthproperty, and only validate for length if that's the case.Previously, falsey values without the length property (such as
0orfalsevalues) were triggering validation errors. If your code relies onthe old behavior, you can include other validators such as min or
requiredTrue to the list of validators for a particular field.
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.
console.error.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).
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,
Varyheaders are ignored when retrieving resources from theServiceWorker 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.
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).somePropertywill no longertrigger change detection if the value of
somePropertyis identical tothe 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
borBformat codes, the renderedstring 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 nightin the case of English.Applications that are using either
formatDate()orDatePipeand anyof the
borBformat 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
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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.