Skip to content

Update sdk-core#1959

Open
VegetarianOrc wants to merge 6 commits intomainfrom
amazzeo/core-update
Open

Update sdk-core#1959
VegetarianOrc wants to merge 6 commits intomainfrom
amazzeo/core-update

Conversation

@VegetarianOrc
Copy link

What was changed

Update the sdk-core submodule and adapt the TypeScript SDK to breaking changes in the core API: replace RetryClient with Connection, update error types (ClientInitError → ClientConnectError), wrap search attributes in { indexedFields: ... }, and update codec runner and tests.

Why?

Upcoming changes changes to Nexus error serialization requires a newer version of core.

Checklist

  1. How was this tested:

Existing tests run.

VegetarianOrc and others added 3 commits March 10, 2026 13:56
Update the sdk-core submodule and adapt the TypeScript SDK to breaking
changes in the core API: replace RetryClient with Connection, update
error types (ClientInitError → ClientConnectError), wrap search
attributes in { indexedFields: ... }, and update codec runner and tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@VegetarianOrc VegetarianOrc marked this pull request as ready for review March 10, 2026 21:48
@VegetarianOrc VegetarianOrc requested a review from a team as a code owner March 10, 2026 21:48
Copy link
Member

@chris-olszewski chris-olszewski left a comment

Choose a reason for hiding this comment

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

Nothing is blocking on my end. Thanks for doing this.

searchAttributes:
options.searchAttributes || options.typedSearchAttributes // eslint-disable-line @typescript-eslint/no-deprecated
? encodeUnifiedSearchAttributes(options.searchAttributes, options.typedSearchAttributes) // eslint-disable-line @typescript-eslint/no-deprecated
? { indexedFields: encodeUnifiedSearchAttributes(options.searchAttributes, options.typedSearchAttributes) } // eslint-disable-line @typescript-eslint/no-deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Note to self: now all calls of encodeUnifiedSearchAttributes have the form of { indexedFields: encodeUnifiedSearchAttributes(...) }. It might make sense to move this into the encoding function

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