Skip to content

Commit 6a9b945

Browse files
committed
release v1.1
1 parent deed58d commit 6a9b945

3 files changed

Lines changed: 27 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Here's how to package, test, and ship a new release.
223223
224224
## Changelog
225225
226-
### 1.1 - unreleased
226+
### 1.1 - 2025-03-13
227227
228228
* Schema validation:
229229
* Validate subscription (event stream websocket) parameters and output message payloads in both `Client` and `Server`.

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,17 @@
8686

8787
# General information about the project.
8888
project = 'lexrpc'
89-
copyright = '2022-2023, Ryan Barrett'
89+
copyright = '2022-2025, Ryan Barrett'
9090
author = 'Ryan Barrett'
9191

9292
# The version info for the project you're documenting, acts as replacement for
9393
# |version| and |release|, also used in various other places throughout the
9494
# built documents.
9595
#
9696
# The short X.Y version.
97-
version = '1.0'
97+
version = '1.1'
9898
# The full version, including alpha/beta/rc tags.
99-
release = '1.0'
99+
release = '1.1'
100100

101101
# The language for content autogenerated by Sphinx. Refer to documentation
102102
# for a list of supported languages.

docs/index.rst

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ You can also register a method handler with
124124

125125
server.register('com.example.my-query', my_query_handler)
126126

127+
If a method has non-JSON (eg binary) input, the positional ``input`` arg
128+
will be ``bytes``. Similarly, for binary output, return ``bytes`` from
129+
your handler.
130+
127131
As with ``Client``, you can use custom lexicons by passing them to the
128132
``Server`` constructor:
129133

@@ -305,21 +309,29 @@ Here’s how to package, test, and ship a new release.
305309
Changelog
306310
---------
307311

308-
1.1 - unreleased
312+
1.1 - 2025-03-13
309313
~~~~~~~~~~~~~~~~
310314

311315
- Schema validation:
312316

313317
- Validate subscription (event stream websocket) parameters and output
314318
message payloads in both ``Client`` and ``Server``.
315-
- ``Server``: raise ``ValidationError`` on unknown parameters.
319+
- When ``truncate`` is set, recurse into refs and arrays to truncate
320+
their string properties as necessary too.
321+
- Allow digits in NSID name (last segment)
322+
(`background <https://github.com/bluesky-social/atproto-website/pull/402>`__).
323+
324+
- ``Server``: raise ``ValidationError`` on unknown parameters.
325+
316326
- [STRIKEOUT:Don’t allow ``#main`` in ``$type``
317327
(]\ `bluesky-social/atproto#1968 <https://github.com/bluesky-social/atproto/discussions/1968>`__\ [STRIKEOUT:).]
318328
- Bug fix for open unions, allow types that aren’t in ``refs``.
319329

320330
- ``Client``:
321331

322332
- Include headers in websocket connections for event streams.
333+
- Add new ``auth`` constructor kwarg to support any ``requests`` auth
334+
instance, eg ``requests_oauth2client.DPoPToken``.
323335

324336
- ``server``:
325337

@@ -331,6 +343,8 @@ Changelog
331343
``ValidationError``, ie ``err.args[1]``, as a dict of additional
332344
HTTP headers to return with the HTTP 400 response.
333345

346+
.. _section-1:
347+
334348
1.0 - 2024-10-14
335349
~~~~~~~~~~~~~~~~
336350

@@ -353,7 +367,7 @@ Changelog
353367

354368
- Add ``status`` param to ``Redirect``.
355369

356-
.. _section-1:
370+
.. _section-2:
357371

358372
0.7 - 2024-06-24
359373
~~~~~~~~~~~~~~~~
@@ -384,7 +398,7 @@ Changelog
384398
- Update bundled ``app.bsky`` and ``com.atproto`` lexicons, as of
385399
`bluesky-social/atproto@15cc6ff37c326d5c186385037c4bfe8b60ea41b1 <https://github.com/bluesky-social/atproto/commit/15cc6ff37c326d5c186385037c4bfe8b60ea41b1>`__.
386400

387-
.. _section-2:
401+
.. _section-3:
388402

389403
0.6 - 2024-03-16
390404
~~~~~~~~~~~~~~~~
@@ -395,7 +409,7 @@ Changelog
395409
- Update bundled ``app.bsky`` and ``com.atproto`` lexicons, as of
396410
`bluesky-social/atproto@f45eef3 <https://github.com/bluesky-social/atproto/commit/f45eef3414f8827ba3a6958a7040c7e38bfd6282>`__.
397411

398-
.. _section-3:
412+
.. _section-4:
399413

400414
0.5 - 2023-12-10
401415
~~~~~~~~~~~~~~~~
@@ -410,7 +424,7 @@ Changelog
410424
- Bug fix: don’t infinite loop if ``refreshSession`` fails.
411425
- Other minor authentication bug fixes.
412426

413-
.. _section-4:
427+
.. _section-5:
414428

415429
0.4 - 2023-10-28
416430
~~~~~~~~~~~~~~~~
@@ -450,7 +464,7 @@ Changelog
450464
- Add the ``error`` field to the JSON response bodies for most error
451465
responses.
452466

453-
.. _section-5:
467+
.. _section-6:
454468

455469
0.3 - 2023-08-29
456470
~~~~~~~~~~~~~~~~
@@ -462,7 +476,7 @@ Changelog
462476
- Add new ``Server.register`` method for manually registering handlers.
463477
- Bug fix for server ``@method`` decorator.
464478

465-
.. _section-6:
479+
.. _section-7:
466480

467481
0.2 - 2023-03-13
468482
~~~~~~~~~~~~~~~~
@@ -479,7 +493,7 @@ put more effort into matching and fully implementing them. Stay tuned!
479493
format <https://github.com/snarfed/atproto/commit/63b9873bb1699b6bce54e7a8d3db2fcbd2cfc5ab>`__.
480494
Original format is no longer supported.
481495

482-
.. _section-7:
496+
.. _section-8:
483497

484498
0.1 - 2022-12-13
485499
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)