0.4.0
- Added
iterate*method equivalents for allget*methods that return a cursor.
0.3.8
- Updated the Bot#login method’s return type to match Bot#resumeSession‘s parameter.
- Fixed chat emitter not restarting after resuming a session.
- Allowed providing a PostReference to the PostPayload#quoted property of a post payload.
0.3.7
- Further tweaked rate limit handling.
- Fixed a bug relating to facet detection in post text.
0.3.6
- Allowed uploading videos with posts.
- Tweaked rate limit handling.
0.3.5
- Added the BotPostOptions#shortenLinks option to all post methods.
- Added the BotOptions#chatEmitterOptions option to configure the chat event emitter.
- Updated the Bot#label and Bot#negateLabels methods to return the label event.
- Fixed a bug resulting in an error when uploading media with a post.
0.3.4
- Added the EventStrategy#Jetstream event strategy.
- Jetstream is a service that allows you to filter the relay firehose to only receive events you’re interested in.
- You can host your own Jetstream instance or (default) use one hosted by Bluesky.
- The EventStrategy#Firehose event strategy is now deprecated in favour of Jetstream (see above).
0.3.3
- Added support for video posts.
- Added the Bot#getProfiles method.
0.3.2
- Minor further bug fixes to event handling.
- Fixed a bug resulting in an error when attempting to create or negate labels.
0.3.1
- The
likeevent will now be emitted for likes on posts, feed generators, and labeler profiles. - Fixed the
repostandfollowevents not including theuriproperty.
0.3.0
- Added support for Starter Packs with the StarterPack class.
- New properties/methods on Post:
embeddingDisabled,quoteCount,getQuoteCount(),getQuotes(). - Removed the Bot#declareLabeler and Bot#deleteLabelerDeclaration methods. Use the @skyware/labeler package instead.
- Fixed rate limit being stricter than it should’ve been (#3).
- Fixed a bug where the number of event emitters would multiply.
0.2.1
- PostPayload#facets can now contain Facet instances.
0.2.0
- NEW: Chat!
- Initialize your bot with
emitChatEvents: trueand listen for chat messages withbot.on("message", (message) => {}). Read more about it in Chatting with Users! - The Conversation class represents a conversation with a user.
- The ChatMessage and DeletedChatMessage classes represent chat messages.
- New properties/methods on Profile:
incomingChatPreference,getConversation(),getMessages(),sendMessage(). - New methods on Bot:
getConversationForMembers(),getConversation(),listConversations(),getConversationMessages(),sendMessage(),sendMessages(),leaveConversation(),setChatPreference().
- Initialize your bot with
- NEW: Labeling!
- You can now subscribe to and publish labels. Note that you will need an active Ozone instance to be able to publish labels.
- The Labeler class represents a labeler service.
- New properties/methods on Profile:
isLabeler,getLabeler(),labelAccount(),negateAccountLabels(),labelProfile(),negateProfileLabels(). - New methods on PostReference and Post:
label(),negateLabels(). - New methods on List:
label(),negateLabels(). - New methods on FeedGenerator:
label(),negateLabels(). - New methods on Bot:
getLabeler(),getLabelers(),addLabeler(),removeLabeler(),label(),negateLabels(),declareLabeler(),deleteLabelerDeclaration().
- Now uses file headers to determine content type when an image URL is used in a post.
- Embeds now correctly link to the specified URL.
@will be automatically prepended to mentions created with the RichText class.- Added the Bot#putRecord method.
- Several redundant interfaces for
Botmethods have been replaced with BaseBotGetMethodOptions.
0.1.0
Release!