Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Conversation

@Dolliwyx
Copy link
Member

@Dolliwyx Dolliwyx commented Aug 1, 2023

Description

This PR aims to add support for Lavalink v4, the new experimental version release. This release will also be replacing node-fetch in favor of undici.

This PR also allows support on CJS and ESM modules.

Motivation and Context

This change is essential to keep up with Lavalink's new versions. Moreover, the switch to undici is expected to yield better performance as it is written by the Node.js team itself.

How Has This Been Tested?

  • Set up a local Lavalink v4 environment.
  • Used in a Discord bot running Discord.js v14
  • Tested and validated proper integration with undici.

Types of changes

  • 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 change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Dwigoric
Copy link
Member

The yarn lockfile has a merge conflict @Dolliwyx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants