Add deprecations to changelog and neon release notes

This commit is contained in:
ch3ll 2019-12-20 12:35:38 -05:00
parent a419182eb1
commit f20889af34
No known key found for this signature in database
GPG key ID: 1124C6796EBDBD8D
2 changed files with 48 additions and 1 deletions

View file

@ -14,9 +14,13 @@ Versions are `MAJOR.PATCH`.
### Deprecated
- [#55552](https://github.com/saltstack/salt/pull/55552) - The config options `hgfs_env_whitelist`, `hgfs_env_blacklist`, `svnfs_env_whitelist`, and `svnfs_env_whitelist` have been deprecated in favor of `hgfs_saltenv_whitelist`, `hgfs_saltenv_blacklist`, `svnfs_saltenv_whitelist`, `svnfs_saltenv_blacklist`.
- [#55569](https://github.com/saltstack/salt/pull/55569) - Deprecate nova cloud driver in favor of the openstack driver.
- [#55609](https://github.com/saltstack/salt/pull/55609) - Remove smartos grains `hypervisor_uuid` and `datacenter` in favor of `mdata:sdc:server_uuid` and `mdata:sdc:datacenter_name`.
- [#55539](https://github.com/saltstack/salt/pull/55539) - Deprecate salt.auth.Authorize class and the any_auth method
- [#55573](https://github.com/saltstack/salt/pull/55573) - Deprecate `quiet` kwarg in cmd.run state module. Please set `output_loglevel` to `quiet` instead.
- [#55641](https://github.com/saltstack/salt/pull/55641) - Deprecate `enviroment` kwarg from heat state and execution module. Please use correct spelling `environment`.
- [#55682](https://github.com/saltstack/salt/pull/55682) - Deprecate `get_known_host` and `recv_known_host` functions from ssh module.
- [#55684](https://github.com/saltstack/salt/pull/55684) - Deprecate `rand_str` function from test module. Please use `rand_hash` instead.
### Changed

View file

@ -176,6 +176,27 @@ Module Deprecations
- :py:func:`dockermod.load <salt.modules.dockermod.load>`
- :py:func:`dockermod.tag <salt.modules.dockermod.tag_>`
- The heat module has removed the ``enviroment`` kwarg from the
:py:func:`heat.create_stack <salt.modules.heat.create_stack>` and
:py:func:`heat.update_stack <salt.modules.heat.update_stack>` functions due
to a spelling error. Please use ``environment`` instead.
- The :py:mod:`ssh <salt.modules.ssh>` execution module has been
changed as follows:
- Support for the ``ssh.get_known_host`` function has been removed. Please use the
:py:func:`ssh.get_known_host_entries <salt.modules.ssh.get_known_host_entries>`
function instead.
- Support for the ``ssh.recv_known_host`` function has been removed. Please use the
:py:func:`ssh.recv_known_host_entries <salt.modules.ssh.recv_known_host_entries>`
function instead.
- The :py:mod:`test <salt.modules.test>` execution module has been changed as follows:
- Support for the :py:func:`test.rand_str <salt.modules.test.rand_str>` has been
removed. Please use the :py:func:`test.random_hash <salt.modules.test.random_hash>`
function instead.
State Deprecations
------------------
@ -183,6 +204,14 @@ State Deprecations
:py:func:`MS Teams <salt.states.msteams>` or
:py:func:`Slack <salt.states.slack>` may be suitable replacements.
- The cmd state module has removed the ``quiet`` kwarg from the
:py:func:`cmd.run <salt.states.cmd.run>` function. Please
set ``output_loglevel`` to ``quiet`` instead.
- The heat state module has removed the ``enviroment`` kwarg from the
:py:func:`heat.deployed <salt.states.heat.deployed>` function due
to a spelling error. Please use ``environment`` instead.
Fileserver Deprecations
-----------------------
@ -217,6 +246,20 @@ For ``smartos`` some grains have been deprecated. These grains have been removed
- The ``hypervisor_uuid`` has been replaced with ``mdata:sdc:server_uuid`` grain.
- The ``datacenter`` has been replaced with ``mdata:sdc:datacenter_name`` grain.
Cloud Deprecations
------------------
- The nova cloud driver has been removed in favor of the openstack cloud driver.
Jinja Filter Deprecations
-------------------------
- The following jinja filters are set to be removed in the Aluminium release:
- :jinja_ref:`json_decode_dict` in favor of :jinja_ref:`tojson`
- :jinja_ref:`json_decode_list` in favor of :jinja_ref:`tojson`
salt.auth.Authorize Class Removal
---------------------------------
- The salt.auth.Authorize Class inside of the `salt/auth/__init__.py` file has been removed and