From 3d61f72f2877b8d27f6c40c6a2b96642542f323a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 18 Mar 2026 01:23:25 +0000 Subject: [PATCH 1/3] feat(api): api update --- .stats.yml | 4 +-- src/brand/dev/resources/brand.py | 36 +++++++++++++++++++ .../brand_identify_from_transaction_params.py | 3 ++ .../types/brand_retrieve_by_email_params.py | 3 ++ .../types/brand_retrieve_by_isin_params.py | 3 ++ .../types/brand_retrieve_by_name_params.py | 3 ++ .../types/brand_retrieve_by_ticker_params.py | 3 ++ src/brand/dev/types/brand_retrieve_params.py | 3 ++ 8 files changed, 56 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 18cf9ec..5b3a2d3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 20 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-67e4ffa39d74649a6ae6b21e9f86cffa83c8a02d640ca6b4d4a3e619b54fbd38.yml -openapi_spec_hash: 762e7ea7ae23297cc6b01f600a485410 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-5fa88d5279ee91162b7b446f7612fd1e49b5c14e958aeef151e6e942af699286.yml +openapi_spec_hash: b2746128fd1c16d64946e99b2b0137b9 config_hash: 4cd3173ea1cce7183640aae49cfbb374 diff --git a/src/brand/dev/resources/brand.py b/src/brand/dev/resources/brand.py index db8c733..ffcfd98 100644 --- a/src/brand/dev/resources/brand.py +++ b/src/brand/dev/resources/brand.py @@ -94,6 +94,7 @@ def retrieve( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -113,6 +114,7 @@ def retrieve( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -135,6 +137,7 @@ def retrieve( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -713,6 +716,7 @@ def identify_from_transaction( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -732,6 +736,7 @@ def identify_from_transaction( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -754,6 +759,7 @@ def identify_from_transaction( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -948,6 +954,7 @@ def retrieve_by_email( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -967,6 +974,7 @@ def retrieve_by_email( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -989,6 +997,7 @@ def retrieve_by_email( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -1065,6 +1074,7 @@ def retrieve_by_isin( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -1084,6 +1094,7 @@ def retrieve_by_isin( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -1106,6 +1117,7 @@ def retrieve_by_isin( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -1423,6 +1435,7 @@ def retrieve_by_name( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -1442,6 +1455,7 @@ def retrieve_by_name( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -1464,6 +1478,7 @@ def retrieve_by_name( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -1542,6 +1557,7 @@ def retrieve_by_ticker( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -1561,6 +1577,7 @@ def retrieve_by_ticker( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -1583,6 +1600,7 @@ def retrieve_by_ticker( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -2171,6 +2189,7 @@ async def retrieve( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -2190,6 +2209,7 @@ async def retrieve( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -2212,6 +2232,7 @@ async def retrieve( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -2790,6 +2811,7 @@ async def identify_from_transaction( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -2809,6 +2831,7 @@ async def identify_from_transaction( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -2831,6 +2854,7 @@ async def identify_from_transaction( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -3025,6 +3049,7 @@ async def retrieve_by_email( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -3044,6 +3069,7 @@ async def retrieve_by_email( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -3066,6 +3092,7 @@ async def retrieve_by_email( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -3142,6 +3169,7 @@ async def retrieve_by_isin( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -3161,6 +3189,7 @@ async def retrieve_by_isin( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -3183,6 +3212,7 @@ async def retrieve_by_isin( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -3500,6 +3530,7 @@ async def retrieve_by_name( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -3519,6 +3550,7 @@ async def retrieve_by_name( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -3541,6 +3573,7 @@ async def retrieve_by_name( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", @@ -3619,6 +3652,7 @@ async def retrieve_by_ticker( "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -3638,6 +3672,7 @@ async def retrieve_by_ticker( "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -3660,6 +3695,7 @@ async def retrieve_by_ticker( "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", diff --git a/src/brand/dev/types/brand_identify_from_transaction_params.py b/src/brand/dev/types/brand_identify_from_transaction_params.py index bc46c8f..e04b1e5 100644 --- a/src/brand/dev/types/brand_identify_from_transaction_params.py +++ b/src/brand/dev/types/brand_identify_from_transaction_params.py @@ -268,6 +268,7 @@ class BrandIdentifyFromTransactionParams(TypedDict, total=False): "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -287,6 +288,7 @@ class BrandIdentifyFromTransactionParams(TypedDict, total=False): "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -309,6 +311,7 @@ class BrandIdentifyFromTransactionParams(TypedDict, total=False): "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", diff --git a/src/brand/dev/types/brand_retrieve_by_email_params.py b/src/brand/dev/types/brand_retrieve_by_email_params.py index da361c6..886c213 100644 --- a/src/brand/dev/types/brand_retrieve_by_email_params.py +++ b/src/brand/dev/types/brand_retrieve_by_email_params.py @@ -23,6 +23,7 @@ class BrandRetrieveByEmailParams(TypedDict, total=False): "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -42,6 +43,7 @@ class BrandRetrieveByEmailParams(TypedDict, total=False): "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -64,6 +66,7 @@ class BrandRetrieveByEmailParams(TypedDict, total=False): "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", diff --git a/src/brand/dev/types/brand_retrieve_by_isin_params.py b/src/brand/dev/types/brand_retrieve_by_isin_params.py index db2731b..db559fa 100644 --- a/src/brand/dev/types/brand_retrieve_by_isin_params.py +++ b/src/brand/dev/types/brand_retrieve_by_isin_params.py @@ -23,6 +23,7 @@ class BrandRetrieveByIsinParams(TypedDict, total=False): "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -42,6 +43,7 @@ class BrandRetrieveByIsinParams(TypedDict, total=False): "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -64,6 +66,7 @@ class BrandRetrieveByIsinParams(TypedDict, total=False): "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", diff --git a/src/brand/dev/types/brand_retrieve_by_name_params.py b/src/brand/dev/types/brand_retrieve_by_name_params.py index 542f481..847bdb3 100644 --- a/src/brand/dev/types/brand_retrieve_by_name_params.py +++ b/src/brand/dev/types/brand_retrieve_by_name_params.py @@ -268,6 +268,7 @@ class BrandRetrieveByNameParams(TypedDict, total=False): "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -287,6 +288,7 @@ class BrandRetrieveByNameParams(TypedDict, total=False): "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -309,6 +311,7 @@ class BrandRetrieveByNameParams(TypedDict, total=False): "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", diff --git a/src/brand/dev/types/brand_retrieve_by_ticker_params.py b/src/brand/dev/types/brand_retrieve_by_ticker_params.py index 4bbdb2f..d328385 100644 --- a/src/brand/dev/types/brand_retrieve_by_ticker_params.py +++ b/src/brand/dev/types/brand_retrieve_by_ticker_params.py @@ -22,6 +22,7 @@ class BrandRetrieveByTickerParams(TypedDict, total=False): "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -41,6 +42,7 @@ class BrandRetrieveByTickerParams(TypedDict, total=False): "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -63,6 +65,7 @@ class BrandRetrieveByTickerParams(TypedDict, total=False): "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", diff --git a/src/brand/dev/types/brand_retrieve_params.py b/src/brand/dev/types/brand_retrieve_params.py index 5091652..03e102a 100644 --- a/src/brand/dev/types/brand_retrieve_params.py +++ b/src/brand/dev/types/brand_retrieve_params.py @@ -22,6 +22,7 @@ class BrandRetrieveParams(TypedDict, total=False): "azeri", "bengali", "bulgarian", + "cantonese", "cebuano", "croatian", "czech", @@ -41,6 +42,7 @@ class BrandRetrieveParams(TypedDict, total=False): "indonesian", "italian", "kazakh", + "korean", "kyrgyz", "latin", "latvian", @@ -63,6 +65,7 @@ class BrandRetrieveParams(TypedDict, total=False): "swahili", "swedish", "tagalog", + "thai", "turkish", "ukrainian", "urdu", From 3d9ea339fd93fb864a8b68d132b1a2acbb6d8412 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 20 Mar 2026 03:18:15 +0000 Subject: [PATCH 2/3] fix: sanitize endpoint path params --- src/brand/dev/_utils/__init__.py | 1 + src/brand/dev/_utils/_path.py | 127 +++++++++++++++++++++++++++++++ tests/test_utils/test_path.py | 89 ++++++++++++++++++++++ 3 files changed, 217 insertions(+) create mode 100644 src/brand/dev/_utils/_path.py create mode 100644 tests/test_utils/test_path.py diff --git a/src/brand/dev/_utils/__init__.py b/src/brand/dev/_utils/__init__.py index dc64e29..10cb66d 100644 --- a/src/brand/dev/_utils/__init__.py +++ b/src/brand/dev/_utils/__init__.py @@ -1,3 +1,4 @@ +from ._path import path_template as path_template from ._sync import asyncify as asyncify from ._proxy import LazyProxy as LazyProxy from ._utils import ( diff --git a/src/brand/dev/_utils/_path.py b/src/brand/dev/_utils/_path.py new file mode 100644 index 0000000..4d6e1e4 --- /dev/null +++ b/src/brand/dev/_utils/_path.py @@ -0,0 +1,127 @@ +from __future__ import annotations + +import re +from typing import ( + Any, + Mapping, + Callable, +) +from urllib.parse import quote + +# Matches '.' or '..' where each dot is either literal or percent-encoded (%2e / %2E). +_DOT_SEGMENT_RE = re.compile(r"^(?:\.|%2[eE]){1,2}$") + +_PLACEHOLDER_RE = re.compile(r"\{(\w+)\}") + + +def _quote_path_segment_part(value: str) -> str: + """Percent-encode `value` for use in a URI path segment. + + Considers characters not in `pchar` set from RFC 3986 §3.3 to be unsafe. + https://datatracker.ietf.org/doc/html/rfc3986#section-3.3 + """ + # quote() already treats unreserved characters (letters, digits, and -._~) + # as safe, so we only need to add sub-delims, ':', and '@'. + # Notably, unlike the default `safe` for quote(), / is unsafe and must be quoted. + return quote(value, safe="!$&'()*+,;=:@") + + +def _quote_query_part(value: str) -> str: + """Percent-encode `value` for use in a URI query string. + + Considers &, = and characters not in `query` set from RFC 3986 §3.4 to be unsafe. + https://datatracker.ietf.org/doc/html/rfc3986#section-3.4 + """ + return quote(value, safe="!$'()*+,;:@/?") + + +def _quote_fragment_part(value: str) -> str: + """Percent-encode `value` for use in a URI fragment. + + Considers characters not in `fragment` set from RFC 3986 §3.5 to be unsafe. + https://datatracker.ietf.org/doc/html/rfc3986#section-3.5 + """ + return quote(value, safe="!$&'()*+,;=:@/?") + + +def _interpolate( + template: str, + values: Mapping[str, Any], + quoter: Callable[[str], str], +) -> str: + """Replace {name} placeholders in `template`, quoting each value with `quoter`. + + Placeholder names are looked up in `values`. + + Raises: + KeyError: If a placeholder is not found in `values`. + """ + # re.split with a capturing group returns alternating + # [text, name, text, name, ..., text] elements. + parts = _PLACEHOLDER_RE.split(template) + + for i in range(1, len(parts), 2): + name = parts[i] + if name not in values: + raise KeyError(f"a value for placeholder {{{name}}} was not provided") + val = values[name] + if val is None: + parts[i] = "null" + elif isinstance(val, bool): + parts[i] = "true" if val else "false" + else: + parts[i] = quoter(str(values[name])) + + return "".join(parts) + + +def path_template(template: str, /, **kwargs: Any) -> str: + """Interpolate {name} placeholders in `template` from keyword arguments. + + Args: + template: The template string containing {name} placeholders. + **kwargs: Keyword arguments to interpolate into the template. + + Returns: + The template with placeholders interpolated and percent-encoded. + + Safe characters for percent-encoding are dependent on the URI component. + Placeholders in path and fragment portions are percent-encoded where the `segment` + and `fragment` sets from RFC 3986 respectively are considered safe. + Placeholders in the query portion are percent-encoded where the `query` set from + RFC 3986 §3.3 is considered safe except for = and & characters. + + Raises: + KeyError: If a placeholder is not found in `kwargs`. + ValueError: If resulting path contains /./ or /../ segments (including percent-encoded dot-segments). + """ + # Split the template into path, query, and fragment portions. + fragment_template: str | None = None + query_template: str | None = None + + rest = template + if "#" in rest: + rest, fragment_template = rest.split("#", 1) + if "?" in rest: + rest, query_template = rest.split("?", 1) + path_template = rest + + # Interpolate each portion with the appropriate quoting rules. + path_result = _interpolate(path_template, kwargs, _quote_path_segment_part) + + # Reject dot-segments (. and ..) in the final assembled path. The check + # runs after interpolation so that adjacent placeholders or a mix of static + # text and placeholders that together form a dot-segment are caught. + # Also reject percent-encoded dot-segments to protect against incorrectly + # implemented normalization in servers/proxies. + for segment in path_result.split("/"): + if _DOT_SEGMENT_RE.match(segment): + raise ValueError(f"Constructed path {path_result!r} contains dot-segment {segment!r} which is not allowed") + + result = path_result + if query_template is not None: + result += "?" + _interpolate(query_template, kwargs, _quote_query_part) + if fragment_template is not None: + result += "#" + _interpolate(fragment_template, kwargs, _quote_fragment_part) + + return result diff --git a/tests/test_utils/test_path.py b/tests/test_utils/test_path.py new file mode 100644 index 0000000..a8185b4 --- /dev/null +++ b/tests/test_utils/test_path.py @@ -0,0 +1,89 @@ +from __future__ import annotations + +from typing import Any + +import pytest + +from brand.dev._utils._path import path_template + + +@pytest.mark.parametrize( + "template, kwargs, expected", + [ + ("/v1/{id}", dict(id="abc"), "/v1/abc"), + ("/v1/{a}/{b}", dict(a="x", b="y"), "/v1/x/y"), + ("/v1/{a}{b}/path/{c}?val={d}#{e}", dict(a="x", b="y", c="z", d="u", e="v"), "/v1/xy/path/z?val=u#v"), + ("/{w}/{w}", dict(w="echo"), "/echo/echo"), + ("/v1/static", {}, "/v1/static"), + ("", {}, ""), + ("/v1/?q={n}&count=10", dict(n=42), "/v1/?q=42&count=10"), + ("/v1/{v}", dict(v=None), "/v1/null"), + ("/v1/{v}", dict(v=True), "/v1/true"), + ("/v1/{v}", dict(v=False), "/v1/false"), + ("/v1/{v}", dict(v=".hidden"), "/v1/.hidden"), # dot prefix ok + ("/v1/{v}", dict(v="file.txt"), "/v1/file.txt"), # dot in middle ok + ("/v1/{v}", dict(v="..."), "/v1/..."), # triple dot ok + ("/v1/{a}{b}", dict(a=".", b="txt"), "/v1/.txt"), # dot var combining with adjacent to be ok + ("/items?q={v}#{f}", dict(v=".", f=".."), "/items?q=.#.."), # dots in query/fragment are fine + ( + "/v1/{a}?query={b}", + dict(a="../../other/endpoint", b="a&bad=true"), + "/v1/..%2F..%2Fother%2Fendpoint?query=a%26bad%3Dtrue", + ), + ("/v1/{val}", dict(val="a/b/c"), "/v1/a%2Fb%2Fc"), + ("/v1/{val}", dict(val="a/b/c?query=value"), "/v1/a%2Fb%2Fc%3Fquery=value"), + ("/v1/{val}", dict(val="a/b/c?query=value&bad=true"), "/v1/a%2Fb%2Fc%3Fquery=value&bad=true"), + ("/v1/{val}", dict(val="%20"), "/v1/%2520"), # escapes escape sequences in input + # Query: slash and ? are safe, # is not + ("/items?q={v}", dict(v="a/b"), "/items?q=a/b"), + ("/items?q={v}", dict(v="a?b"), "/items?q=a?b"), + ("/items?q={v}", dict(v="a#b"), "/items?q=a%23b"), + ("/items?q={v}", dict(v="a b"), "/items?q=a%20b"), + # Fragment: slash and ? are safe + ("/docs#{v}", dict(v="a/b"), "/docs#a/b"), + ("/docs#{v}", dict(v="a?b"), "/docs#a?b"), + # Path: slash, ? and # are all encoded + ("/v1/{v}", dict(v="a/b"), "/v1/a%2Fb"), + ("/v1/{v}", dict(v="a?b"), "/v1/a%3Fb"), + ("/v1/{v}", dict(v="a#b"), "/v1/a%23b"), + # same var encoded differently by component + ( + "/v1/{v}?q={v}#{v}", + dict(v="a/b?c#d"), + "/v1/a%2Fb%3Fc%23d?q=a/b?c%23d#a/b?c%23d", + ), + ("/v1/{val}", dict(val="x?admin=true"), "/v1/x%3Fadmin=true"), # query injection + ("/v1/{val}", dict(val="x#admin"), "/v1/x%23admin"), # fragment injection + ], +) +def test_interpolation(template: str, kwargs: dict[str, Any], expected: str) -> None: + assert path_template(template, **kwargs) == expected + + +def test_missing_kwarg_raises_key_error() -> None: + with pytest.raises(KeyError, match="org_id"): + path_template("/v1/{org_id}") + + +@pytest.mark.parametrize( + "template, kwargs", + [ + ("{a}/path", dict(a=".")), + ("{a}/path", dict(a="..")), + ("/v1/{a}", dict(a=".")), + ("/v1/{a}", dict(a="..")), + ("/v1/{a}/path", dict(a=".")), + ("/v1/{a}/path", dict(a="..")), + ("/v1/{a}{b}", dict(a=".", b=".")), # adjacent vars → ".." + ("/v1/{a}.", dict(a=".")), # var + static → ".." + ("/v1/{a}{b}", dict(a="", b=".")), # empty + dot → "." + ("/v1/%2e/{x}", dict(x="ok")), # encoded dot in static text + ("/v1/%2e./{x}", dict(x="ok")), # mixed encoded ".." in static + ("/v1/.%2E/{x}", dict(x="ok")), # mixed encoded ".." in static + ("/v1/{v}?q=1", dict(v="..")), + ("/v1/{v}#frag", dict(v="..")), + ], +) +def test_dot_segment_rejected(template: str, kwargs: dict[str, Any]) -> None: + with pytest.raises(ValueError, match="dot-segment"): + path_template(template, **kwargs) From 70471b34502abb46d89fa67e0cbbe909042af8f5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 20 Mar 2026 03:18:33 +0000 Subject: [PATCH 3/3] release: 1.38.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- src/brand/dev/_version.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 36116e1..b90a705 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.37.0" + ".": "1.38.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d14a00b..835a33c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 1.38.0 (2026-03-20) + +Full Changelog: [v1.37.0...v1.38.0](https://github.com/brand-dot-dev/python-sdk/compare/v1.37.0...v1.38.0) + +### Features + +* **api:** api update ([3d61f72](https://github.com/brand-dot-dev/python-sdk/commit/3d61f72f2877b8d27f6c40c6a2b96642542f323a)) + + +### Bug Fixes + +* sanitize endpoint path params ([3d9ea33](https://github.com/brand-dot-dev/python-sdk/commit/3d9ea339fd93fb864a8b68d132b1a2acbb6d8412)) + ## 1.37.0 (2026-03-18) Full Changelog: [v1.36.1...v1.37.0](https://github.com/brand-dot-dev/python-sdk/compare/v1.36.1...v1.37.0) diff --git a/pyproject.toml b/pyproject.toml index 5594ca7..8e46971 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "brand.dev" -version = "1.37.0" +version = "1.38.0" description = "The official Python library for the brand.dev API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/brand/dev/_version.py b/src/brand/dev/_version.py index df11d71..7556cd2 100644 --- a/src/brand/dev/_version.py +++ b/src/brand/dev/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "brand.dev" -__version__ = "1.37.0" # x-release-please-version +__version__ = "1.38.0" # x-release-please-version