diff --git a/CHANGELOG b/CHANGELOG index 6fb4c06..af9ce86 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,13 +1,21 @@ CHANGELOG ========= +3.0.1 2021-09-24 + +* #513 Fixes check for reference properties to apply to all custom objects, not + just custom observables (@maybe-sybr) +* #526 Fixes TAXIICollection queries to propagate HTTPErrors, not ignore them +* #528 Fixes bug where all TAXII filters were converted to exact matches + + 3.0.0 2021-07-13 -This version aligns with the STIX 2.1 CS 03 (WD12) document, also know as the "OASIS Standard". +This version aligns with the STIX 2.1 CS 03 (WD12) document, also known as the "OASIS Standard". Main Changes #509 Add Sighting.summary default value -#503 Revamp how STIX content customization is detected and enforced enhancement +#503 Revamp how STIX content customization is detected and enforced enhancement #500 fp write for STIX Objects #492 Drop 'six' dependency (backwards breaking) #490 Change canonicalization to normalization diff --git a/README.rst b/README.rst index 6bc68d4..7048577 100644 --- a/README.rst +++ b/README.rst @@ -68,8 +68,8 @@ For more in-depth documentation, please see `https://stix2.readthedocs.io/ `__ -published on 25 January 2021 currently at the Committee Specification (CS) 02 level. +This version of cti-python-stix2 brings support to `STIX Version 2.1 `__ +published on 10 June 2021 currently at the Committee Specification (CS) 03 level, also know as the "OASIS Standard". The stix2 Python library supports multiple versions of the STIX 2 Technical Specification. The library will be updated to support new Committee diff --git a/setup.cfg b/setup.cfg index 94daaca..fdc0c86 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.0.0 +current_version = 3.0.1 commit = True tag = True diff --git a/setup.py b/setup.py index f382412..f383ebd 100644 --- a/setup.py +++ b/setup.py @@ -31,8 +31,8 @@ setup( url='https://oasis-open.github.io/cti-documentation/', author='OASIS Cyber Threat Intelligence Technical Committee', author_email='cti-users@lists.oasis-open.org', - maintainer='Chris Lenk, Emmanuelle Vargas-Gonzalez', - maintainer_email='clenk@mitre.org, emmanuelle@mitre.org', + maintainer='Chris Lenk', + maintainer_email='clenk@mitre.org', license='BSD', classifiers=[ 'Development Status :: 4 - Beta', diff --git a/stix2/datastore/taxii.py b/stix2/datastore/taxii.py index 04b3c83..f82f017 100644 --- a/stix2/datastore/taxii.py +++ b/stix2/datastore/taxii.py @@ -343,8 +343,8 @@ class TAXIICollectionSource(DataSource): For instance - "?match[type]=indicator,sighting" can be in a filter in any of these formats: - Filter("type", "", "indicator,sighting") - Filter("type", "", ["indicator", "sighting"]) + Filter("type", "=", "indicator,sighting") + Filter("type", "=", ["indicator", "sighting"]) Args: query (list): list of filters to extract which ones are TAXII @@ -357,7 +357,7 @@ class TAXIICollectionSource(DataSource): taxii_filters = [] for filter_ in query: - if filter_.property in TAXII_FILTERS: + if filter_.property in TAXII_FILTERS and filter_.op == "=": taxii_filters.append(filter_) return taxii_filters diff --git a/stix2/version.py b/stix2/version.py index 743140f..5679339 100644 --- a/stix2/version.py +++ b/stix2/version.py @@ -1,3 +1,3 @@ -__version__ = "3.0.0" +__version__ = "3.0.1" DEFAULT_VERSION = '2.1' # Default version will always be the latest STIX 2.X version