From c4f7e05cbfdb27d1baf5289bdc7cc6259a286fa7 Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 5 Oct 2026 07:00:39 +0000 Subject: [PATCH] Bump Mastodon REST API version to 12 (#40833) --- app/controllers/api/v1/timelines/home_controller.rb | 2 +- lib/mastodon/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/v1/timelines/home_controller.rb b/app/controllers/api/v1/timelines/home_controller.rb index 6b6fd6a02fe..1b8e4476130 100644 --- a/app/controllers/api/v1/timelines/home_controller.rb +++ b/app/controllers/api/v1/timelines/home_controller.rb @@ -6,7 +6,7 @@ class Api::V1::Timelines::HomeController < Api::V1::Timelines::BaseController before_action -> { doorkeeper_authorize! :read, :'read:statuses' } before_action :require_user! - PERMITTED_PARAMS = %i(local limit).freeze + PERMITTED_PARAMS = %i(local limit exclude_direct exclude_reblogs exclude_quotes exclude_replies).freeze def show with_read_replica do diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index edebe64e3b2..eabae183eba 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -45,7 +45,7 @@ module Mastodon def api_versions { - mastodon: 11, + mastodon: 12, } end