Deprecation list for forthcoming or preview release
from the CommonsWare Community archivesAt April 7, 2021, 2:37pm, Jan asked:
In your q book, you talk a lot about what has been deprecated.
Is there a list somewhere that shows deprecated methods and classes for a forthcoming release?
I looked in the android versions about and in the android release notes but neither of those pages show a list of what will be deprecated in a forthcoming release (or in its preview release).
At April 7, 2021, 11:46pm, mmurphy replied:
It’s there, but you have to work for it.
Each developer preview and beta release comes with an API differences report. Usually, there are two, one comparing the new preview with the previous preview, and one comparing the new preview with the previous stable release. For Android S (12), you will find them in the Release Notes section of the docs.
So, for example, this document outlines the changes between S Developer Preview 2 and API Level 30 (Android 11).
However, deprecations do not appear there directly. You would need to look through what changed, and pages on individual changes would show deprecations, if any. So, for example, this page shows that SMS_FINANCIAL_TRANSACTIONS
is now deprecated.
FWIW, I did not notice many deprecations in DP1 or DP2. My “Random Musings” posts try to point out any notable deprecations — this post mentions the SMS_FINANCIAL_TRANSACTIONS
deprecation, for example.