diff --git a/SafeguardSessions/CHANGELOG.md b/SafeguardSessions/CHANGELOG.md index ff46d8da..7ed65553 100644 --- a/SafeguardSessions/CHANGELOG.md +++ b/SafeguardSessions/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## [Unreleased] +## [v2.0.0pre+sps7.5.0] - 2024-02-19 ### Compatible SPS Versions -* 7.3.0, 7.4.0 +* 7.3.0, 7.4.0, 7.5.0 ### Breaking changes diff --git a/SafeguardSessions/Src/Modules/Version/SupportedVersions.pqm b/SafeguardSessions/Src/Modules/Version/SupportedVersions.pqm index 8244da33..ae867a21 100644 --- a/SafeguardSessions/Src/Modules/Version/SupportedVersions.pqm +++ b/SafeguardSessions/Src/Modules/Version/SupportedVersions.pqm @@ -1,5 +1,5 @@ let - SupportedVersions.LatestVersion = "7.4.0", SupportedVersions.Versions = {"7.3", "7.4"} + SupportedVersions.LatestVersion = "7.5.0", SupportedVersions.Versions = {"7.3", "7.4", "7.5"} in [ Versions = SupportedVersions.Versions, diff --git a/SafeguardSessions/Src/Res/Resources.resx b/SafeguardSessions/Src/Res/Resources.resx index d4747287..130757b5 100644 --- a/SafeguardSessions/Src/Res/Resources.resx +++ b/SafeguardSessions/Src/Res/Resources.resx @@ -118,7 +118,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - v1.1.1+sps7.4.0 + v2.0.0pre+sps7.5.0 One Identity Safeguard diff --git a/SafeguardSessions/Test/Integration/TestGetData.query.pq b/SafeguardSessions/Test/Integration/TestGetData.query.pq index 30688629..0c833d1d 100644 --- a/SafeguardSessions/Test/Integration/TestGetData.query.pq +++ b/SafeguardSessions/Test/Integration/TestGetData.query.pq @@ -449,10 +449,10 @@ TestGetDataReturnsWithErrorInCaseOfUnsupportedSPSVersion = () => HasError = true, Error = [ Reason = "Not Supported Version", - Message = "Error 10001: Your version of the connector (v1.1.1+sps7.4.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases", + Message = "Error 10001: Your version of the connector (v2.0.0pre+sps7.5.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases", Detail = [ Version = "unsupported_version", - SupportedVersions = "7.3, 7.4", + SupportedVersions = "7.3, 7.4, 7.5", ManuallyHandled = false, ErrorCode = 10001 ], diff --git a/SafeguardSessions/Test/Integration/TestValidateSPSVersion.query.pq b/SafeguardSessions/Test/Integration/TestValidateSPSVersion.query.pq index 65b24fa6..5aebb4c2 100644 --- a/SafeguardSessions/Test/Integration/TestValidateSPSVersion.query.pq +++ b/SafeguardSessions/Test/Integration/TestValidateSPSVersion.query.pq @@ -85,10 +85,10 @@ TestValidateSPSVersionRaisesError = () => body = [firmware_version = "unsupported_version"] ]), "Not Supported Version", - "Error 10001: Your version of the connector (v1.1.1+sps7.4.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases", + "Error 10001: Your version of the connector (v2.0.0pre+sps7.5.0) is not compatible with your SPS version (unsupported_version). For a connector version that is compatible with your SPS version, visit the official release page of the connector: https://github.com/OneIdentity/SafeguardPowerBI/releases", [ Version = "unsupported_version", - SupportedVersions = "7.3, 7.4", + SupportedVersions = "7.3, 7.4, 7.5", ManuallyHandled = false, ErrorCode = 10001 ] diff --git a/SafeguardSessions/Test/Unit/Error/TestRequestErrors.query.pq b/SafeguardSessions/Test/Unit/Error/TestRequestErrors.query.pq index 456c5492..46fdbb26 100644 --- a/SafeguardSessions/Test/Unit/Error/TestRequestErrors.query.pq +++ b/SafeguardSessions/Test/Unit/Error/TestRequestErrors.query.pq @@ -4,7 +4,7 @@ ErrorCodes = Extension.ImportFunction("ErrorCodes", "RequestErrors.pqm"); TestErrorCodeListIsCorrect = () => let - expectedErrorCodeList = {400, 401, 403, 404, 500, 429}, + expectedErrorCodeList = {400, 401, 403, 404, 406, 500, 429}, fact = Fact("Error code list is correct", expectedErrorCodeList, ErrorCodes) in fact; diff --git a/SafeguardSessions/Test/Unit/Utils/TestFetchInfo.query.pq b/SafeguardSessions/Test/Unit/Utils/TestFetchInfo.query.pq index 95012b12..0ac71532 100644 --- a/SafeguardSessions/Test/Unit/Utils/TestFetchInfo.query.pq +++ b/SafeguardSessions/Test/Unit/Utils/TestFetchInfo.query.pq @@ -9,7 +9,7 @@ TestFetchInfoContainsConnectorVersion = () => actualInfo = Utils.FetchInfo("dummy_status", "dummy_message", null, 0, false, "dummy_url"), expectedInfo = #table( type table [Url = any, ConnectorVersion = any, Status = any, ExpectedCount = any, Message = any, Failed = any], - {{"dummy_url", "v1.1.1+sps7.4.0", "dummy_status", 0, "dummy_message", false}} + {{"dummy_url", "v2.0.0pre+sps7.5.0", "dummy_status", 0, "dummy_message", false}} ) in TestFetchInfoContentWithoutStartTime(expectedInfo, actualInfo); diff --git a/SafeguardSessions/Test/Unit/Utils/TestLogger.query.pq b/SafeguardSessions/Test/Unit/Utils/TestLogger.query.pq index eeca4c53..dbebb657 100644 --- a/SafeguardSessions/Test/Unit/Utils/TestLogger.query.pq +++ b/SafeguardSessions/Test/Unit/Utils/TestLogger.query.pq @@ -21,7 +21,7 @@ TestErrorLogWithSPSResultInput = () => ], expectedLogValues = [ LogLevel = TraceLevel.Error, - Output = "error: #table( type table [Name = any, Data = any, ItemKind = any, ItemName = any, IsLeaf = any] , {{""Sessions"", ""error"", ""Table"", ""Table"", true} , {""Info"", #table( type table [Start = any, Url = any, ConnectorVersion = any, Status = any, ExpectedCount = any, Message = any, Failed = any] , {{#datetimezone(2023, 1, 18, 9, 47, 55, 2, 0), ""query"", ""v1.1.1+sps7.4.0"", ""status"", 42, ""message"", true} } ) , ""Table"", ""Table"", true} } ) ", + Output = "error: #table( type table [Name = any, Data = any, ItemKind = any, ItemName = any, IsLeaf = any] , {{""Sessions"", ""error"", ""Table"", ""Table"", true} , {""Info"", #table( type table [Start = any, Url = any, ConnectorVersion = any, Status = any, ExpectedCount = any, Message = any, Failed = any] , {{#datetimezone(2023, 1, 18, 9, 47, 55, 2, 0), ""query"", ""v2.0.0pre+sps7.5.0"", ""status"", 42, ""message"", true} } ) , ""Table"", ""Table"", true} } ) ", Value = #table( type table [Name = any, Data = any, ItemKind = any, ItemName = any, IsLeaf = any], { @@ -42,7 +42,7 @@ TestErrorLogWithSPSResultInput = () => { #datetimezone(2023, 1, 18, 9, 47, 55, 2, 0), "query", - "v1.1.1+sps7.4.0", + "v2.0.0pre+sps7.5.0", "status", 42, "message",