Skip to content

Commit

Permalink
Draft release for v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-o-matic committed Jul 19, 2023
1 parent 6fb6401 commit b8b08c1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .review/generated_files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A native client library for the DocRaptor HTML to PDF/XLS service.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2.0.0
- Package version: 3.0.0
- Package version: 3.1.0
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen

## Requirements.
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 3.1.0 [July 19, 2023]
* Add new Prince API options for pdf_forms, iframes, and page_margin

### 3.0.0 [November 16, 2022]
* Switch API host to more secure api.docraptor.com (dropping old TLS)
* Switch from swagger to openapi-generator v6.0.1 (better maintained)
Expand Down
2 changes: 1 addition & 1 deletion docraptor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from __future__ import absolute_import

__version__ = "3.0.0"
__version__ = "3.1.0"

# import apis into sdk package
from docraptor.api.doc_api import DocApi
Expand Down
2 changes: 1 addition & 1 deletion docraptor/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/3.0.0/python'
self.user_agent = 'OpenAPI-Generator/3.1.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion docraptor/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2.0.0\n"\
"SDK Package Version: 3.0.0".\
"SDK Package Version: 3.1.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion generator-config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packageName": "docraptor",
"packageVersion": "3.0.0"
"packageVersion": "3.1.0"
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "docraptor"
VERSION = "3.0.0"
VERSION = "3.1.0"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit b8b08c1

Please sign in to comment.