Skip to content

Commit

Permalink
Updating CHANGES and VERSION.
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Jan 4, 2022
1 parent 07f42c7 commit d9e8440
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
2.2.0 | 2021-12-20 19:32:33 -0800

* Merge branch 'topic/christian/fix-python-unhashables' (Christian Kreibich, Corelight)

* topic/christian/fix-python-unhashables:
Add testcases for new Python SafeSubscriber class
Provide a SafeSubscriber class in Python to accommodate non-hashable types
Add immutable values to Python data type testsuite
Python cleanup: remove unneeded semicolons and trailing whitespace

* Add testcases for new Python SafeSubscriber class (Christian Kreibich, Corelight)

* Provide a SafeSubscriber class in Python to accommodate non-hashable types (Christian Kreibich, Corelight)

Broker's data model supports nested complex types, such as a set with table
members. When rendering such structures into Python, this could trigger
TypeError exceptions due to unhashable types.

The SafeSubscriber class and the corresponding Endpoint.make_safe_subscriber()
method ensure that immutable (hashable) Python types get used and that the
returned values are read-only. For sets the frozenset type achieves this, for
mapping types it's types.MappingProxyType. The API now also supports the latter
two types as inputs.

* Add immutable values to Python data type testsuite (Christian Kreibich, Corelight)

* Python cleanup: remove unneeded semicolons and trailing whitespace (Christian Kreibich, Corelight)

2.2.0-dev.17 | 2021-11-05 13:38:17 -0700

* Request at least Sphinx 2.0 to avoid a dependency problem in RTD (Christian Kreibich, Corelight)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0-dev.17
2.2.0
2 changes: 1 addition & 1 deletion include/broker/version.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using type = unsigned;
constexpr type major = 2;
constexpr type minor = 2;
constexpr type patch = 0;
constexpr auto suffix = "-dev";
constexpr auto suffix = "";

constexpr type protocol = 2;

Expand Down

0 comments on commit d9e8440

Please sign in to comment.