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: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,25 +146,26 @@ Here's how to package, test, and ship a new release.
146
146
```
147
147
1. Run the unit tests.
148
148
```sh
149
-
sourcelocal/bin/activate.csh
149
+
source.venv/bin/activate.csh
150
150
python -m unittest discover
151
151
```
152
152
1. Bump the version number in`pyproject.toml` and `docs/conf.py`. `git grep` the old version number to make sure it only appears in the changelog. Change the current changelog entry in`README.md`for this new version from _unreleased_ to the current date.
153
153
1. Build the docs. If you added any new modules, add them to the appropriate file(s) in`docs/source/`. Then run `./docs/build.sh`. Check that the generated HTML looks fine by opening `docs/_build/html/index.html` and looking around.
154
-
1. `git commit -am 'release vX.Y'`
154
+
1. ```sh
155
+
setenv ver X.Y
156
+
git commit -am "release v$ver"
157
+
```
155
158
1. Upload to [test.pypi.org](https://test.pypi.org/) for testing.
``sh cd /tmp python -m venv local source local/bin/activate.csh pip uninstall lexrpc # make sure we force pip to use the uploaded version pip install --upgrade pip pip install -i https://test.pypi.org/simple --extra-index-url https://pypi.org/simple lexrpc==$ver``
224
+
``sh cd /tmp python -m venv .venv source .venv/bin/activate.csh pip uninstall lexrpc # make sure we force pip to use the uploaded version pip install -i https://test.pypi.org/simple --extra-index-url https://pypi.org/simple lexrpc==$ver``
220
225
221
226
8. Smoke test that the code trivially loads and runs.
222
227
``sh python # run test code below`` Test code to paste into the
@@ -263,6 +268,45 @@ Here’s how to package, test, and ship a new release.
263
268
Changelog
264
269
---------
265
270
271
+
2.2 - 2026-06-29
272
+
~~~~~~~~~~~~~~~~
273
+
274
+
- Schema validation:
275
+
276
+
- Fix crash (``KeyError``) when validating a ``blob`` value inside an
277
+
open union; now raises ``ValidationError`` for invalid blob refs.
278
+
279
+
- ``client``:
280
+
281
+
- For websocket event streams, close the websocket connection when a
282
+
non-``ConnectionClosed`` exception is raised.
283
+
- Use the lexicon method’s ``input.encoding`` as the ``Content-Type``
284
+
request header.
285
+
- ``Client.__init__``: new ``requests_session`` kwarg, an optional
286
+
:class:``requests.Session`` to use for HTTP requests.
287
+
288
+
- ``server``:
289
+
290
+
- ``Server.call``: unknown parameters not in the lexicon are now
291
+
silently ignored instead of raising ``ValidationError``.
0 commit comments