Skip to content

Commit dd4e232

Browse files
author
github-actions
committed
Generated v7.0.0
1 parent 09e9f0d commit dd4e232

File tree

277 files changed

+37602
-14183
lines changed

Some content is hidden

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

277 files changed

+37602
-14183
lines changed

CHANGELOG.md

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

3+
## [v7.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v7.0.0) (2025-02-26)
4+
5+
**Breaking Changes:**
6+
7+
- fix(snippet): Renamed `snippet_id` and `snippet_name` properties to `id` and `name` respectively.
8+
- feat(kv_store, kv_store_item): KV store endpoints have new operation names, and the associated data models also have
9+
new names.
10+
- feat(product): Product enablement and configuration endpoints have been renamed into per-product operations.
11+
- fix(historical): Widened integer stats fields to 64 bits.
12+
- fix(realtime, domain_inspector): Widened integer stats fields to 64 bits.
13+
- fix(historical): Corrected field names of `ddos_protection_requests_detect_count`,
14+
`ddos_protection_requests_mitigate_count`, and `ddos_protection_requests_allow_count`.
15+
- fix(realtime): Corrected field names of `ddos_protection_requests_detect_count`,
16+
`ddos_protection_requests_mitigate_count`, and `ddos_protection_requests_allow_count`.
17+
- fix(billing_usage_metrics): added parameters `req_start_month` and `req_end_month`.
18+
- deprecated(billing): Billing v2 API has been deprecated.
19+
- removed(legacy_waf): Legacy WAF API has been removed.
20+
21+
**Bug fixes:**
22+
23+
- bugfix(php): Define apiKeys on the Configuration class (Fix PHP deprecated syntax)
24+
- fix(snippet): Marked `content` as nullable to support dynamic snippets.
25+
- fix(billing_usage_metrics): `product_id` and `usage_type_name` parameters are no longer required.
26+
27+
**Enhancements:**
28+
29+
- feat(products): Added `object_storage` and `ai_accelerator` products.
30+
- feat(historical): Added new metrics: `object_storage_class_a_operations_count`,
31+
`object_storage_class_b_operations_count`, `aia_requests`, `aia_status_1xx`,
32+
`aia_status_2xx`, `aia_status_3xx`, `aia_status_5xx`, `aia_response_usage_tokens`,
33+
`aia_origin_usage_tokens`, `aia_estimated_time_saved_ms`, `request_collapse_usable_count`,
34+
`request_collapse_unusable_count`, `status_530`, and `compute_cache_operations_count`.
35+
- feat(realtime): Added new metrics: `object_storage_class_a_operations_count`,
36+
`object_storage_class_b_operations_count`, `aia_requests`, `aia_status_1xx`,
37+
`aia_status_2xx`, `aia_status_3xx`, `aia_status_5xx`, `aia_response_usage_tokens`,
38+
`aia_origin_usage_tokens`, `aia_estimated_time_saved_ms`, `request_collapse_usable_count`,
39+
`request_collapse_unusable_count`, `status_530`, and `compute_cache_operations_count`.
40+
- feat(object_storage_access_keys): Added Object Storage Access Keys API.
41+
- feat(domain_inspector_historical, domain_inspector_realtime): Added new metrics: `status_530` and `origin_status_530`.
42+
- feat(origin_inspector_historical, origin_inspector_realtime): Added new metrics: `status_530`, `waf_status_530`,
43+
`compute_status_530`, and `all_status_530`.
44+
- feat(kv_store_item): Added support for `if-generation-match`.
45+
- feat(acls_in_compute): Added ACLs in Compute API.
46+
47+
**Documentation:**
48+
49+
- doc(billing_usage_metrics): Documented that `start_month` and `end_month` are required.
50+
- doc(historical): Correct default start time in description of Historical Stats API.
51+
- doc(domain_inspector_historical): Removed duplicate description.
52+
- doc(domain_inspector_realtime): Removed duplicate description.
53+
- doc(origin_inspector_historical): Removed duplicate description.
54+
- doc(origin_inspector_realtime): Removed duplicate description.
55+
- doc(backend): Updated description of Backend API.
56+
- doc(backend): Clarified default behavior of keepalive_time.
57+
- doc(waf): Updated EOL notice of legacy-waf.
58+
359
## [v6.0.0](https://github.com/fastly/fastly-php/releases/tag/release/v6.0.0) (2024-12-05)
460

561
**Breaking Changes:**

README.md

Lines changed: 48 additions & 41 deletions
Large diffs are not rendered by default.

docs/Api/AclEntryApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Add an ACL entry to an ACL.
7575
```php
7676
$options['service_id'] = 'service_id_example'; // string | Alphanumeric string identifying the service.
7777
$options['acl_id'] = 'acl_id_example'; // string | Alphanumeric string identifying a ACL.
78-
$options['acl_entry'] = {"subnet":0,"ip":"127.0.0.1"}; // \Fastly\Model\AclEntry
78+
$options['acl_entry'] = {"subnet":16,"ip":"192.168.0.1"}; // \Fastly\Model\AclEntry
7979

8080
try {
8181
$result = $apiInstance->createAclEntry($options);

docs/Api/AclsInComputeApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Name | Type | Description | Notes
135135
## `computeAclListAcls()`
136136

137137
```php
138-
computeAclListAcls($options): \Fastly\Model\ComputeAclCreateAclsResponse[] // List ACLs
138+
computeAclListAcls($options): \Fastly\Model\ComputeAclList // List ACLs
139139
```
140140

141141
List all ACLs.
@@ -158,7 +158,7 @@ This endpoint does not need any parameters.
158158

159159
### Return type
160160

161-
[**\Fastly\Model\ComputeAclCreateAclsResponse[]**](../Model/ComputeAclCreateAclsResponse.md)
161+
[**\Fastly\Model\ComputeAclList**](../Model/ComputeAclList.md)
162162

163163
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
164164
[[Back to README]](../../README.md)

docs/Api/BackendApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $options['healthcheck'] = 'healthcheck_example'; // string | The name of the hea
4747
$options['hostname'] = 'hostname_example'; // string | The hostname of the backend. May be used as an alternative to `address` to set the backend location.
4848
$options['ipv4'] = 'ipv4_example'; // string | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
4949
$options['ipv6'] = 'ipv6_example'; // string | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
50-
$options['keepalive_time'] = 56; // int | How long in seconds to keep a persistent connection to the backend between requests.
50+
$options['keepalive_time'] = 56; // int | How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can.
5151
$options['max_conn'] = 56; // int | Maximum number of concurrent connections this backend will accept.
5252
$options['max_tls_version'] = 'max_tls_version_example'; // string | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
5353
$options['min_tls_version'] = 'min_tls_version_example'; // string | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
@@ -98,7 +98,7 @@ Name | Type | Description | Notes
9898
**hostname** | **string** | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
9999
**ipv4** | **string** | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
100100
**ipv6** | **string** | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
101-
**keepalive_time** | **int** | How long in seconds to keep a persistent connection to the backend between requests. | [optional]
101+
**keepalive_time** | **int** | How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can. | [optional]
102102
**max_conn** | **int** | Maximum number of concurrent connections this backend will accept. | [optional]
103103
**max_tls_version** | **string** | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
104104
**min_tls_version** | **string** | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
@@ -266,7 +266,7 @@ $options['healthcheck'] = 'healthcheck_example'; // string | The name of the hea
266266
$options['hostname'] = 'hostname_example'; // string | The hostname of the backend. May be used as an alternative to `address` to set the backend location.
267267
$options['ipv4'] = 'ipv4_example'; // string | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
268268
$options['ipv6'] = 'ipv6_example'; // string | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
269-
$options['keepalive_time'] = 56; // int | How long in seconds to keep a persistent connection to the backend between requests.
269+
$options['keepalive_time'] = 56; // int | How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can.
270270
$options['max_conn'] = 56; // int | Maximum number of concurrent connections this backend will accept.
271271
$options['max_tls_version'] = 'max_tls_version_example'; // string | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
272272
$options['min_tls_version'] = 'min_tls_version_example'; // string | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
@@ -318,7 +318,7 @@ Name | Type | Description | Notes
318318
**hostname** | **string** | The hostname of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
319319
**ipv4** | **string** | IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
320320
**ipv6** | **string** | IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. | [optional]
321-
**keepalive_time** | **int** | How long in seconds to keep a persistent connection to the backend between requests. | [optional]
321+
**keepalive_time** | **int** | How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can. | [optional]
322322
**max_conn** | **int** | Maximum number of concurrent connections this backend will accept. | [optional]
323323
**max_tls_version** | **string** | Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
324324
**min_tls_version** | **string** | Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]

docs/Api/BillingUsageMetricsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Returns product usage, broken down by service.
3131

3232
### Example
3333
```php
34-
$options['product_id'] = 'product_id_example'; // string | The product identifier for the metrics returned (e.g., `cdn_usage`). This field is not required for CSV requests.
35-
$options['usage_type_name'] = 'usage_type_name_example'; // string | The usage type name for the metrics returned (e.g., `North America Requests`). This field is not required for CSV requests.
34+
$options['product_id'] = 'product_id_example'; // string | The product identifier for the metrics returned (e.g., `cdn_usage`).
35+
$options['usage_type_name'] = 'usage_type_name_example'; // string | The usage type name for the metrics returned (e.g., `North America Requests`).
3636
$options['start_month'] = 2023-01; // string
3737
$options['end_month'] = 2023-03; // string
3838
$options['limit'] = '5'; // string | Number of results per page. The maximum is 100.
@@ -51,8 +51,8 @@ Note: the input parameter is an associative array with the keys listed below.
5151

5252
Name | Type | Description | Notes
5353
------------- | ------------- | ------------- | -------------
54-
**product_id** | **string** | The product identifier for the metrics returned (e.g., `cdn_usage`). This field is not required for CSV requests. |
55-
**usage_type_name** | **string** | The usage type name for the metrics returned (e.g., `North America Requests`). This field is not required for CSV requests. |
54+
**product_id** | **string** | The product identifier for the metrics returned (e.g., `cdn_usage`). | [optional]
55+
**usage_type_name** | **string** | The usage type name for the metrics returned (e.g., `North America Requests`). | [optional]
5656
**start_month** | **string** | | [optional]
5757
**end_month** | **string** | | [optional]
5858
**limit** | **string** | Number of results per page. The maximum is 100. | [optional] [defaults to '5']
@@ -75,8 +75,8 @@ Returns monthly usage metrics for customer by product.
7575

7676
### Example
7777
```php
78-
$options['start_month'] = 2023-01; // string
79-
$options['end_month'] = 2023-03; // string
78+
$options['start_month'] = 2024-05; // string
79+
$options['end_month'] = 2024-06; // string
8080

8181
try {
8282
$result = $apiInstance->getUsageMetrics($options);
@@ -91,8 +91,8 @@ Note: the input parameter is an associative array with the keys listed below.
9191

9292
Name | Type | Description | Notes
9393
------------- | ------------- | ------------- | -------------
94-
**start_month** | **string** | | [optional]
95-
**end_month** | **string** | | [optional]
94+
**start_month** | **string** | |
95+
**end_month** | **string** | |
9696

9797
### Return type
9898

0 commit comments

Comments
 (0)