feat(core): callAsEventStream hook + migrate release to OIDC/Lerna 9#322
Merged
Conversation
Add a `callAsEventStream` hook to RequestBuilder that hands the builder plus the client-wide stream read timeout to a caller-supplied factory (mirroring how `paginate` delegates to a factory), and carry an optional `streamReadTimeout` on the builder via a new constructor parameter. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- bump lerna 6.5.1 -> 9.0.7; drop useWorkspaces (removed in v9); ignore .nx/ - release.yml: id-token:write + contents:write, Node 22, npm>=11.5.1, remove NPM_TOKEN/~/.npmrc auth (OIDC trusted publishing) - main.yml + sonar scan: Node 20+/22 for Lerna 9; modernize action versions - dependency-review: v4 + allow two dev-only transitive CVEs (js-yaml, tar) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
hamzamahmood
reviewed
Jul 9, 2026
hamzamahmood
left a comment
Collaborator
There was a problem hiding this comment.
Other changes look good to me. Have we verified the lerna bump to version 9 is non breaking?
hamzamahmood
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Splits the SSE work (#321) into its core + release-infra half so
@apimatic/corecan be released independently of@apimatic/sse.What's here
RequestBuilder.callAsEventStream(factory)hook + optionalstreamReadTimeoutconstructor param (the SSE package plugs into this; core does not depend on sse).release.yml(no moreNPM_TOKEN), CI Node matrix → 20/22/24, Sonar/dependency-review fixes.Release plan
Merge this first, then dispatch the Release workflow with
patch→@apimatic/core0.10.29 → 0.10.30via OIDC. The sse package lands in a follow-up PR (stacked on this branch) for a separateminorrelease.🤖 Generated with Claude Code