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 2.2.2 #220

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps pyais from 1.4.0 to 2.2.2.

Release notes

Sourced from pyais's releases.

ensure that the encoding of messages is idempotent

  • Closes M0r13n/pyais#86
    • ensure that the payload is always identical - even for multiple encode/decode roundtrips
    • the turn field can now never be None and is instead an instance of the newly created TurnRate enum

ensure that the NMEA sentence length does not exceed 82 characters

Invalid checksums can optionally raise an exception

  • introduces optional error_if_checksum_invalid keyword (default=False)

  • adds the possibility to raise an exception if the checksum is invalid

Minor: Removes debug print statement

Closes: M0r13n/pyais#76

Minor Bugfix Release

Closes the following issues:

  • M0r13n/pyais#70
    • The fillbits field was set to fillbits value for every fragment, instead of only the last one. The fillbits field for every other fragment should be set to 0.
  • M0r13n/pyais#73
    • when converting ROT values the product was rounded before squaring which led to slightly off ROT values

SOTDMA/ITDMA communication state information

  • Closes M0r13n/pyais#17
    • decoded radio state fields
    • provided functions to access SOTDMA/ITDMA communication state information

Bugfixes

No release notes provided.

Removes inconsistencies

  • Closes M0r13n/pyais#63
    • unifies naming of fields across all message types
    • makes all single bit fields booleans
    • replaces the raw turn value with the actual rate of turn: (turn/4.733)**2
    • makes all data fields raw bytes instead of (large) integers for interoperability
    • makes speed and course floats instead of ints
    • enforces strict types and fixes typing inconsistencies

Bugfixes and improvements

  • Closes M0r13n/pyais#54

    • for some fields like speed, lat or lon their types were not properly enforced. This led to typing errors and wrong values, e.g. 0 instead of 0.0.
  • Closes M0r13n/pyais#59

    • when encoding messages the underlying method int_to_bin incorrectly assumed that all values were signed. This was wrong and could lead to invalid messages, when encoding.

... (truncated)

Changelog

Sourced from pyais's changelog.

Version 2.2.2 13 Oct 2022

  • Closes M0r13n/pyais#86
    • ensure that the payload is always identical - even for multiple encode/decode roundtrips
    • the turn field can now never be None and is instead an instance of the newly created TurnRate enum

Version 2.2.1 03 Oct 2022

  • Closes M0r13n/pyais#81
    • ensure that the NMEA sentence length does not exceed 82 characters

Version 2.2.0 02 Oct 2022

  • Closes M0r13n/pyais#82
    • introduces optional error_if_checksum_invalid keyword (default=False)
    • adds the possibility to raise an exception if the checksum is invalid

Version 2.1.2 14 May 2022

  • Closes M0r13n/pyais#17
    • decoded radio state fields
    • provided functions to access SOTDMA/ITDMA communication state information

Version 2.1.1 24 Apr 2022

  • Closes M0r13n/pyais#65
    • makes lat and lon signed for type 27 messages
  • drops nosetest as a development dependency

Version 2.1.0 14 Apr 2022

  • Closes M0r13n/pyais#63
    • unifies naming of fields across all message types
    • makes all single bit fields booleans
    • replaces the raw turn value with the actual rate of turn: (turn/4.733)**2
    • makes all data fields raw bytes instead of (large) integers for interoperability
    • makes speed and course floats instead of ints
    • enforces strict types and fixes typing inconsistencies

Version 2.0.3 27 Mar 2022

  • Closes M0r13n/pyais#54
    • for some fields like speed, lat or lon their types were not properly enforced. This led to typing errors and wrong values, e.g. 0 instead of 0.0.

... (truncated)

Commits
  • 7fe2d07 makes decoding/encoding of turn values consistent (#87)
  • 02176d5 ensure that the NMEA sentence length does not exceed 82 characters (#84)
  • 9a49a33 Makes it possible to raise an exception if the checksum is invalid (#83)
  • 175b750 removes debug statement (#76)
  • 6ab9ad7 prepare release "2.1.3"
  • 56e42c6 Merge pull request #74 from M0r13n/rounding-error-for-rot
  • c8922e5 rounde after sqrt when converting rot_ais to rot_sensor
  • 6675f1f Merge pull request #72 from Krakoer/master
  • 434e986 Correct checksum calculation for multi sentence message
  • 0c11b94 Add 0 as seq_id for multi-sentence messages
  • 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 1 year ago

Superseded by #223.