Skip to content

v0.27.0

Compare
Choose a tag to compare
@MasterJ93 MasterJ93 released this 29 May 03:09
· 13 commits to main since this release

Version 0.27.0 includes the following changes:

  • SessionDebuggable has been added.
    • This is a protocol that will allow you to debug JSON requests and responses.
      • This is a very small debugger and is not a replacement for a logging tool. Logging will come at a later date.
    • A struct, named ` are available, but you can also add your own implementation.
    • An article on how to use this is also available.
  • CodableValue can now be expressible by a type value.
  • Removed shouldAuthenticate from all optional-authenticated methods.
    • If you want to use a method that’s optionally authenticated, create an instance of ATProtoKit with a SessionConfiguration-conforming class (if you want the authenticated responses), or use an instance of ATProtoKit without authenticating (if you want the non-authenticated response).
  • Begun the migration of ATUnion enums to be inserted into their respective lexicon models.
    • This is something that’s needed to simplify the lexicon generator.
    • When this migration is complete, the ATUnionBuilder will be deprecated.
  • Added a number of convenience methods in ATProtoBluesky:
    • A method for grabbing the quote post’s original post.
    • A method for fetching the trending topics.
  • Fixed an issue where muteActor() and unmuteActor() didn’t use the Content-Type header. (Thanks, @mfreiwald!)
  • Fixed a bug where creating block records via createBlockRecord() would fail.

Please note: the non-async version of ATProtoKit’s initializer is now deprecated. Please use the async version instead.

Once again, thank you for your support. Please give feedback, bug reports, and contributions if you have time. Consider starring this project if you find it helpful, and feel free to donate an amount that reflects the value it has brought to you. Your support helps ensure the continued development and improvement of this project. You can also speak to me on Bluesky (@cjrriley.com) for any questions.