Skip to content

Releases: MarshalX/atproto

v0.0.48

01 Jun 11:48
badcfd3
Compare
Choose a tag to compare

What's Changed

  • Add Firehose Account message (use instead of Identity) by @MarshalX in #335
  • Update lexicons fetched from 255d5ea committed 2024-05-31T21:39:21Z by @MarshalX in #334

Full Changelog: v0.0.47...v0.0.48

v0.0.47

22 May 21:32
1854651
Compare
Choose a tag to compare

💬 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 of Record 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

New Contributors

Full Changelog: v0.0.46...v0.0.47

v0.0.46

20 Mar 17:06
b6be44d
Compare
Choose a tag to compare

What's Changed

  • Fix follow redirects by @MarshalX in #309
  • Update lexicons fetched from c28e374 committed 2024-03-19T16:26:14Z by @MarshalX in #310

Full Changelog: v0.0.45...v0.0.46

v0.0.45

14 Mar 01:24
809866d
Compare
Choose a tag to compare

What's Changed

Content labeling (moderation) is here! This update brings labeling data-stream support as well ozone.tools API!

Full Changelog: v0.0.44...v0.0.45

v0.0.44

05 Mar 21:27
4929b5d
Compare
Choose a tag to compare

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

22 Feb 19:59
b8878c6
Compare
Choose a tag to compare

What's Changed

🎉 New lexicon introduces Account Migration between PDS. More info: https://github.com/bluesky-social/pds/blob/main/ACCOUNT_MIGRATION.md

Full Changelog: v0.0.42...v0.0.43

v0.0.42

17 Feb 19:38
9a209dc
Compare
Choose a tag to compare

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 of get_author_feed method in #278
  • Fix pyright errors part 1 by @MarshalX in #278

New Contributors

Full Changelog: v0.0.41...v0.0.42

v0.0.41

09 Feb 21:16
7b43b20
Compare
Choose a tag to compare

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

04 Feb 10:58
3bbfa43
Compare
Choose a tag to compare

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)

⚠️ Record models have been renamed from "Main" to "Record". Backward compatibility is provided but will be removed soon!
⚠️ Internals of High-Level Clients have been migrated to new syntax sugar. It could affect you because returned models are changed but the fields are the same.

  • 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

02 Feb 14:35
d006fe9
Compare
Choose a tag to compare

What's Changed

⚠️ Using strong references in .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