[5.0.0] Bump version to 5.0.0, remove deprecated features (#4516)

* Remove deprecated features.

* Fix changelog.

* Remove ignore.txt entries.

* One more.

* Remove state=get tests.
This commit is contained in:
Felix Fontein 2022-04-26 11:45:15 +02:00 committed by GitHub
parent 29c49febd9
commit 54b2f0819d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 79 additions and 500 deletions

View file

@ -78,8 +78,6 @@ options:
otp:
description:
- The 6 digit One Time Password for 2-Factor Authentication. Required together with I(username) and I(password).
- Alias C(2fa_token) has been deprecated and will be removed in community.general 5.0.0.
aliases: ['2fa_token']
type: int
notes:
- "Refer to GitHub's API documentation here: https://developer.github.com/v3/repos/keys/."
@ -298,9 +296,7 @@ def main():
force=dict(required=False, type='bool', default=False),
username=dict(required=False, type='str'),
password=dict(required=False, type='str', no_log=True),
otp=dict(
required=False, type='int', aliases=['2fa_token'], no_log=True,
deprecated_aliases=[dict(name='2fa_token', version='5.0.0', collection_name='community.general')]),
otp=dict(required=False, type='int', no_log=True),
token=dict(required=False, type='str', no_log=True)
),
mutually_exclusive=[