forked from M0r13n/pyais
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG.txt
127 lines (99 loc) · 5.25 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
====================
pyais CHANGELOG
====================
-------------------------------------------------------------------------------
Version 2.1.2 14 May 2022
-------------------------------------------------------------------------------
* Closes https://github.com/M0r13n/pyais/issues/17
* decoded `radio state` fields
* provided functions to access SOTDMA/ITDMA communication state information
-------------------------------------------------------------------------------
Version 2.1.1 24 Apr 2022
-------------------------------------------------------------------------------
* Closes https://github.com/M0r13n/pyais/issues/65
* makes lat and lon signed for type 27 messages
* drops nosetest as a development dependency
-------------------------------------------------------------------------------
Version 2.1.0 14 Apr 2022
-------------------------------------------------------------------------------
* Closes https://github.com/M0r13n/pyais/issues/63#issuecomment-1099045541
* 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 https://github.com/M0r13n/pyais/issues/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 https://github.com/M0r13n/pyais/issues/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.
* Closes https://github.com/M0r13n/pyais/issues/58
* A missing checksum caused a `ValueError`, which is now ignored
-------------------------------------------------------------------------------
Version 2.0.2 20 Mar 2022
-------------------------------------------------------------------------------
* Closes https://github.com/M0r13n/pyais/issues/55
* Makes the attribute `raim` always an boolean
* Closes https://github.com/M0r13n/pyais/issues/54
* Ensure that the attributes speed, lat, lon and course are always `float`
-------------------------------------------------------------------------------
Version 2.0.1 6 Feb 2022
-------------------------------------------------------------------------------
* Closes https://github.com/M0r13n/pyais/issues/52
* renames shipname to name for type 21
-------------------------------------------------------------------------------
Version 2.0.0-alpha 6 Feb 2022
-------------------------------------------------------------------------------
* WARNING: The v2 release will introduce breaking changes
* Introduces the possibility to encode messages
* decoding has been rewritten and implements an iterative decoding approach
* The following fields were renamed:
* message_fragments -> frag_cnt
* fragment_number -> frag_num
* message_id -> seq_id
* type -> msg_type
* shiptype -> ship_type
* `msg.decode()` does not return a `pyais.messages.AISMessage` instance anymore
* instead an instance of `pyais.messages.MessageTypeX` is returned, where `X` is the type of the message (1-27)
* in v1 you called `decoded.content` to get the decoded message as a dictionary - this is now `decoded.asdict()`
-------------------------------------------------------------------------------
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
-------------------------------------------------------------------------------
Version 1.4.0 6 Mar 2021
-------------------------------------------------------------------------------
* Pyais comes with a commandline utility now
- `ais-decode` can decode single messages or files
- you can read from a TCP/UDP socket from the terminal
- no need to write Python code
* Improves Socket API
-------------------------------------------------------------------------------
Version 1.3.1 2 Jan 2021
-------------------------------------------------------------------------------
* Simple bug fix
- Store `mothership_mmsi` as 9-digit string
-------------------------------------------------------------------------------
Version 1.3.0 2 Jan 2021
-------------------------------------------------------------------------------
* Major API changes
- MMSI is stored as string with leading zeros (up to 9 chars) (#6)