andregasser / bigbone

BigBone - A Mastodon Client Library for Java and Kotlin
https://bigbone.social
MIT License
62 stars 15 forks source link

Remove deprecated InstanceV1 endpoint #452

Closed PattaFeuFeu closed 5 months ago

PattaFeuFeu commented 5 months ago

Description

This PR removes the deprecated InstanceV1 endpoint and data class. With this change, we would only be able to support Mastodon 4.0+ which is very much in line with Mastodon’s supported versions which, as I’m writing this, look as follows:

Version Supported
4.2.x Yes
4.1.x Yes
< 4.1 No

Closes #424

Easier review

Reviewing commit by commit will probably make the review process easier as I needed to remove code in multiple places and not all the changes were entirely related, but still relate to the general removal of the InstanceV1 endpoint.

Type of Change

Breaking Changes

How Has This Been Tested?

Updated unit tests

Mandatory Checklist

Optional checks

PattaFeuFeu commented 5 months ago

@andregasser Will fix them once I get home. Thanks for the review! Please don’t merge yet.