Skip to content

Commit 4f7bf2e

Browse files
committed
Bump version to 0.8.2 and document threading support
1 parent ce84452 commit 4f7bf2e

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

‎CHANGELOG‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
1+
0.8.2
2+
=====
3+
4+
- [NEW]: Support free-threaded CPython without enabling the GIL on import.
5+
16
0.8.1
27
=====
38

9+
- [CHANGE]: Native indicator calculations and stream operations release the
10+
GIL on regular CPython too. Independent calls can run concurrently;
11+
operations on a shared stream handle are protected by a per-handle mutex.
12+
Python argument conversion, array allocation and result construction still
13+
require Python thread state. Input arrays must not be modified or resized
14+
during a call. Short calls can incur additional GIL handoff overhead.
15+
16+
- [CHANGE]: Changing process-wide unstable periods, compatibility or candle
17+
settings while a call is active or any stream is alive now raises
18+
``RuntimeError``. Settings cannot change between lookback calculation and
19+
computation. Explicit shutdown also rejects active calls or streams.
20+
21+
- [FIX]: ``tools/threads_talib.py`` now benchmarks a fixed number of calls,
22+
propagates worker failures and reports median throughput across thread
23+
counts, replacing its racy shared counter.
24+
425
- [CHANGE]: ``talib.stream`` is now the real streaming API of TA-Lib C 0.8.1:
526
``stream.SMA(close)`` returns a handle, not a value. ``handle.value`` is the
627
value at the last history bar, ``handle.update(bar)`` costs O(1) and returns

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "TA-Lib"
7-
version = "0.8.1"
7+
version = "0.8.2"
88
description = "Python wrapper for TA-Lib"
99
readme = "README.md"
1010
license-files = ["LICENSE"]

‎talib/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def wrapper(*args, **kwds):
138138

139139
from . import stream
140140

141-
__version__ = '0.8.1'
141+
__version__ = '0.8.2'
142142

143143
# In order to use this python library, talib (i.e. this __file__) will be
144144
# imported at some point, either explicitly or indirectly via talib.func

0 commit comments

Comments
 (0)