Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Drop node 14 support and remove code deprecations #1007

Merged
merged 4 commits into from
Oct 11, 2023
Merged

Conversation

paulomarg
Copy link
Contributor

@paulomarg paulomarg commented Oct 10, 2023

WHY are these changes introduced?

Some of the dependencies we use in this repo no longer work at all on Node 14, so we must drop support for it in order to keep our dependencies up to date.

WHAT is this pull request doing?

Removing support for Node 14, and dropping CI checks using it.

Because this change is inherently a major release, we're also making previous deprecations final so we can go to v8.

It's easier to review this if we ignore the removal of the auto-generated files: https://github.com/Shopify/shopify-api-js/pull/1007/files/737838dde6c06b84e250e264b46c4a983cde9d61

Type of change

  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have used yarn changeset to create a draft changelog entry (do NOT update the CHANGELOG.md file manually)
  • I have added/updated tests for this change
  • I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@paulomarg paulomarg requested a review from a team as a code owner October 10, 2023 18:55
Copy link

@nelsonwittwer nelsonwittwer left a comment

Choose a reason for hiding this comment

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

So long Node 14, thanks for all the fish!

@paulomarg paulomarg force-pushed the drop_node_14_support branch 2 times, most recently from cf19813 to 7883ccb Compare October 11, 2023 16:49
@paulomarg paulomarg merged commit 2c43f7c into main Oct 11, 2023
11 checks passed
@paulomarg paulomarg deleted the drop_node_14_support branch October 11, 2023 17:03
@patdx
Copy link

patdx commented Oct 13, 2023

With Node 16 as the new minimum supported version, I wonder if it may be possible to change the target in https://github.com/Shopify/shopify-api-js/blob/main/tsconfig.base.json to "es2021", which is basically what is supported by Node 16: https://www.npmjs.com/package/@tsconfig/node16

I think this would resolve the issue I tried to raise in #657 a while back.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants