Skip to content
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

feat: update to Angular 9 #2236

Merged
merged 54 commits into from
Mar 2, 2020
Merged

feat: update to Angular 9 #2236

merged 54 commits into from
Mar 2, 2020

Conversation

yggg
Copy link
Contributor

@yggg yggg commented Feb 24, 2020

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

'undefined' breaks injection in Angular 9
Required by Ivy if component is used in module imports
Already set at the options
Styles loading was broken as now styles emitting as ES module.
Install a newer version of style-loader which is capable to handle ESM.
Style loader package could be uninstalled once Angular CLI updates own
version.
Something changed in a way CDK is listening to keydown event so
dispatch event stopped working. Override NbOverlayService and
add manual trigger method to have reliable method to emulate
keydown event.
Angular 9 throws an error when calling detect changes during component
creation. It happens with radio component when it has no name and
radio group set name in after content init hook because radio had
detect changes call. Refactor radio to not call change detection
methods from input setters and add `_markForCheck` and `_setName`
methods to trigger it manually from the radio group component.
writeValue had detectChanges call and I think it probably could be
called during creation mode. If so, error would be thrown. Calling
markForCheck is safe.
@yggg yggg force-pushed the feat/update-to-angular-9-stable branch from 784d8b9 to 6530f60 Compare February 24, 2020 11:39
@yggg yggg force-pushed the feat/update-to-angular-9-stable branch from 21c3576 to 0eb909b Compare February 24, 2020 12:16
@yggg yggg force-pushed the feat/update-to-angular-9-stable branch from 322780f to 1a54334 Compare February 26, 2020 07:54
@vishnu-dev
Copy link

vishnu-dev commented Feb 26, 2020

Eagerly waiting for this. Please do it soon. Thank you so much for such a wonderful library.

angular.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
packages-smoke/angular.json Show resolved Hide resolved
packages-smoke/package.json Show resolved Hide resolved
packages-smoke/src/main.server.ts Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 2, 2020

Codecov Report

Merging #2236 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2236      +/-   ##
==========================================
+ Coverage    81.6%   81.64%   +0.04%     
==========================================
  Files         244      244              
  Lines        7329     7329              
  Branches      771      771              
==========================================
+ Hits         5981     5984       +3     
+ Misses       1121     1117       -4     
- Partials      227      228       +1
Impacted Files Coverage Δ
...endar-kit/services/calendar-month-model.service.ts 98.03% <0%> (ø) ⬆️
...ramework/theme/components/toastr/toastr.service.ts 97.39% <0%> (+2.6%) ⬆️

Tibing
Tibing previously approved these changes Mar 2, 2020
tslib is now listed as a peer dependency rather than a direct dependency in Angular
@yggg yggg merged commit 899815f into master Mar 2, 2020
@yggg yggg deleted the feat/update-to-angular-9-stable branch March 2, 2020 09:49
yggg added a commit that referenced this pull request Mar 2, 2020
@yggg yggg mentioned this pull request Mar 2, 2020
1 task
@yggg
Copy link
Contributor Author

yggg commented Mar 2, 2020

@vishnu-dev
Copy link

vishnu-dev commented Mar 8, 2020

Cool. Thanks again @yggg . Is there gonna be a release soon?

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.

None yet

3 participants