Repository navigation
fix(httpx): resolve request paths against the base URL - #57
Merged
Merged
Conversation
2 tasks done
francoischalifour
added a commit
that referenced
this pull request
Nov 9, 2026
## What Add immutable `mode: :audience` for scalar, hash, and batch tracking. Audience events send only `mode`, `event`, `timestamp`, and `properties`; per-event options and hash or batch fields cannot override the client's mode. `identify` and `alias` are ignored (with a stderr warning when `debug` is enabled), and `distinct_id` is not required. Caller properties pass through unchanged. Product mode remains the default, and an invalid `mode` raises `ConfigurationError` before a transport is created. The HTTPX `origin:` fix that was originally part of this PR is now in #57. ## Why Server callers need restricted event collection without product identifiers. Custom properties remain the application's responsibility, and server HTTP context does not represent individual visitors. ## Checklist - [x] Public client specs cover scalar, hash, and batch audience payloads, mode enforcement over per-event overrides, identity-call suppression, whole-batch validation, retries, and unchanged product behavior. - [x] Public signatures (RBS/RBI), README setup guidance, and changelog updated.
francoischalifour
pushed a commit
that referenced
this pull request
Nov 17, 2026
🤖 I have created a release *beep* *boop* --- ## [1.4.0](altertable/v1.3.0...altertable/v1.4.0) (2026-11-09) ### Features * add audience collection mode ([#55](#55)) ([7ecb88c](7ecb88c)) * deprecate analytics environment routing ([#56](#56)) ([020e3bf](020e3bf)) ### Bug Fixes * **httpx:** resolve request paths against the base URL ([#57](#57)) ([f3473fb](f3473fb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every request through the HTTPX adapter fails on
mainwithHTTPX::Error: invalid URI: /track(httpx 1.7.3): the client was configured withbase_url:, which httpx does not use to resolve relative request paths. Configuring it withorigin:resolves/track,/identifyand/aliasagainst the base URL, like the Faraday and Net::HTTP adapters.Adds a loopback delivery spec that posts a real track request through each adapter; it fails for HTTPX before this change.
Split out of #55, where it was flagged as unrelated to audience mode.