Skip to content

Commit 65a7805

Browse files
authored
Merge pull request #9 from context-dot-dev/release-please--branches--main--changes--next
release: 0.7.0
2 parents 279e383 + d895b1e commit 65a7805

24 files changed

Lines changed: 2296 additions & 66 deletions

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.6.0"
2+
".": "0.7.0"
33
}

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-97cdb78dc0d72e9df643a89660f2b0c9687f12c6e4d93f7767f6cfc1b4f2e4c7.yml
3-
openapi_spec_hash: 92fc94fd8865fabe78c2667490ca3884
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-5ee7a321f8e01d2678d56277f011f71294c2b8ac4d0cff0bda412362c0d9cf73.yml
3+
openapi_spec_hash: bf5d57e3bddb6975770cf85c267b5035
44
config_hash: 682b89b02a20f5d1c13e2c91ecbcf5ce

‎CHANGELOG.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 0.7.0 (2026-04-09)
4+
5+
Full Changelog: [v0.6.0...v0.7.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.6.0...v0.7.0)
6+
7+
### Features
8+
9+
* **api:** api update ([51e02cd](https://github.com/context-dot-dev/context-python-sdk/commit/51e02cd1487c13ee0cd96a4ab10bb17108bde531))
10+
* **api:** api update ([cb80f56](https://github.com/context-dot-dev/context-python-sdk/commit/cb80f56cf54377fe4a80927eecaf3391e2e51622))
11+
* **api:** api update ([b6df2d5](https://github.com/context-dot-dev/context-python-sdk/commit/b6df2d5e74a018e70fdb3a8dd61fdb388699ef39))
12+
13+
14+
### Bug Fixes
15+
16+
* **client:** preserve hardcoded query params when merging with user params ([57c6a22](https://github.com/context-dot-dev/context-python-sdk/commit/57c6a2294b05ae0fe0840261d07f89b61dcac0a3))
17+
318
## 0.6.0 (2026-04-04)
419

520
Full Changelog: [v0.5.0...v0.6.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.5.0...v0.6.0)

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "context.dev"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_base_client.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@ def _build_request(
540540
files = cast(HttpxRequestFiles, ForceMultipartDict())
541541

542542
prepared_url = self._prepare_url(options.url)
543+
# preserve hard-coded query params from the url
544+
if params and prepared_url.query:
545+
params = {**dict(prepared_url.params.items()), **params}
546+
prepared_url = prepared_url.copy_with(raw_path=prepared_url.raw_path.split(b"?", 1)[0])
543547
if "_" in prepared_url.host:
544548
# work around https://github.com/encode/httpx/discussions/2880
545549
kwargs["extensions"] = {"sni_hostname": prepared_url.host.replace("_", "-")}

‎src/context/dev/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "context.dev"
4-
__version__ = "0.6.0" # x-release-please-version
4+
__version__ = "0.7.0" # x-release-please-version

0 commit comments

Comments
 (0)