Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

<!-- towncrier release notes start -->

## [0.2.0](https://github.com/vtz/opensomeip-python/releases/tag/v0.2.0) - 2026-10-06

### Features

- Update opensomeip C++ submodule to **v0.2.0** and adapt the pybind11 bindings:
- E2E: `E2EConfig.offset` is now `offset_bits`, and `DEFAULT_OFFSET_BITS` is exposed.
- Message: `try_deserialize` returns the native `Result`.
- SD: `SdClient.get_eventgroup_subscription_state`.
- Transport: message-rejection callback, UDP `enable_tp` and `last_multicast_error`,
`receive_message_with_sender`, and TCP connection helpers
(`connection_count`, `max_connections`, `is_peer_connected`, `disconnect_peer`).
- RPC: `MethodSemantics`, `RpcResult.WRONG_INTERFACE_VERSION`, interface version and
bind endpoint on `RpcClient` / `RpcServer`, `set_remote_endpoint`,
`get_local_endpoint`, and `send_request_no_return`.
- Events: `EventPublisher.handle_subscription` accepts an optional TTL.
- TP: sender and receiver statistics, `TpReassemblyKey`, and the additional
segment-header fields from v0.2.0.
(#28)

### Breaking Changes

- `E2EConfig.offset` was renamed to `offset_bits`.
- `TcpTransport.accept_connection` is no longer bound; use the connection helpers above.
- Native RPC no longer sends application traffic to `127.0.0.1:30490` when no remote
is configured. `RpcClient` applies `Transport.remote_endpoint` when one is set.
- `TpManager.get_statistics()` returns `{"sender", "receiver"}` when the native
extension is loaded. Use `get_sender_statistics()` and `get_receiver_statistics()`
for one side.

## [0.1.5](https://github.com/vtz/opensomeip-python/releases/tag/v0.1.5) - 2026-05-24

### Features
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
project = "opensomeip-python"
copyright = "2025-2026, opensomeip-python contributors" # noqa: A001
author = "opensomeip-python contributors"
release = "0.1.1"
release = "0.2.0"

extensions = [
"sphinx.ext.autodoc",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "opensomeip"
version = "0.1.5"
version = "0.2.0"
description = "Python bindings for the opensomeip C++ SOME/IP stack"
readme = "README.md"
license = "Apache-2.0"
Expand Down Expand Up @@ -58,7 +58,7 @@ wheel.packages = ["src/opensomeip"]
cmake.build-type = "Release"

[tool.scikit-build.cmake.define]
OPENSOMEIP_PYTHON_VERSION = "0.1.5"
OPENSOMEIP_PYTHON_VERSION = "0.2.0"

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down
8 changes: 7 additions & 1 deletion src/_opensomeip/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ void init_tp(py::module_& m);
void init_e2e(py::module_& m);
void init_exceptions(py::module_& m);

/**
* @brief Initialize the native opensomeip Python extension.
*
* Registers the exception, type, message, serialization, transport, service
* discovery, RPC, event, transport-protocol, and E2E bindings.
*/
PYBIND11_MODULE(_opensomeip, m) {
m.doc() = "Python bindings for the opensomeip C++ SOME/IP stack";
m.attr("__version__") = "0.1.1";
m.attr("__version__") = "0.2.0";

init_exceptions(m);
init_types(m);
Expand Down
4 changes: 3 additions & 1 deletion src/opensomeip/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__version__ = "0.1.4"
"""opensomeip package version."""

__version__ = "0.2.0"
Loading