Skip to content

Commit b1be700

Browse files
committed
Non-issue enhancements for 2.0.2.
* Add HISTORY.md file for recording version history * Add __version__ to module, make setup.py use it.
1 parent 70128b5 commit b1be700

File tree

4 files changed

+50
-1
lines changed

4 files changed

+50
-1
lines changed

HISTORY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Version 2.0
2+
3+
First release with functional wrapper and built-in throttling/batching.
4+
5+
### Version 2.0.1
6+
7+
Fast-follow bug fix release:
8+
9+
* [Issue 27](https://github.com/adobe-apiplatform/umapi-client.py/issues/27)
10+
* Update parameter names were incorrect.
11+
* Test mode wasn't working.
12+
* [Issue 28](https://github.com/adobe-apiplatform/umapi-client.py/issues/28)
13+
* Reuse exisiting open connections across calls.
14+
15+
### Version 2.0.2
16+
17+
Enhancement release:
18+
19+
* [Issue 30](https://github.com/adobe-apiplatform/umapi-client.py/issues/30)
20+
* Add control of user-agent header.
21+
* (No Issue)
22+
* Add this HISTORY.md file to summarize releases
23+
* Add version.py file to synchronize version between setup and module.

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020

2121
from setuptools import setup, find_packages
2222

23+
version_namespace = {}
24+
with open('umapi_client/version.py') as f:
25+
exec(f.read(), version_namespace)
26+
2327
setup(name='umapi-client',
24-
version='2.0.1',
28+
version=version_namespace['__version__'],
2529
description='Client for the User Management API (UMAPI) from Adobe - see https://adobe.ly/2h1pHgV',
2630
long_description=('The User Management API (aka the UMAPI) is an Adobe-hosted network service '
2731
'which provides Adobe Enterprise customers the ability to manage their users. This '

umapi_client/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@
2424
from .functional import IdentityTypes, GroupTypes, RoleTypes, IfAlreadyExistsOptions
2525
from .functional import UserAction, UserQuery, UsersQuery
2626
from .functional import UserGroupAction, GroupsQuery
27+
from .version import __version__

umapi_client/version.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (c) 2016-2017 Adobe Systems Incorporated. All rights reserved.
2+
#
3+
# Permission is hereby granted, free of charge, to any person obtaining a copy
4+
# of this software and associated documentation files (the "Software"), to deal
5+
# in the Software without restriction, including without limitation the rights
6+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
# copies of the Software, and to permit persons to whom the Software is
8+
# furnished to do so, subject to the following conditions:
9+
#
10+
# The above copyright notice and this permission notice shall be included in all
11+
# copies or substantial portions of the Software.
12+
#
13+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
# SOFTWARE.
20+
21+
__version__ = "2.0.2"

0 commit comments

Comments
 (0)