Repository navigation
4.0.4
This release fixes the links on the PyPI page. The 4.0.3 page linked to the
project's old website domain, which now belongs to someone else and serves a
gambling site. Issue #229 was closed when the link changed in this repository,
but PyPI kept showing the old link until a new release. With this release it is
really fixed (#229, #230). The links now point to
https://bensynapse.github.io/jsonrpcclient/ and
https://github.com/bensynapse/jsonrpcclient.
request_hex,request_randomandrequest_uuidare now safe to call from
several threads at once. Before, they could raiseValueError: generator already executing, and free-threaded Python could crash. The iterators from
jsonrpcclient.id_generatorsare thread-safe too.- Type hints:
paramsaccepts a list. The*_jsonfunctions returnstr, and
parsehas overloads, so a type checker knows a dict gives one response and
a list gives an iterator.parse_jsonused to be typed asAny. Code that
uses its result without anisinstancecheck now needs one to pass mypy. - Added
__version__. - Needs Python 3.8 or later (was 3.6). Tested on 3.8 to 3.14 and on
free-threaded 3.14. Older Pythons will keep installing 4.0.3. - The documentation moved to https://bensynapse.github.io/jsonrpcclient/.
- Releases now include both an sdist and a wheel. They are published from
GitHub Actions with build attestations.