Skip to content

Commit a7be2b2

Browse files
PubNub SDK v5.0.0 release.
1 parent 62b44ef commit a7be2b2

File tree

129 files changed

+976
-5449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+976
-5449
lines changed

.pubnub.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: python
2-
version: 4.8.1
2+
version: 5.0.0
33
schema: 1
44
scm: github.com/pubnub/python
55
changelog:
6+
- version: v5.0.0
7+
date: Jan 21, 2021
8+
changes:
9+
-
10+
text: "Apart from bringing the whole SDK up to date, support for Tornado and Twisted was removed and dependiecies were simplified."
11+
type: improvement
612
- version: v4.8.1
713
date: Jan 18, 2021
814
changes:

.travis.yml

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,19 @@ stages:
1111
if: |
1212
type != pull_request \
1313
AND tag IS blank
14-
- name: "code coverage"
15-
if: |
16-
type == pull_request
1714
1815
jobs:
1916
include:
2017
- stage: "test"
21-
name: 'Python 2.7'
22-
python: '2.7'
23-
script: python scripts/run-tests.py
24-
- name: 'Python 3.4'
25-
python: '3.4'
26-
script: python scripts/run-tests.py
27-
- name: 'Python 3.5'
28-
python: '3.5'
29-
script: python scripts/run-tests.py
3018
- name: 'Python 3.6'
31-
python: '3.6'
19+
python: '3.6.12'
20+
script: python scripts/run-tests.py
21+
- name: 'Python 3.7'
22+
python: '3.7.9'
3223
script: python scripts/run-tests.py
33-
- name: 'Python PyPi'
34-
python: 'pypy'
24+
- name: 'Python 3.8'
25+
python: '3.8.6'
3526
script: python scripts/run-tests.py
36-
- stage: "code coverage"
37-
name: 'Test & Code coverage'
38-
python: '3.6'
27+
- name: 'Python 3.9'
28+
python: '3.9.1'
3929
script: python scripts/run-tests.py
40-
after_success:
41-
- python-codacy-coverage -r coverage.xml

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [v5.0.0](https://github.com/pubnub/python/releases/tag/v5.0.0)
2+
3+
[Full Changelog](https://github.com/pubnub/python/compare/v4.8.1...v5.0.0)
4+
5+
- ⭐️️ Apart from bringing the whole SDK up to date, support for Tornado and Twisted was removed and dependiecies were simplified.
6+
17
## [v4.8.1](https://github.com/pubnub/python/releases/tag/v4.8.1)
28

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

DEVELOPER.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ Twisted is supported by Python 2.7 only.
4545
* Test runner: py.test
4646
* Source code checker: flake
4747

48-
## Crypto library
49-
We have 2 crypto libraries. By default we use PubNubCryptodome. But for some legacy environment such as Google Cloud PubNubCryptoLegacy should be manually configured, see example here https://github.com/pubnub/python/blob/master/examples/native_threads/custom_crypto.py
50-
5148
## Daemon mode with Native SDK
5249
Daemon mode for all requests are disabled by default. This means that all asynchronous requests including will block the main thread until all the children be closed. If SDK user want to use Java-like behaviour when it's up to him to decide should he wait for response completion or continue program execution, he has to explicitly set daemon mode to true:
5350

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# PubNub Python SDK (V4)
1+
# PubNub Python SDK
22

33
[![Build Status](https://travis-ci.org/pubnub/python.svg?branch=master)](https://travis-ci.org/pubnub/python)
4-
[![codecov](https://codecov.io/gh/pubnub/python/branch/master/graph/badge.svg)](https://codecov.io/gh/pubnub/python)
54
[![PyPI](https://img.shields.io/pypi/v/pubnub.svg)](https://pypi.python.org/pypi/pubnub/)
65
[![PyPI](https://img.shields.io/pypi/pyversions/pubnub.svg)](https://pypi.python.org/pypi/pubnub/)
76
[![Docs](https://img.shields.io/badge/docs-online-blue.svg)](https://www.pubnub.com/docs/python/pubnub-python-sdk-v4)

examples/native_threads/custom_crypto.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

examples/tornado/__init__.py

Whitespace-only changes.

examples/tornado/http/Procfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/tornado/http/__init__.py

Whitespace-only changes.

examples/tornado/http/app.py

Lines changed: 0 additions & 260 deletions
This file was deleted.

0 commit comments

Comments
 (0)