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: Upgrade to Node 18 and remove cross-fetch #2678

Merged
merged 3 commits into from
Jul 11, 2024
Merged

Conversation

justinr1234
Copy link
Collaborator

High Level Overview of Change

  • Upgrade to node.js 18
  • Remove cross-fetch and use native

Fixes #2676

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release

Did you update HISTORY.md?

  • Yes
  • No, this change does not impact library users

Test Plan

Automated tests

Copy link

socket-security bot commented Apr 4, 2024

@mvadari
Copy link
Collaborator

mvadari commented Apr 15, 2024

This should be done in a major version bump.

BREAKING CHANGE: fetch now relies on the native javascript environment in browsers and node.js
@ckeshava ckeshava changed the base branch from main to xrpl-4.0.0 July 11, 2024 18:45
@ckeshava
Copy link
Collaborator

FYI: Node 18 has LTS support only until April 2025. We will need to perform a similar obviation of Node 18 at that time

@justinr1234 justinr1234 merged commit 1e35cd6 into xrpl-4.0.0 Jul 11, 2024
10 checks passed
@justinr1234 justinr1234 deleted the drop-node-16 branch July 11, 2024 18:57
@mvadari
Copy link
Collaborator

mvadari commented Jul 11, 2024

FYI: Node 18 has LTS support only until April 2025. We will need to perform a similar obviation of Node 18 at that time

In the past, for the most part we keep support for the version until we need to remove it or until it's super old.

justinr1234 added a commit that referenced this pull request Jul 16, 2024
* feat: Upgrade to Node 18 and remove cross-fetch

BREAKING CHANGE: fetch now relies on the native javascript environment in browsers and node.js

* fix typo in HISTORY.md file

---------

Co-authored-by: Chenna Keshava B S <[email protected]>
ckeshava added a commit that referenced this pull request Jul 16, 2024
* feat: Upgrade to Node 18 and remove cross-fetch (#2678)

BREAKING CHANGE: fetch now relies on the native javascript environment in browsers and node.js

Co-authored-by: justinr1234 <[email protected]>
ckeshava added a commit to ckeshava/xrpl.js that referenced this pull request Aug 23, 2024
* feat: Upgrade to Node 18 and remove cross-fetch

BREAKING CHANGE: fetch now relies on the native javascript environment in browsers and node.js

* fix typo in HISTORY.md file

---------

Co-authored-by: Chenna Keshava B S <[email protected]>
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.

DeprecationWarning about punycode on Node.js 21
4 participants