Skip to content

Commit 656d2fd

Browse files
committed
chore: bump to version 5.2.0
1 parent fbed81b commit 656d2fd

5 files changed

Lines changed: 46 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## 5.2.0 (2025-10-28)
4+
5+
### Feat
6+
7+
- add table of contents to generated changelog
8+
- add statistics section to changelog
9+
- add analytics and detection strategies to excel outputs
10+
- add attack spec version 3.3.0 objects to stix20/ code
11+
12+
### Fix
13+
14+
- update excel tests based on v18 changes
15+
- use stix v2.0 version of CustomObject, ExternalReference
16+
- remove deprecated x_mitre_data_source_ref field on data components
17+
- update changelog output and pytest golden output to match it
18+
- only build excel once when version < 18
19+
- proper handling of typer.Option in defaults
20+
- handle missing/deprecated data sources, separate data component parsing in v18+
21+
- handle empty lists of analytics/detection strategies
22+
- fix type errors
23+
- modified date in excel for datasources/datacomponents wasn't showing
24+
- add tests for previous 2 commits, fix resulting bugs
25+
- lint errors, add x_mitre_deprecated to stix20/ custom objects
26+
- remove warnings for data component with no parent
27+
- handle new detection strategy STIX bundles that have altered how datasources work
28+
- handle missing x_mitre_data_source_ref in data components
29+
- update logic to work with new detection strategy objects
30+
31+
### Refactor
32+
33+
- remove unnecessary references to x_mitre_data_sources
34+
335
## 5.1.0 (2025-08-28)
436

537
### Feat

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# -- Project information -----------------------------------------------------
1414
project = "mitreattack-python"
1515
copyright = "2025, The MITRE Corporation"
16-
version = "5.1.0"
17-
release = "5.1.0"
16+
version = "5.2.0"
17+
release = "5.2.0"
1818

1919
# -- General configuration ---------------------------------------------------
2020
extensions = [

mitreattack/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
# from .collections import *
33
# from .navlayers import *
44

5+
from PIL import __version__
56
from . import attackToExcel, collections, navlayers
67

8+
__version__ = "5.2.0"
9+
710
__all__ = [
811
"attackToExcel",
912
"collections",

mitreattack/release_info.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file contains SHA256 hashes for officially released ATT&CK versions
99
# download_string = f"https://raw.githubusercontent.com/mitre/cti/ATT%26CK-v{release}/{domain}-attack/{domain}-attack.json"
1010

11-
LATEST_VERSION = "17.1"
11+
LATEST_VERSION = "18.0"
1212

1313
STIX20 = {
1414
"enterprise": {
@@ -46,6 +46,7 @@
4646
"16.1": "2ac69e84c4366af274cdff2c406755c781c1865e1e847ae16207d621a2fce5de",
4747
"17.0": "9529a98db3358a4132304590d914a28d80f4a03aba5656685e3d0ed43123b888",
4848
"17.1": "9537a22166367a5b3c1434f5b17b27361cb9c88b34926e655344768fdbda3e85",
49+
"18.0": "6ecc9655954a4a0eeada8ba6f18f1d053fbcacce0e5411f677729d1dafce5673",
4950
},
5051
"mobile": {
5152
"3.0": "1385d94348054c1c1f7cdc652f0719db353b60c923949b10cbf8a2e815a86eb3",
@@ -85,6 +86,7 @@
8586
"16.1": "4a8b58e2bce7356ba29328a4eafc3e19a19a0bc2c726c8d9efe8dbcf2781931a",
8687
"17.0": "28acb21b650309688c3a5fce6da3185a7ba934582853ec13fcc3c8f3753b1188",
8788
"17.1": "736078773f05ee943c0aa71bf71b935b04315c134809e8b678bd45c89cb1ab49",
89+
"18.0": "18ab338f8663200bdc62b982d5821ec255d9b420947b68e6d024000a44620404",
8890
},
8991
"ics": {
9092
"8.0": "2e9e9d0d9f0e5d14f64cf2788f46a1a4403bc88ab6ddd419cfcdfe617b0c920d",
@@ -109,6 +111,7 @@
109111
"16.1": "353ef4bc11f0047f9b06ce96253e81c33d265e6887ac8618b0625c648d58f470",
110112
"17.0": "79695ab42a22e835aa85c610fa2d0e0df97ef80238b36c5491b5844b81749ab1",
111113
"17.1": "f0bd44fa2e167f2e9e94700f9081571dfedc49bebd856ea0d7ec24cf896d298b",
114+
"18.0": "e19597196d96ef07e7d1b0dc3a1e67f792a27f61d615a3242c694169fe81011c",
112115
},
113116
"pre": {
114117
"3.0": "bc59c1b1398a133cf0adb98e4e28396fdb6a5a2e2353cecb1783c425f066fc94",
@@ -164,6 +167,7 @@
164167
"16.1": "8423d8dac3fc2feb825bb07d26e5f5d905e08a88f6fe4652cc20834cbe982813",
165168
"17.0": "c8966a9a55f1723c0082910f4522af448514343f84ffb9a3e757bdd59642d057",
166169
"17.1": "0d1c347a4d584cf7e11ef46556c33b7689341443bf86299188d46c307274323b",
170+
"18.0": "ff94838b09edfe7d59eec1cd7af0a1e229c4bc0ae0bdfa98ad170aeec9c3e272",
167171
},
168172
"mobile": {
169173
"1.0": "7da1903596bb69ef75a3c2a6c79e80328657bfed9226b2ed400ca18c88e0c1ea",
@@ -202,6 +206,7 @@
202206
"16.1": "f84d5bb908c918aadf6cfbdfe0e801fce354e943d999c684b01eefa81da95941",
203207
"17.0": "932287bfd5e708f836fa1115d2b776934ad490d5fe94b3b4e25a140f0f636fd2",
204208
"17.1": "33968697b94a5ff5568016a28bbcc93f7869dc2f2b2653ead833758867ab5bc9",
209+
"18.0": "f5f7f21c8daa59cc83f94432f0d77743be14d717f61f0464465b663508ef6d4f",
205210
},
206211
"ics": {
207212
"8.0": "f3b53ff8d7f0f21f3e48c651edf68353aeb3e07727c32c3e47ef882e3bca10ab",
@@ -226,6 +231,7 @@
226231
"16.1": "86204d062732edf593d3736fef0b302832b5a8c601f21ff446c76f23779ea2b3",
227232
"17.0": "e16dbcb5de0d7a79d9550d690e850841f266e8cdabc0f3c8da8331232c50612b",
228233
"17.1": "cb207f963ca270994d9dabefe52237d46cf25056f154057f4b961f1c0803a8f3",
234+
"18.0": "e0c64def90415d548131009ba2ba4d8a4a725ca2293861a4cc2f9e8712625531",
229235
},
230236
}
231237

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "mitreattack-python"
33
description = "MITRE ATT&CK python library"
4-
version = "5.1.0"
4+
version = "5.2.0"
55
authors = [{ name = "MITRE ATT&CK", email = "attack@mitre.org" }]
66
license = { text = "Apache-2.0" }
77
readme = "README.md"
@@ -67,6 +67,7 @@ legacy_tag_formats = ["v$version"]
6767
version_files = [
6868
"docs/conf.py:^version = ['\"](.*)['\"]",
6969
"docs/conf.py:^release = ['\"](.*)['\"]",
70+
"mitreattack/__init__.py:^__version__ = ['\"](.*)['\"]",
7071
]
7172

7273
[tool.poetry.group.dev]

0 commit comments

Comments
 (0)