Skip to content

Commit

Permalink
Merge pull request #1 from SecurityRiskAdvisors/v1.4.0
Browse files Browse the repository at this point in the history
v1.4.0
  • Loading branch information
2XXE-SRA authored Jul 26, 2024
2 parents bebff65 + 8753cb2 commit fcbdb4f
Show file tree
Hide file tree
Showing 6 changed files with 935,334 additions and 213,881 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
****
***

# Version 1.4.0 - July 2024

- Added a new linked data format ("Unformatted")

***

# Version 1.3.0 - July 2024

Expand Down
Binary file not shown.
1,149,202 changes: 935,323 additions & 213,879 deletions libmm/data/d3fend.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions libmm/scripts/mmdarkpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def format_linked_data(linked_data: LinkedData):
data = f"<div id='markdown'>{data}</div>"
elif linked_data.data_format in [LinkedDataFormat.YAML, LinkedDataFormat.JSON]:
data = f"<pre><code>{data}</code><pre>"
elif linked_data.data_format == LinkedDataFormat.Unformatted:
pass

return data

Expand Down
1 change: 1 addition & 0 deletions libmm/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ class LinkedDataFormat(CaseInsensitiveEnum):
# reStructuredText = auto()
YAML = auto()
JSON = auto()
Unformatted = auto() # do nothing


class LinkedData(SQLModel, table=True):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "marketmaker"
version = "1.3.0"
version = "1.4.0"
description = "Suite of tools for managing and creating attack plans"
authors = ["2XXE <root@example.com>"]
readme = "README.md"
Expand Down

0 comments on commit fcbdb4f

Please sign in to comment.