Skip to content

Commit

Permalink
PubNub SDK v5.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
client-engineering-bot committed Jan 21, 2021
1 parent 62b44ef commit a7be2b2
Show file tree
Hide file tree
Showing 129 changed files with 976 additions and 5,449 deletions.
8 changes: 7 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: python
version: 4.8.1
version: 5.0.0
schema: 1
scm: github.com/pubnub/python
changelog:
- version: v5.0.0
date: Jan 21, 2021
changes:
-
text: "Apart from bringing the whole SDK up to date, support for Tornado and Twisted was removed and dependiecies were simplified."
type: improvement
- version: v4.8.1
date: Jan 18, 2021
changes:
Expand Down
28 changes: 8 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,19 @@ stages:
if: |
type != pull_request \
AND tag IS blank
- name: "code coverage"
if: |
type == pull_request
jobs:
include:
- stage: "test"
name: 'Python 2.7'
python: '2.7'
script: python scripts/run-tests.py
- name: 'Python 3.4'
python: '3.4'
script: python scripts/run-tests.py
- name: 'Python 3.5'
python: '3.5'
script: python scripts/run-tests.py
- name: 'Python 3.6'
python: '3.6'
python: '3.6.12'
script: python scripts/run-tests.py
- name: 'Python 3.7'
python: '3.7.9'
script: python scripts/run-tests.py
- name: 'Python PyPi'
python: 'pypy'
- name: 'Python 3.8'
python: '3.8.6'
script: python scripts/run-tests.py
- stage: "code coverage"
name: 'Test & Code coverage'
python: '3.6'
- name: 'Python 3.9'
python: '3.9.1'
script: python scripts/run-tests.py
after_success:
- python-codacy-coverage -r coverage.xml
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [v5.0.0](https://github.com/pubnub/python/releases/tag/v5.0.0)

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

- ⭐️️ Apart from bringing the whole SDK up to date, support for Tornado and Twisted was removed and dependiecies were simplified.

## [v4.8.1](https://github.com/pubnub/python/releases/tag/v4.8.1)

[Full Changelog](https://github.com/pubnub/python/compare/v4.8.0...v4.8.1)
Expand Down
3 changes: 0 additions & 3 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ Twisted is supported by Python 2.7 only.
* Test runner: py.test
* Source code checker: flake

## Crypto library
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

## Daemon mode with Native SDK
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:

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# PubNub Python SDK (V4)
# PubNub Python SDK

[![Build Status](https://travis-ci.org/pubnub/python.svg?branch=master)](https://travis-ci.org/pubnub/python)
[![codecov](https://codecov.io/gh/pubnub/python/branch/master/graph/badge.svg)](https://codecov.io/gh/pubnub/python)
[![PyPI](https://img.shields.io/pypi/v/pubnub.svg)](https://pypi.python.org/pypi/pubnub/)
[![PyPI](https://img.shields.io/pypi/pyversions/pubnub.svg)](https://pypi.python.org/pypi/pubnub/)
[![Docs](https://img.shields.io/badge/docs-online-blue.svg)](https://www.pubnub.com/docs/python/pubnub-python-sdk-v4)
Expand Down
31 changes: 0 additions & 31 deletions examples/native_threads/custom_crypto.py

This file was deleted.

Empty file removed examples/tornado/__init__.py
Empty file.
1 change: 0 additions & 1 deletion examples/tornado/http/Procfile

This file was deleted.

Empty file removed examples/tornado/http/__init__.py
Empty file.
260 changes: 0 additions & 260 deletions examples/tornado/http/app.py

This file was deleted.

2 changes: 0 additions & 2 deletions examples/tornado/http/requirements.txt

This file was deleted.

Empty file removed examples/twisted/__init__.py
Empty file.
Loading

0 comments on commit a7be2b2

Please sign in to comment.