Skip to content

Releases: h3poteto/megalodon

3.0.0-rc.3

17 Mar 15:16
Compare
Choose a tag to compare

Fixed

  • #265 Fix stop signal of websocket in misskey

3.0.0-rc.2

17 Mar 14:13
Compare
Choose a tag to compare

Fixed

  • #264 Fix scopes for mastodon and fix examples

3.0.0-rc.1

17 Mar 12:48
Compare
Choose a tag to compare

Changed

  • #263 Allow optional parameter in fetchAccessToken
  • #260 Set pinned parameter as optional

3.0.0-beta.4

14 Mar 14:40
Compare
Choose a tag to compare

Fixed

  • #259 Fix exclude_types for notifications

3.0.0-beta.3

14 Mar 11:29
Compare
Choose a tag to compare

Added

  • #257 Add following and resolve argument for search account

Changed

  • #258 Define optional objects for optional parameters
  • #256 [Security] Bump acorn from 6.4.0 to 6.4.1 in /example/browser
  • #255 [Security] Bump acorn from 6.2.1 to 6.4.1

3.0.0-beta.2

13 Mar 13:42
Compare
Choose a tag to compare

Fixed

  • #254 Remove pixelfed from detector response

3.0.0-beta.1

13 Mar 13:18
67fa69b
Compare
Choose a tag to compare

Breaking changes
Move these methods:

  • registerApp
  • createApp
  • generateAuthUrl
  • fetchAccessToken
  • refreshToken
    in #180 .

I changed default export module of megalodon in #186 .
You may use Mastodon as Mastodon client class up until this time, but default exported module is generator function after this change.
The generator function returns each SNS client instance.

import generator, { MegalodonInterface } from 'megalodon'
const client: MegalodonInterface = generator('mastodon', 'https://mastodon.social', YOUR_ACCESS_TOKEN)

Added

  • #253 Add spec for detector
  • #249 refs #125 Add proxy support to misskey websocket
  • #248 refs #125 Add websocket client for misskey
  • #247 Add example for misskey and fix scopes
  • #194 refs #125 Create misskey REST APIs
  • #236 Implement getLocalTimeline method
  • #216 closes #215 Add a function to detect SNS
  • #210 Add converter to convert entity between each SNS and megalodon
  • #186 Add generator to return each SNS client instance
  • #193 refs #125 Add base Misskey API client
  • #182 Add cancel method

Changed

  • #251 Update documents
  • #240 Apply interface for stream listener and websocket
  • #239 Update documents
  • #232 closes #227 Build multiple-form-data in uploadMedia
  • #213 Bump typescript from 3.7.5 to 3.8.2 in /example/typescript
  • #221 Bump @types/ws from 7.2.1 to 7.2.2
  • #212 Bump typescript from 3.7.5 to 3.8.2 in /example/browser
  • #219 Bump @typescript-eslint/eslint-plugin from 2.19.2 to 2.21.0
  • #218 Bump @typescript-eslint/parser from 2.19.2 to 2.21.0
  • #211 Bump typescript from 3.7.5 to 3.8.2
  • #206 Bump @types/jest from 25.1.2 to 25.1.3
  • #201 Bump @types/core-js from 2.5.2 to 2.5.3
  • #200 Bump typedoc from 0.16.9 to 0.16.10
  • #244 Use npm instead of yarn in example
  • #192 Bump log4js from 6.1.1 to 6.1.2 in /example/typescript
  • #153 Bump jest and ts-jest
  • #217 Bump ts-jest from 25.2.0 to 25.2.1
  • #214 Divide typescript example for each SNS
  • #199 Update typescript eslint version to 2.19.2
  • #191 Divide default variables
  • #190 Update documents
  • #189 Use generator in example
  • #187 Create entity namespace for entities
  • #185 Change node version in travis
  • #184 Use new methods in example
  • #183 refs #181 Define public APIs as instance methods
  • #180 Move static methods for mastodon

Fixed

  • #250 Allow null as access token in mastodon client
  • #237 Fix response for conversation API
  • #209 fix: Application can be null in status
  • #196 Fix register interface for scopes

2.2.2

08 Feb 11:52
Compare
Choose a tag to compare

Added

  • #172 refs #171 Add typedoc and generate documents
  • #170 closes #164 Add Pleroma API methods

Changed

  • #179 Update documents
  • #178 Bump @types/jest from 25.1.1 to 25.1.2
  • #177 Update typescript version to 3.7.5
  • #176 refs #173 Use namespace for mastodon API client
  • #175 Bump eslint-plugin-import from 2.20.0 to 2.20.1
  • #167 Bump @babel/cli from 7.7.7 to 7.8.4 in /example/javascript
  • #166 Bump @babel/preset-env from 7.7.7 to 7.8.4 in /example/javascript
  • #162 Bump log4js from 6.1.0 to 6.1.1 in /example/typescript
  • #161 Bump @types/jest from 24.9.0 to 25.1.1
  • #160 Bump @types/ws from 7.2.0 to 7.2.1
  • #174 Move JSDoc to interface definitions
  • #165 Bump @babel/core from 7.8.3 to 7.8.4 in /example/javascript
  • #159 Bump eslint-config-prettier from 6.9.0 to 6.10.0
  • #150 Bump jest-worker from 24.9.0 to 25.1.0

2.2.0

31 Jan 15:03
Compare
Choose a tag to compare

Added

  • #169 Divide Megalodon interface definition
  • #168 Move mastodon api methods under mastodon dir
  • #163 Add streaming and websocket methods
  • #149 Prepare all methods for Mastodon API

Changed

  • #152 Add node.js 12 to travis target
  • #151 Bump axios from 0.19.1 to 0.19.2
  • #148 Bump @types/ws from 6.0.4 to 7.2.0
  • #147 Bump @types/jest from 24.0.25 to 24.9.0
  • #144 Bump @babel/core from 7.7.7 to 7.8.3 in /example/javascript
  • #140 Bump eslint-plugin-import from 2.19.1 to 2.20.0
  • #139 Bump http-server from 0.12.0 to 0.12.1 in /example/browser
  • #138 Bump axios from 0.19.0 to 0.19.1
  • #137 Bump ts-jest from 24.2.0 to 24.3.0
  • #133 Bump @babel/preset-env from 7.5.5 to 7.7.7 in /example/javascript
  • #136 Build example scripts in circleci
  • #132 Bump @babel/core from 7.5.5 to 7.7.7 in /example/javascript
  • #131 Bump log4js from 5.2.2 to 6.1.0 in /example/typescript
  • #130 Bump webpack from 4.41.2 to 4.41.5 in /example/browser
  • #129 Bump @babel/cli from 7.5.5 to 7.7.7 in /example/javascript
  • #126 Bump eslint-config-prettier from 6.7.0 to 6.9.0
  • #123 Bump @types/jest from 24.0.24 to 24.0.25
  • #122 Bump eslint-plugin-node from 10.0.0 to 11.0.0
  • #119 Bump eslint from 6.7.2 to 6.8.0
  • #121 [Security] Bump handlebars from 4.1.2 to 4.5.3
  • #117 Bump @types/jest from 24.0.23 to 24.0.24

2.1.1

17 Dec 15:19
Compare
Choose a tag to compare

Changed

  • #113 Bump eslint-plugin-prettier from 3.1.1 to 3.1.2
  • #112 Bump https-proxy-agent from 3.0.1 to 4.0.0
  • #111 Bump eslint-plugin-import from 2.18.2 to 2.19.1
  • #103 Bump eslint from 6.7.1 to 6.7.2

Fixed

  • #116 Through ping and reconnect when ws state is connecting