Skip to content

Commit

Permalink
Prepare release 7.0.6 (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-rodriguez authored Apr 19, 2024
1 parent 75d6a0b commit b95064c
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -1778,4 +1778,6 @@ src/Okta.Sdk/Model/WellKnownOrgMetadataSettings.cs
src/Okta.Sdk/Model/WsFederationApplication.cs
src/Okta.Sdk/Model/WsFederationApplicationSettings.cs
src/Okta.Sdk/Model/WsFederationApplicationSettingsApplication.cs
src/Okta.Sdk/Obsolete/IdentityProviderPolicy.cs
src/Okta.Sdk/Obsolete/PolicyApi.cs
src/Okta.Sdk/Okta.Sdk.csproj
2 changes: 1 addition & 1 deletion API_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Allows customers to easily access the Okta Management APIs
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

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

Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Changelog
Running changelog of releases since `3.1.1`

## 7.0.6

- Update OAS3 with the latest IdP Discovery policy changes.
- `IdentityProviderPolicy` will no longer inherit from Policy in the major release. The inheritance has been marked as obsolete.
- The following `PolicyApi` methods have been marked as obsolete, and will be removed in the next major version:
- `System.Threading.Tasks.Task<Policy> CreatePolicyAsync(Policy policy, bool? activate = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- `System.Threading.Tasks.Task<ApiResponse<Policy>> CreatePolicyWithHttpInfoAsync(Policy policy, bool? activate = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- `System.Threading.Tasks.Task<Policy> ReplacePolicyAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- `System.Threading.Tasks.Task<ApiResponse<Policy>> ReplacePolicyWithHttpInfoAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
They will be replaced by the following ones:
- `System.Threading.Tasks.Task<PolicyCanBeCreatedOrReplaced> CreatePolicyAsync( PolicyCanBeCreatedOrReplaced policy , bool? activate = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- `System.Threading.Tasks.Task<ApiResponse<PolicyCanBeCreatedOrReplaced>> CreatePolicyWithHttpInfoAsync( PolicyCanBeCreatedOrReplaced policy , bool? activate = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- `System.Threading.Tasks.Task<Policy> ReplacePolicyAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- `System.Threading.Tasks.Task<ApiResponse<Policy>> ReplacePolicyWithHttpInfoAsync(string policyId, Policy policy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));`
- Fix "API Gap - IdP Discovery Policy Rule does not exist" issue (#687)

## 7.0.5

- Downgrade `System.IdentityModel.Tokens*` dependencies from 7.2.0 to 6.35.0 to avoid breaking changes (#692)
Expand Down
6 changes: 3 additions & 3 deletions openapi3/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"packageName" : "Okta.Sdk",
"outputDir" : "../",
"inputSpec" : "./management.yaml",
"packageVersion" : "7.0.5",
"packageVersion" : "7.0.6",
"packageDescription" : "Official .NET SDK for the Okta API",
"packageTitle" : "Official .NET SDK for the Okta API",
"packageCompany" : "Okta, Inc.",
Expand Down Expand Up @@ -102,12 +102,12 @@
"templateType": "SupportingFiles",
"folder": "/src/Okta.Sdk/Model"
},
"PolicyApi.mustache":{
"ObsoletePolicyApi.mustache":{
"destinationFilename": "PolicyApi.cs",
"templateType": "SupportingFiles",
"folder": "/src/Okta.Sdk/Obsolete"
},
"IdentityProviderPolicy.mustache":{
"ObsoleteIdentityProviderPolicy.mustache":{
"destinationFilename": "IdentityProviderPolicy.cs",
"templateType": "SupportingFiles",
"folder": "/src/Okta.Sdk/Obsolete"
Expand Down
4 changes: 2 additions & 2 deletions src/Okta.Sdk/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "7.0.5";
public const string Version = "7.0.6";

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

return report;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Okta.Sdk/Model/IdentityProviderPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public override bool Equals(object input)
/// </summary>
/// <param name="input">Instance of IdentityProviderPolicy to be compared</param>
/// <returns>Boolean</returns>
public virtual bool Equals(IdentityProviderPolicy input)
public bool Equals(IdentityProviderPolicy input)
{
if (input == null)
{
Expand Down
14 changes: 13 additions & 1 deletion src/Okta.Sdk/Obsolete/IdentityProviderPolicy.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
using JsonSubTypes;

/*
* Okta Admin Management
*
* Allows customers to easily access the Okta Management APIs
*
* The version of the OpenAPI document: 5.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/


using JsonSubTypes;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using System;
Expand Down
1 change: 1 addition & 0 deletions src/Okta.Sdk/Obsolete/PolicyApi.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/*
* Okta Admin Management
*
Expand Down
2 changes: 1 addition & 1 deletion src/Okta.Sdk/Okta.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Description>Official .NET SDK for the Okta API</Description>
<Copyright>Okta, Inc.</Copyright>
<RootNamespace>Okta.Sdk</RootNamespace>
<Version>7.0.5</Version>
<Version>7.0.6</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Okta.Sdk.xml</DocumentationFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
Expand Down

0 comments on commit b95064c

Please sign in to comment.