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

buffer: add blob endings option, remove Node.js specific encoding option #39708

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Aug 8, 2021

This builds on the #39693 and includes the commits from that PR.

This removes the non-standard 'encoding' option on the Blob constructor and adds the standard 'endings' option.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Aug 8, 2021
lib/internal/blob.js Outdated Show resolved Hide resolved
doc/api/buffer.md Show resolved Hide resolved
doc/api/buffer.md Outdated Show resolved Hide resolved
lib/internal/blob.js Outdated Show resolved Hide resolved
@nodejs-github-bot

This comment has been minimized.

Signed-off-by: James M Snell <jasnell@gmail.com>
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Aug 12, 2021

@jasnell jasnell added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Aug 12, 2021
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina
Copy link
Member

Ordinarily this would have been a semver-major change. You consider this a patch because it's a spec violation? I'm on board with that, but maybe we should document it somewhere.

@targos
Copy link
Member

targos commented Aug 14, 2021

Blob support is still experimental, this doesn't have to be semver-major.

@mcollina
Copy link
Member

Ah, I missed it! I thought it was not but it was just a few lines above the diff, my bad!

@aduh95 aduh95 added the experimental Issues and PRs related to experimental features. label Aug 14, 2021
jasnell added a commit that referenced this pull request Aug 14, 2021
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #39708
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@jasnell
Copy link
Member Author

jasnell commented Aug 14, 2021

Landed in fcf8ba4

@jasnell jasnell closed this Aug 14, 2021
danielleadams pushed a commit that referenced this pull request Aug 16, 2021
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #39708
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. experimental Issues and PRs related to experimental features. lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants