Skip to content

Releases: neet/masto.js

v6.10.1

23 Oct 14:32
d62d4c5
Compare
Choose a tag to compare

6.10.1 (2024-10-23)

Bug Fixes

  • Unset ws of WebSocketConnectorImpl after close event (0a73a2a)

v6.10.0

21 Oct 15:08
0a05b54
Compare
Choose a tag to compare

6.10.0 (2024-10-21)

Features

  • Support new accounts field in PreviewCard of status introduced by Mastodon 4.3.0 (96a84f2)

Bug Fixes

  • Fix duplicated WebSocket connection created when acquiring connection before one established (dbfd4c8)
  • Fix WebSocket client to maintain subscription even if other subscription with same parameter ends (e6d6bd0)
  • Unsubscribe from WebSocket stream when iterator ended (b7732ed)

v6.9.0

14 Oct 07:17
d9b3539
Compare
Choose a tag to compare

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 type
  • v1.Appeal type
  • v1.GroupedNotificationsResults, v1.PartialAccountWithAvatar, and v1.NotificationGroup types
  • v1.Notification["groupKey"], v1.SeveredRelationshipsNotification, and v1.ModerationWarningNotification types
  • v1.NotificationRequest type
  • v1.RelationshipSeveranceEvent type
  • v1.Suggestion["sources"] property
  • v2.Instance["icon"], v2.Instance["apiVersions"], v2.Instance["configuration"]["vapid"] properties
  • v2.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

v6.8.2

13 Oct 05:27
2856b4d
Compare
Choose a tag to compare

6.8.2 (2024-10-13)

Bug Fixes

  • Add missing v1.instance.extendedDescription API (#1212) (74681b3)
  • Add missing public domain block API (#1214) (884b83d)

v6.8.1

11 Oct 04:24
5be0168
Compare
Choose a tag to compare

6.8.1 (2024-10-11)

Bug Fixes

  • Add dependabot.yml to use prefix deps (c43bc7d)
  • Add dependabot.yml to use prefix deps (3f8310b)
  • Add missing offset to SearchAccountsParams (#1164) (54089da)
  • Add missing offset to v2 SearchParams (#1163) (4ae3951)
  • Fix type of AccountSource.fields (#1161) (bd885de)
  • Remove ERR_INCLUSION test (101c7ff)

v6.8.0

04 Jun 08:59
1dfad2e
Compare
Choose a tag to compare

6.8.0 (2024-06-02)

Features

  • Support Mastodon v4.2.9 (b2fd141)

v6.7.7

04 May 03:20
bf2450e
Compare
Choose a tag to compare

6.7.7 (2024-05-03)

Bug Fixes

  • Eliminate direct imports from ws (37049df)
  • Refactor FormData, querystring and websocket utils (1052740)
  • Refactor WebSocketSubscription and remove unused code (6870df2)

v6.7.6

29 Apr 14:07
5b8135a
Compare
Choose a tag to compare

6.7.6 (2024-04-29)

Bug Fixes

  • Add missing language attribute to PreviewCard type (6c6fdef)
  • Restore missing skipPolling param (620c895)

v6.7.5

28 Apr 01:48
5f5ea44
Compare
Choose a tag to compare

6.7.5 (2024-04-27)

Bug Fixes

  • Remove unnecessary merging of AbortSignal to avoid overhead (8967643)

v6.7.4

27 Apr 11:41
bbfb99d
Compare
Choose a tag to compare

6.7.4 (2024-04-27)

Bug Fixes

  • Change timeout: undefined to fall back to Fetch API default timeout (dfbaaa6)