diff --git a/CHANGELOG.md b/CHANGELOG.md index 67212ea..f3e871b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased + +## [8.3.0] - 2024-09-11 ### Added -- Server - Implement `server/networkadapters` endpoint. +- Servers - Implement `server/networkadapters` endpoint. +### Changed +- NetworkAdapters - New attributes `IsConnected`, `IsPrimary` & `MacAddress` ## [8.2.0] - 2024-09-04 ### Added diff --git a/client.go b/client.go index 359d4b2..bbe7c77 100644 --- a/client.go +++ b/client.go @@ -11,7 +11,7 @@ import ( "strings" ) -const version = "8.2.0" +const version = "8.3.0" type httpClientInterface interface { Do(*http.Request) (*http.Response, error) diff --git a/client_test.go b/client_test.go index e6f0132..3b3d8c6 100644 --- a/client_test.go +++ b/client_test.go @@ -33,7 +33,7 @@ func TestRequestHasCorrectHeaders(t *testing.T) { assert.NoError(t, err) assert.Equal(t, "application/json", request.Header.Get("Content-Type"), "header Content-Type is correct") - assert.Equal(t, "test-application/0.0.1 glesys-go/8.2.0", request.Header.Get("User-Agent"), "header User-Agent is correct") + assert.Equal(t, "test-application/0.0.1 glesys-go/8.3.0", request.Header.Get("User-Agent"), "header User-Agent is correct") assert.NotEmpty(t, request.Header.Get("Authorization"), "header Authorization is not empty") } @@ -43,7 +43,7 @@ func TestEmptyUserAgent(t *testing.T) { request, err := client.newRequest(context.Background(), "GET", "/", nil) assert.NoError(t, err) - assert.Equal(t, "glesys-go/8.2.0", request.Header.Get("User-Agent"), "header User-Agent is correct") + assert.Equal(t, "glesys-go/8.3.0", request.Header.Get("User-Agent"), "header User-Agent is correct") } func TestGetResponseErrorMessage(t *testing.T) {