Skip to content

Commit 8ef3d7d

Browse files
committed
Draft v4.0.0 release changes
Why is this change needed? -------------------------- We'd like to release a new version to fix some bugs and add some API options. How does it address the issue? ------------------------------ Bump the version number and update the changelog. I'm bumping the major version because the upgrade to openapi-generator v6.6.0 and the new openapi spec mean some default API option behavior has changed. I'm not sure if customers rely on the old behavior, but I'd rather be safe than sorry. Did you complete all of the following? -------------------------------------- - Run test suite? - Add new tests? - Consider security implications and practices?
1 parent 6711c32 commit 8ef3d7d

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.review/generated_files/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A native client library for the DocRaptor HTML to PDF/XLS service.
55
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 2.0.0
8-
- SDK version: 3.0.0
8+
- SDK version: 4.0.0
99
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
1010

1111
## Frameworks supported

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 4.0.0 [July 14, 2023]
2+
* Update to openapi-gnerator v6.6.0
3+
* Add new API options
4+
15
### 3.0.0 [November 15, 2022]
26
* Switch API host to more secure api.docraptor.com (dropping old TLS)
37
* Switch from swagger v2.4.14 to openapi-generator v6.0.1 (better maintained)

DocRaptor.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>DocRaptor</id>
55
<title>DocRaptor</title>
6-
<version>3.0.0</version>
6+
<version>4.0.0</version>
77
<authors>Expected Behavior</authors>
88
<owners>Expected Behavior</owners>
99
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>

generator-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packageName": "DocRaptor",
3-
"packageVersion": "3.0.0",
3+
"packageVersion": "4.0.0",
44
"targetFramework": "v4.5",
55
"packageGuid": "{CFD94733-F020-45EE-B121-AA0CA516F4FD}",
66
"modelPropertyNaming": "PascalCase"

src/DocRaptor/Client/Configuration.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration
2929
/// Version of the package.
3030
/// </summary>
3131
/// <value>Version of the package.</value>
32-
public const string Version = "3.0.0";
32+
public const string Version = "4.0.0";
3333

3434
/// <summary>
3535
/// Identifier for ISO 8601 DateTime Format
@@ -114,7 +114,7 @@ static Configuration()
114114
/// </summary>
115115
public Configuration()
116116
{
117-
UserAgent = "OpenAPI-Generator/3.0.0/csharp";
117+
UserAgent = "OpenAPI-Generator/4.0.0/csharp";
118118
BasePath = "https://api.docraptor.com";
119119
DefaultHeader = new ConcurrentDictionary<string, string>();
120120
ApiKey = new ConcurrentDictionary<string, string>();
@@ -187,7 +187,7 @@ public Configuration(
187187
string tempFolderPath = null,
188188
string dateTimeFormat = null,
189189
int timeout = 100000,
190-
string userAgent = "OpenAPI-Generator/3.0.0/csharp"
190+
string userAgent = "OpenAPI-Generator/4.0.0/csharp"
191191
// ReSharper restore UnusedParameter.Local
192192
)
193193
{
@@ -421,7 +421,7 @@ public static String ToDebugReport()
421421
report += " OS: " + System.Environment.OSVersion + "\n";
422422
report += " .NET Framework Version: " + System.Environment.Version + "\n";
423423
report += " Version of the API: 2.0.0\n";
424-
report += " SDK Package Version: 3.0.0\n";
424+
report += " SDK Package Version: 4.0.0\n";
425425

426426
return report;
427427
}

src/DocRaptor/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
// You can specify all the values or you can default the Build and Revision Numbers
2929
// by using the '*' as shown below:
3030
// [assembly: AssemblyVersion("1.0.*")]
31-
[assembly: AssemblyVersion("3.0.0")]
32-
[assembly: AssemblyFileVersion("3.0.0")]
31+
[assembly: AssemblyVersion("4.0.0")]
32+
[assembly: AssemblyFileVersion("4.0.0")]

0 commit comments

Comments
 (0)