FEATURES:
- Allow nested schema in parameter schema of paas service template #236.
BUG FIXES:
- Fix typo in usage operator interface #232.
- Add missing location attributes on server #233.
- Fix unhandled error when preparing HTTP request #235.
IMPROVEMENTS:
- Upgrade dependencies to fix some security vulnerabilities.
FEATURES:
- Add network PUT update operation #228.
FEATURES:
- Support proxy protocol for loadbalancer backends #227
BUG FIXES:
- (Hot fix) Add missing
comment
anduser_uuid
fields to object storage access key create/update operations #226.
FEATURES:
- Allow to set
user-data
in server create/update operations #225.
BUG FIXES:
- (Hot fix) Omit
HardwareProfileConfig
when it is not set during server creation/update.
IMPROVEMENTS:
- Allow to custom hardware profile configuration #223
IMPROVEMENTS:
- Add retry when API backend returns error code 409 #222
IMPROVEMENTS:
- Add
StorageType
to PaaS template properties #219 - Add retry when API backend returns error code 424, 500 #218
BUG FIXES:
- (Hot fix) Add missing omitempty to dhcp update fields #217.
FEATURES:
- Allow to attach PaaS service to a private network #216.
IMPROVEMENTS:
- Allow update server's hw profile, according to the official API docs #215.
BUG FIXES:
- Allow to remove DHCP options (except DHCPRange) #214.
FEATURES:
- Add network's
pinned_server
API endpoints. Servers in a DHCP-enabled network can be assigned to a specific DHCP IP address (#207). - Add missing location API endpoints (#208).
- Add
usage
API endpoints (#208). - Add storage backup location. Backup schedule can be set to run in a specific location (#210).
FEATURES:
- Add DHCP options to network create/update operations (#206).
- Add DHCP-relating properties to network's properties (#206).
BUG FIXES:
- Fix an error when requests are read to the end during re-try (#201).
- Fix handling of retry-able requests 429 and 503 (#200).
BUG FIXES:
- Fix
PROTOCOL_ERROR
when using moderate amount of concurrency ongsclient-go
. The issue causes the body of the HTTP2 upgraded request loss during retrial. (#199).
BUG FIXES:
- Correct
service_template_uuid
field in PaaS update request (#197)
FEATURES:
- Add SSL certificate operations (#194).
IMPROVEMENTS:
-
Add
AutoscalingProperties
field toAutoscalingProperties
(#192). -
Add
CertificateUUID
field in loadbalancer, allow to use a custom certificate (#194).
BUG FIXES:
-
Change
LetsencryptSSL
field in loadbalancer frominterface{}
to*string
(#194). -
Add DEPRECATED notice to
CurrentPrice
field docs.
This release focuses on performance and documentation fixes.
FEATURES:
- Storage variant now can be set ("distributed", or "local") via method
CreateStorage
.(See PR #188 for details.)
IMPROVEMENTS:
- gsclient-go now allows tracing the duration of individual client calls (See #186).
- Performance got improved a lot in most situations since gsclient-go won't needlessly delay sending the actual HTTP request anymore. More here.
- Documentation has just got better (See #184).
This release catches up on some gridscale.io API additions.
IMPROVEMENTS:
- Add
Initiator
field toEventProperties
(#175). PaaSTemplateProperties
also gained new fields, most notably a newRelease
andVersion
field got added (#174).
IMPROVEMENTS:
PaaSServiceTemplateUUID
in PaaS service can be updated (PR #172).
IMPROVEMENTS:
- Rename function
retryWithLimitedNumOfRetries
toretryNTimes
.
BUG FIXES:
- Convert type of err in
retryNTimes
toRequestError
type (PR #170).
FEATURES:
- Add CreateStorageFromBackup function (PR #167).
IMPROVEMENTS:
- Remove L3 Security issue from known issues (Issue #166).
- Various documentation fixes (PR #158).
- Completely get rid of Travis CI (PR #163).
BUG FIXES:
- Remove incorrect IP relations (PR #162).
IMPROVEMENTS:
- Omit
X-Auth-UserID
andX-Auth-Token
HTTP headers when they are empty. - Documentation fixes
- StorageBackup and MarketPlaceApplication related schema fixes
BUG FIXES:
- Fixed issue making it unable to get related backups of a backup schedule.
FEATURES:
- Add storage backup functionality.
- Add storage backup schedule's functionality.
- Add marketplace application's functionality.
IMPROVEMENTS:
- Add more examples.
- Added APIs for easy development (can be used for mocking gsclient-go).
BUG FIXES:
- Fixed failed unit tests.
- Added missing fields in some structs.
- Fixed an error occurring when parsing an empty string to a GSTime variable.
FEATURES:
- Storage can be increased its speed via UpdateStorage.
- Support custom HTTP headers.
- Be able to deal with gridscale API rate limiting.
IMPROVEMENTS:
- Refactor
execute()
function. - Global Logger.
FEATURES:
- Add Kubernetes support (get k8s config, renew k8s cluster's credentials).
BUG FIXES:
- Fixed wrong import path in examples.
- Fixed wrong import path in README.
FEATURES:
- Add storage cloning.
DEPRECATED FEATURES:
requestCheckTimeoutSecs
is removed fromNewConfiguration
function.
IMPROVEMENTS:
- Every function (mostly) can now be controlled through context.
ShutdownServer
does not run powering off when the server cannot be shut down gracefully. To ungracefully power off a server, theStopServer
function should be used whenShutdownServer
fails.- Reduce size of
vendor
directory by removing unnecessary packages.
DEPRECATED FEATURES:
- Deprecated and removed labels create/delete options.
BUG FIXES:
- Fixed "context is expired but still retrying".
- Fixed some typos.
BUG FIXES:
- (Hot fix) Fix incompatible major version when using gomod due to missing
/v2
suffix in module path ofgo.mod
file
IMPROVEMENTS:
- Retry requests in case of network issues (timeouts, connection resets, connection refused, etc)
- Simple requests back-off in case of retrying errors
- Increase defaultDelayIntervalMilliSecs to 1000 to reduce stress on API
- Better variables/functions' names
- Remove
LocationUUID
as objects' location depends on Project's location - Add gomod
BUG FIXES:
- Fix "cannot remove all labels of an object"
- Fix resource leak due to not closing response's body
IMPROVEMENTS:
- Errors that are from http requests now include request UUIDs
- No need to create structs when exporting snapshots to S3
- Waiting for asynchronous requests is now faster and more memory-friendly
BUG FIXES:
- Fix README
- Fix missing JSON properties
FEATURES:
- Add
sync
mode - The library now can be fully controlled through
context
- Auto retry when server returns 5xx and 424 http codes
- Add a default configuration for the client
IMPROVEMENTS:
- Server type is now limited to pre-defined values
- Storage type is now limited to pre-defined values
- IP address family is now limited to pre-defined values
- Load balancer algorithm is now limited to pre-defined values
- All time-related properties are now type of GSTime (a custom type of time.Time)
- Friendly godoc.
BUG FIXES:
- Fixed bugs when un-marshaling JSON to concrete type (mismatched type)
FEATURES:
- Add support for Locations
- Add support for Events
- Add support for Labels
- Add support for Deletes
IMPROVEMENTS:
- Heavily code refactoring to improve code quality
- Achieve 95% test coverage
- Achieve 100% compliant golang code conventions based on goreportcard
- Power-off server if graceful shutdown fails
- Backward compatibility for server creation API
FEATURES:
- Add support for LBaaS (GH-2)
- Add support for PaaS (GH-6)
- Add support for ISO Image Handling (GH-8)
- Add support for Object Storage (GH-11)
- Add support for Snapshots (GH-12) and Snapshot Scheduler (GH-13)
- Add support for Firewall Handling (GH-14)
IMPROVEMENTS:
- Unit Tests for all functionality
- Logging support
- Many examples have been added
- Consistency as well as language styles improved
- Initial release of gsclient-go.