Releases: neet/masto.js
Releases · neet/masto.js
v6.10.1
v6.10.0
v6.9.0
6.9.0 (2024-10-14)
In this release, we support the latest Mastodon v4.3.0 which comes with numerous enhancements in notification-related APIs. Here is the list of APIs/types affected by this release. You may also want to read the Mastodon official release note for v4.3.0 for further information.
Types
Event["event"]
with"notification_merged"
v1.AccountWarning
typev1.Appeal
typev1.GroupedNotificationsResults
,v1.PartialAccountWithAvatar
, andv1.NotificationGroup
typesv1.Notification["groupKey"]
,v1.SeveredRelationshipsNotification
, andv1.ModerationWarningNotification
typesv1.NotificationRequest
typev1.RelationshipSeveranceEvent
typev1.Suggestion["sources"]
propertyv2.Instance["icon"]
,v2.Instance["apiVersions"]
,v2.Instance["configuration"]["vapid"]
propertiesv2.NotificationPolicy
type
APIs
masto.v1.accounts.fetch({ id: [id1, id2, ...] })
masto.v1.accounts.relationship.fetch({ id: [...], withSuspended: boolean })
masto.v1.notifications.requests.$select(id).accept()
masto.v1.notifications.requests.$select(id).dismiss()
masto.v1.notifications.requests.$select(id).fetch()
masto.v1.notifications.requests.accept()
masto.v1.notifications.requests.dismiss()
masto.v1.notifications.requests.list()
masto.v1.notifications.requests.merged.fetch()
masto.v1.notifications.unreadCount.fetch()
masto.v1.statuses.fetch({ id: [id1, id2, ...] })
masto.v1.timelines.link.list({ url: "..." })
masto.v2.notifications.$select(id).accounts.fetch()
masto.v2.notifications.$select(id).dismiss()
masto.v2.notifications.$select(id).fetch()
masto.v2.notifications.policy.fetch()
masto.v2.notifications.policy.update()
masto.v2.notifications.unreadCount.fetch()
Features
- Support Mastodon 4.3.0 (103a130)