Skip to content

Merge to beta#2768

Merged
jar-stripe merged 8 commits into
betafrom
jar/merge-node-beta
Jun 24, 2026
Merged

Merge to beta#2768
jar-stripe merged 8 commits into
betafrom
jar/merge-node-beta

Conversation

@jar-stripe

@jar-stripe jar-stripe commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Why?

Routine merge of master changes into the beta release channel.

What?

Merged master into beta using sdk-codegen's automerge tooling (tools/automerge/node-beta.yaml). All conflicts were resolved automatically (VERSION, package.json, PACKAGE_VERSION took ours; CHANGELOG merged; generated code chunks merged).

See Also

xavdid and others added 7 commits June 22, 2026 13:15
* fix v1 accounts endpoint

* Add test
* Pin @types/node to ~22.19 in CJS type test projects

@types/node@22.20.0 introduced web-globals/streams.d.ts with circular
type references (CompressionStream, DecompressionStream) that TypeScript
5.9 now rejects. Since lock files are gitignored, CI picked up 22.20.0
as soon as it published and started failing. Pinning to ~22.19 keeps the
range at 22.19.x until @types/node fixes the upstream issue.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

* Also pin @types/node to ~22.19 in cjs-ts test project

Same issue as types-cjs and types-cjs-node16 — cjs-ts runs tsc with
@types/node ~22 and typescript ^5.9.3, which would hit the same
22.20.0 circular reference failure via integrations-test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…2765)

* fix: regenerate types for CJS companion namespace access at all depths

Regenerated from stripe/sdk-codegen#3768 which fixes:
- Resource sub-types (e.g. Stripe.Price.Recurring) now accessible in CJS
- Nested resource types (e.g. Stripe.Billing.Alert.Status) now accessible
  in both CJS and ESM
- Deep params namespaces (e.g. AccountCreateParams.BusinessProfile.AnnualRevenue)
  now accessible in CJS

Fixes #2683

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

* test: add regression tests for nested namespace type access

Adds type assertions for patterns that were previously broken in CJS
(and some in ESM too):
- Resource sub-types: Stripe.Price.Recurring, Stripe.Customer.InvoiceSettings
- Deep resource sub-types: Stripe.Subscription.BillingMode.Type
- Nested resource sub-types: Stripe.Billing.Alert.Status,
  Stripe.Terminal.Configuration.Tipping, Stripe.Apps.Secret.Scope
- Deep params: Stripe.AccountCreateParams.BusinessProfile.AnnualRevenue

Added to both testProjects/types/ (ESM) and testProjects/types-cjs-node16/
(CJS) so both declaration files are covered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

* test: add namespace regression tests to types-cjs project

Same coverage as types/ and types-cjs-node16/ — covers
module: commonjs / moduleResolution: node resolution mode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
#2766)

* alias Stripe as Stripe_ and updated manual code, regenerated from spec

* missed some renames
fix: use --loglevel error instead of silent for format step

--loglevel silent swallows all prettier output, including parse errors.
Switching to --loglevel error still suppresses the normal "reformatted N
files" chatter but surfaces actual failures (e.g. merge markers, syntax
errors in generated code).


Committed-By-Agent: claude

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

# Conflicts:
#	CHANGELOG.md
#	VERSION
#	package.json
#	src/resources/Checkout/Sessions.ts
#	src/resources/FinancialConnections/Accounts.ts
#	src/resources/FinancialConnections/Sessions.ts
#	src/resources/Radar/PaymentEvaluations.ts
#	src/resources/Tax/CalculationLineItems.ts
#	src/resources/Tax/Calculations.ts
#	src/resources/Tax/Registrations.ts
#	src/resources/Tax/Transactions.ts
#	src/resources/Terminal/Configurations.ts
#	src/resources/Terminal/Readers.ts
#	src/resources/Treasury/FinancialAccountFeatures.ts
#	src/resources/Treasury/OutboundTransfers.ts
#	src/resources/Treasury/ReceivedCredits.ts
#	src/resources/Treasury/ReceivedDebits.ts
#	src/resources/V2/Core/AccountLinks.ts
#	src/resources/V2/Core/Accounts.ts
#	src/stripe.cjs.node.ts
#	src/stripe.core.ts
#	src/stripe.esm.node.ts
@jar-stripe jar-stripe requested a review from a team as a code owner June 24, 2026 20:47
@jar-stripe jar-stripe requested review from kidus-stripe and removed request for a team June 24, 2026 20:47
@jar-stripe jar-stripe enabled auto-merge June 24, 2026 20:47
@jar-stripe jar-stripe merged commit fa891e3 into beta Jun 24, 2026
10 checks passed
@jar-stripe jar-stripe deleted the jar/merge-node-beta branch June 24, 2026 20:59
@jar-stripe jar-stripe mentioned this pull request Jun 24, 2026
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