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

build(package): bump up typescript@4.3 #6431

Merged
merged 3 commits into from Jun 1, 2021
Merged

build(package): bump up typescript@4.3 #6431

merged 3 commits into from Jun 1, 2021

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented May 28, 2021

Description:

Looks like tsc gets bit more strict for tuple types. Those 2 are marked as deprecated but instead of trying to change public surfaces bene internals to workaround.

BREAKING CHANGE:

Related issue (if exists):

@kwonoj
Copy link
Member Author

kwonoj commented May 28, 2021

CI fails with api_gurdian probably due to 4.3 changes

-export declare const observable: string | symbol;
+export declare const observable: string | typeof Symbol.observable;

This seems bit.. concerning? Curious if we'll hit some regression by this.

@cartant
Copy link
Collaborator

cartant commented May 28, 2021

I don't think we should bump TS without some changes to CI to ensure that at least the tests (the dtslint tests especially) are run using our minimum-supported version of 4.2. In fact, given that that's our minimum, I'm not sure we should bump at all. IIRC, we did not do this for v6.

The code fixes in this LGTM. I'd prefer them to be separated from the bumping.

Also, I think we should always use a tildle version range with TS as it does not follow semver and minors can be breaking.

@kwonoj
Copy link
Member Author

kwonoj commented May 28, 2021

ah that's good point.

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
We're supporting 4.2 and higher, so the other fixes are all we really needed.
@benlesh
Copy link
Member

benlesh commented Jun 1, 2021

@cartant @kwonoj I've reverted the change to the package.json, so we're only using 4.2 for the project. I think it's fine to temporarily, locally update, but we need to support 4.2 for the duration of version 7.

We can discuss updating and leveraging tests to ensure 4.2 support another time. Right now we just need to fix CI.

@kwonoj kwonoj merged commit c90242c into master Jun 1, 2021
@kwonoj kwonoj deleted the bump-tsc branch June 1, 2021 16:45
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