Skip to content

Latest commit

Β 

History

History
1196 lines (651 loc) Β· 59 KB

CHANGELOG.md

File metadata and controls

1196 lines (651 loc) Β· 59 KB

Changelog

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)

6.7.6 (2024-04-29)

Bug Fixes

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

6.7.5 (2024-04-27)

Bug Fixes

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

6.7.4 (2024-04-27)

Bug Fixes

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

6.7.3 (2024-04-23)

Bug Fixes

  • Fix BaseCreateTokenParams["scope"] type to accept null (ab197c5)
  • Run npm publish from release-please (4e6b5af)
  • Use personal access token on release-please CI (2c6c0be)

6.7.2 (2024-04-13)

Chores

  • deps-dev: bump @typescript-eslint/parser from 7.1.0 to 7.5.0 (a9f1c43)
  • deps: bump tar from 6.2.0 to 6.2.1 (dcb8307)

6.7.1 (2024-04-06)

Chores

  • deps-dev: bump @typescript-eslint/eslint-plugin (5a1ceeb)
  • deps-dev: bump cspell from 8.5.0 to 8.6.1 (92b3fc2)
  • deps-dev: bump rollup from 4.12.0 to 4.14.0 (0a279e9)
  • deps-dev: bump size-limit and @size-limit/preset-small-lib (09bb46d)
  • deps-dev: bump typedoc from 0.25.9 to 0.25.12 (86af832)
  • deps-dev: bump undici from 6.6.2 to 6.11.1 (b0d3ac8)

6.7.0 (2024-03-16)

Features

  • Support grant_type: authorization_code and client_credentials. (1f6b3ca)

6.6.4 (2024-03-03)

Chores

  • deps-dev: bump @types/node from 20.11.19 to 20.11.24 (f07c8e5)
  • deps-dev: bump @typescript-eslint/eslint-plugin (6e9e6d4)
  • deps-dev: bump @typescript-eslint/parser from 7.0.2 to 7.1.0 (f582b6b)
  • deps-dev: bump cspell from 8.4.1 to 8.5.0 (194dee9)
  • deps-dev: bump eslint from 8.56.0 to 8.57.0 (5dc7e62)
  • deps-dev: bump typedoc from 0.25.8 to 0.25.9 (ebf330d)

6.6.3 (2024-03-01)

Bug Fixes

  • Use PUT for update for Mastodon-fork compatibility (304d2fd)

6.6.2 (2024-02-29)

Bug Fixes

  • Fix property name for streaming API URL in v2.Instance (a66f087)

6.6.1 (2024-02-25)

Chores

  • docs: Add descriptions for config parameters (ade9eb2)

6.6.0 (2024-02-23)

Features

  • Implement Disposable for mastodon.streaming.Client (d926649)

Bug Fixes

  • Handle skipPolling option properly (4dbccbc)

6.5.4 (2024-02-22)

Bug Fixes

  • Fix "Masquerading as ESM" (4d88a43)
  • Prevent REST API client to be a type of function (42abe50)

Chores

  • deps: Update dependencies (75107a4)
  • refactor: Refactor HTTP dispatcher (90f6c0e)

6.5.3 (2024-02-22)

Chores

  • test: Use docker-compose for E2E testing and reduce file I/O (63ebc29)

6.5.2 (2023-12-27)

Bug Fixes

  • Fix search API to return paginator (2691c27)
  • Fix type of hashtags to be an array in Search entity (35cad26)

6.5.1 (2023-11-18)

Chores

  • Update CONTRIBUTING.md [skip ci] (0dc5158)

6.5.0 (2023-11-13)

Features

  • Add token.revoke to OAuth client (47688e0)

6.4.2 (2023-11-03)

Chores

  • Simplify logger service (3cedcf8)

6.4.1 (2023-11-02)

Bug Fixes

  • Use Blob | string as a type annotation for media (cca5c30)

Chores

6.4.0 (2023-10-29)

Features

  • Add experimental support for explicit resource management (077bc09)

Chores

  • Add dotenv to envrc [skip ci] (4c6fbde)
  • Bump dependencies (f22af2a)
  • deps: bump @babel/traverse from 7.20.1 to 7.23.2 (e448f1e)
  • Use @rollup/plugin-typescript (a7630b6)

6.3.3 (2023-10-22)

Chores

6.3.2 (2023-10-19)

Chores

  • test: Add sleep after new account creation (39dd99f)

6.3.1 (2023-09-28)

Chores

  • dev: Add Nix Flake config (b77bae5)

6.3.0 (2023-09-21)

Features

  • Support duration parameter for account muting (a09f1a5)

6.2.0 (2023-08-25)

Features

  • Support Mastodon v4.2.0 beta2 (3732a24)

6.1.0 (2023-08-11)

Features

  • Add allowedMentions to v1.status.create (f307eff)
  • Mastodon 4.2.0 beta (88703ac)

Bug Fixes

  • Fix /v1/instance/translation_languages assertion (a531d3c)
  • Fix missing DefaultPaginationParams export (1894934)
  • Remove port number from admin username (f5d83e1)

Chores

6.0.6 (2023-08-10)

Bug Fixes

  • Add missing group, limited, noindex attributes to Account (3294a8d)
  • test: Remove port number from OAuth grant (d095916)

6.0.5 (2023-08-02)

Chores

  • docs: Update examples and docs (a3908d7)

6.0.4 (2023-08-01)

Bug Fixes

  • Handle camelCase selection in proxy as an exception (df6e78b)
  • Remove parse-link-header and restore original implementation (f8215af)

6.0.3 (2023-07-30)

Bug Fixes

  • Fix dispatch to return non-promise value (9fb38e7)

6.0.2 (2023-07-28)

Bug Fixes

  • Fix Paginator#setDirection to return a new instance (b004e95)

Chores

  • ci: Integrate CI workflow configurations (4c5d57b)

6.0.1 (2023-07-27)

Bug Fixes

  • Add missing exports for error classes (6dc0937)

Chores

  • deps-dev: bump @rollup/plugin-commonjs from 25.0.2 to 25.0.3 (9ce1eee)
  • deps-dev: bump @typescript-eslint/eslint-plugin (a20d9c5)
  • deps-dev: bump @typescript-eslint/parser from 5.60.1 to 5.62.0 (0bc86e5)
  • deps-dev: bump rollup from 3.26.0 to 3.26.3 (6b108f3)
  • deps: bump semver from 5.7.1 to 5.7.2 (8b682c6)
  • deps: Move Undici to devDependencies (237cb71)
  • Update README.md [skip ci] (32daa9c)

6.0.0 (2023-07-27)

⚠ BREAKING CHANGES

  • Drop Node.js 16 support
  • Use ts-custom-error
  • Change WebSocket to AsyncIterator
  • Use Proxy API to reduce bundle size
  • Eliminate version check feature Idea: Drop version check feature #883
  • Remove SubscriptionPolicy, api.v1.admin.{account, report, domainEmailBlocks}

Features

  • Add setDirection and getDirection to paginator (2ad2da7)
  • Add ability to use custom WebSocket implementation (6e410ce)
  • Change WebSocket to AsyncIterator (fcdc5ec)
  • Use Proxy API to reduce bundle size (6e61c3d)
  • websocket: Add retry option (4b06ae1)
  • websocket: Support auto retry (fe47102)

Bug Fixes

  • Add type guard to Notification (26e0684)
  • build: Fix releaserc to run only in main branch (bc3d297)
  • Fix /accounts/update_credentials encoding (31ad84d)
  • Fix constructor types (2864d17)
  • Fix streaming timelines test (ddbb022)
  • Map app.verifyCredentials action type (212f4c0)

Chores

  • Add detectOpenHandles option (d8625b1)
  • Add sideEffects: [secure] (029544c)
  • Add unsubscribe method (30a0a95)
  • Auto-set encoding (604c3d6)
  • build: Use ES Module for config files (d9806ed)
  • Bump dependencies (5d14b67)
  • Clean up dependencies (64b62ba)
  • config: Segregate ws and rest configs (fc23e5d)
  • docs: Update CONTRIBUTING.md (c48a03b)
  • docs: Update example (da940be)
  • Drop Node.js 16 support (9cc1286)
  • Eliminate version check feature Idea: Drop version check feature #883 (68448ff)
  • Fix events test (c34a0d0)
  • Fix naming convention (4c2cf74)
  • Remove qs module (a00f3b2)
  • Remove SubscriptionPolicy, api.v1.admin.{account, report, domainEmailBlocks} (a1c727b)
  • Rename select to $select (0aa23ca)
  • rest: Restore auto media awaiting (31e20e4)
  • Revert target and module to ES6 (1bab465)
  • Segregate rest and streaming directory (#915) (e42295f)
  • Tag 6.0.0 alpha7 (a25b80c)
  • Tag 6.0.0-alpha.4 (4fbfde0)
  • Tag Alpha 1 (0fc1c4b)
  • Tag alpha 2 (ba36be1)
  • Tag alpha.0 (1d28068)
  • test: Enable concurrent test (fd8f203)
  • test: Improve test readability (6079201)
  • test: Override tsconfig in jest.config (ac89a3f)
  • tests: Add tests for WebSocket and Proxy API (507fe44)
  • tests: Create token on demand (cc7e15f)
  • test: Set max-workers on CI (4f370eb)
  • test: Use --report-unused-disable-directives (bc4a94a)
  • test: Use maxWorkers=1 temporarily (61759ff)
  • Use ts-custom-error (d439af9)

5.11.4 (2023-07-15)

Bug Fixes

5.11.3 (2023-05-03)

Bug Fixes

  • Add 'report' attribute to the Notification entity (#900) (bab715f)
  • Add public Report entity (946288c)
  • Link header parsing when order is first prev and then next link (853da99)
  • Skip /v1/statuses/:id/translate test on PRs from forks (67470d1)

Chores

  • deps-dev: bump @typescript-eslint/eslint-plugin (aa424fb)
  • deps-dev: bump @typescript-eslint/parser from 5.51.0 to 5.59.2 (3baba6e)
  • deps-dev: bump cspell from 6.22.0 to 6.31.1 (639bea1)
  • deps-dev: bump eslint from 8.34.0 to 8.39.0 (3a0ca0c)
  • deps-dev: bump jest and @types/jest (70d634c)
  • deps-dev: bump rollup-plugin-dts from 5.1.1 to 5.3.0 (6fc2406)
  • deps-dev: bump semantic-release from 20.1.0 to 21.0.2 (a7990da)
  • deps-dev: bump typedoc from 0.23.24 to 0.24.6 (742b33c)
  • deps: bump http-cache-semantics from 4.1.0 to 4.1.1 (6e21135)
  • deps: bump ws from 8.12.0 to 8.13.0 (6230497)

5.11.2 (2023-04-23)

Chores

  • Generate docs on GitHub Actions (81e4d52)

5.11.1 (2023-04-10)

Bug Fixes

  • tests: Add delay before translate API test (9789f8d)
  • wholeWord is a boolean (c625a20)

5.11.0 (2023-04-09)

Features

  • Add sensitized flag to AdminAccount (18e2221)

Bug Fixes

  • Enable carry forward (d68c2c6)
  • Fix email confirmation endpoint (fb23044)
  • Fix filter.fetchStatus URL (75a310b)
  • Fix keys of v1.preferences.fetch (436b72e)
  • Fix poll.vote parameters (1a7114e)
  • wholeWord is a boolean, not a string (1fc082a)

Chores

  • test: Add cache layer to test tokens (df5a307)
  • test: Add E2E tests with multiple accounts (8b4b46f)
  • test: Add test for _destroy parameter for filters.update (0381091)
  • tests: Add tests for accounts, bookmarks, etc (71e11ca)
  • tests: Add tests for admin APIs (7efa306)
  • tests: Add tests for lists, notifications, etc (8494316)
  • tests: Suppress verbose logs (767675f)

5.10.0 (2023-02-19)

Features

5.9.2 (2023-02-18)

Bug Fixes

  • Remove JSON content type when body is empty (8bff0fb)

5.9.1 (2023-02-12)

Bug Fixes

  • Fix disableVersionCheck being ignored (196fa8f)

5.9.0 (2023-02-12)

Features

  • Add mediaAttributes to statuses.update (e34c47e)
  • Add requestedBy to Relationship entity (af6198b)
  • Add Instance.configuration.urls.status (0e98d51)

Chores

5.8.0 (2023-02-05)

Features

  • Add roles attribute to Account (7e04944)

5.7.0 (2023-01-27)

Features

  • Add policy field to WebPushSubscription (20ccc90)

Chores

  • Fix test for subscription (2e5dff2)

5.6.1 (2023-01-23)

Bug Fixes

  • Add missing repliesPolicy to List (25dc358)
  • Correct version range of /api/v2/search (5d5cae7)

5.6.0 (2023-01-22)

Features

  • Add hideCollections to v1.account.updateCredentials parameters (a0b6167)
  • Add reading:autoplay:gifs to Preference (82f7402)

5.5.1 (2023-01-18)

Bug Fixes

  • Fix chore to be included in release note (5230d25)

Chores

  • Add tests for streaming API (65e992f)

5.5.0 (2023-01-17)

Bug Fixes

  • Add logger to Client argument (cc9c848)
  • Exclude spec.ts from coverage (9d0ef17)
  • Fix isObject to work with Jest (469e79f)
  • Fix Token.createdAt (00839b2)
  • paginator: parse array in url query string correctly (e3b629e)

Features

  • Add experimental oauth repository (7257f22)

5.4.0 (2023-01-13)

Bug Fixes

  • add missing fields for entity (c90871f)

Features

  • Change streamingApiUrl to optional (1c53e0b)

5.3.0 (2023-01-12)

Features

  • create client from known instance (3e89eaa)

5.2.2 (2023-01-11)

Bug Fixes

  • Fix v1.accounts.create content-type and return type (3d083f5)

5.2.1 (2023-01-11)

Bug Fixes

  • add value type of done result (f809cbd)

5.2.0 (2023-01-10)

Bug Fixes

  • Add missing filters.createStatus (6a0586a)
  • Clear timeout regardless response status (7b4e170)
  • FilterResult type (d85a8e5)
  • Fix typo on listKeywords (eb82682)
  • Fix v2.filters.updateKeyword URL (144435c)
  • v2 instance api version (3a491e4)

Features

  • add clone for Paginator (0c74998)
  • Add missing filter features (a839b03)

5.1.3 (2023-01-09)

Bug Fixes

  • allow omitting one timeline when creating marker (ca1070c)

5.1.2 (2023-01-08)

Bug Fixes

  • update moved field type of Account (1fa6546)

5.1.1 (2023-01-05)

Bug Fixes

  • Change searchParams type to Record (2ae64ed), closes #672

5.1.0 (2023-01-01)

Features

5.0.5 (2022-12-26)

5.0.4 (2022-12-25)

Bug Fixes

  • Node.js < 18 media uploading (987dac7)

5.0.3 (2022-12-25)

Bug Fixes

  • Add default filename only when field value is a blob (fd6d3fb)
  • Clear timeout when request completed (f6b2f9c)

5.0.2 (2022-12-25)

Bug Fixes

  • Add default filename for form-data (9a7489f)
  • Change return type of Paginator#next to Promise (3399892)
  • Fix MastoTimeoutError to be thrown instead of AbortError (8de20a4)
  • Update target to ES6 (3a3acec)

5.0.1 (2022-12-24)

5.0.0 (2022-12-23)

Bug Fixes

  • Fix instanceof operator for error classes (7893b4d)
  • Fix broken test for paginator (584d1dc)
  • Fix http-native-impl to use getContentType (875c371)
  • Fix setupFilesAfterEnv to include isomorphic-fetch (2fd41e3)
  • Fix tests (58ba2c7)
  • Fix tsc errors in domain blocks (4f8700e)
  • Fix v2 search path (b3d95f8)
  • Remove "DOM" from TypeScript lib dependency (61a9467)
  • Remove Array constraint from IRepository (ced6608)
  • Remove MimeType and change it to string (129a17a)
  • Rename methods that returns an array to start with list (68e8ff9)
  • Repository#delete -> Repository#remove (b4e06a5)
  • Update resource name to comply with the current Mastodon document (6a20ad9)
  • Use version check as error handling (d24ab9a)

Features

  • Add explicit API versions to methods (d4dd3fa)
  • Add logging interface (bedc623)
  • Drop Axios support (903c09d)
  • Move entities and repositories under the namespace (5da5773)
  • Remove deprecated class aliases (17582c1)
  • Remove next() argument (5370e0c)

BREAKING CHANGES

  • Outdated resource names are updated with the current Mastodon document. Including WebPushSubscription, CustomEmoji, AccountField, etc
  • You have to import mastodon to use any entity instead of importing single entity directly
  • Paginator#next no longer accepts an argument. Please recreate Paginator if you want to reset the internal state
  • fetchAll, fetchMany and other methods that returns an array is now prefixed with list*
  • Alias for iteration methods and error classes are now removed
  • All API calls now require masto.v1 or masto.v2 as a prefix.
  • headers option for login() now should be a WHATWG object. Proxy support is also dropped.

4.11.1 (2022-12-22)

Bug Fixes

  • Change HTTP methods to uppercase (873a8e2)

4.11.0 (2022-12-20)

Bug Fixes

  • Add backwards-compatible type declarations (#761) (e957388)
  • Add missing exclude_reblogs and tagged to fetching account statuses (#760) (59cd02a)

Features

4.10.2 (2022-12-19)

Bug Fixes

  • Change Content-Type to undefined when body is a FormData (6edac35)

4.10.1 (2022-12-18)

4.10.0 (2022-12-15)

Bug Fixes

  • Remove JSON.parse for delete event type (#754) (b5cb960)

Features

4.9.2 (2022-12-14)

Bug Fixes

  • Remove re-exports of HTTP implementations (#753) (bafb4cb)

4.9.1 (2022-12-09)

Bug Fixes

  • Fix wrong types on fetch instance information (#747) (3657eae)

4.9.0 (2022-12-06)

Features

  • Support /api/v1/admin/email_domain_blocks (#746) (785b617)

4.8.0 (2022-12-05)

Bug Fixes

  • Fix Card.{width,height} to be number (#745) (8941096), closes #737
  • Fix CreatePushSubscriptionParams#policy to be on the root and required (80ee853)
  • Fix domain blocks to follow the naming convention (ab8191b)

Features

4.7.5 (2022-12-04)

Bug Fixes

  • Add FilterResult interface and Status.filtered optional prop (581d4f9), closes #737
  • Add missing filterAction (021a332)

4.7.4 (2022-12-03)

Bug Fixes

  • Fix the type of Filter.wholeWorld to boolean (#726) (525f4e5)

4.7.3 (2022-12-02)

Bug Fixes

  • Use builtin Object.fromEntries (6a64264)

4.7.2 (2022-12-01)

4.7.1 (2022-11-30)

Bug Fixes

  • Correct iterable used when fetching following accounts (9dc35fb)
  • Fix suggestion API URL (2887c98)
  • Rename fetchAll to fetchTags (027e57c)
  • Use Sec-Websocket-Protocols when disabling version check (7755fbd)

4.7.0 (2022-11-29)

Features

4.6.10 (2022-11-27)

Bug Fixes

  • Allow passing null and undefined as a query parameter (#707) (1436dc6)

4.6.9 (2022-11-26)

Bug Fixes

  • Actually send user-specified headers in HttpAxiosImpl (b602fe4), closes #697
  • Encode URI components in serializer (8a2be08)
  • fetch: Normalize header to be lowercase (f7fce11)
  • Fix failing test in #702 (a2a4c26)
  • read next link from response (68c71bd)
  • Set Paginator.nextParams to an empty object after first request (4ce57a6), closes #698
  • Unmark DefaultPaginationParams.{maxId, sinceId} as internal parameters (257359e), closes #698
  • Update Notification.type types (#706) (50c5c5c)

4.6.8 (2022-11-24)

Bug Fixes

4.6.7 (2022-11-24)

Bug Fixes

4.6.6 (2022-11-21)

Bug Fixes

  • Transform of URL search params' cases (#690) (a9582ff)

4.6.5 (2022-11-20)

Bug Fixes

  • Use params instead of data in pagination (#687) (e333ac1)

4.6.4 (2022-11-19)

Bug Fixes

4.6.3 (2022-11-18)

Bug Fixes

  • Fix eslint warning in 682 (1c860eb)

4.6.2 (2022-11-16)

Bug Fixes

  • Add missing env variables to github actions (a98a52c)
  • Remove legacy URL module to support non-Node.js env (458340e)

4.6.1 (2022-11-13)

Bug Fixes

  • Add missing non-iterable methods for timelines (496aa04)
  • Fix URL /lists/:id/accounts (fb20092)

4.6.0 (2022-11-12)

Bug Fixes

  • Use Rails formed URL search params (ff5daad)

Features

  • Add non-iterable fetch methods (c158e0e)

4.5.1 (2022-11-11)

Bug Fixes

  • Remove obsolete debug code (79cb0d8)

4.5.0 (2022-11-10)

Features

  • Add an option to disable version check (782fa60)

4.4.1 (2022-11-04)

Bug Fixes

  • Apply typescript-eslint only for ts files (f69603e)
  • Use cjs for rollup.config.js (80cc322)
  • Use exports (4383fe4)

4.4.0 (2022-06-20)

Bug Fixes

Features

  • Support Node.js 18 Fetch API (f3085e6)

4.3.4 (2022-06-19)

Bug Fixes

  • Change getContentType to case insensitive (b20bf4c)
  • HttpNativeImpl.request()'s return type (5536100)
  • Let HttpNativeImpl make multipart/form-data w/ appropriate boundary (f277388)
  • Throw error when content-type is not set on response (b6e4a8c)
  • Trim content type params from HTTP responses (281cfcb)

4.3.3 (2022-06-11)

4.3.2 (2022-06-05)

4.3.1 (2022-04-11)

Bug Fixes

  • Fix unhandled promise rejection of examples (d205bf8)

4.3.0 (2022-04-04)

Features

  • Add familiar followers, remove from followers (2761173)
  • Add ruleIds and category param to reports (44edad9)
  • Add type field to FetchNotificationsParams (7e44e22)
  • Remove follow scope (bafc5df)
  • Support status edit api (8621213)
  • Update trends api (3d1d236)

4.2.7 (2022-03-19)

Bug Fixes

  • Use getter for timeline.{home,public} (99e1c23)

4.2.6 (2022-02-17)

4.2.5 (2022-02-06)

4.2.4 (2022-01-04)

4.2.3 (2022-01-03)

4.2.2 (2021-12-02)

4.2.1 (2021-11-22)

Bug Fixes

  • Use streamingApiUrl to resolve streaming api (451203f)

4.2.0 (2021-11-08)

Features

  • Support instance configuration (b7e5f23)

4.1.19 (2021-11-03)

4.1.18 (2021-10-10)

4.1.17 (2021-10-03)

4.1.16 (2021-09-21)

Bug Fixes

4.1.15 (2021-09-17)

4.1.14 (2021-09-12)

Bug Fixes

  • Avoid unintuitive keyword like "facade" (7f6b9bf)
  • Remove exports field in rollup config (4c60880)
  • Remove imports of isomorhpic-form-data (f61bfe5)
  • Use rollup-plugin-auto-external (ead7c36)

4.1.13 (2021-09-11)

Bug Fixes

  • Add exception handling for JSON.parse (bb6c7d0)
  • Include statusCode in the default MastoError (88fa4dc)

4.1.12 (2021-09-03)

4.1.11 (2021-09-02)

4.1.10 (2021-08-18)

Bug Fixes

  • FIx NODE_IGNORE_MASTO_WARNINGS (c84a6cf)
  • Fix prettier warning (efe9d5a)
  • Fix tsc error about Account (38f848d)

4.1.9 (2021-08-12)

4.1.8 (2021-08-05)

4.1.7 (2021-08-04)

4.1.6 (2021-08-03)

4.1.5 (2021-07-03)

4.1.4 (2021-06-11)

4.1.3 (2021-06-04)

4.1.2 (2021-06-03)

4.1.1 (2021-05-30)

4.1.0 (2021-05-11)

Features

  • Add /api/v1/email/confirmations (0f47ad2)
  • Add details field for MastoError (5a369f6)
  • Add lookup API (4e1f593)
  • Add policy to PushSubscriptionRepository#create (eba850e)

4.0.4 (2021-05-03)

4.0.3 (2021-04-30)

4.0.2 (2021-04-25)

Bug Fixes

  • Transform arrays inside an object (d22a145)

4.0.1 (2021-04-18)

Bug Fixes

  • Use build commit as a patch (63b46ea)

4.0.0 (2021-03-26)

Bug Fixes

Features

  • Add abstraction for AxiosRequestConfig (23be967)
  • Enable polling of media attachment by default (03625e6)
  • Introduce new APIs (69f6131)
  • 233: Better error handling (bbafee1)

BREAKING CHANGES

  • Monolithic Masto class has been segregated into several different classes and now you can access through the facede class

3.0.0

This is the 3rd major version of Masto.js πŸŽ‰

Breaking Changes

  • The response objects are now camelCase #224 #230
  • Renamed uploadMediaAttachment to createMediaAttachment #229
  • Decouple 3rd party packages from Masto.js #228 #225

Added

  • Add missing readCoversation and removeConversation

Fixed

  • Better version handling #231

Updated

  • Follow TSDoc comments to docs.joinmastodon.org
  • Update dependencies

Internal changes

  • Added eslint-simple-import-sort 0dba63b3920e0d83b0205a41d36021238df1b75c
  • Updated examples

2.8.2

Chagnes

  • Use @rollup/* packages instead of rollup-* #194 #193
  • Use cSpell #195
  • Update dependencies

2.8.1

Fixes

  • Fix URL of dismissNotification #170 #169
  • Fix typo of dismissNotification

Changes

  • Upgrade dependencies #171

2.8.0

  • Bump TypeScript 3.7.0 #166
    • Also removes ts-optchain
  • Bump Rollup.js and rollup-plugin-typescript2 #140

2.7.2

Fixed

  • Add reason param to CreateAccountParams #153
  • Deprecate fetchStatusCard #152

Updated

  • Bump dependencies

2.7.1

Accidentally published.

2.7.0

Added

  • Mastodon 3.0 support (#129, #130, #139)
    • Add Masto.fetchTrends for GET /api/v1/trends
    • Add Masto.fetchMarkers for GET /api/v1/markers
    • Add Masto.createMarkers for POST /api/v1/markers
    • Add Masto.fetchFeaturedTags for GET /api/v1/featured_tags
    • Add Masto.createFeaturedTag for POST /api/v1/featured_tags
    • Add Masto.removeFeaturedTag for DELETE /api/v1/featured_tags
    • Add Masto.fetchDirectory for DELETE /api/v1/directory
    • Add exclude_unreviewed option to Masto.search
    • Add category to Emoji entity
    • Add return type to authorizeFollowRequest and rejectFollowRequest

Changed

  • Updated dependencies #130
  • Use GitHub Actions instead of Circle CI #131