Skip to content

Conversation

@kamath
Copy link
Contributor

@kamath kamath commented Dec 17, 2024

why

user convenience

what changed

browserbaseResumeSessionId -> browserbaseResumeSessionID

test plan

lint/build

@kamath kamath requested a review from pkiv December 17, 2024 04:14
@changeset-bot
Copy link

changeset-bot bot commented Dec 17, 2024

🦋 Changeset detected

Latest commit: c8ef818

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

This PR includes changesets to release 1 package
Name Type
@browserbasehq/stagehand Minor

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

@kamath kamath marked this pull request as ready for review December 17, 2024 04:15
Copy link
Contributor

@jtoar jtoar left a comment

Choose a reason for hiding this comment

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

to avoid this being a breaking change you probably want to still accept browserbaseResumeSessionID, just mark it as deprecated (can do in the release notes and via typescript js/tsdoc @deprecated i believe) and map it internally to browserbaseSessionID. you may have to also handle the case where both are passed, and browserbaseSessionID would take precedence

@kamath kamath merged commit 902e633 into main Dec 17, 2024
8 checks passed
@kamath kamath deleted the anirudh/rename-session-id branch December 17, 2024 05:53
@github-actions github-actions bot mentioned this pull request Dec 17, 2024
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.

5 participants