Skip to content

Commit

Permalink
Version bump to 1.3.0. Default to v2 of the API
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkingo committed Jul 9, 2020
1 parent f622e5d commit 238baee
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

v1.3.0 - 2020-07-20

* Return v2 of the Freshdesk API by default (@sjkingo)
* Reformat codebase with black (@sjkingo)
* Tidied README (@sjkingo)

v1.2.8 - 2020-07-10

* #52: Add list companies (@RyanOM)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ It includes the following features from the [Freshdesk v2 API](https://developer
- [Update](http://developer.freshdesk.com/api/#update_agent)
- [Delete](http://developer.freshdesk.com/api/#delete_agent)

From version 1.3.0, this library uses the Freshdesk v2 API by default.

## Installation

The easiest way to install is from [PyPi](https://pypi.python.org/pypi/python-freshdesk) inside a virtualenv:
Expand Down
2 changes: 1 addition & 1 deletion freshdesk/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.2.8'
__version__ = '1.3.0'
2 changes: 1 addition & 1 deletion freshdesk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, domain, api_key, version=2):
"""


def API(domain, api_key, version=1, **kwargs):
def API(domain, api_key, version=2, **kwargs):

# trim the v from a 'v1' or similar
try:
Expand Down

0 comments on commit 238baee

Please sign in to comment.