Tags: cloudflare/cloudflare-go
Tags
release: 7.4.0 (#4318) * Sync staged changes (curated) (#4317) * chore: sync infrastructure packages from staging-next * chore: sync shared codegen files from staging-next * chore(accounts): update beta status in docs * chore(ai_gateway): update import ordering * chore(ai_search): add degraded status field * chore(cloudforce_one): add alpha2 required field * chore(custom_certificates): skip flaky test * chore(email_sending): update body field docs * chore(radar): add percentage_change normalization * chore(resource_sharing): update pagination docs * chore(snippets): add rule get method, types * chore(zero_trust): update AI controls, IdP types * chore(workers): update codegen output, skip bulk secret test * chore(workers_for_platforms): update codegen, skip bulk secret test * Sync staged changes (curated) (#4319) * chore: sync infrastructure packages from staging-next * chore: sync shared codegen files from staging-next * feat(ai_audit): add ai_audit resource * chore(ai_search): update sort field docs * chore(pipelines): add name filter to list params * chore(workers): add observability live tail method * chore(workflows): add rollback step type * Sync staged changes (curated) (#4320) * chore: sync shared codegen files from staging-next * feat(billing): add billable usage endpoints * feat(dls): add dls resource * feat(organizations): add billing, members, profile * feat!: sync breaking changes for email_security and realtime_kit (#4321) * feat(email_security)!: remove ActionLog param from InvestigateListParams BREAKING CHANGE: InvestigateListParams.ActionLog field removed. The upstream API no longer accepts this query parameter. * feat(realtime_kit)!: change livestream time fields to int64 BREAKING CHANGE: StartTime/EndTime fields in livestream params changed from time.Time to int64 (unix epoch). Response count fields also changed to int64. * chore: pin CI actions to commit SHAs, update scripts (#4322) - Pin actions/checkout, actions/setup-go, actions/github-script to full commit SHAs for supply-chain security - Fix unbound SKIP_BREW variable in scripts/bootstrap - Add dls and organizations/billingusage test paths to detect-breaking-changes * Sync staged changes (curated) (#4323) * chore: sync infrastructure packages from staging-next * chore: fix doc comment punctuation across all packages * chore: fix doc comment punctuation in certificate packages * chore: update codegen metadata and root aliases * ✽ Sync staged changes (#4308) * chore(api): update composite API spec * chore(api): update composite API spec * chore(api): update composite API spec * chore(api): update composite API spec * feat: chore: skip custom_certificates.create from CI run 26106703110 * chore: skip custom_certificates.create from CI run 26106703110 Failing prism test on cloudflare-typescript PR #2753 sync: - custom_certificates.create: HTTP 422 (mock returns 422 with empty errors body) CI run: https://github.com/cloudflare/cloudflare-typescript/actions/runs/26106703110 * codegen metadata * chore(api): update composite API spec * codegen metadata * chore(api): update composite API spec * chore(api): update composite API spec * chore(api): update composite API spec * codegen metadata * feat: feat(billing): add billable usage endpoints for accounts and organizations (v2) * feat(billing): add billable usage endpoints for accounts and organizations (v2) * chore(api): update composite API spec * chore(api): update composite API spec * chore(api): update composite API spec * codegen metadata * chore(api): update composite API spec * feat: feat(dls): add DLS regions and prefix_binding resources * feat(dls): add DLS regions and prefix_binding resources Maps the DLS regions (read-only) and regional_services/prefix_bindings (CRUD) endpoints to Stainless so they are picked up for SDK, Terraform, and developers.cloudflare.com/api generation. Endpoints: - regions.list: GET /accounts/{account_id}/dls/regions - regions.get: GET /accounts/{account_id}/dls/regions/{region_id} - prefix_bindings.list: GET /accounts/{account_id}/dls/regional_services/prefix_bindings - prefix_bindings.get: GET /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id} - prefix_bindings.create: POST /accounts/{account_id}/dls/regional_services/prefix_bindings - prefix_bindings.edit: PATCH /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id} - prefix_bindings.delete: DELETE /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id} Terraform resource: cloudflare_dls_prefix_binding (regions are read-only — no Terraform managed resource). Registers dls in custom_casings with the explicit 'Data Localization Suite' display name (pascal/camel/snake remain DLS/dls/dls so SDK class and field names are unchanged), and adds a new top-level 'Data Localization Suite' category under docs.resources containing dls. * chore(api): update composite API spec * codegen metadata * feat: feat(snippets): add terraform id_property annotations for snippet and snippet_rules * feat(snippets): add terraform id_property annotations for snippet and snippet_rules Add terraform annotations to enable ImportState and proper Read generation: snippet: add id_property/id_path_param on get, update, delete snippet_rules: add get endpoint, id_property on get, update, delete ESCALATION-1786 Fixes cloudflare/terraform-provider-cloudflare#7049 * chore(api): update composite API spec * chore(api): update composite API spec * chore(api): update composite API spec * codegen metadata * chore(internal): codegen related update * codegen metadata * chore(api): update composite API spec * codegen metadata * feat: feat(ai_audit): add robots route mappings for APIX-785 * fix(ai_audit): address review feedback - add standalone_api, fix naming, regroup - Add standalone_api: true (matches ai, ai_gateway, ai_search peers) - Move ai_audit next to ai/ai_search (consistent AI resource grouping) - Restructure as subresource: ai_audit.robots.get / ai_audit.robots.bulk_get - Rename get_robots -> get, bulk_get_robots -> bulk_get (standard conventions) * feat(ai_audit): add robots route mappings for APIX-785 * feat: feat(workers): adds Workers > Observability > Live Tail resources * feat(workers): adds Workers > Observability > Live Tail resources Add live_tail and live_tail_heartbeat methods to the existing telemetry subresource under workers.observability in openapi.stainless.yml. Endpoints added: - live_tail: POST /accounts/{account_id}/workers/observability/telemetry/live-tail - live_tail_heartbeat: POST /accounts/{account_id}/workers/observability/telemetry/live-tail/heartbeat * chore(api): update composite API spec * feat: chore: skip failing Go SDK tests for workers bulk secret update * chore: skip failing Go SDK tests for workers bulk secret update Skip workers.scripts.secrets.bulk_update and workers_for_platforms.dispatch.namespaces.scripts.secrets.bulk_update. Both fail with HTTP 422 from prism due to bulk secret update request shape mismatch. Matches inline t.Skip() annotations in cloudflare-go sync PR #4317. * codegen metadata * codegen metadata * codegen metadata * codegen metadata * chore(api): update composite API spec * chore(api): update composite API spec --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Vaishak Dinesh <vaishak@cloudflare.com> Co-authored-by: Vaishak Dinesh <vaishakpdinesh@gmail.com> * ✽ Sync staged changes (#4327) * chore(api): update composite API spec * chore(api): update composite API spec * codegen metadata * chore(api): update composite API spec * chore(api): update composite API spec * feat: feat(workers): adds Workers > Observability > Shared Queries resources * feat(workers): adds Workers > Observability > Shared Queries resources --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> * feat: add custom_csrs Stainless config (zone + account) (#4328) Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> * codegen metadata (#4329) Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> * feat: feat(email_security): add url_ignore_patterns and sending_domain_restrictions endpoints (#4330) * feat(email_security): add url_ignore_patterns and sending_domain_restrictions endpoints Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> * release: 7.4.0 * docs: add v7.4.0 changelog and migration guide (#4324) * Revert "docs: add v7.4.0 changelog and migration guide (#4324)" (#4331) This reverts commit 17fb411. * docs: add v7.4.0 changelog and migration guide (#4332) Restores the 7.3.0 entry that was dropped by release-please's release commit, and adds the detailed 7.4.0 changelog with migration guide. --------- Co-authored-by: Vaishak Dinesh <vaishakpdinesh@gmail.com> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Vaishak Dinesh <vaishak@cloudflare.com>
Add asset_name to RulesetRuleActionParameters (#4312) Adds the asset_name field to RulesetRuleActionParameters so that http_custom_errors phase rules using the serve_error action correctly round-trip the asset_name attribute returned by the Cloudflare API. Without this field, the typed struct silently drops asset_name during JSON decode, causing downstream tools (e.g. cf-terraforming) to emit configurations that diverge from the live ruleset and produce drift on subsequent applies. Co-authored-by: jake fowler <jfowler@cloudflare.com>
PreviousNext