Skip to content

Releases: McKael/madon

Madon 3.0.0

30 Jun 14:49
Compare
Choose a tag to compare

Changes since 2.4.0:

  • Fix unmarshalling JSON into a truncated slice
    This could cause bogus data when several pages are fetched.
  • Add support for more kinds of streams and events
  • Fix support non-integer IDs (used e.g. by Pleroma instances)
  • Fix OAuth and form parameters with Pleroma

Changes since 2.3.0:

  • Support search v2 API
  • Add suggestion (GetSuggestions and DeleteSuggestion) and endorsement (GetEndorsements, {Pin,Unpin}Account)
  • Add UploadMediaReader
  • Misc. type adjustments
  • Fix handling of arrays in API calls
  • Fix header & avatar uploads
  • Improve parsing of server errors
  • Switch to Go modules

Madon 2.3.0

21 Mar 21:46
Compare
Choose a tag to compare

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

Madon 1.6.0

28 May 08:35
Compare
Choose a tag to compare
  • 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

Madon 1.5.0

10 May 18:15
Compare
Choose a tag to compare

This release adds OAuth2 support.

Madon 1.4.3

05 May 20:28
Compare
Choose a tag to compare

This release fixes McKael/madonctl#4

Madon 1.4.2

01 May 20:17
Compare
Choose a tag to compare

This version fixes 2 incorrect JSON tags.

Madon 1.4.1

01 May 14:53
Compare
Choose a tag to compare

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

Madon 1.4.0

01 May 13:51
Compare
Choose a tag to compare

Add 'website' parameter to application registration

Madon 1.3.0

30 Apr 21:47
Compare
Choose a tag to compare
  • Change IDs and time integers to int64
  • Use github.com/pkg/errors
  • Clean up code

Madon 1.2.0

30 Apr 08:53
Compare
Choose a tag to compare

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.