- Feature: Switch from
v1betaCDN API version tov1beta2version. - Breaking change: Changed spelling from
WAFtoWafin model struct namesWAFStatusRuleBlock->WafStatusRuleBlockWAFRuleGroup->WafRuleGroupWAFRuleCollection->WafRuleCollectionWAFRule->WafRuleNullableListWAFCollectionsResponse->NullableListWafCollectionsResponse
- Breaking change: Changed spelling from model struct named
GenericJSONResponsetoGenericJsonResponse - Breaking change: Removal of fields from model structs
- Remove
Descriptionfield fromErrorDetailsmodel struct - Remove
Domainfield fromPutCustomDomainResponseandGetCustomDomainResponsemodel structs - Remove
OccuredAtfield fromGetCacheInfoResponseHistoryEntrymodel struct
- Remove
- Breaking change: Renaming of fields in model structs
- Rename
DistributionIDfield toDistributionIdinDistributionLogsRecordmodel struct - Rename
BlockedIPsfield toBlockedIpsinCreateDistributionPayload,ConfigPatchandConfigmodel structs
- Rename
- Breaking change: Removal of API client methods
GetLogsSearchFilters,GetLogsSearchFiltersExecute - Breaking change: Removal of request structs
GetLogsSearchFiltersRequest - Feature: Add fields to model structs
- Add
Backendfield toCreateDistributionPayloadmodel struct - Add
BucketBackendfield toConfigBackendmodel struct - Add
BucketBackendPatchfield toConfigPatchBackendmodel struct
- Add
- Feature: New model structs
- New Loki model structs:
LokiLogSinkCredentials,LokiLogSinkCreate,LokiLogSinkPatch - New Backend model structs:
HttpBackendCreate,BucketBackendCreate,BucketBackend,BucketBackendPatch,CreateDistributionPayloadBackend - Other new model structs:
BucketCredentials
- New Loki model structs:
- Feature: Add models:
DistributionWaf,WafConfig,WAFConfigPatch,WAFMode,WAFRule,WAFRuleCollection,WAFRuleGroupandWAFStatusRuleBlock - Feature: Add
Wafattribute toConfigandDistribution - Feature: Add
WafStatustoDistributionRequestandListWafCollections
- Feature: Added Attribute
LogSinktoConfigPatch - Feature: Added Attribute
GeofencingtoDistributionPayload - Feature: Added new function
GetLogsSearchFilters
- Feature: Added new filter functions
DataCenterRegion,RequestCountryCode,StatusCodeandCacheHit - Feature: Added Attribute
LogSinkandCertificate - Feature: Added
ConfigLogSinkandPatchLokiLogSinkfunctionality
- Dependencies: Bump
github.com/golang-jwt/jwt/v5fromv5.2.2tov5.2.3
- Improvement: Improve parsing of oneOf
- Feature: Add
DefaultCacheDurationfield toConfig,ConfigPatch, andCreateDistributionPayloadmodels - Add
required:"true"tags to model structs
- Bugfix: Adjusted
UnmarshalJSONfunction to use enum types and added tests for enums - Feature: Added
Optimizerattribute
- Breaking change: Introduce interfaces for
APIClientand the request structs
- Breaking change: Introduce typed enum constants for status attributes
- Feature: Update user-agent header
- Enhancement: Increase waiter timeouts
- Feature: Support for log management
- Feature: Create distribution payload has additional optional attributes for blocked countries, IPs and volume limitation
- Feature: Config Patch payload has additional optional attributes for blocked countries, IPs and volume limitation
- Breaking Change: Config has additional required attributes for blocked countries, IPs and volume limitation
- Bugfix: Correctly handle empty payload in body
- New: Add waiter for creation of
CustomDomain
- API enhancement: Provide waiter infrastructure
- Bugfix: Removed ConfigureRegion() from API client
- New: Introduce new API for content delivery