Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4727ace
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
3cbb6a6
codegen metadata
stainless-app[bot] Feb 13, 2026
3accc56
feat: feat(stainless): TUN-10249 Add WARP Subnet endpoints
stainless-app[bot] Feb 13, 2026
e531924
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
bb37db8
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
20bfdf8
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
dd1052d
chore(api): update composite API spec
stainless-app[bot] Feb 16, 2026
7b7741b
codegen metadata
stainless-app[bot] Feb 16, 2026
ad6565c
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
09e3fb1
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
17a33ff
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
1e9c242
feat: feat(dex): add DEX rules
stainless-app[bot] Feb 17, 2026
146459d
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
6e6f2f5
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
2b950cf
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
a0a0048
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
79a09b5
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
89ad3ec
feat: feat: GIN-1439: Add gateway PAC files
stainless-app[bot] Feb 19, 2026
b0eb476
chore(api): update composite API spec
stainless-app[bot] Feb 19, 2026
7b7407c
chore(api): update composite API spec
stainless-app[bot] Feb 20, 2026
17bbdbb
chore(api): update composite API spec
stainless-app[bot] Feb 20, 2026
90d7acd
chore(api): update composite API spec
stainless-app[bot] Feb 20, 2026
763829c
codegen metadata
stainless-app[bot] Feb 20, 2026
401ab8d
release: 5.0.0-beta.2
stainless-app[bot] Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.0.0-beta.1"
".": "5.0.0-beta.2"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 2015
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-83f49bc3fa9273ef989d3e8bcd27f6fdaa7d04ae2519a91f4878f46acc501bb9.yml
openapi_spec_hash: 3f4be3af6f51eea4787dc8345f9ca9c1
config_hash: 9d1829ed664bb3efa8638f98bb32cf46
configured_endpoints: 2028
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e8f3032e68d3763a847cee8685c7083ef9e52cca2457e88598afdbac8b64187d.yml
openapi_spec_hash: cad13093a7aacb69e6a73f3ec5bb9c77
config_hash: 7a70007089f586cc7b1ebd1808030dd1
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Changelog

## 5.0.0-beta.2 (2026-02-20)

Full Changelog: [v5.0.0-beta.1...v5.0.0-beta.2](https://github.com/cloudflare/cloudflare-python/compare/v5.0.0-beta.1...v5.0.0-beta.2)

### Features

* feat: GIN-1439: Add gateway PAC files ([89ad3ec](https://github.com/cloudflare/cloudflare-python/commit/89ad3ecda80085641644c675ebd4581d5688edf8))
* feat(dex): add DEX rules ([1e9c242](https://github.com/cloudflare/cloudflare-python/commit/1e9c2423aed148c30b92b5a3d25b3d62252f4137))
* feat(stainless): TUN-10249 Add WARP Subnet endpoints ([3accc56](https://github.com/cloudflare/cloudflare-python/commit/3accc56c43e04292b700ea573d036872a8e9cb7b))


### Chores

* **api:** update composite API spec ([90d7acd](https://github.com/cloudflare/cloudflare-python/commit/90d7acdb5dc0cb0e27e1dde183b46cc579233f37))
* **api:** update composite API spec ([17bbdbb](https://github.com/cloudflare/cloudflare-python/commit/17bbdbb67606d49f7bfbc4979ec76ecb6b2e90ed))
* **api:** update composite API spec ([7b7407c](https://github.com/cloudflare/cloudflare-python/commit/7b7407ca94a413c23a0e68882c00d430174b8740))
* **api:** update composite API spec ([b0eb476](https://github.com/cloudflare/cloudflare-python/commit/b0eb476c790c319f7e2949d5f232bb726b3cd5bd))
* **api:** update composite API spec ([79a09b5](https://github.com/cloudflare/cloudflare-python/commit/79a09b5304a8733b5eff39931f5f3b26d92d7cc9))
* **api:** update composite API spec ([a0a0048](https://github.com/cloudflare/cloudflare-python/commit/a0a00481356d678ec42a357483e3da472a16d86d))
* **api:** update composite API spec ([2b950cf](https://github.com/cloudflare/cloudflare-python/commit/2b950cfd2456c31b7c85174f23605cb9e8a470c0))
* **api:** update composite API spec ([6e6f2f5](https://github.com/cloudflare/cloudflare-python/commit/6e6f2f55b1da2f39b4578fa86840f8687f5d4581))
* **api:** update composite API spec ([146459d](https://github.com/cloudflare/cloudflare-python/commit/146459da763b77bcd858d6550ed77e8477bc6e24))
* **api:** update composite API spec ([17a33ff](https://github.com/cloudflare/cloudflare-python/commit/17a33ff8bba4c8adceb155db74bc6a606a3a43cc))
* **api:** update composite API spec ([09e3fb1](https://github.com/cloudflare/cloudflare-python/commit/09e3fb14dfba4fdf088feaa2d567e63065c5960e))
* **api:** update composite API spec ([ad6565c](https://github.com/cloudflare/cloudflare-python/commit/ad6565c1373fc9c7fe70358fe1df4bbd4ef3f831))
* **api:** update composite API spec ([dd1052d](https://github.com/cloudflare/cloudflare-python/commit/dd1052dec57ca99a90848910908b05680428b9a8))
* **api:** update composite API spec ([20bfdf8](https://github.com/cloudflare/cloudflare-python/commit/20bfdf876f557f7b581728db112789cc583d7aa6))
* **api:** update composite API spec ([bb37db8](https://github.com/cloudflare/cloudflare-python/commit/bb37db8de6c2e0b289b0a7eb60fcabf178f43a50))
* **api:** update composite API spec ([e531924](https://github.com/cloudflare/cloudflare-python/commit/e531924080c7d5d184a0734932f08ee59b5d085f))
* **api:** update composite API spec ([4727ace](https://github.com/cloudflare/cloudflare-python/commit/4727acec0eb9ce14c6a1d8ded3d69a00a3bf22c9))

## 5.0.0-beta.1 (2026-02-13)

Full Changelog: [v4.3.1...v5.0.0-beta.1](https://github.com/cloudflare/cloudflare-python/compare/v4.3.1...v5.0.0-beta.1)
Expand Down
112 changes: 87 additions & 25 deletions api.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cloudflare"
version = "5.0.0-beta.1"
version = "5.0.0-beta.2"
description = "The official Python library for the cloudflare API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/cloudflare/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "cloudflare"
__version__ = "5.0.0-beta.1" # x-release-please-version
__version__ = "5.0.0-beta.2" # x-release-please-version
16 changes: 16 additions & 0 deletions src/cloudflare/resources/accounts/members.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def create(

roles: Array of roles associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -108,6 +112,10 @@ def create(

policies: Array of policies associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -461,6 +469,10 @@ async def create(

roles: Array of roles associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -496,6 +508,10 @@ async def create(

policies: Array of policies associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down
13 changes: 7 additions & 6 deletions src/cloudflare/resources/ai/models/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from ...._wrappers import ResultWrapper
from ...._base_client import make_request_options
from ....types.ai.models import schema_get_params
from ....types.ai.models.schema_get_response import SchemaGetResponse

__all__ = ["SchemaResource", "AsyncSchemaResource"]

Expand Down Expand Up @@ -54,7 +55,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> object:
) -> SchemaGetResponse:
"""
Get Model Schema

Expand All @@ -79,9 +80,9 @@ def get(
extra_body=extra_body,
timeout=timeout,
query=maybe_transform({"model": model}, schema_get_params.SchemaGetParams),
post_parser=ResultWrapper[object]._unwrapper,
post_parser=ResultWrapper[SchemaGetResponse]._unwrapper,
),
cast_to=cast(Type[object], ResultWrapper[object]),
cast_to=cast(Type[SchemaGetResponse], ResultWrapper[SchemaGetResponse]),
)


Expand Down Expand Up @@ -116,7 +117,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> object:
) -> SchemaGetResponse:
"""
Get Model Schema

Expand All @@ -141,9 +142,9 @@ async def get(
extra_body=extra_body,
timeout=timeout,
query=await async_maybe_transform({"model": model}, schema_get_params.SchemaGetParams),
post_parser=ResultWrapper[object]._unwrapper,
post_parser=ResultWrapper[SchemaGetResponse]._unwrapper,
),
cast_to=cast(Type[object], ResultWrapper[object]),
cast_to=cast(Type[SchemaGetResponse], ResultWrapper[SchemaGetResponse]),
)


Expand Down
Loading
Loading