- Feature: Add new field
DisableTargetSecurityGroupAssignmentinLoadBalancerModel
- Feature: Add new field
TargetSecurityGroupinLoadBalancerModel
- Bugfix: Adjusted
UnmarshalJSONfunction to use enum types and added tests for enums
- Breaking change: Introduce interfaces for
APIClientand the request structs
- Breaking change: Introduce typed enum constants for status attributes
- Feature: Update user-agent header
- Bugfix: Correctly handle empty payload in body
- Bugfix: Corrected regional setup of client
- Breaking Change: The region is no longer specified within the client configuration. Instead, the region must be passed as a parameter to any region-specific request.
- Breaking Change: Remove deprecated API methods
DisableServiceandEnableService. They are no longer required because the service automatically enables and disable. - Breaking Change: Remove WaitHandler
EnableServiceWaitHandlerforEnableService.
- New: Minimal go version is now Go 1.21
- Feature: Add support for nullable models
- Feature: Add pagination to
ListLoadBalancerswith the new fieldspageSizeandpageIdonApiListLoadBalancersRequestand the fieldNextPageIdinListLoadBalancersResponse
- Feature: New API method
ListPlansto list the available service plans
- Improvement: Improve default error messages.
- Bugfix: Fix marking of deprecated methods. Potential breaking change for users with linters that treat deprecations as errors.
- Feature:
LoadBalancer,CreateLoadBalancerPayloadandUpdateLoadBalancerPayloadhave a new fieldPlanId
- Feature: Set
config.ContextHTTPRequestinExecutemethods - Feature: New API method
GetQuotato get the maximum number of load balancing servers allowed for a project - Feature: New API method
UpdateCredentialsto update the credentials for observability in a project
- Feature: Support WithMiddleware configuration option in the client
- Update
coretov0.12.0
- Remove unused model data types.
- Deprecation: Mark methods
EnableServiceandDisableServiceas deprecated. Enablement and disablement of the load balancer functionality is now automaticly handled by the service.
- Improvement: Improve error handling in Load Balancer creation waiter, fixing timeout being exceeded for
STATUS_PENDINGstatus with errors. If an error is found in theErrorsfield, the waiter now returns with error.
- Update
coretov0.10.0
- Update
coretov0.7.7. Thehttp.requestcontext is now passed in the clientDocall.
- Feature: Introduces Server Name Indicator (SNI) support:
Listenerhas a new fieldServerNameIndicators
- Feature: Introduces Layer 4 Session Persistance:
TargetPoolhas a new fieldSessionPersistenceUpdateTargetPoolPayloadhas a new fieldSessionPersistence
- Bug fix:
NewAPIClientnow initializes a new client instead of usinghttp.DefaultClient(#236)
- Add license and notice files
- Dependency updates
- Dependency updates
API methods, structs and waiters were renamed to have the same look and feel across all services and according to user feedback.
- Changed methods:
DisableLoadBalancingrenamed toDisableServiceEnableLoadBalancingrenamed toEnableServiceGetProjectStatusrenamed toGetServiceStatus
- Changed structs:
StatusResponserenamed toGetServiceStatusResponse
- Changed waiters:
EnableLoadBalancingWaitHandlerrenamed toEnableServiceWaitHandler
- Manage your STACKIT Load Balancer resources:
LoadBalancer,Credentials - Waiters for async operations:
CreateLoadBalancerWaitHandler,DeleteLoadBalancerWaitHandler,EnableLoadBalancingWaitHandler - Usage example