@tak-ps/node-cot 14.52.0 → 14.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -12,96 +12,100 @@
12
12
 
13
13
  ### Pending Fixed
14
14
 
15
- ### v14.52.0 - 2025-08-11
15
+ ### v14.52.1 - 2026-08-28
16
+
17
+ - :rocket: `pathName` => `fileURLToPathname` for better windows support
18
+
19
+ ### v14.52.0 - 2026-08-11
16
20
 
17
21
  - :tada: Add `CoTParser.from_xml_document()` for parsing multi-event XML documents (ie: the TAK Server Mission API CoT endpoint) - each event is parsed & validated individually and returned in `cots`, with unparseable events collected in `invalid` as `{ error, event }` (the raw unmutated xml-js event) so a single poisoned CoT doesn't prevent valid CoTs from being returned
18
22
  - :white_check_mark: `from_xml_document` coverage: mixed valid/poisoned documents, ordering, bare `<event>` root, XML declaration, boolean attr normalization, pristine invalid events, Flow-Tag absence & GeoJSON conversion of parsed CoTs
19
23
 
20
- ### v14.51.0 - 2025-08-05
24
+ ### v14.51.0 - 2026-08-05
21
25
 
22
26
  - :bug: The SIDC is now emitted on both the `__milsym` & `__milicon` details - the takkernel `MilSymDetailHandler` registers `__milsym` only, while newer clients read `__milicon` (ATAK-20119), so MIL-STD symbols previously failed to render depending on the receiving client's version
23
27
  - :tada: Add `Type2525.cotTypeFromNumericSIDC()` - returns the most specific CoT Type a numeric SIDC can express (`a-f-G-U-C-I` instead of `a-f-G`), preserving the Type derived icon fallback for clients that can't resolve the SIDC. A numeric SIDC on the GeoJSON `type` property now uses it
24
28
  - :bug: `Type2525.to2525D()` short codes (types with no Function ID) declared an undefined `12` SIDC Version field, which clients can't map to a symbology provider - they now declare `10` (2525D) like converted codes do
25
29
 
26
- ### v14.50.0 - 2025-08-01
30
+ ### v14.50.0 - 2026-08-01
27
31
 
28
32
  - :bug: MilIcon augmentation no longer clobbers an existing `__milicon` detail with the generic SIDC derived from the CoT type
29
33
 
30
- ### v14.49.0 - 2025-07-29
34
+ ### v14.49.0 - 2026-07-29
31
35
 
32
36
  - :tada: Add `event` Link Attribute for marking a CoT as the projection of a CloudTAK Core Event
33
37
 
34
- ### v14.48.0 - 2025-07-23
38
+ ### v14.48.0 - 2026-07-23
35
39
 
36
40
  - :rocket: Update normalize function to allow 2525E => type
37
41
 
38
- ### v14.47.0 - 2025-07-21
42
+ ### v14.47.0 - 2026-07-21
39
43
 
40
44
  - :tada: Allow a numeric 2525D/2525E SIDC to be provided on the GeoJSON `type` property - it is mapped to a basic CoT Atom type (`a-<affiliation>-<battle dimension>`) and the SIDC is placed in the `milicon` property
41
45
 
42
- ### v14.46.0 - 2025-07-21
46
+ ### v14.46.0 - 2026-07-21
43
47
 
44
48
  - :rocket: Differentiate between force delete and force stale
45
49
 
46
- ### v14.45.1 - 2025-07-17
50
+ ### v14.45.1 - 2026-07-17
47
51
 
48
52
  - :bug: Make uid attributes optional
49
53
 
50
- ### v14.45.0 - 2025-07-14
54
+ ### v14.45.0 - 2026-07-14
51
55
 
52
56
  - :arrow_up: Remove the need for `uuid` by using `crypto.randomUUID()` which is available in Node 18+
53
57
 
54
- ### v14.44.3 - 2025-07-07
58
+ ### v14.44.3 - 2026-07-07
55
59
 
56
60
  - :bug: Hanle `hae` as `NaN`
57
61
 
58
- ### v14.44.2 - 2025-07-07
62
+ ### v14.44.2 - 2026-07-07
59
63
 
60
64
  - :arrow_up: Update Core Deps
61
65
 
62
- ### v14.44.1 - 2025-07-05
66
+ ### v14.44.1 - 2026-07-05
63
67
 
64
68
  - :rocket: Make Chat.ID Optional
65
69
 
66
- ### v14.44.0 - 2025-07-03
70
+ ### v14.44.0 - 2026-07-03
67
71
 
68
72
  - :tada: Add support for parsing Chat Receipt CoTs (`b-t-f-d`, `b-t-f-r`, `b-t-f-p`, `b-t-f-s`) - the ATAK style `__chatreceipt` detail is now included in the `Detail` schema and populates `properties.chat` in `to_geojson`
69
73
  - :tada: Add `DirectChatReceipt` builder for generating Chat Receipt CoTs
70
74
  - :tada: Add `CoT.is_chat_receipt()` helper
71
75
  - :white_check_mark: Add tests for ATAK (`__chatreceipt`) & WinTAK (`__chat`) style Chat Receipts
72
76
 
73
- ### v14.43.2 - 2025-07-03
77
+ ### v14.43.2 - 2026-07-03
74
78
 
75
79
  - :arrow_up: Update protobuf
76
80
 
77
- ### v14.43.1 - 2025-07-02
81
+ ### v14.43.1 - 2026-07-02
78
82
 
79
83
  - :rocket: Include error logging if the XML is invalid
80
84
 
81
- ### v14.43.0 - 2025-07-01
85
+ ### v14.43.0 - 2026-07-01
82
86
 
83
87
  - :arrow_up: Migrate to `@tak-ps/xml-js` which is a fill TypeScript port of `xml-js`
84
88
  - :bug: Fix attribute escaping in `xml-js` to ensure callsigns with `&` are properly escaped
85
89
 
86
- ### v14.42.1 - 2025-06-25
90
+ ### v14.42.1 - 2026-06-25
87
91
 
88
92
  - :arrow_up: Remove `rimraf` now that `node.fsp.rm` is available
89
93
  - :arrow_up: Update Core Deps
90
94
 
91
- ### v14.42.0 - 2025-06-24
95
+ ### v14.42.0 - 2026-06-24
92
96
 
93
97
  - :bug: Ensure empty track.slope doesn't result in a parsing error
94
98
 
95
- ### v14.41.0 - 2025-06-13
99
+ ### v14.41.0 - 2026-06-13
96
100
 
97
101
  - :bug: Fix Opacity bug in Polygon Features created via ATAK
98
102
  - :bug: Fix ellipse orientation in ATAK created Ellipse Features
99
103
 
100
- ### v14.40.1 - 2025-06-11
104
+ ### v14.40.1 - 2026-06-11
101
105
 
102
106
  - :arrow_up: Update Core Deps
103
107
 
104
- ### v14.40.0 - 2025-06-11
108
+ ### v14.40.0 - 2027-06-11
105
109
 
106
110
  - :rocket: Introduce BiDirectional Support for CBRN Data
107
111
  - :rocket: Introdice BiDirectional Support for `spatial` attribute - Closes: https://github.com/dfpc-coe/node-CoT/issues/130
@@ -146,107 +150,107 @@
146
150
 
147
151
  - :rocket: `creator.callsign` property is optional
148
152
 
149
- ### v14.32.0 - 2025-04-06
153
+ ### v14.32.0 - 2026-04-06
150
154
 
151
155
  - :arrow_up: Update to TypeScript@6
152
156
 
153
- ### v14.31.0 - 2025-03-26
157
+ ### v14.31.0 - 2026-03-26
154
158
 
155
159
  - :tada: Introduce basic validation CLI
156
160
  - :rocket: Normalize `False`/`True` boolean values to actual booleans when parsing XML
157
161
 
158
- ### v14.30.1 - 2025-03-18
162
+ ### v14.30.1 - 2026-03-18
159
163
 
160
164
  - :tada: Retain Non-TAK Server Flow Tags
161
165
 
162
- ### v14.30.0 - 2025-03-18
166
+ ### v14.30.0 - 2026-03-18
163
167
 
164
168
  - :tada: Add the ability to reset flow tags
165
169
 
166
- ### v14.29.0 - 2025-03-12
170
+ ### v14.29.0 - 2026-03-12
167
171
 
168
172
  - :rocket: Add MVP for MissionChat builder
169
173
 
170
- ### v14.28.1 - 2025-03-10
174
+ ### v14.28.1 - 2026-03-10
171
175
 
172
176
  - :arrow_up: Update Core Deps
173
177
  - :white_check_mark: Add test for XML Escaped Characters
174
178
 
175
- ### v14.28.0 - 2025-02-27
179
+ ### v14.28.0 - 2026-02-27
176
180
 
177
181
  - :rocket: If a `LineString` feature is provided that happens to have the same first and end coordinate, TAK will treat it as a polygon as the U-D type doesn't differentiate
178
182
  Set fillOpacity: 0 for LineString features to ensure they at least look correct. When it is parsed back into GeoJSON it will "become" a polygon which will need to
179
183
  be handled by downstream users if they want to maintain the original geometry type
180
184
 
181
- ### v14.27.0 - 2025-02-26
185
+ ### v14.27.0 - 2026-02-26
182
186
 
183
187
  - :tada: Add bi-directional parsing of `marti_archive` tag in `dest` section of CoT messages
184
188
 
185
- ### v14.26.0 - 2025-02-26
189
+ ### v14.26.0 - 2026-02-26
186
190
 
187
191
  - :tada: Add support for Marti.archive=<boolean> which in TAK server 5.7 will disable archiving in the `cot_router` table
188
192
 
189
- ### v14.25.0 - 2025-02-26
193
+ ### v14.25.0 - 2026-02-26
190
194
 
191
195
  - :rocket: Make Geofence Types Boolean where possible
192
196
 
193
- ### v14.24.3 - 2025-02-20
197
+ ### v14.24.3 - 2026-02-20
194
198
 
195
199
  - :rocket: Update to_geojson conversion of missionChanges
196
200
 
197
- ### v14.24.2 - 2025-02-20
201
+ ### v14.24.2 - 2026-02-20
198
202
 
199
203
  - :rocket: Set `tool` as optional property in MissionChange contentResource
200
204
 
201
- ### v14.24.1 - 2025-02-20
205
+ ### v14.24.1 - 2026-02-20
202
206
 
203
207
  - :rocket: Set `filename` as optional property in MissionChange contentResource
204
208
 
205
- ### v14.24.0 - 2025-02-19
209
+ ### v14.24.0 - 2026-02-19
206
210
 
207
211
  - :tada: Update CoT and GeoJSON schemas to support the contentResource type on MissionChange objects
208
212
 
209
- ### v14.23.2 - 2025-02-13
213
+ ### v14.23.2 - 2026-02-13
210
214
 
211
215
  - :bug: Ensure Fill Color attribute is on all Polygon types
212
216
 
213
- ### v14.23.1 - 2025-02-13
217
+ ### v14.23.1 - 2026-02-13
214
218
 
215
219
  - :bug: Fix color issue surfaced by KML Parsing fixes in 14.23
216
220
 
217
- ### v14.23.0 - 2025-02-13
221
+ ### v14.23.0 - 2026-02-13
218
222
 
219
223
  - :bug: Fix transparency parsing and writing of KML Alpha values
220
224
 
221
- ### v14.22.1 - 2025-02-07
225
+ ### v14.22.1 - 2026-02-07
222
226
 
223
227
  - :bug: Fix test input for isFederatedChange
224
228
 
225
- ### v14.22.0 - 2025-02-07
229
+ ### v14.22.0 - 2026-02-07
226
230
 
227
231
  - :rocket: Change isFederatedChange from `String` to `Boolean` to match API Definition
228
232
 
229
- ### v14.21.0 - 2025-02-04
233
+ ### v14.21.0 - 2026-02-04
230
234
 
231
235
  - :rocket: Include more properties from MOBAC Basemap.xml
232
236
 
233
- ### v14.20.0 - 2025-02-03
237
+ ### v14.20.0 - 2026-02-03
234
238
 
235
239
  - :rocket: Permissive changes to UID Schema
236
240
 
237
- ### v14.19.0 - 2025-01-28
241
+ ### v14.19.0 - 2026-01-28
238
242
 
239
243
  - :rocket: Update MissionChange Types
240
244
 
241
- ### v14.18.4 - 2025-01-02
245
+ ### v14.18.4 - 2026-01-02
242
246
 
243
247
  - :arrow_up: Update Core Deps
244
248
 
245
- ### v14.18.3 - 2025-01-02
249
+ ### v14.18.3 - 2026-01-02
246
250
 
247
251
  - :bug: Fixing GH Actions Trusted Publishing
248
252
 
249
- ### v14.18.2 - 2025-01-02
253
+ ### v14.18.2 - 2026-01-02
250
254
 
251
255
  - :bug: Ensure normalize step never produces center with > 3 coordinates
252
256
 
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "14.52.0",
4
+ "version": "14.52.1",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "author": "Nick Ingalls <nick@ingalls.ca>",
7
7
  "types": "index.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "14.52.0",
4
+ "version": "14.52.1",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "author": "Nick Ingalls <nick@ingalls.ca>",
7
7
  "types": "index.ts",