Releases: MarshalX/atproto
v0.0.48
v0.0.47
💬 Just shipped: Bluesky Direct Messages! https://atproto.blue/en/latest/dm.html
Breaking changes
Many of these changes were backward compatible for a few months with proper warnings.
- Drop support for Python 3.7 by @MarshalX in #321
- Delete deprecated record models called
Main
instead ofRecord
by @MarshalX in #323 - Delete deprecated
SessionString
class by @MarshalX in #324 - Delete deprecated
subject
argument of.like()
and.repost()
methods by @MarshalX in #325
What's Changed
- Add support for Direct Messages (Chats) by @MarshalX in #331
- Add method to send post with multiple attached photos by @ryoryo25 in #313
- Register chat (DM) namespace by @MarshalX in #330
- Update lexicons by @MarshalX in #312, #314, #317, #322, #327, #328
- Fix HTTP error handling by @MarshalX in #329
- Bump requests from 2.31.0 to 2.32.2 by @dependabot in #332
New Contributors
Full Changelog: v0.0.46...v0.0.47
v0.0.46
v0.0.45
What's Changed
Content labeling (moderation) is here! This update brings labeling data-stream support as well ozone.tools API!
- Add labels firehose data stream by @MarshalX in #304
- Register ozone.tools namespace as root namespace by @MarshalX in #303
- Generate unique namespace classes to avoid collisions between lexicons by @MarshalX in #299
- Update lexicons by @MarshalX in #297, #298, #302
- Fix CIMON by @MarshalX in #300
- Fix lexicon updater by @MarshalX in #301
Full Changelog: v0.0.44...v0.0.45
v0.0.44
What's Changed
- Add identity firehose message by @MarshalX in #294
- Update lexicons fetched from d643b5b committed 2024-02-23T22:59:47Z by @MarshalX in #293
- Update lexicons fetched from c7e6ef0 committed 2024-03-05T19:27:25Z by @MarshalX in #295
- Fix typo in README by @yallxe in #291
New Contributors
Full Changelog: v0.0.43...v0.0.44
v0.0.43
What's Changed
🎉 New lexicon introduces Account Migration between PDS. More info: https://github.com/bluesky-social/pds/blob/main/ACCOUNT_MIGRATION.md
- Fix bytes response by @MarshalX in #287
- Update lexicons fetched from 514aab9 committed 2024-02-22T15:43:58Z by @MarshalX in #288
- Bump cryptography from 42.0.2 to 42.0.4 by @dependabot in #289
Full Changelog: v0.0.42...v0.0.43
v0.0.42
What's Changed
- Add
send_ogp_link_card.py
(Open Graph protocol) example by @OhkuboSGMS in #273 - Update lexicons fetched from 8c94979 committed 2024-02-16T02:12:39Z by @MarshalX in #279
- Bump cryptography from 41.0.7 to 42.0.2 by @dependabot in #280
- Fix pyright for pydantic aliases via
alias_generator
by @MarshalX in #277 - Fix
filter
argument ofget_author_feed
method in #278 - Fix pyright errors part 1 by @MarshalX in #278
New Contributors
- @OhkuboSGMS made their first contribution in #273
Full Changelog: v0.0.41...v0.0.42
v0.0.41
What's Changed
🔥 New documentation page about auth and session reusing!
- Add on session change callback by @MarshalX in #269
- Update lexicons fetched from e4ec7af committed 2024-02-06T00:10:44Z by @MarshalX in #271
Full Changelog: v0.0.40...v0.0.41
v0.0.40
What's Changed
Syntax sugar for records is here! Check out how simple work with basic operations is:
from atproto import AtUri, Client, models
client = Client()
client.login('my-username', 'my-password')
# get records list
posts = client.app.bsky.feed.post.list(client.me.did, limit=10)
for uri, post in posts.records.items():
print(uri, post.text)
# get specific record
post = client.app.bsky.feed.post.get(client.me.did, AtUri.from_str(uri).rkey)
print(post.value.text)
# create new record
post_record = models.AppBskyFeedPost.Record(text='test record namespaces', created_at=client.get_current_time_iso())
new_post = client.app.bsky.feed.post.create(client.me.did, post_record)
print(new_post)
# delete record
deleted_post = client.app.bsky.feed.post.delete(client.me.did, AtUri.from_str(new_post.uri).rkey)
print(deleted_post)
- Add record syntax sugar with get, list, create, and delete methods by @MarshalX in #263
- Rename record models from "Main" to "Record" by @MarshalX in #264
- Integrate syntax sugar for repo operations upon records by @MarshalX in #266
Full Changelog: v0.0.39...v0.0.40
v0.0.39
What's Changed
.like()
and .repost()
methods are deprecated. Use URI and CID arguments instead.
- Use .like() and .repost() methods without strong reference by @MarshalX in #255
- Allow Service URl as base URL by @MarshalX in #256
- Improve URL detection in auto_hyperlinks example by @editor-syntax in #250
- Simplify send_embed example by @MarshalX in #258
- Update lexicons fetched from f023494 committed 2024-01-30T22:19:36Z by @MarshalX in #259
- Delete release workflow by @MarshalX in #252
- Add docs codegen check to GitHub Actions Workflow by @MarshalX in #260
New Contributors
- @editor-syntax made their first contribution in #250
Full Changelog: v0.0.38...v0.0.39