Skip to content

3.1.0: slim default request context#190

Closed
bartes wants to merge 1 commit into
chore/modernize-sdkfrom
chore/3.1-slim-context
Closed

3.1.0: slim default request context#190
bartes wants to merge 1 commit into
chore/modernize-sdkfrom
chore/3.1-slim-context

Conversation

@bartes
Copy link
Copy Markdown
Contributor

@bartes bartes commented Jun 1, 2026

What & why

A 3.1.0 follow-up that slims the default request context. The default context no longer derives client_id: it is already carried by the request headers and resolved server-side, so computing it in the SDK is redundant.

Stacked on the chore/modernize-sdk (3.0.0) branch — review/merge that first.

Changes

  • ContextGetDefaultService now returns only headers, ip and library.
  • Remove the internal client-id extraction service (src/client-id/) and the now-unused cookie plumbing (HeadersGetCookieService), along with their tests.
  • Bump version to 3.1.0 and add the changelog entry.

@bartes bartes force-pushed the chore/modernize-sdk branch from ab93042 to 376663f Compare June 1, 2026 15:16
The default request context no longer derives client_id: it is already
carried by the request headers and resolved server-side, so computing it
in the SDK is redundant. Remove the internal client-id extraction service
and the now-unused cookie plumbing (HeadersGetCookieService).
@bartes bartes force-pushed the chore/3.1-slim-context branch from 0432ae9 to a0260c0 Compare June 1, 2026 15:17
@bartes bartes changed the title 3.1.0: slim default request context (parity with ruby 9.1 / python 7.1) 3.1.0: slim default request context Jun 1, 2026
@bartes bartes closed this Jun 2, 2026
@bartes bartes deleted the chore/3.1-slim-context branch June 3, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant