You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/changelog.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,28 @@
5
5
This is a coarse summary of changes in pyzmq versions.
6
6
For a full changelog, consult the [git log](https://github.com/zeromq/pyzmq/commits).
7
7
8
+
## 24
9
+
10
+
pyzmq 24 has two breaking changes (one only on Windows), though they are not likely to affect most users.
11
+
12
+
Breaking changes:
13
+
14
+
- Due to a libzmq bug causing unavoidable crashes for some users,
15
+
Windows wheels no longer bundle libzmq with AF_UNIX support.
16
+
In order to enable AF_UNIX on Windows, pyzmq must be built from source,
17
+
linking an appropriate build of libzmq (e.g. `libzmq-v142`).
18
+
AF_UNIX support will be re-enabled in pyzmq wheels
19
+
when libzmq published fixed releases.
20
+
21
+
- Using a {class}`zmq.Context` as a context manager or deleting a context without closing it now calls {meth}`zmq.Context.destroy` at exit instead of {meth}`zmq.Context.term`.
22
+
This will have little effect on most users,
23
+
but changes what happens when user bugs result in a context being _implicitly_ destroyed while sockets are left open.
24
+
In almost all cases, this will turn what used to be a hang into a warning.
25
+
However, there may be some cases where sockets are actively used in threads,
26
+
which could result in a crash.
27
+
To use sockets across threads, it is critical to properly and explicitly close your contexts and sockets,
0 commit comments