Skip to content

Commit 54a491e

Browse files
committed
0.5
1 parent e040666 commit 54a491e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGES.md

+10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5] - 2024-09-10
9+
10+
This release is a big shift from purely functional programming to storing state in the graph traversal class instances. Storing state was necessary to support `SameNodeEachVisitGraphTraversal`, which needs to remember when a node has been visited.
11+
12+
The old API still works but is deprecated; please shift from `NewNodeEachVisitGraphTraversal.calculate()` to `NewNodeEachVisitGraphTraversal().traverse()`. Note that the graph traversal input configuration is now wrapped in a Pydantic class `GraphTraversalSettings`.
13+
14+
* [#21 Clean up changes from shift to stateful calculations](https://github.com/brightway-lca/bw_graph_tools/pull/21)
15+
* [#20 Add `SameNodeEachVisitGraphTraversal`](https://github.com/brightway-lca/bw_graph_tools/pull/20)
16+
* [#17 Major documentation upgrade](https://github.com/brightway-lca/bw_graph_tools/pull/17)
17+
818
## [0.4.1] - 2024-05-24
919

1020
* Fix [#16](https://github.com/brightway-lca/bw_graph_tools/issues/16) - Add optional `max_depth` argument to graph traversal

bw_graph_tools/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"to_normalized_adjacency_matrix",
1313
)
1414

15-
__version__ = "0.4.1"
15+
__version__ = "0.5"
1616

1717
from bw_graph_tools.graph_traversal import (
1818
AssumedDiagonalGraphTraversal,

0 commit comments

Comments
 (0)