Releases

  • 0.111.2

    tastytea 2 months ago 0 commits to since this release

    Bugfixes

    • Do not return lowercased header in get_header(), but the original one.
     
  • 0.111.1

    tastytea 2 months ago 3 commits to since this release

    Bugfixes

    • Re-add support for getting headers.
    • Match headers case-insensitively.
    • Allow alphanumeric IDs in Link.
    • Actually delete parameters in delete_params() (used the wrong algorithm).
    • Install documentation into ${CMAKE_INSTALL_DOCDIR}/mastodon-cpp/.

    Changes

    • Added example for getting favourites with pagination.
    • Add Link::min_id().
    • Don’t install HTML documentation with autogenerated packages.
     
  • 2 months ago
  • 0.110.0

    tastytea 2 months ago 23 commits to since this release

    Changes

    • Changed license to AGPL3.
    • Switched from curlpp to POCO (curlpp is not maintained anymore).
    • Added pkg-config recipe.
    • Modernized CMake recipes.
    • Changed error codes (See README).
    • Removed things that are no longer supported by Mastodon:
      • GET /api/v1/search
      • GET /api/v1/reports
      • Easy::Report
    • Added entities:
      • Easy::Poll
      • Easy::Conversation
    • Added support for API calls:
      • /api/v1/polls/:id
      • /api/v1/polls/:id/votes
      • /api/v1/conversations
      • /api/v1/streaming/health
      • /api/v1/streaming/hashtag/local
      • /api/v1/streaming/direct
    • Added support for the streaming event “filters_changed”.
     
  • Pre-Release 0.106.0 e4937c954f

    0.106.0

    tastytea 4 months ago 70 commits to since this release

    Changes

    • Added tests for API calls:
      • API::v1::lists
      • API::v1::accounts_id_lists
      • API::v1::lists_id_accounts
      • API::v1::lists_id
      • API::v1::lists
      • API::v1::media
      • API::v1::media_id
      • API::v1::mutes
      • API::v1::accounts_id_mute
      • API::v1::accounts_id_unmute
      • API::v1::statuses_id_mute
      • API::v1::statuses_id_unmute
    • Added tests for Entities:
      • Easy::Account
      • Easy::Application
      • Easy::Attachment
      • Easy::Card
      • Easy::Context
      • Easy::Emoji
      • Easy::Filter
      • Easy::Instance
      • Easy::List
      • Easy::Mention
      • Easy::Notification
      • Easy::PushSubscription
      • Easy::Relationship
      • Easy::Results
      • Easy::Status
      • Easy::Tag
    • Added the tag [auth] for tests that need authentication.
    • Added checklist of Pleroma API endpoints.
    • Added Easy::string_to_time() for converting strings to Easy::time_type.
    • Added Easy::account_field_type and Easy::account_fields.
    • Prevent usage with Gab and Kiwi Farms domains.
    • Updated all Entities (new fields, required fields).

    Bugfixes

    • Marked members of Easy::Tag::History const.
    • Get numbers in Easy::Tag::History::accounts() and […]::use(), not strings.
     
  • Pre-Release 0.105.1 5ddc0f20fe

    0.105.1

    tastytea 7 months ago 159 commits to since this release

    Bugfixes

    • Fixed operator << for Easy::return_entity.
    • Fixed warnings about operator << in return_call and Easy::time.
     
  • Pre-Release 0.105.0 c94a2ccb4a

    0.105.0

    tastytea 8 months ago 163 commits to since this release

    Changes

    • Deprecated API::urlencode, API::urldecode and API::unescape_html in favor of Mastodon::urlencode, Mastodon::urldecode and Mastodon::unescape_html.
    • Added support for /api/v1/suggestions and /api/v1/suggestions/:account_id.
    • Added tests for:
      • API::v1::follow_requests.
      • API::v1::follow_requests_id_authorize.
      • API::v1::follow_requests_id_reject.
      • API::v1::suggestions.
      • API::v1::suggestions_accountid.
     
  • Pre-Release 0.104.0 e9aa714ecf

    0.104.0

    tastytea 8 months ago 172 commits to since this release

    Changes

    • Added Easy::Token.
    • Added the variable EXTRA_TEST_ARGS to cmake.
    • Added support for /api/v1/accounts.
    • Added “visible_in_picker” to required fields in Easy::emoji.
    • Added support for /api/v1/filters and /api/v1/filters/:id.
    • Added Easy::Filter and Easy::context_type.
    • Added tests for:
      • API::v1::custom_emojis.
      • API::v1::domain_blocks.
      • API::v1::endorsements.
      • API::v1::accounts_id_pin.
      • API::v1::accounts_id_unpin.
      • API::v1::favourites.
      • API::v1::statuses_id_favourite.
      • API::v1::statuses_id_unfavourite.
      • API::v1::filter.
      • API::v1::filters_id.
     
  • Pre-Release 0.102.0 a86cd8eaa0

    0.102.0

    tastytea 8 months ago 193 commits to since this release

    Bugfixes

    • Include HTTP error codes in return_entity and return_entities_vector.
    • Do not require contact_account in Easy::Instance.
    • Added emojis to required fields in Easy::Account.
    • Fixed deletion of parameters, this fixes errors with all API calls that have :id or :tag
      in them.
    • Added replies_count and application to required fields in Easy::Status.
    • Added check for malformed JSON in Entity::from_string().

    Changes

    • Added support for /api/v1/apps/verify_credentials
    • Added tests for:
      • API::v1::accounts_id
      • API::v1::accounts_verify_credentials
      • API::v1::accounts_update_credentials
      • API::v1::accounts_id_followers
      • API::v1::accounts_id_following
      • API::v1::accounts_id_statuses
      • API::v1::accounts_id_follow
      • API::v1::accounts_id_unfollow
      • API::v1::accounts_relationships
      • API::v1::accounts_search
      • API::v1::apps
      • API::v1::apps_verify_credentials
      • API::v1::blocks
      • API::v1::accounts_id_block
      • API::v1::accounts_id_unblock
    • Entity::error() now returns "errors:" if "error:" is not found.
    • Added tests with clang 5 and 6 in the CI
     
  • Pre-Release 0.101.1 d5e6dfc776

    0.101.1

    tastytea 8 months ago 225 commits to since this release

    Bugfixes:

    • Install documentation in the right location (mastodon/mastodon-version/mastodon-version/).