Releases: spatialillusions/milsymbol
milsymbol 3.0.4
3.0.4 10 MAR 2026
Added
Stack extension is now part of milsymbol thanks to a sponsorship by Austrian Armed Forces.
Changed
Deprecated
Removed
Fixed
Security
A possible XSS vulnerability in the SVG output has been fixed by parsing all user provided input before we create the SVG string.
milsymbol 3.0.3
3.0.3 29 JUL 2025
Added
Changed
Deprecated
Removed
Fixed
- Updated TypeScript definitions.
- Minor change in canvas output where some symbols were clipped.
- Fixed number in space modifier 2 after clarification from SSMC
Security
milsymbol 3.0.2
3.0.2 11 APR 2025
Added
Changed
- Updated TypeScript definitions.
Deprecated
Removed
Fixed
- Control measure points did not get all labels set correctly, that should be fixed now.
Security
milsymbol 3.0.1
3.0.1 17 MAR 2025
Added
Changed
- Changed baseline property in SVG to resolve Firefox issue
- String widths are now in a separate file
Deprecated
Removed
Fixed
Security
milsymbol 3.0.0
3.0.0 08 FEB 2025
Added
- Support for MIL-STD-2525E and STANAG APP6 E
Changed
-
Icons will now as far as possible be based on MIL-STD-2525E / FM 1-02.2 look and feel
-
Minor changes for readability on multiple icons
-
ColorModes now includes a property "Suspect" for the new colors introduced in 2525E
-
When calling ms.ColorMode you should now include a suspect color if you use 2525E
ms.ColorMode(civilian, friend, hostile, neutral, unknown, suspect) -
uniqueDesignation will now be rendered with a smaller font on most control measure points
Deprecated
Removed
Fixed
Security
milsymbol 2.2.0
- Fixed #280 that broke in the last release.
- Added support for the option fillColor that makes it possible to fill a symbol with any color in a simple way.
milsymbol 2.1.0
2.1.0 05 MAR 2023
Changed
Since MIL-STD-2525D never was released, we reverted a lot of things in the cyberspace appendix.
Also updated to use the NMP packages stanag-app6 and mil-std-2525 instead of the old milstd.
And a bunch of minor fixes.
milsymbol 2.0.0
2.0.0 25 APR 2019
Added
-
Added support for Engagement Bars
-
Use the option engagementBar to set the bar text
-
Use the option engagementType to define "TARGET", "NON-TARGET", or "EXPIRED" as type
-
Added support for the field country as specified in APP-6 D
-
Added support for the field installationComposition as specified in APP-6 D
-
Added possiblity to control more color on symbol level
-
Support for speed leaders
-
Support for text background color using infoBackground and infoBackgroundFrame options
Changed
-
symbol.getProperties()is removed andsymbol.getMetadata()should be used instead. -
ms.getHqStafLength changed to ms.getHqStaffLength, fixed spelling
-
ms.setHqStafLength changed to ms.setHqStaffLength, fixed spelling
-
Thanks to @okwolf we moved from webpack to rollup for development
-
Where there are multiple text fields in the same position, they are now joined
by a / instead of a space -
Changed location of feint/dummy indicator to be more similar to images in
standard documents -
Make it possible to set infoColor to a Color Mode
Deprecated
Removed
-
symbol.getProperties()is removed (usesymbol.getMetadata()instead) -
ms.setAutoSVGhas now been removed.
Fixed
-
Fields commonIdentifier (AF) and equipmentTeardownTime (AE) had swiched
places, now corrected -
The condition bar is now drawn below the headquartersElement field
-
Some natural events in 2525C was framed even if they shouldn't be
Security
- Prevented XSS issue where malicious code could be inserted into text fields of SVG symbols, all < and > are now encoded to prevent this.
milsymbol 1.3.3
1.3.3 14 NOV 2017
Added
Changed
- Updated and moved the unit generator from dev to examples.
Deprecated
Removed
Fixed
- The option infoColor was not set when used, this is now fixed, again.
- The option hqStafLength was not set when used, this is now fixed.
- Fill opacity affected outline opacity as well in canvas output.
Security
milsymbol 1.3.2
1.3.2 13 NOV 2017
Added
Changed
Deprecated
Removed
Fixed
-
Following symbols were drawn as fixed wing instead of rotary wing
- WAR.SOFUNT.AVN.ROT.ATK
- WAR.SOFUNT.AVN.ROT.UTY
- WAR.SOFUNT.AVN.ROT.UTY.LIT
- WAR.SOFUNT.AVN.ROT.UTY.MDM
- WAR.SOFUNT.AVN.ROT.UTY.HVY
-
The option infoColor was not set when used, this is now fixed.