Skip to content

7.2.0: slim down default request context#121

Merged
bartes merged 2 commits into
developfrom
chore/slim-default-context
Jun 10, 2026
Merged

7.2.0: slim down default request context#121
bartes merged 2 commits into
developfrom
chore/slim-default-context

Conversation

@bartes

@bartes bartes commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Reduces the default request context built by ContextGetDefault to headers, ip and library. The client_id, active, user_agent and locale fields are removed.

  • Slim ContextGetDefault to { headers, ip, library }.
  • Remove the internal ClientIdExtract service and the unused cookies plumbing in ContextGetDefault / ContextPrepare.
  • Update tests accordingly.
  • Bump version to 7.2.0 and add the CHANGELOG entry.

Reduce the default request context built by ContextGetDefault to headers,
ip and library. Remove the internal ClientIdExtract service and the unused
cookies plumbing in ContextGetDefault / ContextPrepare. The client id is
carried by headers (the X-Castle-Client-Id header / __cid cookie) and
resolved server-side.
@bartes bartes changed the title 7.1.1: slim down default request context 7.2.0: slim down default request context Jun 9, 2026
@bartes bartes requested a review from zuchmanski June 9, 2026 15:03
@bartes bartes merged commit 2ec259a into develop Jun 10, 2026
6 checks passed
@bartes bartes deleted the chore/slim-default-context branch June 10, 2026 12:29
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.

2 participants