- Cleanup from @Rotzbua
- Use modern typing for annotations
- Remove legacy python 2 import
- remove redundant :type annotations
- use [.dev] extras in CI
- add'l typing info (Thanks @rotzbua)
- Update
rstfiles to reflectmdfile changes
Add comment discussing additional work for Windows Notification Service (WNS)
- Update the README.md file to mention the required, non-standard headers.
BREAKING_CHANGE This version also drops legacy support for GCM/FCM authorization keys, since those items are obsolete according to Google. See https://firebase.google.com/docs/cloud-messaging/auth-server#authorize-legacy-protocol-send-requests
chore: fix formatting chore: update CHANGELOG chore: note admin update
This was an administrative push to test a new publication system.
feat: Add a async_webpush one call func and tests (15cf848)[https://github.com/web-push-libs/pywebpush/commit/15cf84885b4bc1cd4e8e58a8fc8f84bfc9b3387e] (thanks (@AlexUnder2003)[https://github.com/web-push-libs/pywebpush/commits?author=AlexUnder2003])
docs: Use License classifiers in pyproject.toml (thanks @sevdog)
chore: Update to modern python practices
-
include pyproject.toml file
-
use python typing
-
update to use pytest
BREAKING_CHANGE
Webpusher.encodewill now return aNoDataexception if no data is present to encode. Chances are you probably won't be impacted by this change since most push messages contain data, but one never knows. This alters the prior behavior where it would returnNone.
bug: accept all VAPID key instances (thanks @mthu)
Support requests_session param in webpush fn too (thanks @bwindels)
chore: library update, remove nose tests
feat: add --head to read headers out of a json file (thanks @braedon)
bug: update min vapid requirement to 1.7.0
feat: use six.text_type instead of six.string_types
feat: Add --verbose flag with some initial commentary
bug: Update tests to use latest VAPID version
bug: update vapid exp header if missing or expired
feat: update to http-ece 0.7.0 (with draft-06 support) feat: Allow empty payloads for send() feat: Add python3 classfiers & python3.6 travis tests feat: Add README.rst bug: change long to int to support python3
feat: make python 2.7 / 3.5 polyglot
bug: make header keys case insenstive
bug: force key string encoding to utf8
bug: fix setup.py issues
feat: added travis, normalized directories
feat: Added tests, restructured code
Initial release