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

remove text-decoding #120

Merged
merged 1 commit into from
Aug 23, 2023
Merged

remove text-decoding #120

merged 1 commit into from
Aug 23, 2023

Conversation

KhafraDev
Copy link
Contributor

This was added in #50 for reasons I don't really understand. According to the PR node's TextDecoder is the fastest (and I assume it's even faster now), provides the same features, and is available globally since node v11.

@Uzlopak
Copy link
Contributor

Uzlopak commented Aug 13, 2023

It was for Backwards compatibility.

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

Added semver major label.

@kibertoad
Copy link
Member

@KhafraDev @Uzlopak wasn't it for compatibility with non-node runtimes, such as AtlasDB workers?

@kibertoad
Copy link
Member

no, #100 seems to be a different thing

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

Blocking till we investigate or come to a conclusion on how to avoid breaking too much

@Uzlopak
Copy link
Contributor

Uzlopak commented Aug 13, 2023

Talked with kibertoad.

The issue with firebase_admin was that dicer does not need the TextDecoder. And this PR should not break firebase_admin.

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@Uzlopak Uzlopak merged commit 1cdb224 into fastify:master Aug 23, 2023
16 checks passed
@KhafraDev KhafraDev deleted the text-decoding branch August 23, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants