rhaamo / pyAirwaves

pyAirwaves is an ADS-B and AIS processing, storage (planned), and display application with Leaflets integration.
GNU Affero General Public License v3.0
10 stars 4 forks source link

Bump pyais from 1.4.0 to 1.6.3 #163

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pyais from 1.4.0 to 1.6.3.

Release notes

Sourced from pyais's releases.

Add bounds check for variable length messages

  • Correctly handles variable length messages (M0r13n/pyais#40)
    • prior versions were missing required length checks
    • therefore some messages were not correctly decoded
    • this affects Type 7, 15, 16, 20, 22, 24, 25 and 26

Better error messages for decode_msg

No release notes provided.

Bugfixes

This release fixes two bugs:

  1. allows empty channel
  2. limits payload to 82 chars

Make NMEAMessage subscriptable

  • Makes NMEAMessage subscribable
  • Adds documentation on readthedocs.org
  • Renames instance attributes of NMEAMessage:
    • msg_type to type
    • count to message_fragments
    • index to fragment_number
    • seq_id to message_id
    • data to payload#
  • Adds fill_bits field to NMEAMessage

Improve stability

This release improves the stability. This includes:

  • more gentle stream like objects
  • invalid checksums are logged but do not cause errors
  • the class NMEAMessage is more restrictive in what it accepts
  • better type hints
  • additional type checks
  • more unittests
Changelog

Sourced from pyais's changelog.

Version 1.6.3 5 Dec 2021

  • Correctly handles variable length messages (M0r13n/pyais#40)
    • prior versions were missing required length checks
    • therefore some messages were not correctly decoded
    • this affects Type 7, 15, 16, 20, 22, 24, 25 and 26

Version 1.6.2 2 May 2021

  • Improves decode_msg by adding meaningful error messages

Version 1.6.0 2 May 2021

  • Makes NMEAMessage subscribable
  • Adds documentation on readthedocs.org
  • Renames instance attributes of NMEAMessage:
    • msg_type to type
    • count to message_fragments
    • index to fragment_number
    • seq_id to message_id
    • data to payload#
  • Adds fill_bits field to NMEAMessage

Commits
  • da2d434 Prevent decode function from accesing data that is out of bounds (#41)
  • 5527830 Raise a meaningful exception if 'decode_msg' is used improperly (#38)
  • 8e96f16 Add notice about the handling of binary payloads. Closing #31 (#35)
  • bf9a99f Uniformly name shiptype as part of #32 (#34)
  • 96e01d9 small typo (#30)
  • ed98653 Update init.py
  • 7f46e35 Correctly limit the maximum message size and allow empty channels (#29)
  • 3df1179 Update install.rst
  • adc9757 Make NMEA messages suscribtable (#26)
  • beecc0e Update README.md
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #165.