Skip to content

Commit e28eb39

Browse files
Merge pull request #84 from pubnub/develop
Version 4.2.1.
2 parents 30b3663 + 828b357 commit e28eb39

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

.pubnub.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: python
2-
version: 4.2.0
2+
version: 4.2.1
33
schema: 1
44
scm: github.com/pubnub/python
55
changelog:
6+
- version: v4.2.1
7+
date: Jan 9, 2020
8+
changes:
9+
- type: bug
10+
text: Excluded the tilde symbol from being encoded by the url_encode method to fix invalid PAM signature issue.
611
- version: v4.2.0
712
date: Dec 24, 2019
813
changes:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [4.2.1](https://github.com/pubnub/python/tree/v4.2.1)
2+
3+
[Full Changelog](https://github.com/pubnub/python/compare/v4.2.0...v4.2.1)
4+
5+
- 🐛Excluded the tilde symbol from being encoded by the url_encode method to fix invalid PAM signature issue.
6+
17
## [4.2.0](https://github.com/pubnub/python/tree/v4.2.0)
28

39
[Full Changelog](https://github.com/pubnub/python/compare/v4.1.7...v4.2.0)

pubnub/pubnub_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
class PubNubCore:
5454
"""A base class for PubNub Python API implementations"""
55-
SDK_VERSION = "4.1.8"
55+
SDK_VERSION = "4.2.1"
5656
SDK_NAME = "PubNub-Python"
5757

5858
TIMESTAMP_DIVIDER = 1000

pubnub/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def write_value_as_string(data):
4444

4545

4646
def url_encode(data):
47-
return six.moves.urllib.parse.quote(data, safe="").replace("+", "%2B")
47+
return six.moves.urllib.parse.quote(data, safe="~").replace("+", "%2B")
4848

4949

5050
def url_write(data):

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
codacy-coverage
2+
pyyaml==5.2
23
pycryptodomex
34
flake8==3.6.0
45
-e git://github.com/pubnub/vcrpy@twisted#egg=vcrpy

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='pubnub',
5-
version='4.2.0',
5+
version='4.2.1',
66
description='PubNub Real-time push service in the cloud',
77
author='PubNub',
88
author_email='[email protected]',

0 commit comments

Comments
 (0)