All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Implemented
server/listiso
andserver/mountiso
endpoints.
- Add
ISOFile
attribute inServerDetails
. - Add
Type
attribute for disk policy inServerDiskDetails
.
- Fix
privatenetwork/create
and/details
request struct.
- Servers - Implement
server/networkadapters
endpoint.
- NetworkAdapters - New attributes
IsConnected
,IsPrimary
&MacAddress
- PrivateNetworks - Implement new endpoint
/privatenetwork/*
. - NetworkCircuits - Implement new endpoint
/networkcircuit/*
.
- Removed OpenVZ references in code.
- ServerDisks - Implement
/serverdisk
endpoint.
- BREAKING - Server Templates cost float64
- Fixed rand.Seed deprecation
- Updated mergo dependency
- Implement user/login
- Implement DNSDomains Export
- Implement DNSDomains GenerateAuthCode
- Tweaking http functions to work with user/login
- Update dependencies
- Update Go version for GH Actions
- Set correct major version in go.mod
- Implement Server Console endpoint
- Implement Email ResetPassword, obtain a new password for a specified email account.
- Email
EmailAccount
type now containsPassword
for new accounts. - ServerDetails now has
ServerBackupDetails
.
- BREAKING: - Email EditAccount has no parameter
Password
- BREAKING: - IPs
Reserved()
now requiresReservedIPsParams{}
to allow filtering ondatacenter
,platform
,used
andversion
. - Remove references to OpenVZ in Servers.
- Servers
WithDefaults()
now uses KVM platform as default. - Bumped various dependencies..
- BaseURL is now exposed. With a helper method
SetBaseURL
- BREAKING: - Go1.18 Required.
- Fix
CloudConfigParams
in Servers. (#67) - Remove redundant WithContext call. (#69)
- Remove unused data struct from LoadBalancer
AddCertificate
function. (#70) - Remove deprecated io/ioutil calls. (#72)
- BREAKING: - EmailDomains GlobalQuota deprecated.
- BREAKING: - EmailDomains EmailQuota struct 'Used' and 'Total' fields deprecated. Use 'UsedInMiB' and 'QuotaInGiB'
- BREAKING: - LoadBalancers 'AddtoBlacklist' 'RemoveFromBlacklist' deprecated. Use 'AddToBlocklist' and 'RemoveFromBlocklist' instead.
- BREAKING: - DNSDomains OrganizationNumber deprecated. Use 'NationalID' instead.
- Add
CloudConfig
andCloudConfigParams
field toCreateServerParams
- Implement Server Templates endpoint.
- Implement Server PreviewCloudConfig endpoint.
- Fix module version in go.mod
- Bump version number after release
- BREAKING: - server IsRunning() and IsLocked() functions deprecated.
- New fields in ServerDetails: IsRunning & IsLocked to match new fields returned by API.
- BREAKING: - Cost and Amount changed from int to float64. - @norrland
- Code now in base directory of project.
ObjectStorageService
resource (#32). - @norrland- ServerDetails InitialTemplate to describe the template used during server creation (#33). - @norrland
- Use string type for CreateRecords. - @norrland
- Properly comment ServerIP struct - @norrland
- v2 dir for proper Go module versioning support. - @larsdunemark
- New
ServerIP
struct instead of using IP objects. - @larsdunemark
DNSDomainService
resource (#18). - @norrland- Support
CreateServerParams.users
for KVM platform (#21). - @glesys-andreas EmailDomainService
resource (#19). - @cromigon- Additional
IP
fields and support forSetPTR
andResetPTR
(#20). – @norrland glesys/glesys-go
is now a Go module for Go >= 1.11 and works outside of $GOPATH (#16). - @norrland
- Bump version numbers after release.
LoadBalancerService
resource. - @norrland
- Reference the current URL for GleSYS Cloud. - @abergman
Network.IsPublic()
helper. Thanks to @norrland.
-
NetworkService
andNetworkAdapterService
are now available with support for creating, editing and destroying networks and network adapters. Big thanks to @norrland for championing this. -
ServerService.Edit()
allows for editing servers. Thanks to @norrland. -
IP.IsIPv4()
andIP.IsIPv6()
helpers. Thanks to @norrland.
- The
ServerDetails
struct now containsBandwidth
,Description
andTemplate
. Thanks to @norrland.
- BREAKING:
NewClient()
now requires a user agent string.
- Initial release