- Dependencies: Bump STACKIT SDK core module from
v0.24.0tov0.24.1
- Dependencies: Bump STACKIT SDK core module from
v0.23.0tov0.24.0
- Bugfix: Disable strict decoding of API responses
- Feature: Add
AdditionalPropertiesfields to model structs
v1api:- Feature: Add field
SkipDnsCheckto model structPutCustomDomainCustomCertificate,GetCustomDomainCustomCertificate - Feature: Add field
CertificateTypeto model structDomain
- Feature: Add field
- Deprecated SDK layer in root of the module:
- Feature: Add field
SkipDnsCheckto model structPutCustomDomainCustomCertificate,GetCustomDomainCustomCertificate - Feature: Add field
CertificateTypeto model structDomain
- Feature: Add field
- Dependencies: Bump STACKIT SDK core module from
v0.22.0tov0.23.0
- Feature: Introduction of multi API version support for the cdn SDK module. For more details please see the announcement on GitHub: #5062
v1api: New package which can be used for communication with the cdn v1 APIv1betaapi: New package which can be used for communication with the cdn v1 beta APIv1beta2api: New package which can be used for communication with the cdn v1 beta2 API- Deprecation: The contents in the root of this SDK module including the
waitpackage are marked as deprecated and will be removed after 2026-09-30. Switch to the new packages for the available API versions instead. - Dependencies: Bump STACKIT SDK core module from
v0.21.1tov0.22.0
- Feature: Add support for
RedirectConfiginConfig,ConfigPatchandCreateDistributionPayloadmodels- new related models
RedirectConfig,RedirectRule,MatcherandMatchCondition
- new related models
- Bump STACKIT SDK core module from
v0.21.0tov0.21.1
- Dependencies: Bump
github.com/golang-jwt/jwt/v5fromv5.3.0tov5.3.1
- Bugfix: Correctly handle file closing for file uploads
- Bump STACKIT SDK core module from
v0.20.1tov0.21.0
- Bump STACKIT SDK core module from
v0.20.0tov0.20.1
- Feature: Switch from
v1beta2CDN API version tov1version. - Feature: Add new function
GetLogsSearchFilters - Feature: Add
WafActionmethod toApiGetLogsRequeststruct - Feature: Add
Reasonfield toWafStatusRuleBlockmodel struct - Feature: Add fields to
WafConfigandWafConfigPatchmodel struct:AllowedHttpMethodsAllowedHttpVersionsAllowedRequestContentTypesDisabledRuleCollectionIdsDisabledRuleGroupIdsDisabledRuleIdsEnabledRuleCollectionIdsEnabledRuleGroupIdsEnabledRuleIdsLogOnlyRuleCollectionIdsLogOnlyRuleGroupIdsLogOnlyRuleIdsParanoiaLevel
- Note: This release was formerly known as
v2.1.1and was re-tagged, see statement below. - Bump STACKIT SDK core module from
v0.19.0tov0.20.0
Important
The 3 releases, which contained the previously tagged v2.x.x changes, are now re-released as v1.7.0, v1.8.0 and v1.8.1.
We have retagged the releases as v1.x.x versions to avoid forcing a module path change on all consumers.
Reason: According to Go module conventions, major versions ≥2 require the module path to be updated with a /v2 suffix (github.com/stackitcloud/stackit-sdk-go/services/cdn).
Impact: By remaining at v1, all users can continue to import the module using the original, clean import path (github.com/stackitcloud/stackit-sdk-go/services/cdn) without needing to update their import statements.
Note: If you were trying to use any v2.x.x tag, please downgrade to v1.7.0 or higher. There won't be any v2.x.x release in the near future of any STACKIT SDK module.
We apologize for any confusion caused by the v2.x.x tags. We have a linter in place to prevent this in the future.
- Note: This release was formerly known as
v2.1.0and was re-tagged, see statement above. - Breaking change: Removal of unused model structs:
GetLogsSearchFiltersResponse,PatchLokiLogSink
- Note: This release was formerly known as
v2.0.0and was re-tagged, see statement above. - 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