Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Releases: mozilla-services/autopush

1.19.1

10 Oct 18:13
Compare
Choose a tag to compare

Chore

Bug Fixes

  • validated methods ignore raw arguments (dbbd0816)

1.19.0

07 Oct 06:13
Compare
Choose a tag to compare

Features

  • move Message and Registration handlers to own validated class (ea3b48c2)
  • handle provisioned errors gracefully (#682) (8e5f52ad, closes #658)
  • add user record cleanup script (#677) (9e5a95f9, closes #645)
  • include timestamps in tests' logs (#675) (a3c3b82a)
  • add a new client_certs endpoint config option (58e0cbbd)
  • add webpush topics (0fe241bb, closes #643)
  • Switch to new http2 based APNS protocol (15fea87d)

Chore

  • remove the wsaccel dependency on pypy (#683) (aa047f36)
  • fix travis' virtualenv giving us an older python (#664) (f47b7435)

Bug Fixes

1.18.0

20 Sep 01:18
Compare
Choose a tag to compare

Bug Fixes

  • label arguments for router.register to prevent misassignment (#648) (b1a7e2db)
  • Require auth header for endpoints with v2 (#659) (ee633a50)
  • log all drop_user calls with record details when possible (21c76f17, closes #650)
  • return webpush style response for bridged users (a0339bbe, closes #651)

Features

Breaking Changes

  • Add multiple cert handlers for APNs (7eed1ffe, closes #655, breaks #)

1.17.2

31 Aug 22:54
Compare
Choose a tag to compare

Test

  • clarify where we mean IRouter vs db.Router (33244055)

Chore

  • break out base deps into their own req file (001e0da4)
  • git mv a break out of the base deps (abc63330)

Bug Fixes

  • provide better logging and fix UAID misreference (704fd814)
  • do not try to JSON serialize log output (9861edb6)
  • clarify token references in HTTP endpoint docs (8a751472)
  • add URI to error messages to aid in bad senderIDs (05e5d00f)
  • kill dead_cache, it's no longer used (2135dd8b)
  • update Makefile to use correct requirements (ec6418b3)
  • handle more errors to connection nodes (3cc24fe8)
  • disable log_exception capturing in tests (62074f74)
  • trap UnicodeEncodeError (a116def7, closes #606)

Features

Refactor

  • extract a simple BaseHandler (a794e20f)
  • cleanup of Handler initialize/ap_settings (031e1446)

1.17.1

22 Aug 21:39
Compare
Choose a tag to compare

Refactor

Features

  • send sentry the current stack when lacking a Failure tb (29a9dce8)
  • Limit the size of allowed HTTP bodies & headers (54c4526a, closes #501)
  • Validate Encryption/C-Key headers in preflight (0c27efc2, closes #456)
  • Allow both "Bearer" and "WebPush" as Auth tokens (1891f913, closes #592)
  • better documentation for config files & locations (71869826, closes #572)

Bug Fixes

  • limit max TTL for GCM/FCM (7c14249a)
  • Trap BOTO Server exception as 503's (75a8889d, closes #605)
  • trap JWS/JWT errors from being reported as Sentry Errors (3e0dd71c, closes #610)
  • Trap BOTO Server exception as 503's (95bc09c2, closes #605)
  • return 404 for invalid URL's for consistency (f4c47af7, closes #578)
  • Prevent invalid header values from causing key errors in validation (55e08bfc, closes #604)
  • Check tokens in constant time (ed7ce2b4, closes #571)
  • fixes reference to releasing page (8510397b)
  • kill duplicate ssl_key/cert options (2d2e716c)
  • remove obsoleted options from sample config files, and mock_s3 which is no longer necessary (aa4b4de4)
  • Update FCM handler to more accurately reflect API (5f9c3223)

Doc

1.17.0

05 Aug 17:48
Compare
Choose a tag to compare

Refactor

  • clarify intent of write methods returning nothing (94ab2134)
  • utilize console_script's sys.exit return value to kill a mock (1c7de067)

Doc

Test

  • don't hide wait_for_times test failures (fe98d4c6)

Bug Fixes

  • remove readline from the nix pkg also (e7c8d385)
  • Allow old GCM senderID (fe0d19c8)
  • fix _base_tags class var usage and make other class vars immutable (97a133a4)
  • readline isn't needed (834a2c79)
  • Do not remove router_type from UAID info (d74c00c9)
  • Fix up FCM library to reject enpdoints with invalid FCM senderids (56633e4c, closes #556)
  • Add ValueError trap for extract_jwt (3f2af804)
  • Do not record the GCM data overflow error (b4e8ed43, closes #552)
  • avoid uaid error in webpush preflight (333d2fff)
  • test_bad_senderidlist now requires --gcm_enabled. bandaid handling of make_settings failures for now (949f8d3a)
  • Handle URL arguments to OPTIONS and HEAD requests (471137f5)
  • nocover the util function (6230f77d)
  • kill now unused senderid_list cruft (a2e1f8c8)
  • kill mutable default arguments (b405cce6)

Chore

Features

  • normalize user-agent for datadog and parse for raw logging (8c4c6368, closes #487)
  • Add URLs, text to error response messages (da5eca84)
  • log all unregister/register calls. also adds assert_called_included for checking calls including kwargs (cb87a82f)
  • Add FCM router support (b06c6a75)

1.16.1

19 Jul 22:34
Compare
Choose a tag to compare

Bug Fixes

  • catch InvalidToken exceptions from fernet (b00ae57c, closes #530)
  • overwrite existing messages instead of throwing an error (aa738816, closes #535)
  • fix up AWS conditional binding and assoc. conditions (9e3fedbe)
  • remove use of buggy moto from websocket/db tests (07fd0caf, closes #531)
  • ensure router_type is present in all records (aeeea3ab, closes #526)

1.16.0

15 Jul 21:49
Compare
Choose a tag to compare

Bug Fixes

  • refactor register uaid lookup to verify proper records (a01dabd7, closes #523)
  • restore pragma line for full coverage (677e72dd)
  • Invalidate UAIDs that are not lowercase or contain dashes (265d7689, closes #519)
  • log message errors as info instead of debug (ccc2d685, closes #518)
  • remove shared file inclusion for tests (465bcb34, closes #515)
  • include webpush handler in endpoint config (b4493acb)
  • Elevate GCM reported error states (04080539)
  • handle different behavior in rotating table tests at month-end (19973721, closes #502)
  • remove failing key check from sentry logging (6c90f8dc)
  • add integration testing and verification of sentry reporting (ee4e3398, closes #493)
  • Elevate GCM reported error states (fb5ae0b3)
  • handle different behavior in rotating table tests at month-end (bd60b39e, closes #502)
  • remove failing key check from sentry logging (3782024b)
  • add integration testing and verification of sentry reporting (9c70b88f, closes #493)

Test

  • lower time-outs for failed notification checks (ed7a69f4)
  • fix/add remaining tests for 100% test coverage (c505edf7)

Breaking Changes

  • add AMI instance ID to the logged information (058c601b, closes #483, breaks #)
  • add AMI instance ID to the logged information (663eec02, closes #483, breaks #)

Features

  • wait for tables to be active in pre-flight check (fb143a9b, closes #433)
  • add diagnostic CLI tool for endpoints (a17679f3, closes #509)
  • change how bad bridge tokens are handled (0c73fd0b)
  • add metrics to bridge protocols (e45b82dd)
  • add AMI instance ID to the logged information (058c601b, closes #483, breaks #)
  • refactor webpush endpoint for validation schemas (c1923e1c, closes #379)
  • refactor simplepush endpoint for validation schemas (050d7038)
  • Add endpoint to test logging (824d102d, closes #478)
  • change how bad bridge tokens are handled (0eb471b6)
  • add metrics to bridge protocols (126203bb)
  • add AMI instance ID to the logged information (663eec02, closes #483, breaks #)
  • refactor webpush endpoint for validation schemas (f5f366fc, closes #379)
  • refactor simplepush endpoint for validation schemas (d66102b7)
  • Add endpoint to test logging (0684d898, closes #478)

Chore

1.15.1

25 May 16:55
Compare
Choose a tag to compare

Chore

  • Fix Dockerfile, circle.yml and requirements for PyPy (#482)

1.15.0

16 May 17:48
Compare
Choose a tag to compare

Doc

  • Use shields.io image for code coverage (4e767a71)

Chore

  • update all libs to latest versions and fix jws conflict (1cbf94f3, closes #453)

Bug Fixes

  • Normalize padding handling for restricted subscriptions (17e885bf, closes #466)
  • Fix logging message inconsistencies (37d09b30, closes #460)
  • Check connected month bounds for preflight (63ff016c, closes #461)
  • Log status_code & errno for all errors (d2c36fcd, closes #457)
  • Strip padding from key content (ec48a6cc, closes #451)
  • Correct documents to strongly recommend well formatted UUIDs (b58e6339, closes #392, breaks #)
  • Use static UAIDs for preflight, clean up after. (e19329d5, closes #434)
  • Canonicalize Base64 URL-encoded values per RFC 7515. (9406e0d6)

Breaking Changes

  • Correct documents to strongly recommend well formatted UUIDs (b58e6339, closes #392, breaks #)

Features

  • use gnureadline instead of readline (e2a6b727)
  • Add extended err message for old encryption (a236c90a)
  • Support app server keys via the HTTP interface. (88b1f037, closes #423)

Refactor

  • Remove duplicate validation logic in the GCM and APNs routers. (c9fe7627)