Skip to content

Commit 274717c

Browse files
committed
#452 - Release 2.0.0b11
1 parent fd990cc commit 274717c

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

docs/release-notes.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@
66
}
77
</style>
88

9+
## 2.0.0b11 (2025-05-31)
10+
### Added
11+
* [#302](https://github.com/TheHive-Project/TheHive4py/issues/302) - Add `organisation.add_attachment`, `organisation.delete_attachment`, `organisation.download_attachment` and `organisation.find_attachments` methods by [@Kamforka](https://github.com/Kamforka) in [#432](https://github.com/TheHive-Project/TheHive4py/pull/432)
12+
* [#434](https://github.com/TheHive-Project/TheHive4py/issues/434) - Add `alert.import_into_case` and `alert.get_similar_observables` methods by [@Kamforka](https://github.com/Kamforka) in [#439](https://github.com/TheHive-Project/TheHive4py/pull/439)
13+
* [#435](https://github.com/TheHive-Project/TheHive4py/issues/435) - Add `case.change_owner_organisation`, `case.manage_access`, `case.get_similar_observables`, `case.link_case`, `case.delete_case_link`, `case.link_url`, `case.delete_url_link` and `case.get_link_types` methods by [@Kamforka](https://github.com/Kamforka) in [#450](https://github.com/TheHive-Project/TheHive4py/pull/450)
14+
* [#435](https://github.com/TheHive-Project/TheHive4py/issues/435) - Add `case.OutputCaseObservableMerge`, `case.OutputCaseLink`, `case.OutputImportCase`, `case.InputCaseOwnerOrganisation`, `case.InputCaseAccess`, `case.InputCaseLink` and `case.InputURLLink` types by [@Kamforka](https://github.com/Kamforka) in [#450](https://github.com/TheHive-Project/TheHive4py/pull/450)
15+
* [#438](https://github.com/TheHive-Project/TheHive4py/issues/438) - Introduce `task_log.add_attachment` method to comply with the naming convention in other endpoints by [@Kamforka](https://github.com/Kamforka) in [#451](https://github.com/TheHive-Project/TheHive4py/pull/451)
16+
### Changed
17+
* [#428](https://github.com/TheHive-Project/TheHive4py/issues/428) - Update `observable.OutputObservableRequired` type by [@3lina](https://github.com/3lina) in [#430](https://github.com/TheHive-Project/TheHive4py/pull/430)
18+
* [#302](https://github.com/TheHive-Project/TheHive4py/issues/302) - Update `organisation.InputBulkOrganisationLink` type by [@Kamforka](https://github.com/Kamforka) in [#432](https://github.com/TheHive-Project/TheHive4py/pull/432)
19+
* [#435](https://github.com/TheHive-Project/TheHive4py/issues/435) - Update `case.InputCase`, `case.OutputCase`, `case.InputUpdateCase` and `custom_field.OutputCustomFieldValue` types by [@Kamforka](https://github.com/Kamforka) in [#450](https://github.com/TheHive-Project/TheHive4py/pull/450)
20+
* [#438](https://github.com/TheHive-Project/TheHive4py/issues/438) - Update `task_log.create` method to support creation of logs with attachments by [@Kamforka](https://github.com/Kamforka) in [#451](https://github.com/TheHive-Project/TheHive4py/pull/451)
21+
* [#438](https://github.com/TheHive-Project/TheHive4py/issues/438) - Update `task_log.InputTaskLog` and `task_log.OutputTaskLog` types by [@Kamforka](https://github.com/Kamforka) in [#451](https://github.com/TheHive-Project/TheHive4py/pull/451)
22+
23+
### Deprecated
24+
* [#434](https://github.com/TheHive-Project/TheHive4py/issues/434) - Deprecate `alert.download_attachment` method in favour of `organisation.download_attachment` by [@Kamforka](https://github.com/Kamforka) in [#439](https://github.com/TheHive-Project/TheHive4py/pull/439)
25+
* [#435](https://github.com/TheHive-Project/TheHive4py/issues/435) - Deprecate `case.download_attachment` method in favour of `organisation.download_attachment` by [@Kamforka](https://github.com/Kamforka) in [#450](https://github.com/TheHive-Project/TheHive4py/pull/450)
26+
* [#438](https://github.com/TheHive-Project/TheHive4py/issues/438) - Deprecate `task_log.add_attachments` method in favour of `task_log.add_attachment` (note the missing `s` at the end) to comply with the naming convention in other endpoints by [@Kamforka](https://github.com/Kamforka) in [#451](https://github.com/TheHive-Project/TheHive4py/pull/451)
27+
28+
### Other
29+
* [#302](https://github.com/TheHive-Project/TheHive4py/issues/302) - Add docstrings to the `organisation` endpoints by [@Kamforka](https://github.com/Kamforka) in [#432](https://github.com/TheHive-Project/TheHive4py/pull/432)
30+
* [#425](https://github.com/TheHive-Project/TheHive4py/issues/425) - Use TheHive v5.5.2 in integration tests by [@Kamforka](https://github.com/Kamforka) in [#433](https://github.com/TheHive-Project/TheHive4py/pull/433)
31+
* [#438](https://github.com/TheHive-Project/TheHive4py/issues/438) - Add docstrings to the `task_log` endpoints by [@Kamforka](https://github.com/Kamforka) in [#451](https://github.com/TheHive-Project/TheHive4py/pull/451)
32+
33+
## New Contributors
34+
* [@3lina](https://github.com/3lina) made their first contribution in [#430](https://github.com/TheHive-Project/TheHive4py/pull/430)
35+
36+
**Full Changelog**: [2.0.0b10...2.0.0b11](https://github.com/TheHive-Project/TheHive4py/compare/2.0.0b10...2.0.0b11)
37+
938
## 2.0.0b10 (2025-05-13)
1039
### Removed
1140
* [#401](https://github.com/TheHive-Project/TheHive4py/issues/401) - Remove support for python 3.8 by [@Kamforka](https://github.com/Kamforka) in [#407](https://github.com/TheHive-Project/TheHive4py/pull/407)

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "thehive4py"
77
description = "Python client for TheHive5"
8-
version = "2.0.0b10"
8+
version = "2.0.0b11"
99
requires-python = ">=3.9"
1010
dependencies = ["requests~=2.27"]
1111
readme = "README.md"
@@ -29,7 +29,7 @@ authors = [{ name = "Szabolcs Antal", email = "antalszabolcs01@gmail.com" }]
2929
audit = ["bandit", "pip-audit"]
3030
build = ["build", "twine"]
3131
docs = ["mkdocs", "mkdocs-material", "mkdocstrings-python", "mike"]
32-
lint = ["black", "flake8-pyproject", "mypy", "pre-commit"]
32+
lint = ["black", "flake8-pyproject", "mypy", "pre-commit"]
3333
test = ["pytest", "pytest-cov"]
3434
dev = ["thehive4py[audit, lint, test, build, docs]"]
3535

@@ -43,7 +43,7 @@ thehive4py = ["py.typed"]
4343
omit = ["tests/*", "thehive4py/types/*"]
4444

4545
[tool.flake8]
46-
max-line-length=88
46+
max-line-length = 88
4747
per-file-ignores = [
4848
"thehive4py/__init__.py:F401",
4949
"thehive4py/endpoints/__init__.py:F401",

0 commit comments

Comments
 (0)