Skip to content

Releases: neet/masto.js

2.0.0

30 Mar 08:58
Compare
Choose a tag to compare

@lagunehq/core was originally created for my personal development. But since I've got users more than I expected, I renamed this project to make it easier to find it, and I decided to maintain it frequently so that it could be used on a larger scale!

This release is the first release on the new name: Masto.js.

Breaking changes

Replace new Mastodon() to await Masto.login(). Pass only uri and accessToken as an argument, others will be set automatically.

const masto = await new Masto.login({
  uri: 'https://example.com',
  accessToken: 'token',
});

Added

  • Mastodon 2.8.0 support #42 0fb3d0f
  • Implemented private constructor 2e91cf8
  • Version validation, authentication validation 2e91cf8

Changed

  • Change the compiler to Rollup.js #41
  • Rename fetchPeersInstance to fetchInstancePeers
  • Rename verifyAppCredential to verifyAppCredentials

Removed

  • Removed setAccessToken, getAccessToken and other accessors. 2a68d8f

2.0.0-rc3

30 Mar 07:45
Compare
Choose a tag to compare
2.0.0-rc3 Pre-release
Pre-release
v2.0.0-rc3

Bump 2.0.0-rc3

v2.0.0-rc2

29 Mar 05:39
Compare
Choose a tag to compare
v2.0.0-rc2 Pre-release
Pre-release
Tag 2.0.0-rc2

1.3.10

17 Nov 12:26
Compare
Choose a tag to compare

πŸ› Bug fixes

  • Fix event handler's conversation event issue (#30, #33 )
  • Fix context key of Filter entity (#31 #32)

2.0.0-rc1

26 Mar 08:55
Compare
Choose a tag to compare
2.0.0-rc1 Pre-release
Pre-release
v2.0.0-rc1

Add `poll` to the notification type

1.5.0

18 Feb 02:45
Compare
Choose a tag to compare

New features

  • Mastodon 2.7.2 support #38 (VAPID key, registration parameter of an instance entity)

Bug fixes

  • Fix return value of createAccount
  • Add missing exports of internal TS interfaces

1.4.0

21 Jan 08:10
Compare
Choose a tag to compare

New features

  • Support create account API (#35, #36)

1.3.9

13 Nov 19:22
Compare
Choose a tag to compare

πŸ› Bug fixes

  • Fix HTTP method of Mastodon.search from POST to GET (#26, #27)
  • Fix argument for version of Mastodon.search (#26, #27)
  • Fix importing path of src/client/EventHandler.ts (#28, #29)

Other

  • Update TypeScript to 3.1.6 (74718c1)
  • Update typedoc-plugin-markdown to 1.1.18 (74718c1)

1.3.8

07 Nov 17:56
Compare
Choose a tag to compare

New features πŸŽ‰

  • Mastodon 2.6.0-rc3: card in status entity (#24, #25)

1.3.8-rc1

29 Oct 14:22
Compare
Choose a tag to compare
1.3.8-rc1 Pre-release
Pre-release

New features πŸŽ‰

  • Mastodon 2.6.0-rc3: card in status entity (#24, #25)