Skip to content

Commit e39d0b2

Browse files
author
github-actions
committed
Generated v13.0.0
1 parent 3bcbeb6 commit e39d0b2

File tree

73 files changed

+195
-148
lines changed

Some content is hidden

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

73 files changed

+195
-148
lines changed

CHANGELOG.md

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

3+
## [v13.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v13.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+
- feat(historical): The following Next-Gen WAF metrics have been updated to include both Edge WAF and
18+
- Core WAF counts:`ngwaf_requests_total_count`, `ngwaf_requests_blocked_count`,
19+
20+
21+
**Documentation:**
22+
23+
- doc(domain-discovery): Correct documentation of valid values of `scope` query parameter.
24+
- doc(observability-aggregations-for-logs): Correct documentation of valid values of `log-aggregations-filter` query
25+
parameter.
26+
- doc(backend): Tweak language of `prefer_ipv6` description.
27+
- doc(service): Add documentation for `filter[versions.active]` query parameter when getting detailed information on
28+
a specified service.
29+
30+
331
## [v12.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v12.0.0) (2025-05-12)
432

533
**Breaking Changes:**

README.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
88
To install via RubyGems, add the following to your project's `Gemfile`:
99

1010
```ruby
11-
gem 'fastly', '~> 12.0.0'
11+
gem 'fastly', '~> 13.0.0'
1212
```
1313

1414
Then run `bundle install`.
@@ -644,26 +644,39 @@ The fastly-ruby API client currently does not support the following endpoints:
644644
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
645645
- [`/domains/v1/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
646646
- [`/domains/v1`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
647+
- [`/ngwaf/v1/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET, PATCH)
648+
- [`/ngwaf/v1/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET)
649+
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (DELETE, GET, PATCH)
650+
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (GET, POST)
651+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
652+
- [`/ngwaf/v1/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
653+
- [`/ngwaf/v1/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (DELETE, GET, PATCH)
654+
- [`/ngwaf/v1/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (GET, POST)
655+
- [`/ngwaf/v1/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/timeseries) (GET)
656+
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET, PATCH)
657+
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET)
658+
- [`/ngwaf/v1/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspaces) (DELETE, GET, PATCH)
659+
- [`/ngwaf/v1/workspaces`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspaces) (GET, POST)
647660
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
648661
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
649662
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
650663
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
651664
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
652665
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
653666
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
654-
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
655-
- [`/security/workspaces/{workspace_id}/events`](https://docs.fastly.com/en/ngwaf/) (GET)
656-
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
657-
- [`/security/workspaces/{workspace_id}/redactions`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
658-
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://docs.fastly.com/en/ngwaf/) (GET)
659-
- [`/security/workspaces/{workspace_id}/requests`](https://docs.fastly.com/en/ngwaf/) (GET)
660-
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
661-
- [`/security/workspaces/{workspace_id}/rules`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
662-
- [`/security/workspaces/{workspace_id}/timeseries`](https://docs.fastly.com/en/ngwaf/) (GET)
663-
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
664-
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://docs.fastly.com/en/ngwaf/) (GET)
665-
- [`/security/workspaces/{workspace_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
666-
- [`/security/workspaces`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
667+
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/security/events) (GET, PATCH)
668+
- [`/security/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/security/events) (GET)
669+
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/security/redactions) (DELETE, GET, PATCH)
670+
- [`/security/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/security/redactions) (GET, POST)
671+
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://www.fastly.com/documentation/reference/api/security/requests) (GET)
672+
- [`/security/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/security/requests) (GET)
673+
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/security/rules) (DELETE, GET, PATCH)
674+
- [`/security/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/security/rules) (GET, POST)
675+
- [`/security/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/security/timeseries) (GET)
676+
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/security/virtual-patches) (GET, PATCH)
677+
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/security/virtual-patches) (GET)
678+
- [`/security/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/security/workspaces) (DELETE, GET, PATCH)
679+
- [`/security/workspaces`](https://www.fastly.com/documentation/reference/api/security/workspaces) (GET, POST)
667680
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
668681
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
669682
- [`/tls/configurations/{tls_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)

docs/Backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
| **name** | **String** | The name of the backend. | [optional] |
2323
| **override_host** | **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. | [optional] |
2424
| **port** | **Integer** | 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. | [optional] |
25-
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections for DNS hostname lookups. | [optional] |
25+
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections to origins for hostname backends. | [optional] |
2626
| **request_condition** | **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. | [optional] |
2727
| **share_key** | **String** | Value that when shared across backends will enable those backends to share the same health check. | [optional] |
2828
| **shield** | **String** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional] |

docs/BackendApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ opts = {
5353
name: 'name_example', # String | The name of the backend.
5454
override_host: 'override_host_example', # 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.
5555
port: 56, # Integer | 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.
56-
prefer_ipv6: true, # Boolean | Prefer IPv6 connections for DNS hostname lookups.
56+
prefer_ipv6: true, # Boolean | Prefer IPv6 connections to origins for hostname backends.
5757
request_condition: 'request_condition_example', # 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.
5858
share_key: 'share_key_example', # String | Value that when shared across backends will enable those backends to share the same health check.
5959
shield: 'shield_example', # String | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
@@ -106,7 +106,7 @@ end
106106
| **name** | **String** | The name of the backend. | [optional] |
107107
| **override_host** | **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. | [optional] |
108108
| **port** | **Integer** | 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. | [optional] |
109-
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections for DNS hostname lookups. | [optional] |
109+
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections to origins for hostname backends. | [optional] |
110110
| **request_condition** | **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. | [optional] |
111111
| **share_key** | **String** | Value that when shared across backends will enable those backends to share the same health check. | [optional] |
112112
| **shield** | **String** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional] |
@@ -286,7 +286,7 @@ opts = {
286286
name: 'name_example', # String | The name of the backend.
287287
override_host: 'override_host_example', # 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.
288288
port: 56, # Integer | 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.
289-
prefer_ipv6: true, # Boolean | Prefer IPv6 connections for DNS hostname lookups.
289+
prefer_ipv6: true, # Boolean | Prefer IPv6 connections to origins for hostname backends.
290290
request_condition: 'request_condition_example', # 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.
291291
share_key: 'share_key_example', # String | Value that when shared across backends will enable those backends to share the same health check.
292292
shield: 'shield_example', # String | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
@@ -340,7 +340,7 @@ end
340340
| **name** | **String** | The name of the backend. | [optional] |
341341
| **override_host** | **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. | [optional] |
342342
| **port** | **Integer** | 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. | [optional] |
343-
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections for DNS hostname lookups. | [optional] |
343+
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections to origins for hostname backends. | [optional] |
344344
| **request_condition** | **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. | [optional] |
345345
| **share_key** | **String** | Value that when shared across backends will enable those backends to share the same health check. | [optional] |
346346
| **shield** | **String** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional] |

docs/BackendResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
| **name** | **String** | The name of the backend. | [optional] |
2323
| **override_host** | **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. | [optional] |
2424
| **port** | **Integer** | 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. | [optional] |
25-
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections for DNS hostname lookups. | [optional] |
25+
| **prefer_ipv6** | **Boolean** | Prefer IPv6 connections to origins for hostname backends. | [optional] |
2626
| **request_condition** | **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. | [optional] |
2727
| **share_key** | **String** | Value that when shared across backends will enable those backends to share the same health check. | [optional] |
2828
| **shield** | **String** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional] |

docs/Results.md

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

docs/ServiceApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ api_instance = Fastly::ServiceApi.new
155155
opts = {
156156
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
157157
version: 56, # Integer | Number identifying a version of the service.
158+
filter_versions_active: true, # Boolean | Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false).
158159
}
159160

160161
begin
@@ -172,6 +173,7 @@ end
172173
| ---- | ---- | ----------- | ----- |
173174
| **service_id** | **String** | Alphanumeric string identifying the service. | |
174175
| **version** | **Integer** | Number identifying a version of the service. | [optional] |
176+
| **filter_versions_active** | **Boolean** | Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false). | [optional] |
175177

176178
### Return type
177179

0 commit comments

Comments
 (0)