Skip to content

Commit 47e1c7e

Browse files
committed
Release 4.0.0
Bump vsn to 4.0.0 and date the CHANGELOG entry. Major release: callback results returning an Erlang string now arrive in Python as a list of integers, matching call arguments, and nothing raises on upgrade.
1 parent 88f594c commit 47e1c7e

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Changelog
22

3-
## Unreleased
3+
## 4.0.0 (2026-08-15)
4+
5+
### Breaking Changes
6+
7+
- **Callback results returning an Erlang string** - a string returned from an
8+
Erlang callback (`"abc"`, a list of integers) now reaches Python as
9+
`[97, 98, 99]` rather than `'abc'`, the same conversion call arguments have
10+
always used. Return a binary (`<<"abc">>`) for a Python `str`. Nothing raises
11+
on upgrade, so check what your registered callbacks return before deploying.
12+
See the encoding change under Changed below.
413

514
### Added
615

‎src/erlang_python.app.src‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application, erlang_python, [
22
{description, "Execute Python applications from Erlang using dirty NIFs"},
3-
{vsn, "3.1.1"},
3+
{vsn, "4.0.0"},
44
{registered, []},
55
{mod, {erlang_python_app, []}},
66
{applications, [

0 commit comments

Comments
 (0)