Skip to content

Commit c652f9e

Browse files
author
github-actions
committed
Generated v9.0.0
1 parent 5132524 commit c652f9e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+76
-95
lines changed

CHANGELOG.md

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

3+
## [v9.0.0](https://github.com/fastly/fastly-rust/releases/tag/release/v9.0.0) (2025-06-11)
4+
5+
**Breaking Changes:**
6+
7+
- removed(properties): Remove logging placement value `waf_debug`.
8+
9+
10+
**Bug fixes:**
11+
12+
- fix(backend): Marked `prefer_ipv6` as nullable.
13+
14+
15+
**Enhancements:**
16+
17+
18+
19+
**Documentation:**
20+
21+
- doc(domain-discovery): Correct documentation of valid values of `scope` query parameter.
22+
- doc(observability-aggregations-for-logs): Correct documentation of valid values of `log-aggregations-filter` query
23+
parameter.
24+
- doc(backend): Tweak language of `prefer_ipv6` description.
25+
- doc(service): Add documentation for `filter[versions.active]` query parameter when getting detailed information on
26+
a specified service.
27+
28+
329
## [v8.0.0](https://github.com/fastly/fastly-rust/releases/tag/release/v8.0.0) (2025-05-12)
430

531
**Breaking Changes:**

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastly-api"
3-
version = "8.0.0"
3+
version = "9.0.0"
44
authors = ["Fastly <[email protected]>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Rust 2021 Edition
1515
Add the following to `Cargo.toml` under `[dependencies]`:
1616

1717
```toml
18-
fastly-api = "8.0.0"
18+
fastly-api = "9.0.0"
1919
```
2020

2121
## Usage
@@ -647,26 +647,39 @@ The fastly-rust API client currently does not support the following endpoints:
647647
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
648648
- [`/domains/v1/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
649649
- [`/domains/v1`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
650+
- [`/ngwaf/v1/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET, PATCH)
651+
- [`/ngwaf/v1/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET)
652+
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (DELETE, GET, PATCH)
653+
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (GET, POST)
654+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
655+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
656+
- [`/ngwaf/v1/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (DELETE, GET, PATCH)
657+
- [`/ngwaf/v1/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (GET, POST)
658+
- [`/ngwaf/v1/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/timeseries) (GET)
659+
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET, PATCH)
660+
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET)
661+
- [`/ngwaf/v1/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspaces) (DELETE, GET, PATCH)
662+
- [`/ngwaf/v1/workspaces`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspaces) (GET, POST)
650663
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
651664
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
652665
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
653666
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
654667
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
655668
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
656669
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
657-
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
658-
- [`/security/workspaces/{workspace_id}/events`](https://docs.fastly.com/en/ngwaf/) (GET)
659-
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
660-
- [`/security/workspaces/{workspace_id}/redactions`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
661-
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://docs.fastly.com/en/ngwaf/) (GET)
662-
- [`/security/workspaces/{workspace_id}/requests`](https://docs.fastly.com/en/ngwaf/) (GET)
663-
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
664-
- [`/security/workspaces/{workspace_id}/rules`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
665-
- [`/security/workspaces/{workspace_id}/timeseries`](https://docs.fastly.com/en/ngwaf/) (GET)
666-
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
667-
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://docs.fastly.com/en/ngwaf/) (GET)
668-
- [`/security/workspaces/{workspace_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
669-
- [`/security/workspaces`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
670+
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/security/events) (GET, PATCH)
671+
- [`/security/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/security/events) (GET)
672+
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/security/redactions) (DELETE, GET, PATCH)
673+
- [`/security/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/security/redactions) (GET, POST)
674+
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/security/requests) (GET)
675+
- [`/security/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/security/requests) (GET)
676+
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/security/rules) (DELETE, GET, PATCH)
677+
- [`/security/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/security/rules) (GET, POST)
678+
- [`/security/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/security/timeseries) (GET)
679+
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/security/virtual-patches) (GET, PATCH)
680+
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/security/virtual-patches) (GET)
681+
- [`/security/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/security/workspaces) (DELETE, GET, PATCH)
682+
- [`/security/workspaces`](https://www.fastly.com/documentation/reference/api/security/workspaces) (GET, POST)
670683
- [`/service/{service_id}/version/{version_id}/director`](https://www.fastly.com/documentation/reference/api/load-balancing/directors/director) (POST)
671684
- [`/stats/aggregate`](https://www.fastly.com/documentation/reference/api/metrics-stats/historical-stats) (GET)
672685
- [`/stats/field/{field}`](https://www.fastly.com/documentation/reference/api/metrics-stats/historical-stats) (GET)

docs/Backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**name** | Option<**String**> | The name of the backend. |
2323
**override_host** | Option<**String**> | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. |
2424
**port** | Option<**i32**> | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request. |
25-
**prefer_ipv6** | Option<**bool**> | Prefer IPv6 connections for DNS hostname lookups. |
25+
**prefer_ipv6** | Option<**bool**> | Prefer IPv6 connections to origins for hostname backends. |
2626
**request_condition** | Option<**String**> | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests. |
2727
**share_key** | Option<**String**> | Value that when shared across backends will enable those backends to share the same health check. |
2828
**shield** | Option<**String**> | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). |

docs/BackendApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Name | Type | Description | Required | Notes
5050
**name** | Option\<**String**> | The name of the backend. | |
5151
**override_host** | Option\<**String**> | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. | |
5252
**port** | Option\<**i32**> | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request. | |
53-
**prefer_ipv6** | Option\<**bool**> | Prefer IPv6 connections for DNS hostname lookups. | |
53+
**prefer_ipv6** | Option\<**bool**> | Prefer IPv6 connections to origins for hostname backends. | |
5454
**request_condition** | Option\<**String**> | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests. | |
5555
**share_key** | Option\<**String**> | Value that when shared across backends will enable those backends to share the same health check. | |
5656
**shield** | Option\<**String**> | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | |
@@ -233,7 +233,7 @@ Name | Type | Description | Required | Notes
233233
**name** | Option\<**String**> | The name of the backend. | |
234234
**override_host** | Option\<**String**> | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. | |
235235
**port** | Option\<**i32**> | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request. | |
236-
**prefer_ipv6** | Option\<**bool**> | Prefer IPv6 connections for DNS hostname lookups. | |
236+
**prefer_ipv6** | Option\<**bool**> | Prefer IPv6 connections to origins for hostname backends. | |
237237
**request_condition** | Option\<**String**> | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests. | |
238238
**share_key** | Option\<**String**> | Value that when shared across backends will enable those backends to share the same health check. | |
239239
**shield** | Option\<**String**> | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | |

docs/BackendResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**name** | Option<**String**> | The name of the backend. |
2323
**override_host** | Option<**String**> | If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. |
2424
**port** | Option<**i32**> | Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request. |
25-
**prefer_ipv6** | Option<**bool**> | Prefer IPv6 connections for DNS hostname lookups. |
25+
**prefer_ipv6** | Option<**bool**> | Prefer IPv6 connections to origins for hostname backends. |
2626
**request_condition** | Option<**String**> | Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests. |
2727
**share_key** | Option<**String**> | Value that when shared across backends will enable those backends to share the same health check. |
2828
**shield** | Option<**String**> | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). |

docs/Results.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ Name | Type | Description | Notes
267267
**compute_cache_operations_count** | Option<**i64**> | Number of cache operations executed by the Compute platform. |
268268
**ngwaf_requests_total_count** | Option<**i32**> | Total number of Next-Gen WAF (Edge WAF & Core WAF) requests. |
269269
**ngwaf_requests_unknown_count** | Option<**i32**> | Count of Edge WAF requests with an unknown outcome. |
270-
**ngwaf_requests_allowed_count** | Option<**i32**> | Count of Edge WAF requests allowed. |
270+
**ngwaf_requests_allowed_count** | Option<**i32**> | Count of Next-Gen WAF (Edge WAF & Core WAF) requests allowed. |
271271
**ngwaf_requests_logged_count** | Option<**i32**> | Count of Edge WAF requests logged. |
272-
**ngwaf_requests_blocked_count** | Option<**i32**> | Count of Edge WAF requests blocked. |
272+
**ngwaf_requests_blocked_count** | Option<**i32**> | Count of Next-Gen WAF (Edge WAF & Core WAF) requests blocked. |
273273
**ngwaf_requests_timeout_count** | Option<**i32**> | Count of Edge WAF requests timed outcome. |
274274
**ngwaf_requests_challenged_count** | Option<**i32**> | Count of Edge WAF requests challenged. |
275275
**service_id** | Option<**String**> | | [readonly]

docs/ServiceApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ Name | Type | Description | Required | Notes
143143
------------- | ------------- | ------------- | ------------- | -------------
144144
**service_id** | **String** | Alphanumeric string identifying the service. | [required] |
145145
**version** | Option\<**i32**> | Number identifying a version of the service. | |
146+
**filter_versions_active** | Option\<**bool**> | Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false). | |
146147

147148
### Return type
148149

sig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"G": "38dbf5ed", "D": "fed72b8e"}
1+
{"G": "bb3cb969", "D": "cabf600c"}

src/apis/backend_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub struct CreateBackendParams {
5454
pub override_host: Option<String>,
5555
/// Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
5656
pub port: Option<i32>,
57-
/// Prefer IPv6 connections for DNS hostname lookups.
57+
/// Prefer IPv6 connections to origins for hostname backends.
5858
pub prefer_ipv6: Option<bool>,
5959
/// Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
6060
pub request_condition: Option<String>,
@@ -168,7 +168,7 @@ pub struct UpdateBackendParams {
168168
pub override_host: Option<String>,
169169
/// Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
170170
pub port: Option<i32>,
171-
/// Prefer IPv6 connections for DNS hostname lookups.
171+
/// Prefer IPv6 connections to origins for hostname backends.
172172
pub prefer_ipv6: Option<bool>,
173173
/// Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
174174
pub request_condition: Option<String>,

0 commit comments

Comments
 (0)