-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathRELEASE
More file actions
130 lines (92 loc) · 4.2 KB
/
RELEASE
File metadata and controls
130 lines (92 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
4.0.0
- Added support for Intelligence Cloud to use new endpoint
3.0.1
- Removed deprecated pkg_resources.declare_namespace() usage.
- Cleaned up old mock dependency logic.
- Updated classifiers to Python 3.7–3.12.
3.0.0
- Removed all functionality and methods for the Legacy Intelligence Use Case API
- Removed all functionality and methods for App Verify SDK
2.3.1
- Adds automatic HTTP session recycling (`pool_recycle`).
- Improves keep-alive connection handling.
2.3.0
- Added PATCH method to the RestClient class to facilitate Update Verification Process action
2.2.7
- Added tracking to requests
2.2.6
- Add setters for URL
2.2.5
- Fixing auth issue that was causing requests to fail
2.2.4
- Resolved an issue causing PhoneID requests to fail
2.2.3
- Added support for Intelligence(basic auth) API
2.2.2
- Added support for application/json content-type
2.2.1
- Fix bug where HTTP GET calls were not including query parameters
2.2.0
- Re-brand Auto Verify to App Verify and refactor associated names
2.1.0
- updated and improved README
- secret_key refactored to api_key to align with docs and portal
- api_host is now known as rest_endpoint to align with docs and portal
- fixed python3.x bug with bytes vs str in verify_telesign_callback_signature
- various doc string updates and fixes
- removed requests specific config, subclass and customize instead
- added travis CI, codecov coverage and additional unit tests
2.0.0
- Major refactor and simplification into generic REST client.
- API parameters are now passed as kwargs to endpoint handlers.
- Now using Requests sessions correctly.
- UserAgent is now set to track client usage and help debug issues.
- generate_telesign_headers is now static and easily extracted from the SDK if
custom behavior/implementation is required.
1.2.3
- Added PhoneId number_deactivation endpoint.
1.2.2
- Updated setup.py install_requires requests>=2.8.0
1.2.1
- Updated docstrings for TeleBureau endpoints.
- Some minor clean up of code and comments.
1.2.0
- Added TeleBureau endpoints: create, retrieve, delete.
1.1.0
- This module should now work with Python3.4+ (and has been tested
with Python3.4) as well as Python2.7.
- The originating_ip parameter is not used in PhoneID products and has
been removed. This may be a BREAKING CHANGE.
- Calls to generate a random verify code in call and sms have been
removed. Customers may generate their own codes (perhaps using
random_with_n_digits) and pass them in to call and to sms. If no code
is provided, one will be generated by the TeleSign servers and must be
retrieved using the "status" call. TeleSign recommends this method.
In previous versions the code was an integer and implicitly converted
to a string as part of the api call, in this and future versions the
code is a string consisting of digits (0-9 in Latin 1 - other digits
in various languages will not work). This may be a BREAKING CHANGE.
- The generate_auth_headers auth_method parameter now defaults to
SHA256 instead of SHA1. SHA1 as a cryptographic hash is still
supported, (as it is used in HMAC and this is believed to be secure)
but may be deprecated in the near future.
- The "push" method (for mobile phones, see documentation) is now
supported.
- "Smart Verify" (Verify.smart) is now supported. See documentation
for more details.
- The authorization code is now considered to be a string of digits
instead of a number, so codes with leading zeros are now handled
correctly. There is now support in Telemaster for setting the
length of this string.
- The random number generator is now based on SystemRandom. This
should improve security in the generated verification codes.
- Requests is now the default http handler. An upcoming release
should provide support for sessions. This may be a BREAKING CHANGE.
- the "user agent" field in the http request is now populated with a
string that includes the TeleSignSDK version.
- Users are urged to use the resource_uri returned in the response
object to to generate status calls instead of building the url with
the refid.
- Optional timeouts are supported. These may be set both at the class
level and at the individual call level. See the documentation in
the requests module.