Skip to content

Commit b95064c

Browse files
Prepare release 7.0.6 (#709)
1 parent 75d6a0b commit b95064c

File tree

9 files changed

+40
-9
lines changed

9 files changed

+40
-9
lines changed

.openapi-generator/FILES

+2
Original file line numberDiff line numberDiff line change
@@ -1778,4 +1778,6 @@ src/Okta.Sdk/Model/WellKnownOrgMetadataSettings.cs
17781778
src/Okta.Sdk/Model/WsFederationApplication.cs
17791779
src/Okta.Sdk/Model/WsFederationApplicationSettings.cs
17801780
src/Okta.Sdk/Model/WsFederationApplicationSettingsApplication.cs
1781+
src/Okta.Sdk/Obsolete/IdentityProviderPolicy.cs
1782+
src/Okta.Sdk/Obsolete/PolicyApi.cs
17811783
src/Okta.Sdk/Okta.Sdk.csproj

API_README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Allows customers to easily access the Okta Management APIs
55
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 5.1.0
8-
- SDK version: 7.0.5
8+
- SDK version: 7.0.6
99
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
1010
For more information, please visit [https://developer.okta.com/](https://developer.okta.com/)
1111

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
# Changelog
22
Running changelog of releases since `3.1.1`
33

4+
## 7.0.6
5+
6+
- Update OAS3 with the latest IdP Discovery policy changes.
7+
- `IdentityProviderPolicy` will no longer inherit from Policy in the major release. The inheritance has been marked as obsolete.
8+
- The following `PolicyApi` methods have been marked as obsolete, and will be removed in the next major version:
9+
- `System.Threading.Tasks.Task<Policy> CreatePolicyAsync(Policy policy, bool? activate = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
10+
- `System.Threading.Tasks.Task<ApiResponse<Policy>> CreatePolicyWithHttpInfoAsync(Policy policy, bool? activate = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
11+
- `System.Threading.Tasks.Task<Policy> ReplacePolicyAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
12+
- `System.Threading.Tasks.Task<ApiResponse<Policy>> ReplacePolicyWithHttpInfoAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
13+
They will be replaced by the following ones:
14+
- `System.Threading.Tasks.Task<PolicyCanBeCreatedOrReplaced> CreatePolicyAsync( PolicyCanBeCreatedOrReplaced policy , bool? activate = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
15+
- `System.Threading.Tasks.Task<ApiResponse<PolicyCanBeCreatedOrReplaced>> CreatePolicyWithHttpInfoAsync( PolicyCanBeCreatedOrReplaced policy , bool? activate = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
16+
- `System.Threading.Tasks.Task<Policy> ReplacePolicyAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
17+
- `System.Threading.Tasks.Task<ApiResponse<Policy>> ReplacePolicyWithHttpInfoAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
18+
- Fix "API Gap - IdP Discovery Policy Rule does not exist" issue (#687)
19+
420
## 7.0.5
521

622
- Downgrade `System.IdentityModel.Tokens*` dependencies from 7.2.0 to 6.35.0 to avoid breaking changes (#692)

openapi3/config.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"packageName" : "Okta.Sdk",
77
"outputDir" : "../",
88
"inputSpec" : "./management.yaml",
9-
"packageVersion" : "7.0.5",
9+
"packageVersion" : "7.0.6",
1010
"packageDescription" : "Official .NET SDK for the Okta API",
1111
"packageTitle" : "Official .NET SDK for the Okta API",
1212
"packageCompany" : "Okta, Inc.",
@@ -102,12 +102,12 @@
102102
"templateType": "SupportingFiles",
103103
"folder": "/src/Okta.Sdk/Model"
104104
},
105-
"PolicyApi.mustache":{
105+
"ObsoletePolicyApi.mustache":{
106106
"destinationFilename": "PolicyApi.cs",
107107
"templateType": "SupportingFiles",
108108
"folder": "/src/Okta.Sdk/Obsolete"
109109
},
110-
"IdentityProviderPolicy.mustache":{
110+
"ObsoleteIdentityProviderPolicy.mustache":{
111111
"destinationFilename": "IdentityProviderPolicy.cs",
112112
"templateType": "SupportingFiles",
113113
"folder": "/src/Okta.Sdk/Obsolete"

src/Okta.Sdk/Client/Configuration.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class Configuration : IReadableConfiguration
3939
/// Version of the package.
4040
/// </summary>
4141
/// <value>Version of the package.</value>
42-
public const string Version = "7.0.5";
42+
public const string Version = "7.0.6";
4343

4444
/// <summary>
4545
/// Identifier for ISO 8601 DateTime Format
@@ -758,7 +758,7 @@ public static string ToDebugReport()
758758
report += " OS: " + System.Environment.OSVersion + "\n";
759759
report += " .NET Framework Version: " + System.Environment.Version + "\n";
760760
report += " Version of the API: 5.1.0\n";
761-
report += " SDK Package Version: 7.0.5\n";
761+
report += " SDK Package Version: 7.0.6\n";
762762

763763
return report;
764764
}

src/Okta.Sdk/Model/IdentityProviderPolicy.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public override bool Equals(object input)
106106
/// </summary>
107107
/// <param name="input">Instance of IdentityProviderPolicy to be compared</param>
108108
/// <returns>Boolean</returns>
109-
public virtual bool Equals(IdentityProviderPolicy input)
109+
public bool Equals(IdentityProviderPolicy input)
110110
{
111111
if (input == null)
112112
{

src/Okta.Sdk/Obsolete/IdentityProviderPolicy.cs

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
using JsonSubTypes;
1+
2+
/*
3+
* Okta Admin Management
4+
*
5+
* Allows customers to easily access the Okta Management APIs
6+
*
7+
* The version of the OpenAPI document: 5.1.0
8+
* Contact: devex-public@okta.com
9+
* Generated by: https://github.com/openapitools/openapi-generator.git
10+
*/
11+
12+
13+
using JsonSubTypes;
214
using System.Runtime.Serialization;
315
using Newtonsoft.Json;
416
using System;

src/Okta.Sdk/Obsolete/PolicyApi.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
/*
23
* Okta Admin Management
34
*

src/Okta.Sdk/Okta.Sdk.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>Official .NET SDK for the Okta API</Description>
1313
<Copyright>Okta, Inc.</Copyright>
1414
<RootNamespace>Okta.Sdk</RootNamespace>
15-
<Version>7.0.5</Version>
15+
<Version>7.0.6</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Okta.Sdk.xml</DocumentationFile>
1717
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1818
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>

0 commit comments

Comments
 (0)