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: revert .getAll removal, mark deprecated #597

Merged
merged 7 commits into from
Sep 11, 2023

Conversation

balazsorban44
Copy link
Member

@balazsorban44 balazsorban44 commented Sep 11, 2023

To introduce fewer breaking changes, this adds back the non-spec compliant Headers#getAll method (that was removed in #586) but still encourages the use of Headers#getSetCookie instead which is part of the standard.

Context: getAll exists because getSetCookie did not exist at the time of edge-runtime being created.

We were young and needed to ship.

Ref: Slack thread

@changeset-bot
Copy link

changeset-bot bot commented Sep 11, 2023

🦋 Changeset detected

Latest commit: 1ba97f4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@edge-runtime/primitives Patch
@edge-runtime/types Patch
@edge-runtime/vm Patch
@edge-runtime/jest-environment Patch
edge-runtime Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
edge-runtime ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2023 11:57am

Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@balazsorban44 balazsorban44 merged commit e848ee8 into vercel:main Sep 11, 2023
6 checks passed
@balazsorban44 balazsorban44 deleted the feat/add-back-getall branch September 11, 2023 14:01
@github-actions github-actions bot mentioned this pull request Sep 11, 2023
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.

None yet

3 participants