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

Bump dependencies (i.a. Angular 8->10) #124

Merged
merged 11 commits into from Aug 5, 2020
Merged

Bump dependencies (i.a. Angular 8->10) #124

merged 11 commits into from Aug 5, 2020

Conversation

Dumluregn
Copy link
Collaborator

@Dumluregn Dumluregn commented Jul 29, 2020

Screenshot 2020-07-29 at 11 47 04

Proposed changelog entry

* [#98](https://github.com/ckeditor/ckeditor4-angular/issues/98): Updated repository dependencies (no changes in the actual `ckeditor4-angular` package).

Closes #98.
Closes #116.
Closes #125.
(Also #112 but we are checking how dependabot behaves in such a case).

@jacekbogdanski jacekbogdanski self-requested a review July 31, 2020 12:13
@jacekbogdanski jacekbogdanski self-assigned this Aug 3, 2020
Copy link
Member

@jacekbogdanski jacekbogdanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are passing which means we are good with this upgrade. Please, take a look on comments.

angular.json Show resolved Hide resolved
angular.json Outdated Show resolved Hide resolved
tsconfig.base.json Show resolved Hide resolved
@@ -71,7 +71,6 @@
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-use-before-declare": true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule seems to make sense, why it has been removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It got removed together with a Typescript version bump as it is deprecated since 2.9 - see palantir/tslint#4695. The explanation for the removal is here (tl;dr - it isn't useful when you don't use var keyword, and we don't in the integration code). However, as mentioned in this comment, there are still cases where it may be useful, so I'll bring it back.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't know that, nice research 👍 But if it has been deprecated, maybe we should keep it removed then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, until we fix #30 it doesn't really matter 😄 but sure, let's keep it away while we can and if we encounter a valid use case for it in our code we can restore it.

@Dumluregn
Copy link
Collaborator Author

I admit I didn't pay too much attention to investigate what exactly changes in the repo after bumping the deps, so not all of the changes were relevant - I assumed that Angular knows what it's doing 😞 I was just happy that everything works. So thanks for bringing my attention to the guts 👍

@Dumluregn Dumluregn removed their assignment Aug 4, 2020
@jacekbogdanski jacekbogdanski self-assigned this Aug 4, 2020
Copy link
Member

@jacekbogdanski jacekbogdanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I didn't know that it has been done by Angular itself, I thought you did it 🙂 Nevertheless, it's good to know what happened. Could you refer to #124 (comment) and propose changelog entry? I suppose that since we've updated package dependencies, it should be reflected in the changelog. There is a lot of them, so maybe it should be some generic, single entry about mainly angular upgrade + related dependencies?

@Dumluregn Dumluregn added this to the 1.2.3 milestone Aug 4, 2020
@Dumluregn
Copy link
Collaborator Author

Dumluregn commented Aug 4, 2020

I proposed the changelog entry (updated the first PR comment) - last time we bumped deps we didn't include info about it, and the time before that we did, so there is some inconsistency. I think it would be good to write about it after all but it the same time make users notice that only repo deps change and not package ones.

@Dumluregn Dumluregn removed this from the 1.2.3 milestone Aug 4, 2020
Copy link
Member

@jacekbogdanski jacekbogdanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jacekbogdanski jacekbogdanski merged commit 4c94a77 into master Aug 5, 2020
@jacekbogdanski jacekbogdanski deleted the t/98 branch August 5, 2020 06:48
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.

Bump dependencies
2 participants