Skip to content

Releases: neet/masto.js

1.3.4

05 Sep 13:43
Compare
Choose a tag to compare

Fixes βœ…

  • Fix URL resolve error handling

1.3.3

02 Sep 01:53
Compare
Choose a tag to compare

Fixes βœ…

  • Remove @ alias for compatibility of JavaScript

1.3.2

02 Sep 01:31
Compare
Choose a tag to compare

Fixes βœ…

  • Improved URL resolve error handling

1.3.1

27 Aug 01:24
Compare
Choose a tag to compare

New features πŸŽ‰

  • Endorsement API setter supported (pinAccount, unpinAccount)
  • Add replies_count to Status entity interface
  • Fetching account who reblogged/favourited status supported (fetchStatusRebloggedBy, fetchStatusFavouritedBy)
  • Many endpoints that returns data with pagination are now returns Async Iterable

Fixes βœ…

  • fetchAccountsInList were renamed to fetchListAccount
  • FilterContextTypes and some interfaces were renamed
  • Fix streaming API connection error

1.3.0

24 Aug 06:05
Compare
Choose a tag to compare

New features πŸŽ‰

  • V2 search API supported
  • Endorsements API supported (partially right now)

Breaking changes πŸ’£

  • new Mastodon() now requires arguments url, streamingUrl and token
  • stream is no longer exported. Use streamUser, streamPublicTimeline, streamCommunityTimeline, streamTagTimeline and streamListTimeline instead.
  • Those streaming related functions now return EventEmitter instead of WebSocket.connection. You can subscribe events via on method. Here's example
  • fetchTimeline is no longer exported. Use fetchHomeTimeline, fetchPublicTimeline, fetchCommunityTimeline, fetchListTimeline and fetchTagTimeline instead.
  • Those timeline related functions plus fetchAccountStatusesand fetchFavouritedStatuses are now return AsyncIterableIterator instead of Status[]. Here's new example.

Updates πŸ”§

  • Some type of arguments/objects are improved
  • Some types are now more strict
  • Bug fixes

1.2.0

05 Jul 09:30
Compare
Choose a tag to compare

New features:

Breaking changes:

  • stream() now returns Promise<WebSocket.connection> for error handling (#1)
  • deleteList() has been renamed to removeList()
  • deleteStatus() has been renamed to removeStatus()

Fixes:

  • Some type definition of entities have updated

1.1.1

16 May 04:09
Compare
Choose a tag to compare
  • Support "Direct timeline"
  • Support bio fields
  • Support bot nameplate
  • Support push subscriptions
  • Improve performance

1.1.0

02 May 05:25
Compare
Choose a tag to compare
  • Fix Instance.uri interface key

1.0.9

17 Apr 12:19
Compare
Choose a tag to compare
Update to 1.0.9

1.0.7

17 Apr 08:16
Compare
Choose a tag to compare
1.0.7 Pre-release
Pre-release
Add fetchAccessToken