Skip to content

feat: v4.0.0 - clean up session ID requirement changes #97

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

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

turnervink-finch
Copy link
Contributor

@turnervink-finch turnervink-finch commented Aug 15, 2025

Bumps the major version to v4.0.0 and cleans up the changes that dropped support for static Connect.

The initialize call now takes in the callbacks and optional override for the base URL. The base URL override is not documented as it is an internal feature that customers will not have a use for.

The open call now takes in the session ID and optional state and z-index value.

All values are loaded from the provided session with no ability to override them.

Testing

  • Unit test coverage for critical URL building functionality
  • Tested with the Finch Playground to verify things work as expected

Copy link
Contributor Author

turnervink-finch commented Aug 15, 2025

@turnervink-finch turnervink-finch force-pushed the 08-14-split_up_init_and_open_args branch 3 times, most recently from 7b3b697 to a403c1f Compare August 15, 2025 18:06
@turnervink-finch turnervink-finch changed the title Split up init and open args feat: v4.0.0 - clean up session ID requirement changes Aug 15, 2025
@turnervink-finch turnervink-finch marked this pull request as ready for review August 15, 2025 18:10
@turnervink-finch turnervink-finch force-pushed the 08-14-split_up_init_and_open_args branch from a403c1f to 9b090bc Compare August 15, 2025 18:56
Copy link

@StephenGrable1 StephenGrable1 left a comment

Choose a reason for hiding this comment

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

looks great - only small nits really - i can circle back to pre-approve

...(sendState ? { state: new Date().toISOString() } : undefined),
})
// Generate a session ID using the /connect/sessions endpoint on the Finch API
// See the docs here https://developer.tryfinch.com/api-reference/connect/new-session#create-a-new-connect-session

Choose a reason for hiding this comment

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

praise(): i like adding the docs link here 🚀

@turnervink-finch turnervink-finch force-pushed the 08-14-split_up_init_and_open_args branch from 9b090bc to a66ad2f Compare August 15, 2025 21:00
@turnervink-finch turnervink-finch force-pushed the 08-14-split_up_init_and_open_args branch 2 times, most recently from 4514d2a to 124b7cf Compare August 15, 2025 21:11
@turnervink-finch turnervink-finch force-pushed the 08-14-remove_support_for_not_providing_a_session_id branch from a447ebb to 25afa12 Compare August 15, 2025 21:11
Base automatically changed from 08-14-remove_support_for_not_providing_a_session_id to main August 15, 2025 21:16
@turnervink-finch turnervink-finch force-pushed the 08-14-split_up_init_and_open_args branch from 124b7cf to 7104df9 Compare August 15, 2025 21:16
@turnervink-finch turnervink-finch merged commit 2667453 into main Aug 15, 2025
1 check passed
Copy link

@turnervink-finch turnervink-finch deleted the 08-14-split_up_init_and_open_args branch August 15, 2025 21:17
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.

3 participants