Skip to content

docs: 1.1.0 API reference + auth/core/events package pages#52

Merged
intech merged 6 commits into
mainfrom
docs/api-and-pages-1.1.0
Jun 24, 2026
Merged

docs: 1.1.0 API reference + auth/core/events package pages#52
intech merged 6 commits into
mainfrom
docs/api-and-pages-1.1.0

Conversation

@intech

@intech intech commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

What

Bring the docs site current with the 1.1.0 APIs — the narrative package pages and the generated API reference.

docs(api) — regenerate the API reference (the "api generators"): TypeDoc against the current source. Adds the new 1.1.0 pages — createCatalogClient (+ CatalogClient / CreateCatalogClientOptions), createInternalAuthInterceptor / meshIdentityTrust / signedTokenTrust / sharedSecretTrust / getInternalMethods, the @connectum/auth/testing RS256 helpers, createBroadcastSubscribers (+ BroadcastReactor / BroadcastSubscribersOptions) — and updates EventBusOptions (now publishes + strictTopics). Kept to the 24 new + 18 content-updated pages: the ~319 files whose only diff was the regeneration source-link revision were reverted, so this is the real API delta, not regen noise.

docs(packages) — narrative pages for auth / core / events, mirroring the package READMEs. Every new API is adversarially verified against the real exports and marked "since 1.1.0"; the internal-auth section links ADR-029.

Verification

  • VitePress build is clean (exit 0) — all internal links resolve (incl. the ADR-029 link and the API cross-refs), no dead links.
  • Package-README counterpart is connectum #181; the 1.1.0 source is green locally (build / typecheck / test: 33/33 tasks).

Notes

  • The other 11 packages had no 1.1.0 changes — pages untouched.
  • API source links point to the generation commit (the repo's existing pattern); a follow-up could pin them to a stable ref to stop per-regen churn.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3

@github-actions github-actions Bot added the type:docs Documentation: guides, README, JSDoc label Jun 21, 2026
@intech intech force-pushed the docs/api-and-pages-1.1.0 branch from 61ac243 to 8e33f33 Compare June 21, 2026 21:18
@intech intech self-assigned this Jun 23, 2026
@intech intech force-pushed the docs/api-and-pages-1.1.0 branch from f32a092 to 71bd7d2 Compare June 24, 2026 19:52
intech and others added 6 commits June 24, 2026 23:55
…rce links)

TypeDoc against the current source. Adds the new 1.1.0 pages — createCatalogClient
(+ CatalogClient / CreateCatalogClientOptions); createInternalAuthInterceptor,
meshIdentityTrust, signedTokenTrust, sharedSecretTrust, getInternalMethods (+
their option/type pages); the @connectum/auth/testing RS256 helpers; and
createBroadcastSubscribers (+ BroadcastReactor / BroadcastSubscribersOptions) —
and updates EventBusOptions (now publishes + strictTopics).

All source links are normalized to a stable /blob/main/... (connectum's docs:api
post-process), so this is a one-time link stabilization with no spurious churn or
file moves on future regens. Zero deletions (1.1.0 is additive).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3
Mirror the package READMEs (verified against the real exports, each marked
"since 1.1.0"): createCatalogClient (core); internal auth — createInternalAuthInterceptor
+ trust sources + getInternalMethods, links ADR-029, and the RS256 test helpers
(auth); createBroadcastSubscribers + strictTopics (events).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3
Add `internal` to the proto-authz guide alongside `public`: the service-level and
method-level option tables, the authorization priority order (internal → reject
if no identity / allow if no requires / else evaluate requires), and the
merge-precedence table. Links ADR-029; marked "since 1.1.0". Verified against
options.proto (optional bool internal on ServiceAuth + MethodAuth) and the
createProtoAuthzInterceptor resolution order.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3
… link

Verified-accurate doc-currency fixes (surfaced by the doc-currency review,
each checked against source before applying):

- pnpm floor 10 → 11 in cli-commands / development-setup / quickstart —
  connectum's package.json `engines.pnpm` is ">=11" (packageManager pinned to
  pnpm@11.0.4); the prose had lagged.
- createCatalogClient (1.1.0) cross-referenced where the catalog/resolver are
  documented: service-catalog (a no-Server usage example), resolvers (the third
  resolver consumer), protoc-gen-catalog (the catalog also types it).
- cli page: note `connectum --version`.
- kubernetes: the car-sharing/k8s pointer referenced a non-existent
  `secret-jwt.yaml`; reworded to the actual `configmap.yaml` + Istio-mTLS setup.

The auth/core/events package pages from the same review were superseded by the
fuller versions already in this PR.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3
Example/demo code on the site (the homepage "See It in Action" snippet and the
auth / interceptors guide snippets) cited internal ADR numbers in code comments
("ADR-024 order", "(ADR-024)"). A reader copying the example has no context for
an ADR number — it is internal jargon in code that should be clean and
self-explanatory. Replaced with plain wording ("Fixed-order chain",
"Recommended order"); the architectural rationale still lives in the ADR pages
and prose, not in example code.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3
…85/#186 fields

The API reference on this branch was generated before externalContract (#185)
and caller-set messageId/timestamp (#186) landed on connectum main, so three
published 1.1.0 fields were missing. Regenerate against current main and
document them on the narrative package pages.

- en/api: TypeDoc regen — adds PublishOptions.messageId / timestamp and
  AmqpPublisherOptions.externalContract. Remaining churn is source-link updates
  (protobuf-es 2.12.0 → 2.12.1, shifted line numbers in events src).
- en/packages/events.md: PublishOptions table gains messageId / timestamp.
- en/packages/events-amqp.md: AmqpPublisherOptions table gains externalContract;
  the External AMQP Contract recipe now sets externalContract: true and the
  clean-wire note is corrected — correlationHeader: false alone leaves the
  envelope headers on the wire.

VitePress build passes (no dead links).

Claude-Session: https://claude.ai/code/session_01MdeH7fExPmiRHRirGuvGk3

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@intech intech force-pushed the docs/api-and-pages-1.1.0 branch from 71bd7d2 to 7beb5ca Compare June 24, 2026 19:56
@intech intech merged commit 98099b4 into main Jun 24, 2026
3 checks passed
@intech intech deleted the docs/api-and-pages-1.1.0 branch June 24, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:docs Documentation: guides, README, JSDoc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant