Uh oh!
There was an error while loading. Please reload this page.
ARROW-12578: [JS] Remove Buffer in favor of TextEncoder API to support bundlers such as Rollup - #10332
Closed
domoritz wants to merge 2 commits into
Closed
ARROW-12578: [JS] Remove Buffer in favor of TextEncoder API to support bundlers such as Rollup#10332domoritz wants to merge 2 commits into
domoritz wants to merge 2 commits into
Conversation
trxcllnt
approved these changes
May 15, 2021
domoritz
commented
May 15, 2021
MemberAuthor
@kou can we add this to the 4.0.1 release since it fixes build issues (https://issues.apache.org/jira/browse/ARROW-12734)? |
Contributor
@domoritz |
kou
commented
May 15, 2021
Member
@domoritz Sure. Bug fixes without API breaking is suitable for a patch release in Semantic Versioning context. Could you update the pull request description before we merge this? We use the pull request description as commit message on merge. |
domoritz
commented
May 15, 2021
MemberAuthor
Excellent. I updated the title. Does it look good to you? |
kou
commented
May 15, 2021
Member
Thanks. I changed I'll merge this. |
domoritz
commented
May 15, 2021
MemberAuthor
Great, thank you. |
kszucs pushed a commit
to kszucs/arrow
that referenced
this pull request
May 17, 2021
…t bundlers such as Rollup Bundlers such as Rollup do not recognize the `_Buffer` import, which breaks their builds. This change resolves this issue by removing Buffer in favor of `TextEncoder`. Note that change incurs a performance penalty on Node as `Buffer` is often faster. Co-authored-by: Adam Lippai <adam@rigo.sk> Co-authored-by: Paul Taylor <paul.e.taylor@me.com> Closesapache#10332 from domoritz/remove-buffer-js Authored-by: Dominik Moritz <domoritz@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bundlers such as Rollup do not recognize the
_Bufferimport, which breaks their builds. This change resolves this issue by removing Buffer in favor ofTextEncoder. Note that change incurs a performance penalty on Node asBufferis often faster.Co-authored-by: Adam Lippai adam@rigo.sk
Co-authored-by: Paul Taylor paul.e.taylor@me.com