madon

Golang Mastodon API library

MIT License

Stars
72
Committers
5

Bot releases are hidden (Show)

madon - Madon 3.0.0 Latest Release

Published by McKael 4 months ago

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 - Madon 2.3.0

Published by McKael over 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
madon - Madon 1.6.0

Published by McKael over 7 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
madon - Madon 1.5.0

Published by McKael over 7 years ago

This release adds OAuth2 support.

madon - Madon 1.4.3

Published by McKael over 7 years ago

madon - Madon 1.4.2

Published by McKael over 7 years ago

This version fixes 2 incorrect JSON tags.

madon - Madon 1.4.1

Published by McKael over 7 years ago

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

madon - Madon 1.4.0

Published by McKael over 7 years ago

Add 'website' parameter to application registration

madon - Madon 1.3.0

Published by McKael over 7 years ago

  • Change IDs and time integers to int64
  • Use github.com/pkg/errors
  • Clean up code
madon - Madon 1.2.0

Published by McKael over 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.

madon - Madon 1.1.1 bugfix release

Published by McKael over 7 years ago

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

madon - Madon 1.1.0

Published by McKael over 7 years ago

  • Mastodon 1.3 related changes:
    • Add DismissNotification method
    • Add Mastodon server version field
  • Add limit, since_id and max_id when supported by the REST API.
    (This change is backward-incompatible and breaks the library API)
  • Change version numbering scheme
madon - First madon release

Published by McKael over 7 years ago

This release contains a implementation covering 100% of the current Mastodon API (1.2.2).