Releases: jazzband/django-push-notifications
3.1.0
What's Changed
- Add FCM v1 API by @ceoy in #702
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #704
- Add silent notification example for GCMDevice by @ishakoktn in #698
- make firebase-admin an optional dependency by @ceoy in #707
- Fix imports of FCM to keep it as an optional dependency by @sevdog in #706
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #710
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #713
- Add missing migration for the new default FCM choices by @jkoestinger in #714
- Remove python 3.6 support. by @jamaalscarlett in #718
- Changed firebase-admin's deprecated send_all method for send_each by @guspix in #715
New Contributors
- @ceoy made their first contribution in #702
- @ishakoktn made their first contribution in #698
- @jkoestinger made their first contribution in #714
- @guspix made their first contribution in #715
Full Changelog: 3.0.2...3.1.0
3.0.2
What's Changed
- LegacyConfig.get_apns_use_alternative_port always return None by @nikzvonov in #656
- Add django 4.1, remove master branch by @jamaalscarlett in #661
- Update topic send_message docs in README by @alenzeinolov in #660
- Fix: HexadecimalField accepts non-hex values by @denizdogan in #672
- Update tox.ini by @jamaalscarlett in #688
- Update test.yml by @jamaalscarlett in #689
- Expanded documentation for Web Push by @nlittlejohns in #558
- Allow APNS tokens of variable length. by @ianlater in #678
- Add WebPush support for Safari by @blighj in #674
New Contributors
- @nikzvonov made their first contribution in #656
- @alenzeinolov made their first contribution in #660
- @denizdogan made their first contribution in #672
- @nlittlejohns made their first contribution in #558
- @ianlater made their first contribution in #678
- @blighj made their first contribution in #674
Full Changelog: 3.0.0...3.0.2
3.0.0
What's Changed
- #567 Fixes crash on bulk_send test message operation from admin by @DataGreed in #568
- Updated README: added info about APNS_AUTH_KEY_PATH, APNS_AUTH_KEY_ID, APNS_TEAM_ID by @DataGreed in #566
- Add some details to APNS settings description by @scherbakovx in #575
- Django 4.0 warnings by @jheld in #585
- Run tests on python3.9 by @bertonha in #589
- add mutable_content to fcm by @paradizer in #582
- Improve efficiency of ORM lookups by @code-review-doctor in #598
- Drop python 2.x and django before 2.2 by @sevdog in #599
- Migrate to GitHub Actions. by @jezdez in #607
- Mention WebPushDevice in README by @tyilo in #608
- Make push optional dependecies by @sevdog in #600
- fix: Remove python3.5 deps by @bertonha in #621
- Spelling error & convert string to be translatable by @Andrew-Chen-Wang in #614
- ++Enable sending image in GCM notifications by @ashishnitinpatil in #624
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #625
- Change feature detection logic for database field by @sevdog in #612
- Add Edge support to webpush by @simonkern in #631
- chore: test on Django 4.0 by @bertonha in #638
- chore: test only active Django versions by @bertonha in #639
- chore: dry tests, use newer DRF on tests by @bertonha in #641
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #635
- More robust handling of userAgentData, fix WebPushDeviceAdmin by @simonkern in #643
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #644
- Add missing migration for #614 by @simonkern in #645
- Jazzband: Synced file(s) with jazzband/.github by @jazzband-bot in #626
- Show coverage badge in README. by @shimakaze-git in #651
New Contributors
- @scherbakovx made their first contribution in #575
- @jheld made their first contribution in #585
- @bertonha made their first contribution in #589
- @paradizer made their first contribution in #582
- @code-review-doctor made their first contribution in #598
- @sevdog made their first contribution in #599
- @jezdez made their first contribution in #607
- @tyilo made their first contribution in #608
- @Andrew-Chen-Wang made their first contribution in #614
- @ashishnitinpatil made their first contribution in #624
- @pre-commit-ci made their first contribution in #625
- @simonkern made their first contribution in #631
- @jazzband-bot made their first contribution in #626
- @shimakaze-git made their first contribution in #651
Full Changelog: 2.0.0...3.0.0
Django Push Notifications 2.0.0
registration_id no longer hard-coded in DeviceViewSetMixin `lookup_field` was declared in `DeviceViewSetMixin` and never used. Instead the create method referred to string literal instead of this field. No the field is used. You can inherit from `DeviceViewSetMixin`, redefined the `lookup_field` and use if with your views instead of having to rewrite the `create` method yourself
Django Push Notifications 1.4.1
Changelog:
- APNS: Increased max device token size to 100 bytes (WWDC 2015, iOS 9)
- BUGFIX: Fix an index error in the admin
Django Push Notifications 1.4.0
Changelog:
- BACKWARDS-INCOMPATIBLE: Drop support for Python<3.4
- DJANGO: Support Django 1.9
- GCM: Handle canonical IDs
- GCM: Allow full range of GCMDevice.device_id values
- GCM: Do not allow duplicate registration_ids
- DRF: Work around empty boolean defaults issue (django-rest-framework#1101)
- BUGFIX: Do not throw GCMError in bulk messages from the admin
- BUGFIX: Avoid generating an extra migration on Python 3
- BUGFIX: Only send in bulk to active devices
- BUGFIX: Display models correctly in the admin on both Python 2 and 3
Django Push Notifications 1.3.1
This is an errata release.
Django Push Notifications 1.3.0
This release drops support for Python<2.7 and Django<1.8. Upgrade from the 1.2 branch is highly recommended.
Changelog:
- BACKWARDS-INCOMPATIBLE: Drop support for Python<2.7
- BACKWARDS-INCOMPATIBLE: Drop support for Django<1.8
- NEW FEATURE: Added a Django Rest Framework API. Requires DRF>=3.0.
- APNS: Add support for setting the ca_certs file with new APNS_CA_CERTIFICATES setting
- GCM: Deactivate GCMDevices when their notifications cause NotRegistered or InvalidRegistration
- GCM: Indiscriminately handle all keyword arguments in gcm_send_message and gcm_send_bulk_message
- GCM: Never fall back to json in gcm_send_message
- BUGFIX: Fixed migration issues from 1.2.0 upgrade.
- BUGFIX: Better detection of SQLite/GIS MySQL in various checks
- BUGFIX: Assorted Python 3 bugfixes
- BUGFIX: Fix display of device_id in admin
This release was made possible thanks to the contributions of the following people:
Andrey Zevakin, David Pretty, Jamaal Scarlett, Jerome Leclanche, Matthew Hershberger, Mohamad Nour Chawich and Nicolas Delaby
Django Push Notifications 1.2.1
This is a bugfix release and the last release to support Python versions older than 2.7, and Django versions older than 1.8.
Changelog:
- APNS, GCM: Add a db_index to the device_id field
- APNS: Use the native UUIDField on Django 1.8
- APNS: Fix timeout handling on Python 3
- APNS: Restore error checking on apns_send_bulk_message
- GCM: Expose the time_to_live argument in gcm_send_bulk_message
- GCM: Fix return value when gcm bulk is split in batches
- GCM: Improved error checking reliability
- GCM: Properly pass kwargs in GCMDeviceQuerySet.send_message()
- BUGFIX: Fix HexIntegerField for Django 1.3
This release was made possible thanks to the contributions of the following people:
Antonin Lenfant, Arthur Silva, Daniel Kronovet, Innocenty Enikeew, Jack Feng, Jerome Leclanche,
Remigiusz Dymecki and @GaleDragon
Django Push Notifications 1.2.0
Changelog:
- BACKWARDS-INCOMPATIBLE: Added support for Django 1.7 migrations. South users will have to upgrade to South 1.0 or Django 1.7.
- APNS: APNS MAX_NOTIFICATION_SIZE is now a setting and its default has been increased to 2048
- APNS: Always connect with TLSv1 instead of SSLv3
- APNS: Implemented support for APNS Feedback Service
- APNS: Support for optional "category" dict
- GCM: Improved error handling in bulk mode
- GCM: Added support for time_to_live parameter
- BUGFIX: Fixed various issues relating HexIntegerField
- BUGFIX: Fixed issues in the admin with custom user models
This release was made possible thanks to the contributions of the following people:
Alan Descoins, Alistair Broomhead, Arthur Silva, Francois Lebel, Jay Camp, Jerome Leclanche, Sergei Evdokimov, Sujit Nair, Thomas Iovine and @shigmas.