Releases: McKael/madon
Madon 3.0.0
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
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
- 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
This release adds OAuth2 support.
Madon 1.4.3
This release fixes McKael/madonctl#4
Madon 1.4.2
This version fixes 2 incorrect JSON tags.
Madon 1.4.1
This minor release has better error messages in case of server error.
Madon 1.4.0
Add 'website' parameter to application registration
Madon 1.3.0
- Change IDs and time integers to int64
- Use github.com/pkg/errors
- Clean up code
Madon 1.2.0
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.