Skip to content

[release/v1.2] [DEV-1654] Support V2 projection engine on createProjection#504

Merged
w1am merged 3 commits intorelease/v1.2from
cherry-pick/502/feat/projection-engine-v2-release/v1.2
May 6, 2026
Merged

[release/v1.2] [DEV-1654] Support V2 projection engine on createProjection#504
w1am merged 3 commits intorelease/v1.2from
cherry-pick/502/feat/projection-engine-v2-release/v1.2

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 6, 2026

Cherry picked from #502

w1am added 3 commits May 5, 2026 08:59
Adds ProjectionEngineVersion enum and engineVersion option to
createProjection, plumbed through both gRPC (CreateReq.Options.engine_version)
and the HTTP fallback (engineversion query param).
Switch the public enum to string values (V1="v1", V2="v2") and map to
the int32 wire format at the gRPC/HTTP boundary. Resolve option
defaults once at the entry instead of duplicating them in each helper.
Replace the local TypeScript enum with constants in src/constants.ts
(PROJECTION_ENGINE_V1 / PROJECTION_ENGINE_V2) plus a union type in
src/types, matching the pattern used by NodePreference, ConsumerStrategy,
and other public string-valued enums.
@linear
Copy link
Copy Markdown

linear Bot commented May 6, 2026

@w1am w1am merged commit c61be39 into release/v1.2 May 6, 2026
@w1am w1am deleted the cherry-pick/502/feat/projection-engine-v2-release/v1.2 branch May 6, 2026 08: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.

1 participant