Skip to content

Commit 94a38ac

Browse files
committed
bump: version 0.21.0 -> 0.22.0
1 parent a9d1989 commit 94a38ac

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-3
lines changed

CHANGELOG.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,40 @@
11
# Changelog
22

3-
> [!NOTE]
4-
> Changelog started with version v0.10.0.
3+
## v0.22.0 (2025-05-13)
4+
5+
### Breaking changes
6+
7+
- Renamed `FiniteStateMachine` to `MealyMachine` and its corresponding constructor parameter `next_states` to `transition`.
8+
9+
- Removed `ConvolutionalStreamEncoder` and add encoding methods to `ConvolutionalCode`. Instead of
10+
11+
```
12+
code = komm.ConvolutionalCode(...)
13+
encoder = komm.ConvolutionalStreamEncoder(code, initial_state)
14+
output = encoder(input)
15+
final_state = encoder.state
16+
```
17+
18+
use
19+
20+
```
21+
code = komm.ConvolutionalCode(...)
22+
output, final_state = code.encode_with_state(input, initial_state)
23+
```
24+
25+
or, to encode starting from the zero state, use
26+
27+
```
28+
code = komm.ConvolutionalCode(...)
29+
output = code.encode(input)
30+
```
31+
32+
Note that in the latter case the final state is not returned.
33+
34+
### Added
35+
36+
- Implemented [Moore machine](https://komm.dev/ref/MooreMachine).
37+
- Implemented `free_distance` method for convolutional codes.
538

639
## v0.21.0 (2025-05-04)
740

@@ -181,3 +214,6 @@
181214
- Removed `RationalPolynomial` and `RationalPolynomialFraction` classes.
182215
- Refactored _algebra_ and _pulse_ modules. See documentation for new usage.
183216
- Adjusted string literals in `BlockDecoder` to kebab-case. For example, `method="exhaustive_search_hard"` should become `method="exhaustive-search-hard"`
217+
218+
> [!NOTE]
219+
> Changelog started with version v0.10.0.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "komm"
3-
version = "0.21.0"
3+
version = "0.22.0"
44
description = "An open-source library for Python 3 providing tools for analysis and simulation of analog and digital communication systems."
55
readme = "README.md"
66
authors = [{ name = "Roberto W. Nobrega", email = "rwnobrega@gmail.com" }]

0 commit comments

Comments
 (0)