Madon Versions Save

Golang Mastodon API library

v2.3.0

6 years ago

Sync API with Mastodon 2.3.x

This release brings many updates to sync with the current Mastodon API. Some of the changes are not backward compatible, but only minor updates should be necessary.

Here's a summary of the changes since Madon 1.6.0:

  • Add/Update types to reflect Mastodon API changes
  • Fix OAuth2
  • Add Pin, Lists and Emojis support
  • Add ability to mute notifications for an account
  • UpdateAccount: Add 'locked' parameter
  • SearchAccounts: Add 'following' parameter
  • Add instance statistics (peers/activity) support
  • GetNotifications: Add excludeTypes
  • Add support for list-based timelines and streams
  • GetTimelines: Add parameter 'onlyMedia' (Mastodon 2.3.0+)
  • UploadMedia: Add description and focus parameters
  • Add UpdateMedia
  • FollowAccount: Add 'reblogs' parameter

v1.6.0

6 years ago
  • Sync with Mastodon 1.4:
    • Update types
    • Add GetBlockedDomain, BlockDomain, UnblockDomain
    • Add MuteConversation and UnmuteConversation
  • Change account [un]follow/mute/block to return a Relationship entity

v1.5.0

7 years ago

This release adds OAuth2 support.

v1.4.3

7 years ago

v1.4.2

7 years ago

This version fixes 2 incorrect JSON tags.

v1.4.1

7 years ago

This minor release has better error messages in case of server error.

v1.4.0

7 years ago

Add 'website' parameter to application registration

v1.3.0

7 years ago
  • Change IDs and time integers to int64
  • Use github.com/pkg/errors
  • Clean up code

v1.2.0

7 years ago

A boolean All has been added to LimitParams. When set, Madon will try to get all items from the API server, using the headers' Link field.

When All is not true and a Limit value is provided, the library will try to get as many results as possible as long as the value is not reached.

v1.1.1

7 years ago

The new --limit/--since-id/max-id parameters were not used for some API calls in release 1.1.0.