Skip to content

Commit

Permalink
release v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Mar 16, 2024
1 parent ccb9981 commit f1563f7
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Optional, only used in [com.atproto.repo](https://arroba.readthedocs.io/en/stabl

## Changelog

### 0.5 - unreleased
### 0.5 - 2024-03-16

* Bug fix: base32-encode TIDs in record keys, `at://` URIs, commit `rev`s, etc. Before, we were using the integer UNIX timestamp directly, which happened to be the same 13 character length. Oops.
* Switch from `BGS_HOST` environment variable to `RELAY_HOST`. `BGS_HOST` is still supported for backward compatibility.
Expand Down
2 changes: 1 addition & 1 deletion arroba/datastore_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class CommitOp(ndb.Model):


class AtpRepo(ndb.Model):
"""An ATProto repo.
r"""An ATProto repo.
Key name is DID. Only stores the repo's metadata. Blocks are stored in
:class:`AtpBlock`\s.
Expand Down
2 changes: 1 addition & 1 deletion arroba/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


def writes_to_commit_ops(writes):
"""Converts :class:`Write`\s to :class:`CommitOp`\s.
r"""Converts :class:`Write`\s to :class:`CommitOp`\s.
Args:
write (iterable): of :class:`Write`
Expand Down
2 changes: 1 addition & 1 deletion arroba/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Action(Enum):


class Block:
"""An ATProto block: a record, :class:`MST` entry, or commit.
r"""An ATProto block: a record, :class:`MST` entry, or commit.
Can start from either encoded bytes or decoded object, with or without
:class:`CID`. Decodes, encodes, and generates :class:`CID` lazily, on
Expand Down
2 changes: 1 addition & 1 deletion arroba/xrpc_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def get_record(input, did=None, collection=None, rkey=None, commit=None):

@server.server.method('com.atproto.sync.getBlob')
def get_blob(input, did=None, cid=None):
"""Handler for ``com.atproto.sync.getBlob`` XRPC method.
r"""Handler for ``com.atproto.sync.getBlob`` XRPC method.
Right now only supports redirecting to "remote" blobs based on stored
:class:`AtpRemoteBlob`\s.
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@
# built documents.
#
# The short X.Y version.
version = '0.4'
version = '0.5'
# The full version, including alpha/beta/rc tags.
release = '0.4'
release = '0.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
12 changes: 8 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,14 @@ XRPC handlers:
Changelog
---------

0.5 - unreleased
0.5 - 2024-03-16
~~~~~~~~~~~~~~~~

- Bug fix: base32-encode TIDs in record keys, ``at://`` URIs, commit
``rev``\ s, etc. Before, we were using the integer UNIX timestamp
directly, which happened to be the same 13 character length. Oops.
- Switch from ``BGS_HOST`` environment variable to ``RELAY_HOST``.
``BGS_HOST`` is still supported for backward compatibility.
- ``datastore_storage``:

- Bug fix for ``DatastoreStorage.last_seq``, handle new NSID.
Expand Down Expand Up @@ -186,6 +188,8 @@ Changelog
- Implement ``getBlob``, right now only based on “remote” blobs
stored in ``AtpRemoteBlob``\ s in datastore storage.

.. _section-1:

0.4 - 2023-09-19
~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -225,7 +229,7 @@ Changelog
- Drop bundled ``app.bsky``/``com.atproto`` lexicons, use
`lexrpc <https://lexrpc.readthedocs.io/>`__\ ’s instead.

.. _section-1:
.. _section-2:

0.3 - 2023-08-29
~~~~~~~~~~~~~~~~
Expand All @@ -243,7 +247,7 @@ minimal demo code needed to wrap arroba in a fully functional PDS.

- …and much more.

.. _section-2:
.. _section-3:

0.2 - 2023-05-18
~~~~~~~~~~~~~~~~
Expand All @@ -253,7 +257,7 @@ storage. This completes the first pass at all PDS data structures. Next
release will include initial implementations of the
``com.atproto.sync.*`` XRPC methods.

.. _section-3:
.. _section-4:

0.1 - 2023-04-30
~~~~~~~~~~~~~~~~
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ where = ['.']

[project]
name = 'arroba'
version = '0.4'
version = '0.5'
authors = [
{ name='Ryan Barrett', email='[email protected]' },
]
Expand All @@ -18,13 +18,13 @@ readme = 'README.md'
requires-python = '>=3.9'
keywords = ['arroba', 'AT Protocol', 'ATP', 'Bluesky']
dependencies = [
'carbox',
'carbox>=0.3',
'cryptography',
'dag-cbor',
'dag-json',
'dnspython>=2.0.0',
'lexrpc>=0.3',
'multiformats>=0.2.0',
'lexrpc>=0.6',
'multiformats>=0.3.1',
'pyjwt>=2.0.0',
'simple-websocket',
]
Expand Down

0 comments on commit f1563f7

Please sign in to comment.