Project: Salt Project (Provisioning / Automation & Configuration)
File: CHANGELOG.md

All notable changes to Salt will be documented in this file. This changelog follows format, and is intended for human consumption. This project versioning is similar to , and is documented in . Versions are `MAJOR.PATCH`. Removed deprecated code scheduled to be removed on 2024-01-01: ``TemporaryLoggingHandler`` and ``QueueHandler`` in ``salt/_logging/handlers.py`` All of the ``salt/log`` package. The ``salt/modules/cassandra_mod.py`` module. The ``salt/returners/cassandra_return.py`` returner. The ``salt/returners/django_return.py`` returner. Drop Fedora 37 and Fedora 38 support Drop CentOS Stream 8 and 9 from CI/CD Drop Photon OS 3 support The ``salt.utils.psutil_compat`` module has been deprecated and will be removed in Salt 3008. Please use the ``psutil`` module directly. ``user.add`` on Windows now allows you to add user names that contain all numeric characters Fix an issue with the win_system module detecting established connections on non-Windows systems. Uses psutils instead of parsing the return of netstat pkg.refresh_db on Windows now honors saltenv Fixed an issue with adding new machine policies and applying those same policies in the same state by adding a ``refresh_cache`` option to the ``lgpo.set`` state. file.managed correctly handles file path with '#' Fix master ip detection when DNS records change Fix user and group management on Windows to handle the Everyone group Fixes an issue in pkg.refresh_db on Windows where new package definition files were not being picked up on the first run Display a proper error when pki commands fail in the win_pki module Prevent full system upgrade on single package install for Arch Linux When using s3fs, if files are deleted from the bucket, they were not deleted in the master or minion local cache, which could lead to unexpected file copies or even state applications. This change makes the local cache consistent with the remote bucket by deleting files locally that are deleted from the bucket. NOTE this could lead to breakage on your affected systems if it was inadvertently depending on previously deleted files. Fixed an issue with file.directory state where paths would be modified in test mode if backupname is used. Execution modules have access to regular fileclient durring pillar rendering. Fixed a issue with server channel where a minion's public key would be rejected if it contained a final newline character. Fix content type backwards compatablity with http proxy post requests in the http utils module. Fix systemctl with "try-restart" instead of "retry-restart" within the RPM spec, properly restarting upgraded services Auto discovery of ssh, scp and ssh-keygen binaries. Add leading slash to salt helper file paths as per dh_links requirement Fixed x509.certificatemanaged - caserver did not return a certificate removed log line that did nothing. Chocolatey: Make sure the return dictionary from ``chocolatey.version`` contains lowercase keys fix cacheing inline pillar, by not rendering inline pillar during cache save function. The file module correctly perserves file permissions on link target. Upgrade relenv to 0.16.0 and python to 3.10.14 backport the fix from #66164 to fix #65703. use OrderedDict to fix bad indexing. Add Fedora 39 support Upgrade to `cryptography==42.0.5` due to a few security issues: https://github.com/advisories/GHSA-9v9h-cgj8-h64p https://github.com/advisories/GHSA-3ww4-gg4f-jr7f https://github.com/advisories/GHSA-6vqw-3v5j-54x4 Bump to `idna==3.7` due to https://github.com/advisories/GHSA-jjg7-2v4v-x38h Bump to `aiohttp==3.9.4` due to https://github.com/advisories/GHSA-7gpw-8wmc-pm8g Removed RHEL 5 support since long since end-of-lifed Removing Azure-Cloud modules from the code base. Dropped Python 3.7 support since it's EOL in 27 Jun 2023 Remove salt.payload.Serial Remove netmikoconn and pyeapiconn from salt.modules.napalm_mod Removed 'transport' arg from salt.utils.event.get_event Removed the usage of retired Linode API v3 from Salt Cloud Deprecate all Proxmox cloud modules Deprecate all the Vault modules in favor of the Vault Salt Extension https://github.com/salt-extensions/saltext-vault. The Vault modules will be removed in Salt core in

Deprecate all the Docker modules in favor of the Docker Salt Extension https://github.com/saltstack/saltext-docker. The Docker modules will be removed in Salt core in 3009.0. Deprecate all the Zabbix modules in favor of the Zabbix Salt Extension https://github.com/salt-extensions/saltext-zabbix. The Zabbix modules will be removed in Salt core in 3009.0. Deprecate all the Apache modules in favor of the Apache Salt Extension https://github.com/salt-extensions/saltext-apache. The Apache modules will be removed in Salt core in 3009.0. Deprecation warning for Salt's backport of ``OrderedDict`` class which will be removed in 3009 Deprecate Kubernetes modules for move to saltext-kubernetes in version 3009 Deprecated all Pushover modules in favor of the Salt Extension at https://github.com/salt-extensions/saltext-pushover. The Pushover modules will be removed from Salt core in 3009.0 Removed deprecated code: All of ``salt/log/`` which has been on a deprecation path for a long time. Some of the logging handlers found in ``salt/_logging/handlers`` have been removed since the standard library provides them. Removed the deprecated ``salt/modules/cassandra_mod.py`` module and any tests for it. Removed the deprecated ``salt/returners/cassandra_return.py`` module and any tests for it. Removed the deprecated ``salt/returners/django_return.py`` module and any tests for it. Masquerade property will not default to false turning off masquerade if not specified. Addressed Python 3.11 deprecations: Switch to `FullArgSpec` since Py 3.11 no longer has `ArgSpec`, deprecated since Py 3.0 Stopped using the deprecated `cgi` module. Stopped using the deprecated `pipes` module Stopped using the deprecated `imp` module changed 'gpgdecryptmust_succeed' default from False to True When an NFS or FUSE mount fails to unmount when mount options have changed, try again with a lazy umount before mounting again. fix autoaccept gpg keys by supporting it in refresh_db module Made cmd.script work with files from the fileserver via salt-ssh Made slsutil.renderer work with salt-ssh Fixed defaults.merge is not available when using salt-ssh Fix extfs.mkfs missing parameter handling for -C, -d, and -e Fixed Salt master does not renew token Fixed salt-ssh continues state/pillar rendering with incorrect data when an exception is raised by a module on the target Fix extfs.tune has 'reserved' documented twice and is missing the 'reserved_percentage' keyword argument Fix the ability of the 'selinux.portpolicypresent' state to modify. Fixed config.get does not support merge option with salt-ssh Removed an unused assignment in file.patch Fixed vault module fetching more than one secret in one run with single-use tokens Use brew path from which in macbrewpkg module and rely on homebrewbin() everytime Fixed Vault verify option to work on minions when only specified in master config Fixed vault command errors configured locally Fixed issue with basic auth causing invalid header error and 401 Bad Request, by using HTTPBasicAuthHandler instead of header. Make the LXD module work with pyLXD > 2.10 Return error if patch file passed to state file.patch is malformed. Handle failure and error information from tuned module/state Fixed sdb.getorset_hash with Vault single-use tokens Fixed state.test does not work with salt-ssh Made slsutil.findup work with salt-ssh Allow all primitive grain types for autosign_grains , `ipset.new_set` no longer fails when creating a set type that uses the `family` create option Fixed Vault session storage to allow unlimited use tokens fix the efi grain on FreeBSD Fixed gpg.receive_keys returns success on failed import Fixed GPG state module always reports success without changes Fixed GPG state module does not respect test mode Fixed gpg.absent with gnupghome/user, fixed gpg.delete_key with gnupghome Fixed service module does not handle enable/disable if systemd service is an alias Made x509_v2 compound match detection use new runner instead of peer publishing Need to make sure we update pillar during a pillar refresh to ensure that process_beacons has the updated beacons loaded from

This implements the vpc_uuid parameter when creating a droplet. This parameter selects the correct virtual private cloud (private network interface). pkg.installed no longer reports failure when installing packages that are installed via the task manager macxattr.list and macxattr.read will replace undecode-able bytes to avoid raising CommandExecutionError. Fix aptpkg.latest_version performance, reducing number of times to 'shell out' Added option to use a fresh connection for mysql cache Skipped the `isfile` check to greatly increase speed of reading minion keys for systems with a large number of minions on slow file storage Fix utf8 handling in 'pass' renderer Upgade tornado to 6.3.2 Prevent errors due missing 'transactional_update.apply' on SLE Micro and MicroOS. Fix 'unable to unmount' failure to return False result instead of None Fixed issue uninstalling duplicate packages in ``win_appx`` execution module Clean up tech debt, IPC now uses tcp transport. Made salt-ssh more strict when handling unexpected situations and state.* wrappers treat a remote exception as failure, excluded salt-ssh error returns from mine Fix flaky test for LazyLoader with isolated mocking of threading.RLock Fix possible `KeyError` exceptions in `salt.utils.user.getgroupdict` while reading improper duplicated GID assigned for the user. changed vmconfig() to deep-merge vmoverrides of specific VM, instead of simple-merging the whole vm_overrides Fix the way Salt tries to get the Homebrew's prefix The first attempt to get the Homebrew's prefix is to look for the `HOMEBREW_PREFIX` environment variable. If it's not set, then Salt tries to get the prefix from the `brew` command. However, the `brew` command can fail. So a last attempt is made to get the prefix by guessing the installation path. Add missing MySQL Grant SERVICECONNECTIONADMIN to mysql module. Fixed slsutil.update with salt-ssh during template rendering Keep track when an included file only includes sls files but is a requisite. Fixed `gpg.present` succeeds when the keyserver is unreachable Fix typo in nftables module to ensure unique nft family values Dereference symlinks to set proper cli opt Made salt-ssh merge master top returns for the same environment Account for situation where the metadata grain fails because the AWS environment requires an authentication token to query the metadata URL. Improve the condition of overriding target for pip with VENVPIPTARGET environment variable. Added SSH wrapper for logmod Include changes in the results when schedule.present state is run with test=True. Fix extfs.tune doesn't pass retcode to module.run Return an error message when the DNS plugin is not supported Execution modules have access to regular fileclient durring pillar rendering. Fixed a issue with server channel where a minion's public key would be rejected if it contained a final newline character. Allowed publishing to regular minions from the SSH wrapper Added syncing of custom salt-ssh wrappers Made salt-ssh sync custom utils Add ability to use file.managed style check_cmd in file.serialize Revised use of deprecated net-tools and added support for ip neighbour with IPv4 ipneighs, IPv6 ipneighs6 Added password support to Redis returner. Added a state (win_task) for managing scheduled tasks on Windows Added keyring param to gpg modules Added new grain to detect the Salt package type: onedir, pip or system Added Vault AppRole and identity issuance to minions Added Vault AppRole auth mount path configuration option Added distribution of Vault authentication details via response wrapping Add salt package type information. Either onedir, pip or system. Added signature verification to file.managed/archive.extracted Added signedbyany/signedbyall parameters to gpg.verify Added match runner Added Vault token lifecycle management adding new call for openscap xccdf eval supporting new parameters Added Vault lease management utility implement removal of ptf packages in zypper pkg module add JUnit output for saltcheck Add ability for

to create a file if it doesn't exist added cleanup of temporary mountpoint dir for macpackage installed state Add pkg.installed show installable version in test mode Added patch option to Vault SDB driver Added flags to create local users and groups Added inline specification of trusted CA root certificate for Vault Add ability to return False result in test mode of configurableteststate Switched Salt's onedir Python version to 3.11 Added support for dnf5 and its new command syntax Adding a new decorator to indicate when a module is deprecated in favor of a Salt extension. Add jq-esque toentries and fromentries functions Added ability to use PYTHONWARNINGS=ignore to silence deprecation warnings. Add follow_symlinks to file.symlink exec module to switch to os.path.lexists when False Strenghten Salt's HA capabilities with master clustering. Added win_appx state and execution modules for managing Microsoft Store apps and deprovisioning them from systems Add support for show_jid to salt-run Adds support for show_jid master config option to salt-run, so its behaviour matches the salt cli command. Add ability to remove packages by wildcard via apt execution module Added support for master top modules on masterless minions Allowed accessing the regular mine from the SSH wrapper Allow enabling backup for Linode in Salt Cloud Add a backup schedule setter fFunction for Linode VMs Add acme support for manual plugin hooks Upgrade to `tornado>=6.3.3` due to https://github.com/advisories/GHSA-qppv-j76h-2rpx Update to `gitpython>=3.1.35` due to https://github.com/advisories/GHSA-wfm5-v35h-vwf4 and https://github.com/advisories/GHSA-cwvm-v4w8-q58c Removed RHEL 5 support since long since end-of-lifed Removing Azure-Cloud modules from the code base. Dropped Python 3.7 support since it's EOL in 27 Jun 2023 Remove salt.payload.Serial Remove netmikoconn and pyeapiconn from salt.modules.napalm_mod Removed 'transport' arg from salt.utils.event.get_event Removed the usage of retired Linode API v3 from Salt Cloud Deprecate all Proxmox cloud modules Deprecate all the Vault modules in favor of the Vault Salt Extension https://github.com/salt-extensions/saltext-vault. The Vault modules will be removed in Salt core in 3009.0. Deprecate all the Docker modules in favor of the Docker Salt Extension https://github.com/saltstack/saltext-docker. The Docker modules will be removed in Salt core in 3009.0. Deprecate all the Zabbix modules in favor of the Zabbix Salt Extension https://github.com/salt-extensions/saltext-zabbix. The Zabbix modules will be removed in Salt core in 3009.0. Deprecate all the Apache modules in favor of the Apache Salt Extension https://github.com/salt-extensions/saltext-apache. The Apache modules will be removed in Salt core in 3009.0. Deprecation warning for Salt's backport of ``OrderedDict`` class which will be removed in 3009 Deprecate Kubernetes modules for move to saltext-kubernetes in version 3009 Deprecated all Pushover modules in favor of the Salt Extension at https://github.com/salt-extensions/saltext-pushover. The Pushover modules will be removed from Salt core in 3009.0 Masquerade property will not default to false turning off masquerade if not specified. Addressed Python 3.11 deprecations: Switch to `FullArgSpec` since Py 3.11 no longer has `ArgSpec`, deprecated since Py 3.0 Stopped using the deprecated `cgi` module. Stopped using the deprecated `pipes` module Stopped using the deprecated `imp` module changed 'gpgdecryptmust_succeed' default from False to True When an NFS or FUSE mount fails to unmount when mount options have changed, try again with a lazy umount before mounting again. fix autoaccept gpg keys by supporting it in refresh_db module Made cmd.script work with files from the fileserver via salt-ssh Made slsutil.renderer work with salt-ssh Fixed defaults.merge is not available when using salt-ssh Fix extfs.mkfs missing parameter handling for -C, -d, and -e Fixed Salt master does not renew token Fixed salt-ssh continues state/pillar rendering with incorrect data when an exception is raised by a module on the target Fix extfs.tune has 'reserved' documented twice and is missing the 'reserved_percentage' keyword argument Fix the ability of the

state to modify. Fixed config.get does not support merge option with salt-ssh Removed an unused assignment in file.patch Fixed vault module fetching more than one secret in one run with single-use tokens Use brew path from which in macbrewpkg module and rely on homebrewbin() everytime Fixed Vault verify option to work on minions when only specified in master config Fixed vault command errors configured locally Fixed issue with basic auth causing invalid header error and 401 Bad Request, by using HTTPBasicAuthHandler instead of header. Make the LXD module work with pyLXD > 2.10 Return error if patch file passed to state file.patch is malformed. Handle failure and error information from tuned module/state Fixed sdb.getorset_hash with Vault single-use tokens Fixed state.test does not work with salt-ssh Made slsutil.findup work with salt-ssh Allow all primitive grain types for autosign_grains , `ipset.new_set` no longer fails when creating a set type that uses the `family` create option Fixed Vault session storage to allow unlimited use tokens fix the efi grain on FreeBSD Fixed gpg.receive_keys returns success on failed import Fixed GPG state module always reports success without changes Fixed GPG state module does not respect test mode Fixed gpg.absent with gnupghome/user, fixed gpg.delete_key with gnupghome Fixed service module does not handle enable/disable if systemd service is an alias Made x509_v2 compound match detection use new runner instead of peer publishing Need to make sure we update pillar during a pillar refresh to ensure that process_beacons has the updated beacons loaded from pillar. This implements the vpc_uuid parameter when creating a droplet. This parameter selects the correct virtual private cloud (private network interface). pkg.installed no longer reports failure when installing packages that are installed via the task manager macxattr.list and macxattr.read will replace undecode-able bytes to avoid raising CommandExecutionError. Fix aptpkg.latest_version performance, reducing number of times to 'shell out' Added option to use a fresh connection for mysql cache Skipped the `isfile` check to greatly increase speed of reading minion keys for systems with a large number of minions on slow file storage Fix utf8 handling in 'pass' renderer Upgade tornado to 6.3.2 Prevent errors due missing 'transactional_update.apply' on SLE Micro and MicroOS. Fix 'unable to unmount' failure to return False result instead of None Fixed issue uninstalling duplicate packages in ``win_appx`` execution module Clean up tech debt, IPC now uses tcp transport. Made salt-ssh more strict when handling unexpected situations and state.* wrappers treat a remote exception as failure, excluded salt-ssh error returns from mine Fix flaky test for LazyLoader with isolated mocking of threading.RLock Fix possible `KeyError` exceptions in `salt.utils.user.getgroupdict` while reading improper duplicated GID assigned for the user. changed vmconfig() to deep-merge vmoverrides of specific VM, instead of simple-merging the whole vm_overrides Fix the way Salt tries to get the Homebrew's prefix The first attempt to get the Homebrew's prefix is to look for the `HOMEBREW_PREFIX` environment variable. If it's not set, then Salt tries to get the prefix from the `brew` command. However, the `brew` command can fail. So a last attempt is made to get the prefix by guessing the installation path. Add missing MySQL Grant SERVICECONNECTIONADMIN to mysql module. Fixed slsutil.update with salt-ssh during template rendering Keep track when an included file only includes sls files but is a requisite. Fixed `gpg.present` succeeds when the keyserver is unreachable Fix issue with openscap when the error was outside the expected

It now returns failed with the error code and the error Fix typo in nftables module to ensure unique nft family values Dereference symlinks to set proper cli opt Made salt-ssh merge master top returns for the same environment Account for situation where the metadata grain fails because the AWS environment requires an authentication token to query the metadata URL. Improve the condition of overriding target for pip with VENVPIPTARGET environment variable. Added SSH wrapper for logmod Include changes in the results when schedule.present state is run with test=True. Fixed Salt-SSH pillar rendering and state rendering with nested SSH calls when called via saltutil.cmd or in an orchestration Fix extfs.tune doesn't pass retcode to module.run Fix boto execution module loading Removed PR 65185 changes since incomplete solution Return an error message when the DNS plugin is not supported Allowed publishing to regular minions from the SSH wrapper Added syncing of custom salt-ssh wrappers Made salt-ssh sync custom utils Add ability to use file.managed style check_cmd in file.serialize Revised use of deprecated net-tools and added support for ip neighbour with IPv4 ipneighs, IPv6 ipneighs6 Added password support to Redis returner. Added keyring param to gpg modules Added new grain to detect the Salt package type: onedir, pip or system Added Vault AppRole and identity issuance to minions Added Vault AppRole auth mount path configuration option Added distribution of Vault authentication details via response wrapping Add salt package type information. Either onedir, pip or system. Added signature verification to file.managed/archive.extracted Added signedbyany/signedbyall parameters to gpg.verify Added match runner Added Vault token lifecycle management adding new call for openscap xccdf eval supporting new parameters Added Vault lease management utility implement removal of ptf packages in zypper pkg module add JUnit output for saltcheck Add ability for file.keyvalue to create a file if it doesn't exist added cleanup of temporary mountpoint dir for macpackage installed state Add pkg.installed show installable version in test mode Added patch option to Vault SDB driver Added flags to create local users and groups Added inline specification of trusted CA root certificate for Vault Add ability to return False result in test mode of configurableteststate Switched Salt's onedir Python version to 3.11 Added support for dnf5 and its new command syntax Adding a new decorator to indicate when a module is deprecated in favor of a Salt extension. Add jq-esque toentries and fromentries functions Added ability to use PYTHONWARNINGS=ignore to silence deprecation warnings. Add follow_symlinks to file.symlink exec module to switch to os.path.lexists when False Added win_appx state and execution modules for managing Microsoft Store apps and deprovisioning them from systems Add support for show_jid to salt-run Adds support for show_jid master config option to salt-run, so its behaviour matches the salt cli command. Add ability to remove packages by wildcard via apt execution module Added support for master top modules on masterless minions Allowed accessing the regular mine from the SSH wrapper Allow enabling backup for Linode in Salt Cloud Add a backup schedule setter fFunction for Linode VMs Add acme support for manual plugin hooks Upgrade to `tornado>=6.3.3` due to https://github.com/advisories/GHSA-qppv-j76h-2rpx Update to `gitpython>=3.1.35` due to https://github.com/advisories/GHSA-wfm5-v35h-vwf4 and https://github.com/advisories/GHSA-cwvm-v4w8-q58c Deprecate and stop using ``salt.features`` Change module search path priority, so Salt extensions can be overridden by syncable modules and moduledirs. You can switch back to the old logic by setting features.enabledeprecatedmodulesearchpathpriority to true, but it will be removed in Salt 3008. Fix an issue with mac_shadow that was causing a command execution error when retrieving values that were not yet set. For example, retrieving last login before the user had logged in. Fixed an issue when keys didn't match because of line endings Corrected encoding of credentials for use with Artifactory Use `send_multipart` instead of `send` when sending multipart

Fix an issue where the minion would crash on Windows if some of the grains failed to resolve Fix issue with openscap when the error was outside the expected scope. It now returns failed with the error code and the error Upgrade relenv to 0.15.0 to fix namespaced packages installed by salt-pip Fix regression of fileclient re-use when rendering sls pillars and states Fixes the s3fs backend computing the local cache's files with the wrong hash type Fixed Salt-SSH pillar rendering and state rendering with nested SSH calls when called via saltutil.cmd or in an orchestration Fix boto execution module loading Removed PR 65185 changes since incomplete solution catch only ret/ events not all returning events. Fix nonsensical time in fileclient timeout error. Fixes an issue when reading/modifying ini files that contain unicode characters added https proxy to the list of proxies so that requests knows what to do with https based proxies Ensure minion channels are closed on any master connection error. Fixed issue where Salt can't find libcrypto when pip installed from a cloned repo Fix RPM package systemd scriptlets to make RPM packages more universal Fixed an issue where fileclient requests during Pillar rendering cause fileserver backends to be needlessly refreshed. Fix exceptions being set on futures that are already done in ZeroMQ transport Use hmac compare_digest method in hashutil module to mitigate potential timing attacks Fix request channel default timeout regression. In 3006.5 it was changed from 60 to 30 and is now set back to 60 by default. Upgrade relenv to 0.15.1 to fix debugpy support. Bump to ``cryptography==42.0.0`` due to https://github.com/advisories/GHSA-3ww4-gg4f-jr7f In the process, we were also required to update to ``pyOpenSSL==24.0.0`` Bump to `cryptography==42.0.3` due to https://github.com/advisories/GHSA-3ww4-gg4f-jr7f Salt no longer time bombs user installations on code using `salt.utils.versions.warnuntildate` Fix un-closed transport in tornado netapi CVE-2024-22231 Prevent directory traversal when creating syndic cache directory on the master CVE-2024-22232 Prevent directory traversal attacks in the master's serve_file method. These vulerablities were discovered and reported by: Yudi Zhao(Huawei Nebula Security Lab),Chenwei Jiang(Huawei Nebula Security Lab) Update some requirements which had some security issues: Bump to `pycryptodome==3.19.1` and `pycryptodomex==3.19.1` due to https://github.com/advisories/GHSA-j225-cvw7-qrx7 Bump to `gitpython==3.1.41` due to https://github.com/advisories/GHSA-2mqj-m65w-jghx Bump to `jinja2==3.1.3` due to https://github.com/advisories/GHSA-h5c8-rqwp-cp95 Salt 3005.5 (2024-01-19) ======================== Security -- Fix CVE-2024-22231 Prevent directory traversal when creating syndic cache directory on the master. Fix CVE-2024-22232 Prevent directory traversal attacks in the master's serve_file method. These vulnerablities were discovered and reported by: Yudi Zhao(Huawei Nebula Security Lab),Chenwei Jiang(Huawei Nebula Security Lab) (#565) Salt v3005.4 (2023-10-16) ========================= Tech Debt - support for pysss removed due to functionality addition in Python 3.3 Improved error message when state arguments are accidentally passed as a string Allow `pip.install` to create a log file that is passed in if the parent directory is writeable Fixed merging of complex pillar overrides with salt-ssh states Fixed gpg pillar rendering with salt-ssh Made salt-ssh states not re-render pillars unnecessarily Made Salt maintain options in Debian package repo definitions Migrated all tasks to . `tasks/docs.py` -> `tools/precommit/docs.py` `tasks/docstrings.py` -> `tools/precommit/docstrings.py` `tasks/loader.py` -> `tools/precommit/loader.py` `tasks/filemap.py` -> `tools/precommit/filemap.py` Fix salt user login shell path in Debian packages Fill out lsbdistribxxxx (best estimate) grains if problems with retrieving lsb_release data Fixed an issue in the ``file.directory`` state where the ``children_only`` keyword argument was not being respected. Move salt.ufw to correct location /etc/ufw/applications.d/ Fixed salt-ssh stacktrace when retcode is not an integer Fixed SSH shell seldomly fails to report any exit code Fixed some issues in x509_v2 execution module private key functions Fixed grp.getgrall() in utils/user.py causing performance issues Fix user.list_groups omits remote groups via sssd,

Ensure sync from _grains occurs before attempting pillar compilation in case custom grain used in pillar file Moved gitfs locks to salt working dir to avoid lock wipes Only attempt to create a keys directory when `--gen-keys` is passed to the `salt-key` CLI Fix nonce verification, request server replies do not stomp on eachother. speed up yumpkg list_pkgs by not requiring digest or signature verification on lookup. Fix pkg.latest failing on windows for winrepo packages where the package is already up to date Ensure kwarg is preserved when checking for kwargs. This change affects proxy minions when used with Deltaproxy, which had kwargs popped when targeting multiple minions id. Fixes traceback when state id is an int in a reactor SLS file. Install logrotate config as /etc/logrotate.d/salt-common for Debian packages Remove broken /etc/logrotate.d/salt directory from 3006.3 if it exists. Use ``sha256`` as the default ``hash_type``. It has been the default since Salt v2016.9 Preserve ownership on log rotation Ensure that the correct value of jid_inclue is passed if the argument is included in the passed keyword arguments. Uprade relenv to 0.14.2 Update openssl to address CVE-2023-5363. Fix bug in openssl setup when openssl binary can't be found. Add M1 mac support. Fix regex for filespec adding/deleting fcontext policy in selinux Ensure CLI options take priority over Saltfile options Test mode for state function `saltmod.wheel` no longer set's `result` to `(None,)` Client only process events which tag conforms to an event return. Fixes an issue setting user or machine policy on Windows when the Group Policy directory is missing Fix regression in file module which was not re-using a file client. pip.installed state will now properly fail when a specified user does not exists Publish channel connect callback method properly closes it's request channel. Ensured the pillar in SSH wrapper modules is the same as the one used in template rendering when overrides are passed Fix file.comment ignore_missing not working with multiline char Warn when an un-closed transport client is being garbage collected. Only generate the HMAC's for ``libssl.so.1.1`` and ``libcrypto.so.1.1`` if those files exist. Fixed an issue where Salt Cloud would fail if it could not delete lingering PAexec binaries Added Salt support for Debian 12 Added Salt support for Amazon Linux 2023 Bump to `cryptography==41.0.4` due to https://github.com/advisories/GHSA-v8gr-m533-ghj9 Bump to `cryptography==41.0.7` due to https://github.com/advisories/GHSA-jfhm-5ghh-2f97 Fix CVE-2023-34049 by ensuring we do not use a predictable name for the script and correctly check returncode of scp command. This only impacts salt-ssh users using the pre-flight option. Update to `gitpython>=3.1.35` due to https://github.com/advisories/GHSA-wfm5-v35h-vwf4 and https://github.com/advisories/GHSA-cwvm-v4w8-q58c Bump to `cryptography==41.0.4` due to https://github.com/advisories/GHSA-v8gr-m533-ghj9 Upgrade relenv to 0.13.12 to address CVE-2023-4807 Bump to `urllib3==1.26.17` or `urllib3==2.0.6` due to https://github.com/advisories/GHSA-v845-jxx5-vc9f Bump to `gitpython==3.1.37` due to https://github.com/advisories/GHSA-cwvm-v4w8-q58c Fix CVE-2023-34049 by ensuring we do not use a predictable name for the script and correctly check returncode of scp command. This only impacts salt-ssh users using the pre-flight option. (cve-2023-34049) Bump to `cryptography==41.0.4` due to https://github.com/advisories/GHSA-v8gr-m533-ghj9 (#65267) Bump to `urllib3==1.26.17` or `urllib3==2.0.6` due to https://github.com/advisories/GHSA-v845-jxx5-vc9f (#65334) Bump to `gitpython==3.1.37` due to https://github.com/advisories/GHSA-cwvm-v4w8-q58c (#65383) Fix env and improve cache cleaning see more info at pull #65017. (#65002) Update to `gitpython>=3.1.35` due to https://github.com/advisories/GHSA-wfm5-v35h-vwf4 and https://github.com/advisories/GHSA-cwvm-v4w8-q58c (#65167) Fedora 36 support was removed because it reached EOL Handle deprecation warnings: Switch to `FullArgSpec` since Py 3.11 no longer has `ArgSpec`, deprecated since Py 3.0 Stop using the deprecated `cgi` module Stop using the deprecated `pipes` module Stop using the deprecated `imp` module Replace libnacl with PyNaCl Don't hardcode the python version on the Salt Package tests and on the `pkg/debian/salt-cloud.postinst` file Some more deprecated code fixes: Stop using the deprecated `locale.getdefaultlocale()` function Stop accessing deprecated attributes

usage is deprecated and not required, a no-op Bump to `pyyaml==6.0.1` due to https://github.com/yaml/pyyaml/issues/601 and address lint issues Fix for assume role when used salt-cloud to create aws ec2. fixes aptpkg module by checking for blank comps. `wheel.file_roots.find` is now able to find files in subdirectories of the roots. pkg.latest no longer fails when multiple versions are reported to be installed (e.g. updating the kernel) Do not update the credentials dictionary in `utils/aws.py` while iterating over it, and use the correct delete functionality fixed runner not having a proper exit code when runner modules throw an exception. `pip.listallversions` now works with `indexurl` and `extraindex_url` speed up file.recurse by using prefix with cp.listmasterdir and remove an un-needed loop. Preserve test=True condition while running sub states. Job returns are only sent to originating master Fixes an issue with failing subsequent state runs with the lgpo state module. The ``lgpo.get_polcy`` function now returns all boolean settings. Fix SELinux get policy with trailing whitespace Fixes an issue with boolean settings not being reported after being set. The ``lgpo.get_polcy`` function now returns all boolean settings. Ensure body is returned when salt.utils.http returns something other than 200 with tornado backend. Allow long running pillar and file client requests to finish using requestchanneltimeout and requestchanneltries minion config. Fix state_queue type checking to allow int values Call global logger when catching pip.list exceptions in states.pip.installed Rename global logger `log` to `logger` inside pip_state Fixes permissions created by the Debian and RPM packages for the salt user. The salt user created by the Debian and RPM packages to run the salt-master process, was previously given ownership of various directories in a way which compromised the benefits of running the salt-master process as a non-root user. This fix sets the salt user to only have write access to those files and directories required for the salt-master process to run. Fix user.present state when groups is unset to ensure the groups are unchanged, as documented. Fixes issue with MasterMinion class loading configuration from `/etc/salt/minion.d/*.conf. The MasterMinion class (used for running orchestraions on master and other functionality) was incorrectly loading configuration from `/etc/salt/minion.d/.conf`, when it should only load configuration from `/etc/salt/master` and `/etc/salt/master.d/.conf`. Fixed issue in macuser.enableauto_login that caused the user's keychain to be reset at each boot Fixed KeyError in logs when running a state that fails. Fixed x509v2 `createprivatekey`/`createcrl` unknown kwargs: pub_fun... remove the hard coded python version in error. `salt-pip` now properly errors out when being called from a non `onedir` environment. Ensure we return an error when adding the key fails in the pkgrepo state for debian hosts. Fixed file client private attribute reference on `SaltMakoTemplateLookup` Fix pkgrepo.absent failures on apt-based systems when repo either a) contains a trailing slash, or b) there is an arch mismatch. Fix detection of Salt codename by "salt_version" execution module Ensure selinux values are handled lowercase Remove the `clr.AddReference`, it is causing an `Illegal characters in path` exception Update `pkg.group_installed` state to support repo options Fix salt user login shell path in Debian packages Allow for multiple user's keys presented when authenticating, for example: root, salt, etc. Fixed an issue with ``lgpo_reg`` where existing entries for the same key in ``Registry.pol`` were being overwritten in subsequent runs if the value name in the subesequent run was contained in the existing value name. For example, a key named ``SetUpdateNotificationLevel`` would be overwritten by a subsequent run attempting to set ``UpdateNotificationLevel`` Add search for %ProgramData%\Chocolatey\choco.exe to determine if Chocolatey is installed or not Fix regression for user.present on handling groups with dupe GIDs Fix inconsistent use of args in

Ensure we raise an error when the name argument is invalid in pkgrepo.managed state for systems using apt. Fix file.symlink will not replace/update existing symlink Fixed salt-ssh state.* commands returning retcode 0 when state/pillar rendering fails Fix pkg.install when using a port in the url. `win_pkg` Fixes an issue runing `pkg.install` with `version=latest` where the new installer would not be cached if there was already an installer present with the same name. Added a `test:full` label in the salt repository, which, when selected, will force a full test run. Syndic's asyncreqchannel uses the asynchornous version of request channel Ensure runners properly save information to job cache. Added salt.ufw to salt-master install on Debian and Ubuntu Added support for Chocolatey 2.0.0+ while maintaining support for older versions Updated semanage fcontext to use --modify if context already exists when adding context Preserve request client socket between requests. Show user friendly message when pillars timeout File client timeouts durring jobs show user friendly errors instead of tracbacks SaltClientError does not log a traceback on minions, we expect these to happen so a user friendly log is shown. Look in location salt is running from, this accounts for running from an unpacked onedir file that has not been installed. Preserve credentials on spawning platforms, minions no longer re-authenticate with every job when using `multiprocessing=True`. Fixed uninstaller to not remove the `salt` directory by default. This allows the `extras-3.##` folder to persist so salt-pip dependencies are not wiped out during an upgrade. fix msteams by adding the missing header that Microsoft is now enforcing. Fix env and improve cache cleaning see more info at pull #65017. Better error message on inconsistent decoded payload Handle permissions access error when calling `lsb_release` with the salt user Allow schedule state module to update schedule when the minion is offline. Fixed creation of wildcard DNS in SAN in `x509_v2` The macOS installer no longer removes the extras directory Added a script to automate setting up a 2nd minion in a user context on Windows Several fixes to the CI workflow: Don't override the `on` Jinja block on the `ci.yaml` template. This enables reacting to labels getting added/removed to/from pull requests. Switch to using `tools` and re-use the event payload available instead of querying the GH API again to get the pull request labels Concentrate test selection by labels to a single place Enable code coverage on pull-requests by setting the `test:coverage` label Upgrade to `cryptography==41.0.3`(and therefor `pyopenssl==23.2.0` due to https://github.com/advisories/GHSA-jm77-qphf-c4w8) This only really impacts pip installs of Salt and the windows onedir since the linux and macos onedir build every package dependency from source, not from pre-existing wheels. Also resolves the following cryptography advisories: Due to: https://github.com/advisories/GHSA-5cpq-8wj7-hf2v https://github.com/advisories/GHSA-x4qr-2fvf-3mr5 https://github.com/advisories/GHSA-w7pp-m8wf-vj6r Bump to `aiohttp==3.8.5` due to https://github.com/advisories/GHSA-45c4-8wx5-qw6w Bump to `certifi==2023.07.22` due to https://github.com/advisories/GHSA-xqr8-7jwr-rhp7 Upgrade `relenv` to `0.13.2` and Python to `3.10.12` Addresses multiple CVEs in Python's dependencies: https://docs.python.org/release/3.10.12/whatsnew/changelog.html#python-3-10-12 Update to `gitpython>=3.1.32` due to https://github.com/advisories/GHSA-pr76-5cm5-w9cj In scenarios where PythonNet fails to load, Salt will now fall back to WMI for gathering grains information fix CVE-2023-20897 by catching exception instead of letting exception disrupt connection Fixed gitfs cachedir_basename to avoid hash collisions. Added MP Lock to gitfs. These changes should stop race conditions. Upgrade to `requests==2.31.0` Due to: https://github.com/advisories/GHSA-j8r2-6x86-q33q Upgrade to `cryptography==41.0.3`(and therefor `pyopenssl==23.2.0` due to https://github.com/advisories/GHSA-jm77-qphf-c4w8) This only really impacts pip installs of Salt and the windows onedir since the linux and macos onedir build every package dependency from source, not from pre-existing wheels. Also resolves the following cryptography advisories: Due to: https://github.com/advisories/GHSA-5cpq-8wj7-hf2v https://github.com/advisories/GHSA-x4qr-2fvf-3mr5 https://github.com/advisories/GHSA-w7pp-m8wf-vj6r There is no security upgrade available for Py3.5 Bump to

due to https://github.com/advisories/GHSA-xqr8-7jwr-rhp7 Upgrade `relenv` to `0.13.2` and Python to `3.10.12` Addresses multiple CVEs in Python's dependencies: https://docs.python.org/release/3.10.12/whatsnew/changelog.html#python-3-10-12 Additional required package upgrades It's now `pyzmq>=20.0.0` on all platforms, and `<=22.0.3` just for windows. Upgrade to `pyopenssl==23.0.0` due to the cryptography upgrade. (#63757) fix CVE-2023-20897 by catching exception instead of letting exception disrupt connection (cve-2023-20897) Fixed gitfs cachedir_basename to avoid hash collisions. Added MP Lock to gitfs. These changes should stop race conditions. (cve-2023-20898) Upgrade to `requests==2.31.0` Due to: https://github.com/advisories/GHSA-j8r2-6x86-q33q (#64336) Upgrade to `cryptography==41.0.3`(and therefor `pyopenssl==23.2.0` due to https://github.com/advisories/GHSA-jm77-qphf-c4w8) Also resolves the following cryptography advisories: Due to: https://github.com/advisories/GHSA-5cpq-8wj7-hf2v https://github.com/advisories/GHSA-x4qr-2fvf-3mr5 https://github.com/advisories/GHSA-w7pp-m8wf-vj6r There is no security upgrade available for Py3.5 (#64595) Bump to `certifi==2023.07.22` due to https://github.com/advisories/GHSA-xqr8-7jwr-rhp7 Python 3.5 cannot get the updated requirements since certifi no longer supports this python version (#64720) Check that the return data from the cloud create function is a dictionary before attempting to pull values out. Ensure NamedLoaderContext's have their value() used if passing to other modules add documentation note about reactor state ids. Added support for ``test=True`` to the ``file.cached`` state module Updated `sourcehash` documentation and added a log warning when `sourcehash` is used with a source other than `http`, `https` and `ftp`. Fixed clear pillar cache on every highstate and added cleanpillarcache=False to saltutil functions. Fix dmsetup device names with hyphen being picked up. Update all the scheduler functions to include a fire_event argument which will determine whether to fire the completion event onto the event bus. This event is only used when these functions are called via the schedule execution modules. Update all the calls to the schedule related functions in the deltaproxy proxy minion to include fire_event=False, as the event bus is not available when these functions are called. , Default to a 0 timeout if none is given for the terraform roster to avoid `-o ConnectTimeout=None` when using `salt-ssh` Disable class level caching of the file client on `SaltCacheLoader` and properly use context managers to take care of initialization and termination of the file client. Fixed several file client uses which were not properly terminating it by switching to using it as a context manager whenever possible or making sure `.destroy()` was called when using a context manager was not possible. Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package Stop passing `kwargs` and be explicit about the keyword arguments to pass, namely, to `cp.cache_file` call in `salt.states.pkg` lgporeg.setvalue now returns ``True`` on success instead of ``None`` Make salt user's home /opt/saltstack/salt Fix cmd.run doesn't output changes in test mode Move salt user and group creation to common package Fixed issue in salt-cloud so that multiple masters specified in the cloud are written to the minion config properly Make sure the `salt-ssh` CLI calls it's `fsclient.destroy()` method when done. Stop using the deprecated `salt.transport.client` imports. Add a `.pth` to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. Fix ``lgpo_reg`` state to work with User policy Cloud deployment directories are owned by salt user and group ``lgpo_reg`` state now enforces and reports changes to the registry Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enabledeprecatedorchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 Removed ``runtests`` targets from ``noxfile.py`` Removed the PyObjC dependency. This addresses problems with building a one dir build for

It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. Removed `SixRedirectImporter` from Salt. Salt hasn't shipped `six` since Salt 3004. renamed `keepjobs`, specifying job cache TTL in hours, to `keepjobs_seconds`, specifying TTL in seconds. `keep_jobs` will be removed in the Argon release Removing all references to napalm-base which is no longer supported. The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py The `expandrepodef` function in `salt.modules.aptpkg` is now deprecated. It's only used in `salt.states.pkgrepo` and it has no use of being exposed to the CLI. Deprecated defunct Django returner Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions Removing manufacture grain which has been deprecated. Removing deprecated utils/boto3_elasticsearch.py Removing support for the now deprecated extnodes from salt/master.py. Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. `salt.utils.version.StrictVersion` is now deprecated and it's use should be replaced with `salt.utils.version.Version`. More intelligent diffing in changes of file.serialize state. Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. ``umask`` is now a global state argument, instead of only applying to ``cmd`` states. Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. Improve support for listing macOS brew casks Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. Also improved exception handling in `grant_add` which did not log the original error message and replaced it with a generic error. Use VENVPIPTARGET environment variable as a default target for pip if present. Disabled FQDNs grains on macOS by default Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated Enhance capture of error messages for Zypper calls in zypperpkg module. Removed GPG13_1 check Requisite state chunks now all consistently contain `id`, `sls` and `name`. netapienableclients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapienableclients option with required clients to the master config will disable salt-api. Stop relying on `salt/version.py` to write Salt's version. Instead use `salt/version.txt` which only contains the version string. Set enablefqdnsgrains to be False by default. Changelog snippet files must now have a `.md` file extension to be more explicit on what type of rendering is done when they are included in the main `CHANGELOG.md` file. Upgraded to `relenv==0.9.0` Add kwargs to handle extra parameters for http.query Fix mounted bind mounts getting active mount options added Fix `sysctl.present` converts spaces to tabs. Fixes state pkg.purged to purge removed packages on Debian family systems Fix fun_args missing from syndic returns Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True Issue #49310: Allow users to touch a file with Unix date of birth Do not raise an exception in pkg.info_installed on nonzero return code Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this

Don't check for cached pillar errors on state.apply , , Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. When usercreate or userremove fail, return False instead of returning the error. Include syncroster when syncall is called. Avoid warning noise in lograte.get Fixed listing revoked keys with gpg.list_keys Fix mount.mounted does not handle blanks properly Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. Fix spelling error for pythonshell argument in dpkglower module Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) Fixed malformed state return when testing file.managed with unavailable source file Included stdout in error message for Zypper calls in zypperpkg module. Fixed pillar.filter_by with salt-ssh Fix boto_route53 issue with (multiple) VPCs. Remove log from mine runner which was not used. Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Updating Slack engine to use slack_bolt library. Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. Fix salt.modules.pip:is_installed doesn't handle locally installed packages Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. linux_shadow: Fix cases where malformed shadow entries cause `user.present` states to fail. Fixed salt.utils.compat.cmp to work with dictionaries Fixed formatting for terse output mode Fixed RecursiveDictDiffer with added nested dicts Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fixed saltnado websockets disconnecting immediately Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fix postgres_privileges.present not idempotent for functions Fixed influxdbcontinuousquery.present state to provide the client args to the underlying module on create. Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. add load balancing policy default option and ensure the module can be executed with arguments from CLI Fix salt-ssh when using imports with extra-filerefs. Fixed cache directory corruption startup error Update docs remove dry_run in docstring of file.blockreplace state. Adds Parrot to OSFamilyMap in grains. Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run Use return code in iptables --check to verify rule exists. Fix regression pip.installed does not pass env_vars when calling pip.list Fix xfs module when additional output included in mkfs.xfs command. Fixed parsing new format of terraform states in roster.terraform Fixed recognizing installed ARMv7 rpm packages in compatible architectures. Fixing changes dict in pkg state to be consistent when installing and test=True. Fix cron.present duplicating entries when changing timespec to special. Made salt-ssh respect --wipe again state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. Fix ipset state when the comment kwarg is set. Fix issue with archive.unzip where the password was not being encoded for the extract function Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different `oscodename`, `osfullname`, `osfinger` grains if lsb-release is installed or

They have been changed to only derive these OS grains from `/etc/os-release`. Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. Fix ssh config roster to correctly parse the ssh config files that contain spaces. Fix SoftLayer configuration not raising an exception when a domain is missing Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. Fixed malformed state return when merge-serializing to an improperly formatted file Made cmdmod._run When deleting the vault cache, also delete from the session cache Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. win_lgpo: Display conflicting policy names when more than one policy is found winlgpo: Fixed intermittent KeyError when getting policy setting using lgpo.getpolicy Fixed listing minions on OpenBSD Make Salt to return an error on "pkg" modules and states when targeting duplicated package names Fix return of REST-returned permissions when auth_list is set Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() Fix attr=all handling in pkg.list_pkgs() (yum/zypper). Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias Fix ordering of args to libcloudstorage.downloadobject module Ignore extend declarations in sls files that are excluded. Remove leftover usage of impacket Pass executable path from getpath_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. Ignore some command return codes in openbsdrcctl_service to prevent spurious errors Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up Restored Salt's DeprecationWarnings Fixed issue with forward slashes on Windows with file.recurse and clean=True Recognize OSMC as Debian-based Fixed Zypper module failing on RPM lock file being temporarily unavailable. Improved error handling and diagnostics in the proxmox salt-cloud driver Added EndeavourOS to the Arch os_family. Fix salt-ssh not detecting `platform-python` as a valid interpreter on EL8 Fix pkg.version_cmp on openEuler and a few other os flavors. Fix localhost detection in glusterfs.peers Fix Salt Package Manager (SPM) exception when calling spm create_repo . Fix matcher slowness due to loader invocation Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect Fix pyobjects renderer access to opts and sls Fix use of random shuffle and sample functions as Jinja filters Fix groups with duplicate GIDs are not returned by getgrouplist Fix the "zpool.present" state when enabling zpool features that are already active. Fix ability to execute remote file client methods in saltcheck Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl

Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. Added directory mode for file.copy with makedirs Provide better error handling in the various napalm proxy minion functions when the device is not accessible. When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. Fixed parsing CDROM apt sources Update sanitizing masking for Salt SSH to include additional password like strings. Fix user/group checking on file state functions in the test mode. Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. Fix possible tracebacks if there is a package with '' or '======' in the description is installed on the Debian based minion. Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver Fix rendering of pyobjects states in saltcheck Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. Remove the connectiontimeout from netmikoconnectionargs before netmikoconnectionargs is added to context_ Fix order specific mount.mounted options for persist Fixed salt-cloud cloning a proxmox VM with a specified new vmid. Fix runas with cmd module when using the onedir bundled packages Update setproctitle version for all platforms Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver Handle PermissionError when importing crypt when FIPS is enabled. Correctly reraise exceptions in states.http Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline Fixed vault ext pillar return data for KV v2 Fix saltcheck gettopstates doesn't pass saltenv to state.showtop Fix groupadd.* functions hard code relative command name Fixed pdbedit.create trying to use a bytes-like hash as string. Fix depenency on legacy boto module in boto3 modules Modified "getflags" function so that it returns regex flags instead of integers Change startup ReqServer log messages from error to info level. Fix kmod.* functions hard code relative command name Remove mako as a dependency in Windows and macOS. Fix macbrewpkg to work with null taps Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group

Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly Remove Azure deprecation messages from functions that always run w/ salt-cloud Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 Fixed master job scheduler using when LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. Fixed dockermod version_info function for docker-py 6.0.0+ Moving setting the LOADBALANCINGPOLICYMAP dictionary into the try except block that determines if the cassandracql module should be made available. Updating various MongoDB module functions to work with latest version of pymongo. Restored channel for Syndic minions to send job returns to the Salt master. removed resolvedeps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. Fix systemd_service.* functions hard code relative command name Fix file.symlink backupname operation can copy remote contents to local disk Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts Fixed gpg_passphrase issue with gpg decrypt/encrypt functions Fix file.tidied FileNotFoundError Fixed bug where module.wait states were detected as running legacy module.run syntax Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start The `opts` dunder dictionary is now added to the loader's `pack` if not already present, which makes it accessible via the `salt.loader.context.NamedLoaderContext` class. Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts Fix btrfs.subvolume_snapshot command failing Fix file.retention_schedule always reports changes Fix mongo authentication for mongo ext_pillar and mongo returner This fix also include the ability to use the mongo connection string for mongo ext_pillar Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. TCP transport documentation now contains proper master/minion-side filtering information Fixed gpg.verify does not respect gnupghome User responsible for the runner is now correctly reported in the events on the event bus for the runner. Made pillar cache pass extra minion data as well Fix serious performance issues with the file.tidied module Fix rpm_lowpkg version comparison logic when using rpm-vercmp and only one version has a release number. Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available ``service.status`` on Windows does no longer throws a CommandExecutionError if the service is not found on the system. It now returns "Not Found" instead. When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. LGPO: Added support for "Relax minimum password length limits" Fixed the ability to set a scheduled task to auto delete if not scheduled to run again (``delete_after``) When a job is disabled only increase it's nextfiretime value if the job would have run at the current time, eg. the current nextfiretime == now. have salt.template.compiletemplatestr cleanup its temp files. Check file is not empty before attempting to read pillar disk cache file Fixed an issue with generating fingerprints for public keys with different line endings Add `fileserverinterval` and `maintenanceinterval` master configuration options. These options control how often to restart the FileServerUpdate and Maintenance

Some file server and pillar configurations are known to cause memory leaks over time. A notable example of this are configurations that use pygit2. Salt can not guarantee dependency libraries like pygit2 won't leak memory. Restarting any long running processes that use pygit2 guarantees we can keep the master's memory usage in check. macxattr.list and macxattr.read will replace undecode-able bytes to avoid raising CommandExecutionError. Change default GPG keyserver from pgp.mit.edu to keys.openpgp.org. fix cherrypy 400 error output to be less generic. Ensure kwargs is passed along to callapt when passed into install function. remove eval and update logging to be more informative on bad config add linux_distribution to util to stop dep warning Fix valuerror when trying to close fileclient. Remove usage of del and close the filclient properly. Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available. Clarifying documentation for extension_modules configuration option. Windows pkg module now properly handles versions containing strings Handle the scenario when the checkcmd requisite is used with a state function when the state has a local checkcmd function but that function isn't used by that function. Issue #63981: Allow users to pass verify_ssl to pkg.install/pkg.installed on Windows Hardened permissions on workers.ipc and mastereventpub.ipc. Introduce a `LIBSTATEDIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized during installation by specifying `--salt-lib-state-dir` during installation. Change the default `pki_dir` to `<LIBSTATEDIR>/pki/master` (for the master) and `<LIBSTATEDIR>/pki/minion` (for the minion). Allow users to enable 'queue=True' for all state runs via config file Added pillar templating to vault policies Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray A new salt-ssh roster that generates a roster by parses a known_hosts file. Added Windows Event Viewer support Added the winlgporeg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file Added resource tagging functions to boto_dynamodb execution module Added `openvswitchdb` state module and functions `bridgeto_parent`, `bridgetovlan`, `dbget`, and `dbset` to the `openvswitch` execution module. Also added optional `parent` and `vlan` parameters to the `openvswitch_bridge.present` state module function and the `openvswitch.bridge_create` execution module function. State module to manage SysFS attributes Added ability for `salt.waitforevent` to handle `event_id`s that have a list value. Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. Added .0 back to our versioning scheme for future versions (e.g. 3006.0) Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. Added node label support for GCE Support the --priority flag when adding sources to Chocolatey. Add namespace option to extpillar.httpjson Added a filter function to ps module to get a list of processes on a minion according to their state. Add postgres.timeout option to postgres module for limiting postgres query times Added new optional vault option, ``config_location``. This can be either ``master`` or ``local`` and defines where vault will look for connection details, either requesting them from the master or using the local config. Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. 'tcp' transport is now available in ipv6-only network Add `diff_attr` parameter to pkg.upgrade() (zypper/yum). Config option passvariableprefix allows to distinguish variables that contain paths to pass secrets. Config option passstrictfetch allows to error out when a secret cannot be fetched from pass. Config option passdir allows setting the PASSWORDSTORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. Add file.pruned state and expanded

exec module functionality Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation Added the ability to remove a KB using the DISM state/execution modules Add "<tiamat> python" subcommand to allow execution or arbitrary scripts via bundled Python runtime Add ability to provide conditions which convert normal state actions to no-op when true Added debug log messages displaying the command being run when installing packages on Windows Add biosvendor grain Add ifelse Jinja function as found in CFEngine Implementation of Amazon EC2 instance detection and setting `virtual_subtype` grain accordingly including the product if possible to identify. Adds envsubstitution to extpillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in extpillar.stack Increase file.tidied flexibility with regard to age and size Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion Add atomic file operation for symlink changes Add password/account locking/unlocking in user.present state on supported operating systems Added onchange configuration for script engine Added output and bare functionality to export_key gpg module function Add keyvalue serializer for environment files Add ability to ignore symlinks in file.tidied salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' Fix running fast tests twice and add git labels to suite. Add ability for file.symlink to not set ownership on existing links Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation Add functions that will return the underlying block device, mount point, and filesystem type for a given path Add ethtool execution and state module functions for pause Add boardname grain Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. Adds a stateevents option to state.highstate, state.apply, state.sls, state.slsid. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. Allow max queue size setting for state runs to prevent performance problems from queue growth Add support of exposing metaservergrains for Azure VMs Include the version of `relenv` in the versions report. Added debug log messages displaying the command being run when removing packages on Windows Adding the ability to exclude arguments from a state that end up passed to cmd.retcode when requisites such as onlyif or unless are used. Add --next-release argument to salt/version.py, which prints the next upcoming release. Upgrade Requirements Due to Security Issues. Upgrade to `cryptography>=39.0.1` due to: https://github.com/advisories/GHSA-x4qr-2fvf-3mr5 https://github.com/advisories/GHSA-w7pp-m8wf-vj6r Upgrade to `pyopenssl==23.0.0` due to the cryptography upgrade. Update to `markdown-it-py==2.2.0` due to: https://github.com/advisories/GHSA-jrwr-5x3p-hvc3 https://github.com/advisories/GHSA-vrjv-mxr7-vjf8 Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enabledeprecatedorchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 Removed ``runtests`` targets from ``noxfile.py`` Removed the PyObjC dependency. This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. Removed `SixRedirectImporter` from

Salt hasn't shipped `six` since Salt 3004. renamed `keepjobs`, specifying job cache TTL in hours, to `keepjobs_seconds`, specifying TTL in seconds. `keep_jobs` will be removed in the Argon release Removing all references to napalm-base which is no longer supported. The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py The `expandrepodef` function in `salt.modules.aptpkg` is now deprecated. It's only used in `salt.states.pkgrepo` and it has no use of being exposed to the CLI. Deprecated defunct Django returner Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions Removing manufacture grain which has been deprecated. Removing deprecated utils/boto3_elasticsearch.py Removing support for the now deprecated extnodes from salt/master.py. Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. `salt.utils.version.StrictVersion` is now deprecated and it's use should be replaced with `salt.utils.version.Version`. More intelligent diffing in changes of file.serialize state. Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. ``umask`` is now a global state argument, instead of only applying to ``cmd`` states. Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. Improve support for listing macOS brew casks Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. Also improved exception handling in `grant_add` which did not log the original error message and replaced it with a generic error. Use VENVPIPTARGET environment variable as a default target for pip if present. Disabled FQDNs grains on macOS by default Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated Enhance capture of error messages for Zypper calls in zypperpkg module. Removed GPG13_1 check Requisite state chunks now all consistently contain `id`, `sls` and `name`. netapienableclients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapienableclients option with required clients to the master config will disable salt-api. Stop relying on `salt/version.py` to write Salt's version. Instead use `salt/version.txt` which only contains the version string. Set enablefqdnsgrains to be False by default. Changelog snippet files must now have a `.md` file extension to be more explicit on what type of rendering is done when they are included in the main `CHANGELOG.md` file. Upgraded to `relenv==0.9.0` Add kwargs to handle extra parameters for http.query Fix mounted bind mounts getting active mount options added Fix `sysctl.present` converts spaces to tabs. Fixes state pkg.purged to purge removed packages on Debian family systems Fix fun_args missing from syndic returns Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True Issue #49310: Allow users to touch a file with Unix date of birth Do not raise an exception in pkg.info_installed on nonzero return code Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Don't check for cached pillar errors on state.apply , , Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a

Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. When usercreate or userremove fail, return False instead of returning the error. Include syncroster when syncall is called. Avoid warning noise in lograte.get Fixed listing revoked keys with gpg.list_keys Fix mount.mounted does not handle blanks properly Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. Fix spelling error for pythonshell argument in dpkglower module Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) Fixed malformed state return when testing file.managed with unavailable source file Included stdout in error message for Zypper calls in zypperpkg module. Fixed pillar.filter_by with salt-ssh Fix boto_route53 issue with (multiple) VPCs. Remove log from mine runner which was not used. Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Updating Slack engine to use slack_bolt library. Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. Fix salt.modules.pip:is_installed doesn't handle locally installed packages Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. linux_shadow: Fix cases where malformed shadow entries cause `user.present` states to fail. Fixed salt.utils.compat.cmp to work with dictionaries Fixed formatting for terse output mode Fixed RecursiveDictDiffer with added nested dicts Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fixed saltnado websockets disconnecting immediately Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fix postgres_privileges.present not idempotent for functions Fixed influxdbcontinuousquery.present state to provide the client args to the underlying module on create. Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. add load balancing policy default option and ensure the module can be executed with arguments from CLI Fix salt-ssh when using imports with extra-filerefs. Fixed cache directory corruption startup error Update docs remove dry_run in docstring of file.blockreplace state. Adds Parrot to OSFamilyMap in grains. Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run Use return code in iptables --check to verify rule exists. Fix regression pip.installed does not pass env_vars when calling pip.list Fix xfs module when additional output included in mkfs.xfs command. Fixed parsing new format of terraform states in roster.terraform Fixed recognizing installed ARMv7 rpm packages in compatible architectures. Fixing changes dict in pkg state to be consistent when installing and test=True. Fix cron.present duplicating entries when changing timespec to special. Made salt-ssh respect --wipe again state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. Fix ipset state when the comment kwarg is set. Fix issue with archive.unzip where the password was not being encoded for the extract function Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different `oscodename`, `osfullname`, `osfinger` grains if lsb-release is installed or not. They have been changed to only derive these OS grains from `/etc/os-release`. Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. Fix ssh config roster to correctly parse the ssh config files that contain

Fix SoftLayer configuration not raising an exception when a domain is missing Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. Fixed malformed state return when merge-serializing to an improperly formatted file Made cmdmod._run When deleting the vault cache, also delete from the session cache Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. win_lgpo: Display conflicting policy names when more than one policy is found winlgpo: Fixed intermittent KeyError when getting policy setting using lgpo.getpolicy Fixed listing minions on OpenBSD Make Salt to return an error on "pkg" modules and states when targeting duplicated package names Fix return of REST-returned permissions when auth_list is set Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() Fix attr=all handling in pkg.list_pkgs() (yum/zypper). Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias Fix ordering of args to libcloudstorage.downloadobject module Ignore extend declarations in sls files that are excluded. Remove leftover usage of impacket Pass executable path from getpath_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. Ignore some command return codes in openbsdrcctl_service to prevent spurious errors Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up Restored Salt's DeprecationWarnings Fixed issue with forward slashes on Windows with file.recurse and clean=True Recognize OSMC as Debian-based Fixed Zypper module failing on RPM lock file being temporarily unavailable. Improved error handling and diagnostics in the proxmox salt-cloud driver Added EndeavourOS to the Arch os_family. Fix salt-ssh not detecting `platform-python` as a valid interpreter on EL8 Fix pkg.version_cmp on openEuler and a few other os flavors. Fix localhost detection in glusterfs.peers Fix Salt Package Manager (SPM) exception when calling spm create_repo . Fix matcher slowness due to loader invocation Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect Fix pyobjects renderer access to opts and sls Fix use of random shuffle and sample functions as Jinja filters Fix groups with duplicate GIDs are not returned by getgrouplist Fix the "zpool.present" state when enabling zpool features that are already active. Fix ability to execute remote file client methods in saltcheck Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. When using preq on a state, then prereq state will first be run with test=True to determine if there are

When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. Added directory mode for file.copy with makedirs Provide better error handling in the various napalm proxy minion functions when the device is not accessible. When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. Fixed parsing CDROM apt sources Update sanitizing masking for Salt SSH to include additional password like strings. Fix user/group checking on file state functions in the test mode. Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. Fix possible tracebacks if there is a package with '' or '======' in the description is installed on the Debian based minion. Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver Fix rendering of pyobjects states in saltcheck Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. Remove the connectiontimeout from netmikoconnectionargs before netmikoconnectionargs is added to context_ Fix order specific mount.mounted options for persist Fixed salt-cloud cloning a proxmox VM with a specified new vmid. Fix runas with cmd module when using the onedir bundled packages Update setproctitle version for all platforms Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver Handle PermissionError when importing crypt when FIPS is enabled. Correctly reraise exceptions in states.http Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline Fixed vault ext pillar return data for KV v2 Fix saltcheck gettopstates doesn't pass saltenv to state.showtop Fix groupadd.* functions hard code relative command name Fixed pdbedit.create trying to use a bytes-like hash as string. Fix depenency on legacy boto module in boto3 modules Modified "getflags" function so that it returns regex flags instead of integers Change startup ReqServer log messages from error to info level. Fix kmod.* functions hard code relative command name Fix macbrewpkg to work with null taps Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly Remove Azure deprecation messages from functions that always run w/ salt-cloud Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 Fixed master job scheduler using when LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding Fix unnecessarily complex gce metadata grains code to use googles metadata service more

Fixed dockermod version_info function for docker-py 6.0.0+ Moving setting the LOADBALANCINGPOLICYMAP dictionary into the try except block that determines if the cassandracql module should be made available. Updating various MongoDB module functions to work with latest version of pymongo. Restored channel for Syndic minions to send job returns to the Salt master. removed resolvedeps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. Fix systemd_service.* functions hard code relative command name Fix file.symlink backupname operation can copy remote contents to local disk Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts Fixed gpg_passphrase issue with gpg decrypt/encrypt functions Fix file.tidied FileNotFoundError Fixed bug where module.wait states were detected as running legacy module.run syntax Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start The `opts` dunder dictionary is now added to the loader's `pack` if not already present, which makes it accessible via the `salt.loader.context.NamedLoaderContext` class. Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts Fix btrfs.subvolume_snapshot command failing Fix file.retention_schedule always reports changes Fix mongo authentication for mongo ext_pillar and mongo returner This fix also include the ability to use the mongo connection string for mongo ext_pillar Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. TCP transport documentation now contains proper master/minion-side filtering information Fixed gpg.verify does not respect gnupghome Made pillar cache pass extra minion data as well Fix serious performance issues with the file.tidied module Fix rpm_lowpkg version comparison logic when using rpm-vercmp and only one version has a release number. Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. LGPO: Added support for "Relax minimum password length limits" Fixed the ability to set a scheduled task to auto delete if not scheduled to run again (``delete_after``) When a job is disabled only increase it's nextfiretime value if the job would have run at the current time, eg. the current nextfiretime == now. have salt.template.compiletemplatestr cleanup its temp files. Check file is not empty before attempting to read pillar disk cache file Fixed an issue with generating fingerprints for public keys with different line endings Change default GPG keyserver from pgp.mit.edu to keys.openpgp.org. fix cherrypy 400 error output to be less generic. Ensure kwargs is passed along to callapt when passed into install function. remove eval and update logging to be more informative on bad config add linux_distribution to util to stop dep warning Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available. Clarifying documentation for extension_modules configuration option. Windows pkg module now properly handles versions containing strings Handle the scenario when the checkcmd requisite is used with a state function when the state has a local checkcmd function but that function isn't used by that function. Issue #63981: Allow users to pass verify_ssl to

on Windows Introduce a `LIBSTATEDIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized during installation by specifying `--salt-lib-state-dir` during installation. Change the default `pki_dir` to `<LIBSTATEDIR>/pki/master` (for the master) and `<LIBSTATEDIR>/pki/minion` (for the minion). Allow users to enable 'queue=True' for all state runs via config file Added pillar templating to vault policies Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray A new salt-ssh roster that generates a roster by parses a known_hosts file. Added Windows Event Viewer support Added the winlgporeg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file Added resource tagging functions to boto_dynamodb execution module Added `openvswitchdb` state module and functions `bridgeto_parent`, `bridgetovlan`, `dbget`, and `dbset` to the `openvswitch` execution module. Also added optional `parent` and `vlan` parameters to the `openvswitch_bridge.present` state module function and the `openvswitch.bridge_create` execution module function. State module to manage SysFS attributes Added ability for `salt.waitforevent` to handle `event_id`s that have a list value. Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. Added .0 back to our versioning scheme for future versions (e.g. 3006.0) Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. Added node label support for GCE Support the --priority flag when adding sources to Chocolatey. Add namespace option to extpillar.httpjson Added a filter function to ps module to get a list of processes on a minion according to their state. Add postgres.timeout option to postgres module for limiting postgres query times Added new optional vault option, ``config_location``. This can be either ``master`` or ``local`` and defines where vault will look for connection details, either requesting them from the master or using the local config. Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. 'tcp' transport is now available in ipv6-only network Add `diff_attr` parameter to pkg.upgrade() (zypper/yum). Config option passvariableprefix allows to distinguish variables that contain paths to pass secrets. Config option passstrictfetch allows to error out when a secret cannot be fetched from pass. Config option passdir allows setting the PASSWORDSTORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. Add file.pruned state and expanded file.rmdir exec module functionality Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation Added the ability to remove a KB using the DISM state/execution modules Add "<tiamat> python" subcommand to allow execution or arbitrary scripts via bundled Python runtime Add ability to provide conditions which convert normal state actions to no-op when true Added debug log messages displaying the command being run when installing packages on Windows Add biosvendor grain Add ifelse Jinja function as found in CFEngine Implementation of Amazon EC2 instance detection and setting `virtual_subtype` grain accordingly including the product if possible to identify. Adds envsubstitution to extpillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in extpillar.stack Increase file.tidied flexibility with regard to age and size Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion Add atomic file operation for symlink changes Add password/account locking/unlocking in user.present state on supported operating systems Added onchange configuration for script engine Added output and bare functionality to export_key gpg module function Add keyvalue serializer for environment files Add ability to ignore symlinks in file.tidied salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' Add ability for

to not set ownership on existing links Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation Add functions that will return the underlying block device, mount point, and filesystem type for a given path Add ethtool execution and state module functions for pause Add boardname grain Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. Adds a stateevents option to state.highstate, state.apply, state.sls, state.slsid. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. Allow max queue size setting for state runs to prevent performance problems from queue growth Add support of exposing metaservergrains for Azure VMs Include the version of `relenv` in the versions report. Added debug log messages displaying the command being run when removing packages on Windows Upgrade Requirements Due to Security Issues. Upgrade to `cryptography>=39.0.1` due to: https://github.com/advisories/GHSA-x4qr-2fvf-3mr5 https://github.com/advisories/GHSA-w7pp-m8wf-vj6r Upgrade to `pyopenssl==23.0.0` due to the cryptography upgrade. Update to `markdown-it-py==2.2.0` due to: https://github.com/advisories/GHSA-jrwr-5x3p-hvc3 https://github.com/advisories/GHSA-vrjv-mxr7-vjf8 Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enabledeprecatedorchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 Removed ``runtests`` targets from ``noxfile.py`` Removed the PyObjC dependency. This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. Removed `SixRedirectImporter` from Salt. Salt hasn't shipped `six` since Salt 3004. renamed `keepjobs`, specifying job cache TTL in hours, to `keepjobs_seconds`, specifying TTL in seconds. `keep_jobs` will be removed in the Argon release Removing all references to napalm-base which is no longer supported. The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py The `expandrepodef` function in `salt.modules.aptpkg` is now deprecated. It's only used in `salt.states.pkgrepo` and it has no use of being exposed to the CLI. Deprecated defunct Django returner Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions Removing manufacture grain which has been deprecated. Removing deprecated utils/boto3_elasticsearch.py Removing support for the now deprecated extnodes from salt/master.py. Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. `salt.utils.version.StrictVersion` is now deprecated and it's use should be replaced with `salt.utils.version.Version`. More intelligent diffing in changes of file.serialize state. Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. ``umask`` is now a global state argument, instead of only applying to ``cmd`` states. Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. Improve support for listing macOS brew casks Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when

Also improved exception handling in `grant_add` which did not log the original error message and replaced it with a generic error. Use VENVPIPTARGET environment variable as a default target for pip if present. Disabled FQDNs grains on macOS by default Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated Enhance capture of error messages for Zypper calls in zypperpkg module. Removed GPG13_1 check Requisite state chunks now all consistently contain `id`, `sls` and `name`. netapienableclients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapienableclients option with required clients to the master config will disable salt-api. Stop relying on `salt/version.py` to write Salt's version. Instead use `salt/version.txt` which only contains the version string. Set enablefqdnsgrains to be False by default. Changelog snippet files must now have a `.md` file extension to be more explicit on what type of rendering is done when they are included in the main `CHANGELOG.md` file. Add kwargs to handle extra parameters for http.query Fix mounted bind mounts getting active mount options added Fix `sysctl.present` converts spaces to tabs. Fixes state pkg.purged to purge removed packages on Debian family systems Fix fun_args missing from syndic returns Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True Issue #49310: Allow users to touch a file with Unix date of birth Do not raise an exception in pkg.info_installed on nonzero return code Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Don't check for cached pillar errors on state.apply , , Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. When usercreate or userremove fail, return False instead of returning the error. Include syncroster when syncall is called. Avoid warning noise in lograte.get Fixed listing revoked keys with gpg.list_keys Fix mount.mounted does not handle blanks properly Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. Fix spelling error for pythonshell argument in dpkglower module Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) Fixed malformed state return when testing file.managed with unavailable source file Included stdout in error message for Zypper calls in zypperpkg module. Fixed pillar.filter_by with salt-ssh Fix boto_route53 issue with (multiple) VPCs. Remove log from mine runner which was not used. Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Updating Slack engine to use slack_bolt library. Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. Fix salt.modules.pip:is_installed doesn't handle locally installed packages Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. linux_shadow: Fix cases where malformed shadow entries cause `user.present` states to fail. Fixed salt.utils.compat.cmp to work with dictionaries Fixed formatting for terse output mode Fixed RecursiveDictDiffer with added nested dicts Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509

Please migrate to the new cryptography x509 module for this improvement. Fixed saltnado websockets disconnecting immediately Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fix postgres_privileges.present not idempotent for functions Fixed influxdbcontinuousquery.present state to provide the client args to the underlying module on create. Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. add load balancing policy default option and ensure the module can be executed with arguments from CLI Fix salt-ssh when using imports with extra-filerefs. Fixed cache directory corruption startup error Update docs remove dry_run in docstring of file.blockreplace state. Adds Parrot to OSFamilyMap in grains. Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run Use return code in iptables --check to verify rule exists. Fix regression pip.installed does not pass env_vars when calling pip.list Fix xfs module when additional output included in mkfs.xfs command. Fixed parsing new format of terraform states in roster.terraform Fixed recognizing installed ARMv7 rpm packages in compatible architectures. Fixing changes dict in pkg state to be consistent when installing and test=True. Fix cron.present duplicating entries when changing timespec to special. Made salt-ssh respect --wipe again state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. Fix ipset state when the comment kwarg is set. Fix issue with archive.unzip where the password was not being encoded for the extract function Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different `oscodename`, `osfullname`, `osfinger` grains if lsb-release is installed or not. They have been changed to only derive these OS grains from `/etc/os-release`. Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. Fix ssh config roster to correctly parse the ssh config files that contain spaces. Fix SoftLayer configuration not raising an exception when a domain is missing Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. Fixed malformed state return when merge-serializing to an improperly formatted file Made cmdmod._run When deleting the vault cache, also delete from the session cache Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. win_lgpo: Display conflicting policy names when more than one policy is found winlgpo: Fixed intermittent KeyError when getting policy setting using lgpo.getpolicy Fixed listing minions on OpenBSD Make Salt to return an error on "pkg" modules and states when targeting duplicated package names Fix return of REST-returned permissions when auth_list is set Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() Fix attr=all handling in pkg.list_pkgs() (yum/zypper). Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias Fix ordering of args to libcloudstorage.downloadobject module Ignore extend declarations in sls files that are

Remove leftover usage of impacket Pass executable path from getpath_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. Ignore some command return codes in openbsdrcctl_service to prevent spurious errors Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up Restored Salt's DeprecationWarnings Fixed issue with forward slashes on Windows with file.recurse and clean=True Recognize OSMC as Debian-based Fixed Zypper module failing on RPM lock file being temporarily unavailable. Improved error handling and diagnostics in the proxmox salt-cloud driver Added EndeavourOS to the Arch os_family. Fix salt-ssh not detecting `platform-python` as a valid interpreter on EL8 Fix pkg.version_cmp on openEuler and a few other os flavors. Fix localhost detection in glusterfs.peers Fix Salt Package Manager (SPM) exception when calling spm create_repo . Fix matcher slowness due to loader invocation Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect Fix pyobjects renderer access to opts and sls Fix use of random shuffle and sample functions as Jinja filters Fix groups with duplicate GIDs are not returned by getgrouplist Fix the "zpool.present" state when enabling zpool features that are already active. Fix ability to execute remote file client methods in saltcheck Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. Added directory mode for file.copy with makedirs Provide better error handling in the various napalm proxy minion functions when the device is not accessible. When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. Fixed parsing CDROM apt sources Update sanitizing masking for Salt SSH to include additional password like strings. Fix user/group checking on file state functions in the test mode. Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. Fix possible tracebacks if there is a package with '' or '======' in the description is installed on the Debian based

Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver Fix rendering of pyobjects states in saltcheck Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. Remove the connectiontimeout from netmikoconnectionargs before netmikoconnectionargs is added to context_ Fix order specific mount.mounted options for persist Fixed salt-cloud cloning a proxmox VM with a specified new vmid. Fix runas with cmd module when using the onedir bundled packages Update setproctitle version for all platforms Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver Handle PermissionError when importing crypt when FIPS is enabled. Correctly reraise exceptions in states.http Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline Fixed vault ext pillar return data for KV v2 Fix saltcheck gettopstates doesn't pass saltenv to state.showtop Fix groupadd.* functions hard code relative command name Fixed pdbedit.create trying to use a bytes-like hash as string. Fix depenency on legacy boto module in boto3 modules Modified "getflags" function so that it returns regex flags instead of integers Change startup ReqServer log messages from error to info level. Fix kmod.* functions hard code relative command name Fix macbrewpkg to work with null taps Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly Remove Azure deprecation messages from functions that always run w/ salt-cloud Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 Fixed master job scheduler using when LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. Fixed dockermod version_info function for docker-py 6.0.0+ Moving setting the LOADBALANCINGPOLICYMAP dictionary into the try except block that determines if the cassandracql module should be made available. Updating various MongoDB module functions to work with latest version of pymongo. Restored channel for Syndic minions to send job returns to the Salt master. removed resolvedeps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. Fix systemd_service.* functions hard code relative command name Fix file.symlink backupname operation can copy remote contents to local disk Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts Fixed gpg_passphrase issue with gpg decrypt/encrypt functions Fix file.tidied FileNotFoundError Fixed bug where module.wait states were detected as running legacy module.run syntax Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start The `opts` dunder dictionary is now added to the loader's `pack` if not already present, which makes it accessible via the `salt.loader.context.NamedLoaderContext` class. Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts Fix btrfs.subvolume_snapshot command failing Fix

always reports changes Fix mongo authentication for mongo ext_pillar and mongo returner This fix also include the ability to use the mongo connection string for mongo ext_pillar Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. TCP transport documentation now contains proper master/minion-side filtering information Fixed gpg.verify does not respect gnupghome Made pillar cache pass extra minion data as well Fix serious performance issues with the file.tidied module Fix rpm_lowpkg version comparison logic when using rpm-vercmp and only one version has a release number. Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. LGPO: Added support for "Relax minimum password length limits" When a job is disabled only increase it's nextfiretime value if the job would have run at the current time, eg. the current nextfiretime == now. Check file is not empty before attempting to read pillar disk cache file fix cherrypy 400 error output to be less generic. remove eval and update logging to be more informative on bad config Introduce a `LIBSTATEDIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized during installation by specifying `--salt-lib-state-dir` during installation. Change the default `pki_dir` to `<LIBSTATEDIR>/pki/master` (for the master) and `<LIBSTATEDIR>/pki/minion` (for the minion). Allow users to enable 'queue=True' for all state runs via config file Added pillar templating to vault policies Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray A new salt-ssh roster that generates a roster by parses a known_hosts file. Added Windows Event Viewer support Added the winlgporeg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file Added resource tagging functions to boto_dynamodb execution module Added `openvswitchdb` state module and functions `bridgeto_parent`, `bridgetovlan`, `dbget`, and `dbset` to the `openvswitch` execution module. Also added optional `parent` and `vlan` parameters to the `openvswitch_bridge.present` state module function and the `openvswitch.bridge_create` execution module function. State module to manage SysFS attributes Added ability for `salt.waitforevent` to handle `event_id`s that have a list value. Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. Added .0 back to our versioning scheme for future versions (e.g. 3006.0) Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. Added node label support for GCE Support the --priority flag when adding sources to Chocolatey. Add namespace option to extpillar.httpjson Added a filter function to ps module to get a list of processes on a minion according to their state. Add postgres.timeout option to postgres module for limiting postgres query times Added new optional vault option, ``config_location``. This can be either ``master`` or ``local`` and defines where vault will look for connection details, either requesting them from the master or using the local config. Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. 'tcp' transport is now available in ipv6-only network Add `diff_attr` parameter to pkg.upgrade() (zypper/yum). Config option passvariableprefix allows to distinguish variables that contain paths to pass secrets. Config option passstrictfetch allows to error out when a secret cannot be fetched from pass. Config option passdir allows setting the PASSWORDSTORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. Add file.pruned state and expanded file.rmdir exec module functionality Added

function to resolve PTR records for IPs, as well as tests and documentation Added the ability to remove a KB using the DISM state/execution modules Add "<tiamat> python" subcommand to allow execution or arbitrary scripts via bundled Python runtime Add ability to provide conditions which convert normal state actions to no-op when true Added debug log messages displaying the command being run when installing packages on Windows Add biosvendor grain Add ifelse Jinja function as found in CFEngine Implementation of Amazon EC2 instance detection and setting `virtual_subtype` grain accordingly including the product if possible to identify. Adds envsubstitution to extpillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in extpillar.stack Increase file.tidied flexibility with regard to age and size Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion Add atomic file operation for symlink changes Add password/account locking/unlocking in user.present state on supported operating systems Added onchange configuration for script engine Added output and bare functionality to export_key gpg module function Add keyvalue serializer for environment files Add ability to ignore symlinks in file.tidied salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' Add ability for file.symlink to not set ownership on existing links Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation Add functions that will return the underlying block device, mount point, and filesystem type for a given path Add ethtool execution and state module functions for pause Add boardname grain Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. Adds a stateevents option to state.highstate, state.apply, state.sls, state.slsid. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. Allow max queue size setting for state runs to prevent performance problems from queue growth Add support of exposing metaservergrains for Azure VMs Include the version of `relenv` in the versions report. Added debug log messages displaying the command being run when removing packages on Windows Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enabledeprecatedorchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 Removed ``runtests`` targets from ``noxfile.py`` Removed the PyObjC dependency. This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. renamed `keepjobs`, specifying job cache TTL in hours, to `keepjobs_seconds`, specifying TTL in seconds. `keep_jobs` will be removed in the Argon release Removing all references to napalm-base which is no longer supported. The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py The `expandrepodef` function in `salt.modules.aptpkg` is now deprecated. It's only used in `salt.states.pkgrepo` and it has no use of being exposed to the

Deprecated defunct Django returner Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions Removing manufacture grain which has been deprecated. Removing deprecated utils/boto3_elasticsearch.py Removing support for the now deprecated extnodes from salt/master.py. Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. `salt.utils.version.StrictVersion` is now deprecated and it's use should be replaced with `salt.utils.version.Version`. More intelligent diffing in changes of file.serialize state. Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. ``umask`` is now a global state argument, instead of only applying to ``cmd`` states. Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. Improve support for listing macOS brew casks Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. Also improved exception handling in `grant_add` which did not log the original error message and replaced it with a generic error. Use VENVPIPTARGET environment variable as a default target for pip if present. Disabled FQDNs grains on macOS by default Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated Enhance capture of error messages for Zypper calls in zypperpkg module. Removed GPG13_1 check Requisite state chunks now all consistently contain `id`, `sls` and `name`. netapienableclients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapienableclients option with required clients to the master config will disable salt-api. Stop relying on `salt/version.py` to write Salt's version. Instead use `salt/version.txt` which only contains the version string. Set enablefqdnsgrains to be False by default. Changelog snippet files must now have a `.md` file extension to be more explicit on what type of rendering is done when they are included in the main `CHANGELOG.md` file. Add kwargs to handle extra parameters for http.query Fix mounted bind mounts getting active mount options added Fix `sysctl.present` converts spaces to tabs. Fixes state pkg.purged to purge removed packages on Debian family systems Fix fun_args missing from syndic returns Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True Issue #49310: Allow users to touch a file with Unix date of birth Do not raise an exception in pkg.info_installed on nonzero return code Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Don't check for cached pillar errors on state.apply , , Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. When usercreate or userremove fail, return False instead of returning the error. Include syncroster when syncall is called. Avoid warning noise in lograte.get Fixed listing revoked keys with gpg.list_keys Fix mount.mounted does not handle blanks properly Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. Fix spelling error for pythonshell argument in dpkglower module Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) Fixed malformed state return when testing

with unavailable source file Included stdout in error message for Zypper calls in zypperpkg module. Fixed pillar.filter_by with salt-ssh Fix boto_route53 issue with (multiple) VPCs. Remove log from mine runner which was not used. Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Updating Slack engine to use slack_bolt library. Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. Fix salt.modules.pip:is_installed doesn't handle locally installed packages Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. linux_shadow: Fix cases where malformed shadow entries cause `user.present` states to fail. Fixed salt.utils.compat.cmp to work with dictionaries Fixed formatting for terse output mode Fixed RecursiveDictDiffer with added nested dicts Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fixed saltnado websockets disconnecting immediately Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Fix postgres_privileges.present not idempotent for functions Fixed influxdbcontinuousquery.present state to provide the client args to the underlying module on create. Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. add load balancing policy default option and ensure the module can be executed with arguments from CLI Fix salt-ssh when using imports with extra-filerefs. Fixed cache directory corruption startup error Update docs remove dry_run in docstring of file.blockreplace state. Adds Parrot to OSFamilyMap in grains. Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run Use return code in iptables --check to verify rule exists. Fix regression pip.installed does not pass env_vars when calling pip.list Fix xfs module when additional output included in mkfs.xfs command. Fixed parsing new format of terraform states in roster.terraform Fixed recognizing installed ARMv7 rpm packages in compatible architectures. Fixing changes dict in pkg state to be consistent when installing and test=True. Fix cron.present duplicating entries when changing timespec to special. Made salt-ssh respect --wipe again state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. Fix ipset state when the comment kwarg is set. Fix issue with archive.unzip where the password was not being encoded for the extract function Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different `oscodename`, `osfullname`, `osfinger` grains if lsb-release is installed or not. They have been changed to only derive these OS grains from `/etc/os-release`. Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. Fix ssh config roster to correctly parse the ssh config files that contain spaces. Fix SoftLayer configuration not raising an exception when a domain is missing Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. Fixed malformed state return when merge-serializing to an improperly formatted file Made

When deleting the vault cache, also delete from the session cache Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. win_lgpo: Display conflicting policy names when more than one policy is found winlgpo: Fixed intermittent KeyError when getting policy setting using lgpo.getpolicy Fixed listing minions on OpenBSD Make Salt to return an error on "pkg" modules and states when targeting duplicated package names Fix return of REST-returned permissions when auth_list is set Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() Fix attr=all handling in pkg.list_pkgs() (yum/zypper). Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias Fix ordering of args to libcloudstorage.downloadobject module Ignore extend declarations in sls files that are excluded. Remove leftover usage of impacket Pass executable path from getpath_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. Ignore some command return codes in openbsdrcctl_service to prevent spurious errors Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up Restored Salt's DeprecationWarnings Fixed issue with forward slashes on Windows with file.recurse and clean=True Recognize OSMC as Debian-based Fixed Zypper module failing on RPM lock file being temporarily unavailable. Improved error handling and diagnostics in the proxmox salt-cloud driver Added EndeavourOS to the Arch os_family. Fix salt-ssh not detecting `platform-python` as a valid interpreter on EL8 Fix pkg.version_cmp on openEuler and a few other os flavors. Fix localhost detection in glusterfs.peers Fix Salt Package Manager (SPM) exception when calling spm create_repo . Fix matcher slowness due to loader invocation Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect Fix pyobjects renderer access to opts and sls Fix use of random shuffle and sample functions as Jinja filters Fix groups with duplicate GIDs are not returned by getgrouplist Fix the "zpool.present" state when enabling zpool features that are already active. Fix ability to execute remote file client methods in saltcheck Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. Added directory mode for file.copy with makedirs Provide better error handling in the various napalm proxy minion functions when the device is not

When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. Fixed parsing CDROM apt sources Update sanitizing masking for Salt SSH to include additional password like strings. Fix user/group checking on file state functions in the test mode. Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. Fix possible tracebacks if there is a package with '' or '======' in the description is installed on the Debian based minion. Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver Fix rendering of pyobjects states in saltcheck Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. Remove the connectiontimeout from netmikoconnectionargs before netmikoconnectionargs is added to context_ Fix order specific mount.mounted options for persist Fixed salt-cloud cloning a proxmox VM with a specified new vmid. Fix runas with cmd module when using the onedir bundled packages Update setproctitle version for all platforms Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver Handle PermissionError when importing crypt when FIPS is enabled. Correctly reraise exceptions in states.http Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline Fixed vault ext pillar return data for KV v2 Fix saltcheck gettopstates doesn't pass saltenv to state.showtop Fix groupadd.* functions hard code relative command name Fixed pdbedit.create trying to use a bytes-like hash as string. Fix depenency on legacy boto module in boto3 modules Modified "getflags" function so that it returns regex flags instead of integers Change startup ReqServer log messages from error to info level. Fix kmod.* functions hard code relative command name Fix macbrewpkg to work with null taps Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly Remove Azure deprecation messages from functions that always run w/ salt-cloud Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 Fixed master job scheduler using when LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. Fixed dockermod version_info function for docker-py 6.0.0+ Moving setting the LOADBALANCINGPOLICYMAP dictionary into the try except block that determines if the cassandracql module should be made available. Updating various MongoDB module functions to work with latest version of pymongo. Restored channel for Syndic minions to send job returns to the Salt master. removed resolvedeps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. Updated pyzmq to version

on Windows builds because the old version was causing salt-minion/salt-call to hang Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. Fix systemd_service.* functions hard code relative command name Fix file.symlink backupname operation can copy remote contents to local disk Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts Fixed gpg_passphrase issue with gpg decrypt/encrypt functions Fix file.tidied FileNotFoundError Fixed bug where module.wait states were detected as running legacy module.run syntax Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start The `opts` dunder dictionary is now added to the loader's `pack` if not already present, which makes it accessible via the `salt.loader.context.NamedLoaderContext` class. Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts Fix btrfs.subvolume_snapshot command failing Fix file.retention_schedule always reports changes Fix mongo authentication for mongo ext_pillar and mongo returner This fix also include the ability to use the mongo connection string for mongo ext_pillar Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. TCP transport documentation now contains proper master/minion-side filtering information Fixed gpg.verify does not respect gnupghome Made pillar cache pass extra minion data as well Fix serious performance issues with the file.tidied module Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. LGPO: Added support for "Relax minimum password length limits" Check file is not empty before attempting to read pillar disk cache file Introduce a `LIBSTATEDIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized during installation by specifying `--salt-lib-state-dir` during installation. Change the default `pki_dir` to `<LIBSTATEDIR>/pki/master` (for the master) and `<LIBSTATEDIR>/pki/minion` (for the minion). Allow users to enable 'queue=True' for all state runs via config file Added pillar templating to vault policies Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray A new salt-ssh roster that generates a roster by parses a known_hosts file. Added Windows Event Viewer support Added the winlgporeg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file Added resource tagging functions to boto_dynamodb execution module Added `openvswitchdb` state module and functions `bridgeto_parent`, `bridgetovlan`, `dbget`, and `dbset` to the `openvswitch` execution module. Also added optional `parent` and `vlan` parameters to the `openvswitch_bridge.present` state module function and the `openvswitch.bridge_create` execution module function. State module to manage SysFS attributes Added ability for `salt.waitforevent` to handle `event_id`s that have a list value. Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. Added .0 back to our versioning scheme for future versions (e.g. 3006.0) Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. Added node label support for GCE Support the --priority flag when adding sources to Chocolatey. Add namespace option to extpillar.httpjson Added a filter function to ps module to get a list of processes on a minion according to their state. Add postgres.timeout option to postgres module for limiting postgres query times Added new optional vault option,

This can be either ``master`` or ``local`` and defines where vault will look for connection details, either requesting them from the master or using the local config. Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. 'tcp' transport is now available in ipv6-only network Add `diff_attr` parameter to pkg.upgrade() (zypper/yum). Config option passvariableprefix allows to distinguish variables that contain paths to pass secrets. Config option passstrictfetch allows to error out when a secret cannot be fetched from pass. Config option passdir allows setting the PASSWORDSTORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. Add file.pruned state and expanded file.rmdir exec module functionality Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation Added the ability to remove a KB using the DISM state/execution modules Add "<tiamat> python" subcommand to allow execution or arbitrary scripts via bundled Python runtime Add ability to provide conditions which convert normal state actions to no-op when true Added debug log messages displaying the command being run when installing packages on Windows Add biosvendor grain Add ifelse Jinja function as found in CFEngine Implementation of Amazon EC2 instance detection and setting `virtual_subtype` grain accordingly including the product if possible to identify. Adds envsubstitution to extpillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in extpillar.stack Increase file.tidied flexibility with regard to age and size Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion Add atomic file operation for symlink changes Add password/account locking/unlocking in user.present state on supported operating systems Added onchange configuration for script engine Added output and bare functionality to export_key gpg module function Add keyvalue serializer for environment files Add ability to ignore symlinks in file.tidied salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' Add ability for file.symlink to not set ownership on existing links Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation Add functions that will return the underlying block device, mount point, and filesystem type for a given path Add ethtool execution and state module functions for pause Add boardname grain Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. Adds a stateevents option to state.highstate, state.apply, state.sls, state.slsid. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. Allow max queue size setting for state runs to prevent performance problems from queue growth Add support of exposing metaservergrains for Azure VMs Note: This release is only impacting the packages not the Salt code base. Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang (#62937) Onedir Package Fix: Fix "No such file or directory" error on Rhel installs. (#62948) Update the onedir packages Python version to 3.8.15 for Windows and 3.9.15 for Linux and Mac Fix arch parsing issue in apt source files (#62247) Fixed parsing CDROM apt sources (#62474) Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. (#62546) Remove the connectiontimeout from netmikoconnectionargs before netmikoconnectionargs is added to context_ which is passed along to the Netmiko library. (#62547) fixes #62553 by checking for disabled master_type before starting master connection and skipping it if

(#62553) Fix runas with cmd module when using the onedir bundled packages (#62565) Fix the Pyinstaller hooks to preserve the environment if None is passed. (#62567, #62628) pkgrepo.managed sets wrong permissions on keys installed to /etc/apt/keyring (#62569) pkgrepo.managed creates zero byte gpg files when dearmoring contents to the same filename (#62570) Ensure default values for IPC Buffers are correct type (#62591) Fix a hang on salt-ssh when using sudo. (#62603) Renderers now have access to the correct set of salt functions. (#62610, #62620) Fix including Jinja template from absolute path (#62611) include jmespath in package requirements (#62613) Fix pkgrepo.managed signed-by in test=true mode (#62662) Ensure the status of the service is captured when the beacon function is called, even when the event is not being emitted. (#62675) The sub proxies controlled by Deltaproxy need to have their own reqchannel otherwise there are timeout exceptions when the masterreqchannelpayload is fired and reacted on. (#62708) Deprecating and removing salt-unity. (#56055) Removed support for macos mojave (#61130) Removed `salt.utils.MultiprocessingProcess` and `salt.utils.SignalHandlingMultiprocessingProcess`. Please use `salt.utils.Process` and `salt.utils.SignalHandlingProcess` instead. (#61573) Remove the grains.getorset_hash function. Please reference pillar and SDB documentation for secure ways to manage sensitive information. Grains are an insecure way to store secrets. (#61691) Removed the `telnetport`, `serialtype` and `console` parameters in salt/modules/virt.py. Use the `serials` and `consoles` parameters instead. Use the `serials` parameter with a value like ``{{{{'type': 'tcp', 'protocol': 'telnet', 'port': {}}}}}`` instead and a similar `consoles` parameter. (#61693) Remove remove_lock in zypperpkg.py in favor of unhold. Remove add_lock in zypperpkg.py in favor of hold. (#61694) Removed support for old-style Windows Group Policy names Recommended policy names will be displayed in comments (#61696) Remove the feature flag feature.enableslsvarsfixes and enable the fixes for `slspath`, `tplfile`, and `tpldir` by default. Enabling this behavior by default will fix the following: tpldir: If your directory name and your SLS file name are the same tpldir used to return a ., now it returns the correct directory name. slspath,slsdotpath,slscolonpath,sls_path: If an init.sls file is accessed by its explicit name path.to.init instead of path.to, init shows up as a directory for in various sls context parameters, now it will only show as a file. tplfile: When using tplfile in a SLS file in the root directory of file roots it returns empty. Now it returns the filename. (#61697) Remove SaltMessageServer.shutdown in favor of close. Remove LoadBalancerWorker.stop in favor of close. (#61698) Removed the PyObjC dependency. This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. (#62432) In etcd_util, the recursive kwarg in the read and delete methods has been deprecated in favor of recurse for both client versions. In etcdutil, the index kwarg in the watch method has been deprecated in favor of startrevision for both client versions. In etcdutil, the waitIndex kwarg in the read method has been deprecated in favor of startrevision for both client versions. The etcd API v2 implementation has been deprecated in favor of etcd API v3. (#60325) Deprecated transport kwarg inside salt.utils.event.get_event (#61275) Deprecated netmikoconn and pyeapiconn in napalm_mod.py as these function should not be called from the CLI (#61566) Deprecate all Azure cloud modules (#62183) Deprecated ``defaults`` and ``preservecontext`` for ``salt.utils.functools.namespacedfunction``. Additionally, the behavior when ``preserve_namespace=True`` was passed is now the default in order not to require duplicating imports on the modules that are namespacing

(#62272) Deprecated the cassandra module in favor of the cassandra_cql module/returner. (#62327) alternatives: Do not access /var/lib/dpkg/alternatives directly (#58745) Enhance logging when there are errors at loading beacons (#60402) Updated mysql cache module to also store updated timestamp, making it consistent with default cache module. Users of mysql cache should ensure database size before updating, as ALTER TABLE will add the timestamp column. (#61081) Changed linux_shadow to test success of commands using cmd.retcode instead of cmd.run (#61932) `zabbix.user_get` returns full user info with groups and medias `zabbix.user_addmedia` returns error for Zabbix 4.0+ due to `user.addmedia` method removal `zabbix.user_deletemedia` returns error for Zabbix 4.0+ due to `user.deletemedia` method removal (#62012) "Sign before ending the testrun in x509.create_certificate" (#62100) Fix salt-ssh using sudo with a password (#8882) Fix SSH password regex to not search for content after password:. (#25721) Addressing a few issues when having keepsymlinks set to True with file.recurse. Also allow symlinks that are outside the salt fileserver root to be discoverable as symlinks when fileserverfollowsymlinks is set to False. (#29562) serialize to JSON only non string objects. (#35215) Fix archive.extracted doesn't set user/group ownership correctly (#38605) Make sys.argspec work on functions with annotations (#48735) Fixed pdbedit.list_users with Samba 4.8 (#49648) Fixes a scenario where ipv6 is enabled but the master is configured as an ipv4 IP address. (#49835) Ensure that NOTIFY_SOCKET is not passed to child processes created with cmdmod unless it's set explicitly for such call. (#50851) remove escaping of dbname in mysql.alter_db function. (#51559) Fix runit module failing to find service if it is not symlinked. (#52759) Changed manage.versions to report minions offline if minion call fails. (#53513) Fixed events stream from /events endpoint not halting when auth token has expired. (#53742) Fixed user.present which was breaking when updating workphone,homephone, fullname and "other" fields in case int was passed instead of string (#53961) Fix error in webutil state module when attempting to grep a file that does not exist. (#53977) Fixed ability to modify the "Audit: Force audit policy subcategory settings..." policy (#54301) Fix timeout handling in netapi/saltnado. (#55394) Fixing REST auth so that we actually support using ACLs from the REST server like we said in the documentation. (#55654) Salt now correctly handles macOS after Py3.8 where python defaults to spawn instead of fork. (#55847) Factor out sum and sorting of permissions into separate functions. Additionally, the same logic was applied to the rest_cherrypy netapi (#56495) Display packages that are marked NoRemove in pkg.list_pkgs for Windows platforms (#56864) Attempt to fix 56957 by detecting the broken recusion and stopping it. (#56957) Fixed bytes vs. text issue when using sqlite for sdb backend. (#57133) Ensure test is added to opts when using the state module with salt-ssh. (#57144) Fixed RuntimeError OrderedDict mutated in network.managed for Debian systems. (#57721) Improved the multiprocessing classes to better handle spawning platforms (#57742) Config options are enforced according to config type (#57873) fixed 57992 fix multi item kv v2 items read. (#57992) Fixed thread leak during FQDN lookup when DNS entries had malformed PTR records, or other similar issues. (#58141) Remove unnecessary dot in template that cause the bridge interface to fail on debian. Fixes #58195 (#58195) update salt.module.schedule to check the jobargs and jobkwargs for valid formatting. (#58329) Allowe use of `roster` in salt.function state when using the SSH client. (#58662) Detect new and legacy styles of calling module.run and support them both. (#58763) Clean repo uri before checking if it's present, avoiding ghost change. (#58807) Fix error "'opts' is not defined" when using the boto v2 modules (#58934) hgfs: fix bytes vs str issues within

(#58963) Fixes salt-ssh error when targetting IPs or hostnames directly. (#59033) Allow for multiple configuration entries with keyword strict_config=False on yum-based systems (#59090) Fixed error when running legacy code in winrepo.updategitrepos (#59101) Clarify the persist argument in the scheduler module. Adding code in the list function to indicate if the schedule job is saved or not. (#59102) Swap ret["retcode"] for ret.get("retcode") in the event that there is no retcode, eg. when a function is not passed with a module. (#59331) Fix race condition when caching vault tokens (#59361) The ssh module now accepts all ssh public key types as of openssh server version 8.7. (#59429) Set default transport and port settings for Napalm NXOS, if not set. (#59448) Use salt_system_encoding when retrieving keystore certificate SHA1 str (#59503) Fix error being thrown on empty flags list given to file.replace (#59554) Update url for ezsetup.py script in virtualenvmod.py (#59604) Changed yumpkg module to normalize versions to strings when they were ambiguously floats (example version=3005.0). (#59705) Fix pillar_roots.write on subdirectories broken after CVE-2021-25282 patch. (#59935) Improved performance of zfs.filesystempresent and zfs.volumepresent. When applying these states, only query specified ZFS properties rather than all properties. (#59970) Fixed highstate outputter not displaying with salt.function in orchestration when module returns a dictionary. (#60029) Update docs where python-dateutil is required for schedule. (#60070) Send un-parsed username to LookupAccountName function (#60076) Fix ability to set propagation on a folder to "thisfolderonly" (#60103) Fix name attribute access error in spm. (#60106) Fix zeromq stream.send exception message (#60228) Exit gracefully on ctrl+c. (#60242) Corrected import statement for redis_cache in cluster mode. (#60272) loader: Fix loading grains with annotations (#60285) fix docker_network.present when com.docker.network.bridge.name is being used as the unixes can not have a bridge of the same name (#60316) Fix exception in yumpkg.remove for not installed package on calling pkg.remove or pkg.removed (#60356) Batch runs now return proper retcodes in a tuple of the form (result, retcode) (#60361) Fixed issue with ansible roster virtual when ansible is not installed. (#60370) Fixed error being thrown when None was passed as src/defaults or dest to defaults.update and defaults.merge (#60431) Allow for additional options for xmit hash policy in mode 4 NIC bonding on Redhat (#60583) Properly detect VMware grains on Windows Server 2019+ (#60593) Allow for minion failure to respond to job sent in batch mode (#60724) The mac assistive execution module no longer shells out to change the database. (#60819) Fix regression in wintimezone.getzone which failed to resolve specific timezones that begin or end with d/s/t/o/f/_ characters (#60829) The TCP transport resets it's unpacker on stream disconnects (#60831) Moving the call to the validate function earlier to ensure that beacons are in the right format before we attempt to do anything to the configuration. Adding a generic validation to ensure the beacon configuration is in the wrong format when a validation function does not exist. (#60838) Update the mac installer welcome and conclusion page, add docs for the salt-config tool (#60858) Fixed external node classifier not callable due to wrong parameter (#60872) Adjust Debian/Ubuntu package use of name 'ifenslave-2.6' to 'ifenslave' (#60876) Clear and update the Pillar Cache when running saltutil.refresh_pillar. This only affects users that have `pillar_cache` set to True. If you do not want to clear the cache you can pass the kwarg `cleancache=False` to `saltutil.refreshpillar`. (#60897) Handle the situation when apt repo lines have or do not have trailing slashes properly. (#60907) Fixed Python 2 syntax for Python 3, allow for view objects returned by dictionary keys() function (#60909) Fix REST CherryPY append the default permissions every

(#60955) Do not consider "skipped" targets as failed for "ansible.playbooks" states (#60983) Fix behavior for internal "netlinktoolremoteon" to filter results based on requested end (#61017) schedule.job_status module: Convert datetime objects into formatted strings (#61043) virt: don't crash if console doesn't have service or type attribute (#61054) Fixed conflict between importlib_metada from Salt and importlib.metadata from Python 3.10 (#61062) sys.argspec now works with pillar.get, vault.readsecret, and vault.listsecrets (#61084) Set virtual grain on FreeBSD EC2 instances (#61094) Fixed v3004 windows minion failing to open log file at C:\ProgramData\Salt Project\Salt\var\log\salt\minion (#61113) Correct returned result to False when an error exception occurs for pip.installed (#61117) fixed extend being too strict and wanting the system_type to exist when it is only needed for requisites. (#61121) Fixed bug where deserialization in script engine would throw an error after all output was read. (#61124) Adding missing import for salt.utils.beacons into beacons that were updated to use it. (#61135) added exception catch to salt.utils.vt.terminal.isalive(). (#61160) Re-factor transport to make them more plug-able (#61161) Remove max zeromq pinned version due to issues on FreeBSD (#61163) Fixing deltaproxy code to handle the situation where the control proxy is configured to control a proxy minion whose pillar data could not be loaded. (#61172) Prevent get_tops from performing a Set operation on a List (#61176) Make "state.highstate" to acts on concurrent flag. Simplify "transactional_update" module to not use SSH wrapper and allow more flexible execution (#61188) Fix a failure with salt.utils.vault.make_request when namespace is not defined in the connection. (#61191) Fix race condition in `salt.utils.verify.verify_env` and ignore directories starting with dot (#61192) LGPO: Search for policies in a case-sensitive manner first, then fall back to non case-sensitive names (#61198) Fixed state includes in dynamic environments (#61200) Minimize the number of network connections minions to the master (#61247) Fix salt-call event.event with pillar or grains (#61252) Fixed failing dcs.compile_config where a successful compile errored with `AttributeError: 'list' object has no attribute 'get'`. (#61261) Make the salt.utils.windacl.getname() function include the "NT Security" prefix for Virtual Accounts. Virtual Accounts can only be added with the fully qualified name. (#61271) Fixed tracebacks and print helpful error message when proxyreturn = True but no platform or primaryip set in NetBox pillar. (#61277) Ensure opts is included in pack for minionmods and config loads opts from the namedcontext. (#61297) Added prefix length info for IPv6 addresses in Windows (#61316) Handle MariaDB 10.5+ SLAVE MONITOR grant (#61331) Fix secondary ip addresses being added to ip4interfaces and ip6interfaces at the same time (#61370) Do not block the deltaproxy startup. Wrap the call to the individual proxy initialization functions in a try...except, catching the exception, logging an error and moving onto the next proxy minion. (#61377) show_instance of hetzner cloud provider should enforce an action like the other ones (#61392) Fix Hetzner Cloud config loading mechanism (#61399) Sets correctly the lvm grain even when lvm's command execution outputs a WARNING (#61412) Use net instead of sc in salt cloud when restarting the salt service (#61413) Fix use_etag support in fileclient by removing case sensitivity of expected header (#61440) Expand environment variables in the root_dir registry key (#61445) Use salt.utils.path.readlink everywhere instead of os.readlink (#61458) Fix state_aggregate minion option not respected (#61478) Fixed wua.installed and wua.uptodate to return all changes, failures, and supersedences (#61479) When running with test=True and there are no changes, don't show that there are changes. (#61483) Fix issue with certutil when there's a space in the path to the certificate (#61494) Fix cmdmod not respecting config for saltenv (#61507) Convert Py 2'isms to Python 3, and add tests for set_filesystems on

(#61509) Fix tracebacks caused by missing block device type and wrong mode used for gzip.open while calling inspector.export (#61530) win_wua: Titles no longer limited to 40 characters (#61533) Fixed error when using network module on RHEL 8 due to the name of the service changing from "network" to "NetworkManager". (#61538) Allow symlink to be created even if source is missing on Windows (#61544) Print jinja error context on `UndefinedError`. Previously `jinja2.exceptions.UndefinedError` resulted in a `SaltRenderError` without source file context, unlike all of the other Jinja exceptions handled in `salt/utils/templates.py`. (#61553) Fix uptime on AIX systems when less than 24 hours (#61557) Fix issue with state.showstateusage when a saltenv is not referenced in any topfile (#61614) Making the retry state system feature available when parallel is set to True. (#61630) modules/aptpkg.SourceEntry: fix parsing lines with arbitrary comments in case HAS_APT=False (#61632) Fix file.comment incorrectly reports changes in test mode (#61662) Fix improper master caching of file listing in multiple dynamic environments (#61738) When configured beacons are empty write an empty beacon configuration file. (#61741) Fix file.replace updating mtime with no changes (#61743) Fixed etcdreturn being out of sync with the underlying etcdutil. (#61756) Fixing items, values, and keys functions in the data module. (#61812) Ensure that `salt://` URIs never contain backslashes, converting them to forward slashes instead. A specific situation to handle is caching files on Windows minions, where Jinja relative imports introduce a backslash into the path. (#61829) Do not raise a UnicodeDecodeError when pillar cache cannot decode binary data. (#61836) Don't rely on ``importlib.metadata``, even on Py3.10, use ``importlib_metadata`` instead. (#61839) Fix the reporting of errors for file.directory in test mode (#61846) Update Markup and contextfunction imports for jinja versions >=3.1. (#61848) Update states.chef for version 16.x and 17.x Chef Infra Client output. (#61891) Fixed some whitespace and ``pathlib.Path`` issues when not using the sytem ``aptsources`` package. (#61936) fixed error when using backslash literal in file.replace (#61944) Fix an issue where under spawning platforms, one could exhaust the available multiprocessing semaphores. (#61945) Fix salt-cloud syncafterinstall functionality (#61946) Ensure that `common_prefix` matching only occurs if a directory name is identified (in the `archive.list` execution module function, which affects the `archive.extracted` state). (#61968) When states are running in parallel, ensure that the total run time produced by the highstate outputter takes that into account. (#61999) Temporary logging is now shutdown when logging has been configured. (#62005) modules/lxd.FilesManager: fix memory leak through pylxd.modules.container.Container.FilesManager (#62006) utils/jinja.SaltCacheLoader: fix leaking SaltCacheLoader through atexit.register (#62007) Fixed errors on calling `zabbixuser.adminpassword_present` state, due to changed error message in Zabbix 6.0 Fixed `zabbix.host_update` not mapping group ids list to list of dicts in format `[{"groupid": groupid}, ...]` Fixed `zabbix.user_update` not mapping usergroup id list to list of dicts in format `[{"usrgrpid": usrgrpid}, ...]` (#62012) utils/yamlloader and yamlloader_old: fix leaking DuplicateKeyWarning through a warnings module (#62021) Fix cache checking for Jinja templates (#62042) Fixed salt.states.file.managed() for follow_symlinks=True and test=True (#62066) Stop trigering the `GLIBC race condition <https://sourceware.org/bugzilla/showbug.cgi?id=19329>` when parallelizing the resolution of the fqnds. (#62071) Fix useradd functions hard-coded relative command name (#62087) Fix #62092: Catch zmq.error.ZMQError to set HWM for zmq >= 3. Run ``git show 0be0941`` for more info. (#62092) Allow emitatstartup to work when delay option is setup. (#62095) Fix broken relative jinja includes in local mode bug introduced in #62043 (#62117) Fix broken file.comment functionality introduced in #62045 (#62121) Fixed an incompatibility preventing salt-cloud from deploying VMs on Proxmox VE 7 (#62154) Fix sysctl functions hard-coded relative command name (#62164) All of Salt's loaders now accept ``loadedbasename`` as a keyword argument, allowing different namespacing the loaded

(#62186) Only functions defined on the modules being loaded will be added to the lazy loader, functions imported from other modules, unless they are properly namespaced, are not included. (#62190) Fixes issue in postgresql privileges detection: privileges on views were never retrieved and always recreated. (#57690) Fix service.enabled error for unavailable service in test mode (#62258) Fix variable reuse causing requisite_in problems (#62264) Adding -G option to pkgdd cmdprefix list when currentzone_only is True. (#62206) Don't expect ``lsof`` to be installed when trying check which minions are connected. (#62303) Added a pyinstaller hook that traverses the python used on the tiamat package to add all possible modules as hidden imports. (#62362) Fix use of random shuffle and sample functions as Jinja filters (#62372) All of the requirements provided in the requirements files are now included. The job of evaluating platform markers is not Salt's it's pip's. (#62392) Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x (#62400) Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. (#62405) Fixed urlparse typo in rpmbuild_pkgbuild.py (#62442) Fixing changes dict in pkg state to be consistent when installing and test=True. (#60995) Use fireeventasync when expecting a coroutine (#62453) Fixes import error under windows. (#62459) account for revision number in formulas to account for difference between bottle and formula (#62466) Fixed stacktrace on Windows when running pkg.list_pkgs (#62479) Update sanitizing masking for Salt SSH to include additional password like strings. (#62483) Fixes an issue where the minion could not connect to a master after 2 failed attempts (#62489) Added -- Added ability to request VPC peering connections in different AWS regions (boto_vpc). (#50394) Added event return capability to Splunk returner (#50815) Added allow downgrades support to apt upgrade (#52977) added new grain for metadata to handle googles metadata differences (#53223) Added win_shortcut execution and state module that does not prepend the current working directory to paths. Use shortcut.create and shortcut.present instead of file.shortcut. (#53706) Add env substitution inside file and pillar root paths (#55747) Added support cpu hot add/remove, memory hot add, and nested virtualization to VMware salt-cloud driver. (#56144) Add a consul state module with aclpresent and aclabsent functions. (#58101) Added restconf module/states/proxy code for network device automation (#59006) Adds the ability to get version information from a file on Windows systems (#59702) Add aptkey=False kwarg option to the aptpkg.py module and pkgrepo state. Apt-key is on the path to be deprecated. This will allow users to not use apt-key to manage the repo keys. It will set aptkey=False automatically if it does not detect apt-key exists on the machine. (#59785) Added "Instant Clone" feature in the existing VMware Cloud module (#60004) Added support for etcd API v3 (#60325) Added `pkg.held` and `pkg.unheld` state functions for Zypper, YUM/DNF and APT. Improved `zypperpkg.hold` and `zypperpkg.unhold` functions. (#60432) Added suse_ip module allowing to manage network interfaces on SUSE based Linux systems (#60702) Support querying for JSON data in SQL external pillar (#60905) Added support for yum and dnf on AIX (#60912) Added percent success/failure of state runs in highstate summary output via new stateoutputpct option (#60990) Add support for retrieve IP-address from qemu agent by Salt-cloud on Proxmox (#61146) Added new shortcut execution and state module to better handle UNC shortcuts and to test more thoroughly (#61170) added yamllint utils module and yaml execution modules (#61182) Add "--no-return-event" option to salt-call to prevent sending return event back to master. (#61188) Add Etag support for file.managed web

(#61270) Adding the ability to add, delete, purge, and modify Salt scheduler jobs when the Salt minion is not running. (#61324) Added a force option to file.symlink to overwrite an existing symlink with the same name (#61326) `gpgdecryptmust_succeed` config to prevent gpg renderer from failing silently (#61418) Do not load a private copy of `grains` and `salt` for the sentry log handler if it is disabled. (#61484) Add Jinja filters for itertools functions, flatten, and a state template workflow (#61502) Add feature to allow roll-up of duplicate IDs with different names in highstate output (#61549) Allow cp functions to derive saltenv from config if not explicitly set (#61562) Multiprocessing logging no longer uses multiprocessing queues which penalized performance. Instead, each new process configures the terminal and file logging, and also any external logging handlers configured. (#61629) Add a function to the freezer module for comparison of packages and repos in two frozen states (#61682) Add grainsrefreshpre_exec option to allow grains to be refreshed before any operation (#61708) Add possibility to pass extra parameters to salt-ssh pre flight script with `sshpreflight_args` (#61715) Add Etag support for archive.extracted web sources (#61763) Add regex exclusions, full path matching, symlink following, and mtime/ctime comparison to file.tidied (#61823) Add better handling for unit abbreviations and large values to salt.utils.stringutils.humantobytes (#61831) Provide PyInstaller hooks that provide some runtime adjustments when Salt is running from a Tiamat(PyInstaller) bundled package. (#61864) Add configurable tiamat pip pypath location (#61937) Add CNAME record support to the dig exec module (#61991) Added support for changed user object in Zabbix 5.4+ Added compatibility with Zabbix 4.0+ for `zabbix.user_getmedia` method Added support for setting medias in `zabbix.user_update` for Zabbix 3.4+ (#62012) Add ignore_missing parameter to file.comment state (#62044) General improvements on the "ansiblegate" module: Add "ansible.targets" method to gather Ansible inventory Add "ansible.discover_playbooks" method to help collecting playbooks Fix crash when running Ansible playbooks if ansible-playbook CLI output is not the expected JSON. Fix issues when processing inventory and there are groups with no members. Allow new types of targets for Ansible roster (#60056) Add sample and shuffle functions from random (#62225) Add "<tiamat> python" subcommand to allow execution or arbitrary scripts via bundled Python runtime (#62381) Expand environment variables in the root_dir registry key (#61445) Update Markup and contextfunction imports for jinja versions >=3.1. (#61848) Fix bug in tcp transport (#61865) Make sure the correct key is being used when verifying or validating communication, eg. when a Salt syndic is involved use syndicmaster.pub and when a Salt minion is involved use minionmaster.pub. (#61868) Fixed PAM auth to reject auth attempt if user account is locked. (cve-2022-22967) Sign authentication replies to prevent MiTM (cve-2022-22935) Prevent job and fileserver replays (cve-2022-22936) Sign pillar data to prevent MiTM attacks. (cve-2202-22934) Fixed targeting bug, especially visible when using syndic and user auth. (CVE-2022-22941) (#60413) Fix denial of service in junos ifconfig output parsing. Removed the deprecated glance state and execution module in favor of the glance_image state module and the glanceng execution module. (#59079) Removed support for Ubuntu 16.04 (#59869) Removed the deprecated support for ``gidfromname`` from the ``user`` state module (#60565) Removed deprecated virt.migratenonshared, virt.migratenonsharedinc, ssh from virt.migrate, and python2/python3 args from salt.utils.thin.genmin and .gen_thin (#60893) The extnodes alias to the master_tops function was added back in 3004 to maintain backwards compatibility with older supported versions. This alias will now be removed in 3006. This change will break Master and Minion communication compatibility with Salt minions running versions 3003 and lower. (#60980) utils/boto3_elasticsearch is no longer needed (#59882) Changed "manufacture" grain to "manufacturer" for Solaris on SPARC to unify the name across all

The old "manufacture" grain is now deprecated and will be removed in Sulfur (#60511) Deprecate `salt.payload.Serial` (#60953) Changed nginx.version to return version without `nginx/` prefix. (#57111) Updated Slack webhook returner to support event returns on salt-master (#57182) Parsing Epoch out of version during pkg remove, since yum can't handle that in all of the cases. (#57881) Add extra onfail req check in the state engine to allow onfail to be used with onchanges and other reqs in the same state (#59026) Changed the default character set used by `utils.pycrypto.secure_password()` to include symbols and implemented arguments to control the used character set. (#59486) Set default 'bootstrap_delay' to 0 (#61005) Fixed issue where multiple args to netapi were not preserved (#59182) Handle all repo formats in the aptpkg module. (#60971) Do not break master_tops for minion with version lower to 3003 This is going to be removed in Salt 3006 (Sulfur) (#60980) Reverting changes in PR #60150. Updating installed and removed functions to return changes when test=True. (#60995) Handle signals and properly exit, instead of raising exceptions. (#60391, #60963) Redirect imports of ``salt.ext.six`` to ``six`` (#60966) Surface strerror to user state instead of returning false (#20789) Fixing getenvs() to preserve the order of pillarroots. getenvs() returned pillarroots in a non-deterministic order. (#24501) Fixes salt-cloud `KeyError` that occurs when there exists any subnets with no tags when profiles use `subnetname` (#44330) Fixes postgreslocalcache by removing duplicate unicode encoding. (#46942) Fixing the state aggregation system to properly handle requisities. Fixing pkg state to exclude packages from aggregation if the hold attribute is in the state. (#47628) fix issue that allows case sensitive files to be carried through (#47969) Allow GCE Salt Cloud to use previously created IP Addresses. (#48947) Fixing rabbitmq.listuserpermissions to ensure we are returning a permission list with three elements even when some values are empty. (#49115) Periodically restart the fileserver update process to avoid leaks (#50313) Fix default value to dictionary for mine_function (#50695) Allow user.present to work on Alpine Linux by fixing linux_shadow.info (#50979) Ensure that zypper is called with only one --no-refresh parameter (#51382) Fixed fileclient cachedir path switching from master to minion due to incorrect MasterMinion configuration (#52288) Fixed the container detection inside virtual machines (#53868) Fix invalid dnf command when obsoletes=True in pkg.update function (#54224) Jinja renderer resolves wrong relative paths when importing subdirectories (#55159) Fixed bug #55262 where `salt.modules.iptables` would call `cmd.run` and receive and interpret interspersed `stdout` and `stderr` output from subprocesses. (#55262) Updated pcs support to handle auth and setup for new syntax supporting version 0.10 (#56924) Reinstate ignore_cidr option in salt-cloud openstack driver (#57127) Fix for network.wolmatch runner displaying 'invalid arguments' error with valid arguments (#57473) Fixed bug 57490, which prevented package installation for Open Euler and Issabel PBX. Both Open Euler and Issabel PBX use Yum for package management, added them to yumpkg.py. (#57490) Better handling of bad RSA public keys from minions (#57733) Fixing various functions in the file state module that use user.info to get group information, certain hosts particularly proxy minions do not have the user.info function available. (#57786) Do not monkey patch yaml loaders: Prevent breaking Ansible filter modules (#57995) Fix --subset command line option, and support old 'sub' parameter name in cmd_subset for backwards compatibility (#58600) When calling salt.utils.http.query with a HEAD method to check for the existence of a source ensure that decode_body is False, so the file is not downloaded into memory when we don't need the contents. (#58881) Update the runas user on freebsd for postgres versions >9.5, since freebsd will be removing the package on

(#58915) Fix pip module linked requirements file parsing (#58944) Fix incorrect hostname quoting in /etc/sysconfig/networking on Red Hat family OS. (#58956) Fix Xen DomU virt detection in grains for long running machines. (#59001) add encoding when windows encoding is not defaulting to utf8 (#59063) Fix "aptpkg.normalize_name" in case the arch is "all" for DEB packages (#59269) Astra Linux now considered a Debian family distro (#59332) Reworking the mysql module and state so that passwordless does not try to use unixsocket until unixsocket is set to True. (#59337) Fixed the zabbix module to read the connection data from pillar. (#59338) Fix crash on "yumpkg" execution module when unexpected output at listing patches (#59354) Remove return that had left over py2 code from win_path.py (#59396) Don't create spicevmc channel for Xen virtual machines (#59416) Fix win_servermanager.install so it will reboot when restart=True is passed (#59424) Clear the cached network interface grains during minion init and grains refresh (#59490) Normalized grain output for LXC containers (#59573) Fix typo in 'salt/states/cmd.py' to use "comment" instead of "commnd". (#59581) add aliyun linux support and set alinux as redhat family (#59686) Don't fail updating network without netmask ip attribute (#59692) Fixed using reserved keyword 'set' as function argument in modules/ipset.py (#59714) Return empty changes when nothing has been done in virt.defined and virt.running states (#59739) Import salt.utils.azurearm instead of using utils from loader in azure cloud. This fixes an issue where utils would become unavailable when we are using the ThreadPool in azurearm. (#59744) Fix an issue with the LGPO module when the gpt.ini file contains unix style line endings (/n). This was happening on a Windows Server 2019 instance created in Google Cloud Platform (GCP). (#59769) The ``ansiblegate`` module now correctly passes keyword arguments to Ansible module calls (#59792) Make sure cmdmod.logcmd handles tuples properly (#59793) Updating the add, delete, modify, enablejob, and disablejob functions to return appropriate changes. (#59844) Apply pre-commit changes to entire codebase. (#59847) Fix Hetzner cloud driver does not recognize machines when rolling out a map (#59864) Update Windows build deps & DLLs, Use Python 3.8, libsodium.dll 1.0.18, OpenSSL dlls to 1.1.1k (#59865) Salt api verifies proper log file path when providing '--log-file' from the cli (#59880) Detect Mendel Linux as Debian (#59892) Fixed compilation of requisite_ins by also checking state type along with name/id (#59922) Fix xen.getvm() to not break silently when a VM and a template on XenServer have the same name. (#59932) Added missing space for nftables.build_rule when using saddr or daddr. (#59958) Add back support to load old entrypoints by iterating instead of type checking (#59961) Fixed interrupting salt-call in a pdb session. (#59966) Validate we can import map files in states (#60003) Update alterdb to return True or False depending on the success of failure of the alter. Update grantexists to only use the full list of available privileges when the grant is on the global level, eg. datbase is ".". (#60031) Fixed firewalld.list_zones when any "rich rules" is set (#60033) IPCMessageSubscriber objects expose their connect method as a corotine so they can be wrapped by SyncWrapper. (#60049) Allow for Napalm dependency netmiko_mod to load correctly when used by Napalm with Cisco IOS (#60061) Ensure proper access to the created temporary file when ``runas`` is passed to ``cmd.execcodeall`` (#60072) Fixed an IndexError in pkgng.latest_version when querying an unknown package. (#60105) Fixed pkgng.latest_version when querying by origin (e.g. "shells/bash"). (#60108) Gracefuly handle errors in virt.vm_info (#60132) The LGPO Module now uses "Success and Failure" for normal audit settings and advanced audit settings (#60142) Fixing

tests so the sleep happens before the status, so the job is given time before we check it. (#60149) Update the external ipaddress to the latest 3.9.5 version which has some security fixes. Updating the compat.p to use the vendored version if the python version is below 3.9.5 and only run the test_ipaddress.py tests if below 3.9.5. (#60168) Fixed ValueError exception in state.showstateusage (#60179) Redact the username and password when something goes wrong when using an HTTP source and we raise an exception. (#60203) Inject the Ansible functions into Salt's ``ansiblegate`` module which was broken on the 3001 release. (#60207) Figure out the available Python version inside containers when executing "dockermod.call" function (#60229) Handle IPv6 route types such as anycast, multicast, etc when returned from IPv6 route table queries (#60232) Move the commonly used code that converts a list to a dictionary into salt.utils.beacons. Fixing inotify beacon close function to ensure the configuration is converted from the provided list format into a dictionary. (#60241) Set name of engine subprocesses (#60259) Properly discover block devices path in virt.running (#60296) Avoid exceptions when handling some exception cases. (#60330) Fixed faulty error message in npm.installed state. (#60339) Port option reinstated for Junos Proxy (accidentally removed) (#60340) Now hosts.rm_host can remove entries from /etc/hosts when this file have inline comments. (#60351) Fixes issue where the full same name is not used when making rights assignments with group policy (#60357) Fixed zabbixhost.present to not overwrite inventorymode to "manual" every time inventory is updated. (#60382) Allowed zabbix_host.present to do partial updates of inventory, also don't erase everything if inventory is missing in state definition. (#60389) Fixing the mysql_cache module to handle binary inserting binary data into the database. Initially adding tests. (#60398) Fixed hostinventoryget to not throw an exception if host does not exist (#60418) Check for /dev/kvm to detect KVM hypervisor. (#60419) Fixing file.accumulated handling of dependencies when the stateid is used instead of {function: stateid} format. (#60426) Adding the ability for yumpkg.remove to handle package names with widdcards. (#60461) Pass emulator path to get guest capabilities from libvirt (#60491) virt.get_disks: properly report qemu-img errors (#60512) Make all platforms have psutils. This prevents a minion from starting if an instance is all ready running. (#60523) Ignore configuration for 'enablefqdnsgrains' for AIX, Solaris and Juniper, assume False (#60529) Remove check for TIAMATBUILD enforcing USESTATIC_REQUIREMENTS, this is now controlled by Tiamat v7.10.1 and above (#60559) Have the beacon call run through a try...except, catching any errors, logging and firing an event that includes the error. Fixing the swapusage beacon to ensure value is a string before we attempt to filter out the %. (#60585) Refactor loader into logical sub-modules (#60594) Clean up references to ZMQDefaultLoop (#60617) change dep warn from Silicon to Phosphorus for the cmd,show,systeminfo and addconfig functions in the nxos module. (#60669) Fix bug 60602 where the hetzner cloud provider isn't recognized correctly (#60675) Fix the ``pwd.getpwnam`` caching issue on macOS user module (#60676) Fixing beacons that can include a value in their configuration that may or may not included a percentage. We want to handle the situation where the percentage sign is not included and the value is not handled as a string. (#60684) Fix RuntimeError in process manager (#60749) Ensure all data that is being passed along to LDAP is in an OrderedSet and contains bytes. (#60760) Update the AWS API version so VMs spun up by salt-cloud where the VPC has it enabled to assign ipv6 addresses by default, actually get ipv6 addresses assigned by default. (#60804) Remove un-needed singletons from tranports (#60851) Added -- Add windows support for file.patch with patch.exe from git for windows optional

(#44783) Added ability to pass exclude kwarg to salt.state inside orchestrate. (#49130) Added `successstdout` and `successstderr` arguments to `cmd.run`, to override default return code behavior. (#50597) The netbox pillar now been enhanced to add support for querying virtual machines (in addition to devices), as well as minion interfaces and associated IP addresses. (#51490) Add support for transactional systems, like openSUSE MicroOS (#58519) Added namespace headers to allow use of namespace from config to communicate with Vault Enterprise namespaces (#58585) boto3mod unit tests (#58713) New decorators `allowoneof()` and `requireoneof()` (#58742) Added `nosync` switch to disable initial raid synchronization (#59193) Expanded the documentation for the netbox pillar. (#59398) Rocky Linux has been added to the RedHat os_family. (#59682) Add "poudriere -i -j jail_name" option to list jail information for poudriere (#59831) Added the grains.uuid on Windows platform (#59888) Add a salt.util.platform check to detect the AArch64 64-bit extension of the ARM architecture. (#59915) Adding support for Deltaproxy controlled proxy minions into Salt Open. (#60090) Added functions to slsutil execution module to test if files exist in the state tree Added function to slsutil execution module to search for a file by walking up the state tree (#60159) Allow modulerefresh to also refresh available beacons, eg. following a Python library being installed and "refreshmodules" being passed as an argument in a state. (#60541) Add the `detectremoteminions` and `remoteminionsport` options to allow the master to detect remote ports for connected minions. This will allow users to detect Heist-Salt minions the master is connected to over port 22 by default. (#60612) Add the python rpm-vercmp library in the rpm_lowpkg.py module. (#60814) Allow a user to use the aptpkg.py module without installing python-apt. (#60818) Update Markup and contextfunction imports for jinja versions >=3.1. (#61848) Fix bug in tcp transport (#61865) Make sure the correct key is being used when verifying or validating communication, eg. when a Salt syndic is involved use syndicmaster.pub and when a Salt minion is involved use minionmaster.pub. (#61868) Fixed PAM auth to reject auth attempt if user account is locked. (cve-2022-22967) Sign authentication replies to prevent MiTM (cve-2022-22935) Prevent job and fileserver replays (cve-2022-22936) Sign pillar data to prevent MiTM attacks. (cve-2202-22934) Fixed targeting bug, especially visible when using syndic and user auth. (CVE-2022-22941) (#60413) Fix denial of service in junos ifconfig output parsing. Fix issue introduced in https://github.com/saltstack/salt/pull/59648 (#60046) Verify the owner of an existing config before trusting it during install. If the owner cannot be verified, back it up and use defaults. (CVE-2021-22004) Ensure that sourced file is cached using its hash name (cve-2021-21996) Periodically restart the fileserver update process to avoid leaks (#50313) Add sshtimeout to kwargs in deployscript (#59901) Update the external ipaddress to the latest 3.9.5 version which has some security fixes. Updating the compat.p to use the vendored version if the python version is below 3.9.5 and only run the test_ipaddress.py tests if below 3.9.5. (#60168) Use the right crypto library for salt.utils.crypt.reinit_crypto (#60215) Stop SSH from hanging if connection is lost. Also added args to customize grace period. (#60216) Improve reliability of Terminal class (#60504) Ignore configuration for 'enablefqdnsgrains' for AIX, Solaris and Juniper, assume False (#60529) Import salt.utils.azurearm instead of using utils from loader in azure cloud. This fixes an issue where utils would become unavailable when we are using the ThreadPool in azurearm. (#59744) Use contextvars library from site-packages if it is intalled. Fixes salt ssh for targets with python <=3.6 (#59942) Fixed race condition in batch logic. Added `listen` option to `LocalClient` to prevent event subscriber from purging cached events during batch

(#56273) Fixed dependencies for Amazon Linux 2 on https://repo.saltproject.io since Amazon Linux 2 now provides some of the python libraries in their repos. (#59982) IPCMessageSubscriber objects expose their connect method as a coroutine so they can be wrapped by SyncWrapper. (#60049) Import salt.utils.azurearm instead of using utils from loader in azure cloud. This fixes an issue where utils would become unavailable when we are using the ThreadPool in azurearm. (#59744) Use contextvars library from site-packages if it is intalled. Fixes salt ssh for targets with python <=3.6 (#59942) Add back support to load old entrypoints by iterating instead of type checking (#59961) Pass the value of the `grains` NamedContext to salt.pillar.get_pillar, instead of the NamedContext object itself. (#59975) Fix pillar serialization in jinja templates (#60083) Removed the deprecated glance state and execution module in favor of the glance_image state module and the glanceng execution module. (#59079) Removing the extnodes deprecation warning and alias to the master_tops function. This change will break compatibility with a Salt master running versions 2017.7.8 and older and Salt minions running versions 3003 and newer. (#59804) removed the arg `managedprivatekey` from 'salt.states.x509.certificate_managed' (#59247) Drop support for python 3.5 on Windows (#59479) Removed support for Ubuntu 16.04 (#59913) Added deprecation warning for grains.getorset_hash (#59425) Change `brew cask --list` to `brew list --cask` (#58381) Store git sha in salt/_version.py when installing from a tag so it can be found if needed later. (#59137) Changed package manager detection in yumpkg module (#59201) Updating the pkg beacon to fire the events when there are upgrades to packages, but also when watched packages are installed or removed. Breaking out the logic for listing pkgs from context into a separate function to aid in testing. Updating tests to ensure context is not used when usecontext option to listpkgs is False. (#59463) When instantiating the loader grab values of grains and pillars if they are NamedLoaderContext instances. (#59773) Fixed installation on Apple Silicon Macs by checking $HOMEBREW_PREFIX for `libcrypto` instead of assuming /usr/local. (#59808) Fix incorrect documentation for pillarsourcemerging_strategy (#26396) Don't iterate through cloud map errors (#34033) Suppress noisy warnings when very old pyzmq is used. (#50327) Fixed glusterfs version parsing for pre-4.0 (#50707) Prevent traceback when trying to list reactors when none are configured. (#53334) Fixed zabbix_host.present to accept all Zabbix host properties (#53838) Binaries for the salt installer package for OSX are now signed and the installer package is notarized (#54513) Guard boto3_elasticsearch loading properly (#55848) Use a capitalized string version of the value of `NodeState` instead (#56589) Adding missing error case to the validation for service beacon. (#56623) The GCE cloud driver only works with apache-libcloud>=2.5.0, prior versions have authentication issues (#56862) zypperpkg addlock and removelock examples do not work (#56922) Compare bytes to bytes so we don't overwrite a correct value (#57212) Fixing expandrepodef in aptpkg module to include the architecture in the line attribute when it is passed in. (#57600) When passing arguments pass them as keyword arguments so that we can be sure the right value is going where. (#58006, #58579, #59075) Improve module whitelist logic for file backends (#58041) Fix behavior for "onlyif/unless" state conditionals when multiple declarations (#58085) Ensure data is a valid keyword argument for the event.wait function. (#58182) Do not raise "StreamClosedError" traceback on the master logs but only log it (#58301) Fixed issue with win_timezone when dst is turned off. This was causing the minion not to start Use default timezone offset in scheduler when correct timezone cannot be determined (#58379) Pop!_OS 20.04 and 20.10 now support using pkg. / aptpkg. (#58395) Restoring functionality of the textfsm module when using textfsm_path

(#58499) Invalidate file list cache when cache file has a future last modified time (#58529) Fix issue with setting permissions in combination with the winpermsreset option (#58541) Adds support for Powershell 7. It is specified by passing shell="pwsh". Only valid if Powershell 7 is installed on the system. (#58598) Fixed the zabbix.hostcreate call on zabbixhost.present to include the optional parameter visible_name. Now working as documented. (#58602) Fixed some bugs to allow zabbix_host.present to update a host already existent on Zabbix server: Added checks before "pop" the elements "bulk" and "details" from hostinterfaces_get's response. Without that, the interface comparison didn't works with Zabbix >= 5.0 Fixed the "inventory" comparison. It failed when both current and new inventory were missing. Rewrite of the update_interfaces routine to really "update" the interfaces and not trying to delete and recreate all interfaces, which almost always gives errors as interfaces with linked items can't be deleted. (#58603) Added the "details" mandatory object with the properly default values when creating a SNMP hostinterface in Zabbix 5.0 (#58620) Fixing an issue preventing running pillar.get against pillar values with integers as pillar keys. (#58714) Adding a new option to pass client_flags to MySQL connections, for example passing the option to support multiple statements in queries. (#58718) Fixed two performance bugs in the sysctl.present state. Their impact is especially great on FreeBSD machines with large amounts of RAM. (#58732) Fixed an issue when pillar files are included in the `top.sls` and then later included in another pillar file. (#58736) Left over py2 code was causing windows encoding to misbehave (#58749) Return result=None from module.run state to indicate that changes would be made Return result=False from module.run state when called with no functions (#58752) Fix duplicate IP addresses in fqdnip4 and fqdnip6 grains (#58799) Rename `salt.renderers.toml` to `salt.renderers.tomlmod` which fixes the import error issues as described in #58822 Do note that, the renderer is still called `toml`. (#58822) Fixing unhold in yumpkg. Removing unnecessary code and relying on the code that handles dicts later. Adding tests when pkg.installed is called with hold=False. (#58883) Converts the given "grant" to upper case before compare to "ALL". This fixes a problem granting "all privileges" to a MySQL user. (#58933) Strip trailing "/" from repo.uri when comparing repos in "apktpkg.mod_repo" (#58962) When we are checking requisites, run reconcile_procs just on those requisite states not all running states. (#58976) Allow the gpg module to use exportkey, deletekey and create_key without a passphrase in GnuPG >= 2.1 (#58980) Updated the documentation, handling and error messages for what size units are allowed by "size" parameter in lvm.lv_present (#58985) Fixing the two failing tests when running on Photon OS. Python 3 installed on Photon OS does not support MD4 hashing, so don't load pdbedit module and skip the testgeneratenthash test. Default unmask for files and directories results in them having only user and group permissions so update the testdirectorymaxdepth test. (#58991) Fixes to netmiko module and proxy module to handle situations where the device is unreachable during the initial connection phase. (#59011) Correct comment when updating postrges users and groups. Errors reported when removing postgres groups. Partial group membership changes in postgres groups. (#59034) Fixed an error when running svn.latest in test mode and using the trust_failures option. (#59069) Fixes to storing schedule items in pillar, when refreshing pillar only update the schedule items if something has changed. (#59104) Fixed timezone module to work in Slackware Linux (#59130) Enforces pywinrm to be version 0.3.0 or higher and upgrade to

(#59138) Fix a race condition in the ldx module which sometimes caused devices not to be created during container creation. (#59145) Fix issue where passed smb port was being passed to the smb connection when deploying Windows with salt-cloud (#59153) Fixed an error when running on CentOS Stream 8. (#59161) Fix event publish retry when using TCP transport (#59162) Fix docs for `auth_timeout` (#59175) virt.update doesn't update the definition if efi=True and a loader is already set (#59188) Fixed salt.modules.solaris_shadow failing on bytes-like object is require, not 'str'. (#59191) Added support for io2 volumes in ec2 cloud (#59218) When checking if the mode had changed in the file state module, only do so if the passed mode is not None. (#59276) Fixing sanitzecomments to use sqlparse instead of re.sub. (#59336) Allow use of query parameters in cmd.script source url (#59362) Access user from global group if local group fails to find user. (#59412) Detect and fix grub.xen path (#59484) Stop raising `StopIteration` on generators (#59512) Fix minion race conditions handling SIGTERM signal when loading modules (#59524) Support new output of systemd systemctl list-unit-files in the following modules systemdservice.getenabled, systemdservice.getdisabled and systemdservice.getstatic (#59526) Fix pkg.upgrade with -U arg on FreeBSD, -L flag was deprecated long time. (#59565) Fixing the virtual function for the netimiko module to allow it to run outside of a proxy minion. Adding additional tests. (#59635) Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664) Added -- Added "fips_mode" config option to master and minion configs. (#59427) Adding the ability to clear and show the pillar cache enabled when pillar_cache is True. (#37080) SCRAM-SHA-256 support for PostgreSQL passwords. Pass encrypted=scram-sha-256 to the postgresuser.present (or postgresgroup.present) state. (#51271) The yumpkg module has been updated to support VMWare's Photon OS, which uses tdnf (a C implementation of dnf). "VMware Photon OS" has been added to the "RedHat" `os_family` map as part of this change. (#51912) The pkgrepo state now supports VMware Photon OS. (#52550) Added firewallgroups to Vultr Salt Cloud provider (#53677) Added arbitrary kwarg support for tojson filter. (#56012) Add salt monitor beacon to execute salt execution module functions. (#56461) Allow the nameservers to be populated from systemd-resolve. (#57618) Adding reactor_niceness to the default minion configuration. (#57701) CPU model, topology and NUMA node tuning (#57880) Added ``pkg.servicesneedrestart`` which lists system services that should be restarted after package management operations. (#58261) Allow handling special first boot definition on virtual machine (#58589) Added vgcreate custom parameters to module call: addtag, alloc, autobackup, metadatatype, zero (#58747) Enhance console and serial support in virt module (#58844) Salt's versions report `salt --versions-report` now includes all installed salt extensions into its versions report. (#58938) Support loading entrypoints by passing a module instead of a function. (#58939) Added shadow.gen_password for BSD operating systems. (#59140) Add more network and PCI/USB host devices passthrough support to virt module and states (#59143) Add interface channels management support to rh_ip module. (#59147) Add new minion option returnretrytries for dynamic return retry tries (#59236) Added salt-cloud support for Hetzner Cloud via the ``hcloud`` library of the provider. (#59301) "AlmaLinux" has been added to the "RedHat" `os_family` map (#59404) Added `blocks` and `attachments` params to the `slacknotify.postmessage` function (#59428) Added tcpreconnectbackoff minion config option for specifying reconnection backoff time for TCP transport (#59431) Added ``swapusage`` beacon to complement the existing ``memusage`` beacon. (#59460) The `salt-run` CLI now accepts `--jid` (#59527) Add bytes option for FreeBSD pkg-stats(8) module. (#59540) Adding modbeacon function to pkg, service, and file state modules. This function will act similar to the modwatch

This will allow supported functions in those state modules to automatically add associated beacons to monitor for changes to the respective resources in the state file and fire events to the event bus when changes occur. (#59559) Add -B flag to FreeBSD pkgng.check() to regenerate the library dependency metadata for a package by extracting library requirement information from the binary ELF files in the package. (#59569) Fixed an error when running on CentOS Stream 8. (#59161) Fix bug in tcp transport (#61865) Make sure the correct key is being used when verifying or validating communication, eg. when a Salt syndic is involved use syndicmaster.pub and when a Salt minion is involved use minionmaster.pub. (#61868) Fixed PAM auth to reject auth attempt if user account is locked. (cve-2022-22967) Sign authentication replies to prevent MiTM (cve-2020-22935) Sign pillar data to prevent MiTM attacks. (cve-2022-22934) Prevent job and fileserver replays (cve-2022-22936) Fixed targeting bug, especially visible when using syndic and user auth. (CVE-2022-22941) (#60413) Verify the owner of an existing config before trusting it during install. If the owner cannot be verified, back it up and use defaults. (CVE-2021-22004) Fix the CVE-2021-31607 vulnerability Additionally, an audit and a tool was put in place, ``bandit``, to address similar issues througout the code base, and prevent them. (CVE-2021-31607) Ensure that sourced file is cached using its hash name (cve-2021-21996) Store git sha in salt/_version.py when installing from a tag so it can be found if needed later. (#59137) Fix argument injection bug in restartcheck.restartcheck. This change hardens the fix for CVE-2020-28243. (#200) Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664) Allow all ssh kwargs as sanitized kwargs for SSH client. (#59748) Tests and fix for CVE-2021-25283 Fix runners that broke when patching for CVE-2021-25281 Fix issue with runners in SSE CVE-2020-28243 - Fix local privilege escalation in the restartcheck module. (CVE-2020-28243) CVE-2020-28972 - Ensure authentication to vcenter, vsphere, and esxi server validates the SSL/TLS certificate by default. If you want to skip SSL verification you can use `verify_ssl: False`. (CVE-2020-28972) CVE-2020-35662 - Ensure the asam runner, qingcloud, splunk returner, panos proxy, cimc proxy, zenoss module, esxi module, vsphere module, glassfish module, bigip module, and keystone module validate SSL by default. If you want to skip SSL verification you can use `verify_ssl: False`. (CVE-2020-35662) CVE-2021-25281 - Fix salt-api so it honors eauth credentials for the wheel_async client. (CVE-2021-25281) CVE-2021-25282 - Fix the salt.wheel.pillar_roots.write method so it is not vulnerable to directory traversal. (CVE-2021-25282) CVE-2021-25283 - Fix the jinja render to protect against server side template injection attacks. (CVE-2021-25283) CVE-2021-25284 - Fix cmdmod so it will not log credentials to log levels info and error. (CVE-2021-25284) CVE-2021-3144 - Fix eauth tokens can be used once after expiration. (CVE-2021-3144) CVE-2021-3148 - Fix a command injection in the Salt-API when using the Salt-SSH client. (CVE-2021-3148) CVE-2021-3197 - Fix ssh client to remove ProxyCommand from arguments provided by cli and netapi. (CVE-2021-3197) Fix server core grains issue when running inside a windows container (#59611) Change dict check to isinstance instead of type() for key_values in file.keyvalue. (#57758) Fail when func_ret is False when using the new module.run syntax. (#57768) Fix comparison of certificate values (#58296) When using sshpreflight if there is a failure, fail on retcode not stderr. (#58439) Fix use of unauthd cached vmware service instance (#58691) Removing use of undefined varilable in utils/slack.py. (#58753) Restored the ability to specify the amount of extents for a Logical Volume as a

(#58759) Ensuring that the version check function is run a second time in all the user related functions in case the user being managed is the connection user and the password has been updated. (#58773) Allow bytes in gpg renderer (#58794) Fix issue where win_wua module fails to load when BITS is set to Manual (#58848) Ensure that elasticsearch.index_exists is available before loading the elasticsearch returner. (#58851) Log a different object when debugging if we're using disk cache vs memory cache. The disk cache pillar class has the dict object but the cache pillar object which is used with the memory cache does not include a _dict obeject because it is a dict already. (#58861) Do not generate grains for every job run on Windows minions. This makes Windows conform more to the way posix OSes work today. (#58904) Fixes salt-ssh authentication when using tty (#58922) Revert LazyLoader finalizer. Removed the weakref.finalizer code. On some occasions, the finalized would run when trying to load a new module, firing a race condition. (#58947) Prevent shell injections in netapi ssh client (cve-2020-16846) Prevent creating world readable private keys with the tls execution module. (cve-2020-17490) Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh. (CVE-2020-25592) removed botovpc.describeroutetable please use botovpc.describeroutetables (#58636) removed show_ipv4 arg from all functions in from salt.runners.manage (#58638) removed kwargs from mandrill.send if you use "async" please use "asynchronous" (#58640) removed salt/modules/macbrewpkg.fixcasknamespace (#58641) zfs.mount Passing '-a' as name is deprecated please just pass 'None' (#58642) Remove includelocalhost kwarg for connectedids method in salt/utils/minions.py (#58224) deprecated opts default argument of none and removed deprecation warnings (#58635) The `ssh` parameter of `virt.migrate` has been deprecated. Use a libvirt URI `target` value instead. Both `virt.migratenonshared` and `virt.migratenonsharedinc` have been deprecated. Use the `copystorage` parameter with `virt.migrate` instead. (#57947) Allow specifying a custom port for Proxmox connection (#50620) Changed the lvm.lv_present state to accept a resizefs switch. So, when the logical volume is resized, the filesystem will be resized too. (#55265) Change the ``enablefqdnsgrains`` setting to default to ``False`` on proxy minions as it is generally not needed and just slows down start up time.. (#57676) Adds network teaming support to ``network.managed`` state for RHEL-based distros. Removes ``ip.getbond`` and ``ip.buildbond`` for the same, as is redundant and not needed for any current RHEL/CentOS/Fedora/etc. release. (#57775) The ``serializer`` argument has been added to the :py:func:`file.serialize <salt.states.file.serialize>` state, as an alternative to ``formatter``. This brings it more in line with the ``serializeropts`` and ``deserializeropts`` arguments. ``formatter`` is still supported, but using both ``serializer`` and ``formatter`` will cause the state to fail. (#57858) `file.read` exec module function no longer fails on binary data. (#58033) Remove py2 support from winrepo execution module and runner (#58596) Create ini file if does not exist when using ini.options_present state module. (#34236) Added an bool "strict" argument to sdb.get module to force module to fail if the sdb uri is not correct. (#39163) Fixed issue with postgres.has_privilege breaking on ALL. (#48465) check for azurearm username in config before adding username and password to the virtual machine properties (#49063) Fixes service.status to return True/False instead of empty strings or PIDs of the service. This brings macOS into parity with the other service modules. (#49237) fix frequent rest_tornado non-fatal tracebacks (#49572) Do not use reverse DNS of the target used in salt-ssh. Use the target the user provides. (#49840) Fixes startup issue where it tried to load the kernalparams grain on Windows (#49901) Fixed error in nilrtip.getinterfaces_details when loading config. (#50416) Doesn't remove underscore when sanitizing hostname in network salt

(#50527) permit the use of int/float type for the version in: the state postgres_cluster.present the state postgres_cluster.absent the module postgres.cluster_create the module postgres.cluster_remove (#50899) Cleaned up a trackback in lvm.pv_present when the disk doesn't exist. (#52363) Fixed UnboundLocalError when using win_network.connect (#53371) Add acceptra 2 option to modules.debianip (#54067) salt.runner test mode support (#54382) Fixed mkpart to allow the creation of a partition without filesystem (#54456) Fixes bogus warning message when an empty list is used for an environment in a topfile. This allows `[]` to be used as a placeholder in a topfile without needing to comment everything out as a workaround. (#54882) win_certutil state will no longer fail on non-English systems upon successful additions and deletions of a certificate. (#55024) Fixed file.directory state always showing mode change for symlinks. (#55878) check for a docker error that the swarm already exists when calling swarm.swarm_init on an existing docker swarm (#55949) Fixing stalekey engine so it deletes the keys when they are a list. (#55977) An invalid schedule.conf configuration file is renamed to schedule.confYAMLError. This avoids disabling the minion and busy polling the CPU on Windows. (#56216, #58177) Proper calculation of tpldir and related context parameters (#56410) Make gpg.encrypt examples work (#56646) Artifactory encoding of headers fixed for py3 (#56660) Fixed handling of extents extended attribute in file.managed state. (#57189) Remove buggy start parameter from virt.pool_running docstring (#57275) Fixed saltcheck rendering of map.jinja files from saltenv (#57327) Fix for `virt.getprofiles` resolves an error that appears due to new parameters introduced with `disk_profile()` (#57431) Accept nested namespaces in spacewalk.api runner function. (#57442) virt.init fix the disk target names (#57477) Fix volume name for disk-typed pools in virt.defined (#57497) Fixes an issue with filesystems options ordering which kept already applied NFS fstab entries being updated. (#57520) Do not allow python2 to be added to salt-ssh tar since Salt deprecated Python 2. (#57647) Fixed exception on loading custom zipped modules. (#57674) corrected support for app_id or local vault configurations (#57705) Fix the registration of libvirt pool and nodedev events (#57746) Pass cmd.run state arguments to unless and onlyif when they exist (#57760) The 2004 release of Windows 10 introduced a bug in the InstallationBehavior COM object where you can no longer get properties from that object. Calls to this object are now wrapped in a try/except block with sane defaults when it fails to read attributes. Additionally, some pre-flight checks have been added to the win_wua module to make sure Windows Update can actually run. (#57762) Changed get_repo in yumpkg.py to use "repo" as first parameter. This fixes #57778, a bug were every run of pkgrepo.managed state were marked as changed because the get_repo did fail to detect a previously applied run. (#57778) Raise SaltClientError in parsehostport insted of ValueError so it is caught and handled properly when the minion is connecting to the master. (#57789) Fixed issue with the return dictionary from the workgroup() function in the salt.states.win_system module. This resulted in a windows-based minion logging an error and could also interfere with a highstate being applied. (#57790) Fixes broken blockdevicemapping and blockdevicemapping_v2 type checks in the OpenStack cloud driver. Salt was looking for a dict and the shade library was looking for a list of dicts. This made it impossible to use those params. (#57802) Fixed incorrect parsing of ``Set-Cookie`` response headers. (#57829) When using yumpkg, report stdout when stderr is redirected to stdout. (#57862) Fixes an issue on macOS where if you try and restart the macOS using serivce.restart salt-minion it would fail because the service names are different on

(#57878) Fixes an issue on macOS where salt would take extra time to run on a service.dead call and the service is missing. (#57907) Fixes an issue where a disabled macOS and Windows service would fail to start with service.running. (#57908) Use "usebintype" to differentiate between bytes and str when writing cache for pillar and grains. (#57918) Set the comment to "No minions responded" if salt.function fails to find any minions (#57920) Fix issue with `utils` usage in the `virtual` functions on a few of the execution modules. (#57948) remove encoding kwarg for both pack(b)/unpack(b) in msgpack for versions >=1.0.0 https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst#100 (#57965) Replace deprecated `cgi.escape()` with `html.escape()` after it was removed from Python 3.8. (#57983) Fix btrfs state decorator, that produces exceptions when creating subvolumes. (#58012) Fix kubeadm token_list when the list of tokens is empty (#58116) Add a fix for the mac_service modules where it would fail to load in some new services and crash on Big Sur. (#58143) Fix blank tplfile context parameter when loading top level sls files (#58249) Do not include init directory in sls context parameters if explicitly specified (#58250) Fixing pillar caching when pillar environments are involved. (#58274) Make proxy_config read in the proxy specific configuration which is typically found in /etc/salt/proxy.d/minionid/. (#58307) Add timeout kwarg docs for service.running and service.dead (#58311) Return empty dict on winpdh.getcounters rather than raising exception when no data are available (#58327) Leave boot parameters untouched if boot parameter is set to None in virt.update (#58331) Convert disks of volume type to file or block disks on Xen (#58333) Apparently Apple is using both "10.16" and "11" for versioning Big Sur, depending on where you look. The mac_softwareupdate module uses a different regex depending on OS version, and the determination was based on the osrelease_info grain. This results in a Big Sur machine not using the correct regex; osrelease_info[1] is 0 for Big Sur. This change simply adds an additional clause to the if statement to handle osmajorrelease > 10. (#58340) Fixed zmq salt-call hang! Some objects from the 3rd party module zmq fail to deconstruct if left to the GC when Python exits. This is because the objects get destroyed out of order. This only happens on some platforms like ubuntu 20.04 and some versions of FreeBSD. We fixed this hang by deconstructing all zmq objects in the right order before we exit salt-call. (#58364) Reactor runner functions will now ensure reactor system is available before attempting to run and error out if it is not available. (#58384) Fix enpoint typos (#58416) Make sure we repopulate ``utils`` on Windows when a job is run from the scheduler. (#58437) Adding a check when a source is an HTTP or FTP URL to do a query to ensure the URL is valid before returning, then we know if we need to move onto to the next source in the list or not. (#58441) Improved documentation for the LGPO state module (#58521) Remove old documented pending reboot key (#58530) On macOS, skip GUI dialog for Developer Command Line Tools when importing gitfs util. (#58575) Fixing a use case when multiple inotify beacons are defined but when notifications are fired the configuration from the first beacon are used. (#58655) Added -- Salt Api ======== salt-api will now work on Windows platforms with limited support. You will be able to configure the ``rest_cherrypy`` module, without ``pam`` external authentication and without ssl support. Example configuration: .. code-block:: yaml external_auth: auto: saltuser: -.* rest_cherrypy: host: 127.0.0.1 port: 8000 (#49949) Added `execution_timeout` support to `chocolatey.installed` state (#50449) Add new verify_ssl option to file

This allows a user to not validate the server certificate for HTTPS source and source hash's. (#52663) Added list target type support to the `scan` salt-ssh roster. (#52675) Added pvresize and lvextend to linux_lvm (#56089) Added COPR option to states.pkgrepo (#57258) Add "get_return" key for onlyif and unless requisites to parse deep module results (#57470) Allow setting VM boot devices order in virt.running and virt.defined states (#57544) Added grains to show the LVM Volume Groups and their Logical Volumes. (#57629) Memory Tuning Support which allows much greater control of memory allocation (#57639) Add output filter to saltcheck to only display test failures (#57788) ### Description Add profile block and profiling of import_* jinja calls. ```sls {%- profile as 'local data' %} {%- set local_data = {'counter': 0} %} {%- for i in range(313377) %} {%- do local_data.update({'counter': i}) %} {%- endfor %} {%- endprofile %} test: cmd.run: name: |- printf 'local data: %s' '{{ local_data['counter'] }}' ``` When working with a very large codebase, it becomes more important to trace inefficiencies in state and pillar render times. The `profile` jinja block enables the user to get finely detailed information on the most time consuming jinja expressions in the codebase. Especially as the codebase grows and the amount of minions increases, tracking down expensive expressions becomes imperative otherwise the resource burden for even just maintaining highstate becomes unmanageable. (#57849) - Added an execution module for running idem exec modules Added a state module for running idem states (#57969) - Added the ability for states to return `substaterun`s -- results from external state engines (#57993) Added salt-cloud support for Linode APIv4 via the ``api_version`` provider configuration parameter. (#58093) Added support to manage services in Slackware Linux. (#58206) Added list_sources to chocolatey module to have an overview of the repositories present on the minions. Added source_added to chocolatey state in order to add repositories to chocolatey. (#58588) Adding tests for changes to virtual function for netmiko module. Adding tests for netmiko proxy minion module. (#58609) Added features config option for feature flags. Added a feature flag `enableslsvarsfixes` to enable fixes to tpldir, tplfile and sls_path. This flag will be deprecated in the Phosphorus release when this functionality becomes the default. (#58652) Version 3001.8 is a bug fix release for :ref:`3001 <release-3001>`. Verify the owner of an existing config before trusting it during install. If the owner cannot be verified, back it up and use defaults. (CVE-2021-22004) Fix the CVE-2021-31607 vulnerability Additionally, an audit and a tool was put in place, ``bandit``, to address similar issues througout the code base, and prevent them. (CVE-2021-31607) Ensure that sourced file is cached using its hash name (cve-2021-21996) Fix argument injection bug in restartcheck.restartcheck. This change hardens the fix for CVE-2020-28243. (#200) Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664) Allow all ssh kwargs as sanitized kwargs for SSH client. (#59748) Fix runners that broke when patching for CVE-2021-25281 Fix issue with runners in SSE CVE-2020-28243 - Fix local privilege escalation in the restartcheck module. (CVE-2020-28243) CVE-2020-28972 - Ensure authentication to vcenter, vsphere, and esxi server validates the SSL/TLS certificate by default. If you want to skip SSL verification you can use `verify_ssl: False`. (CVE-2020-28972) CVE-2020-35662 - Ensure the asam runner, qingcloud, splunk returner, panos proxy, cimc proxy, zenoss module, esxi module, vsphere module, glassfish module, bigip module, and keystone module validate SSL by default. If you want to skip SSL verification you can use `verify_ssl: False`. (CVE-2020-35662) CVE-2021-25281 - Fix salt-api so it honors eauth credentials for the wheel_async client. (CVE-2021-25281) CVE-2021-25282 - Fix the

method so it is not vulnerable to directory traversal. (CVE-2021-25282) CVE-2021-25283 - Fix the jinja render to protect against server side template injection attacks. (CVE-2021-25283) CVE-2021-25284 - Fix cmdmod so it will not log credentials to log levels info and error. (CVE-2021-25284) CVE-2021-3144 - Fix eauth tokens can be used once after expiration. (CVE-2021-3144) CVE-2021-3148 - Fix a command injection in the Salt-API when using the Salt-SSH client. (CVE-2021-3148) CVE-2021-3197 - Fix ssh client to remove ProxyCommand from arguments provided by cli and netapi. (CVE-2021-3197) Fixes salt-ssh authentication when using tty (#58922) Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh. (CVE-2020-25592) Prevent shell injections in netapi ssh client (cve-2020-16846) Prevent creating world readable private keys with the tls execution module. (cve-2020-17490) Change the ``enablefqdnsgrains`` setting to default to ``False`` on Windows to address some issues with slowness. (#56296, #57529) Handle the UCRT libraries the same way they are handled in the Python 3 installer (#57594) Changes the 'SSDs' grain name to 'ssds' as all grains needs to be resolved in lowered case. (#57612) Updated requirement to psutil 5.6.7 due to vulnerability in psutil 5.6.6. (#58018) Updated requirement to PyYAML 5.3.1 due to vulnerability in PyYAML 5.2.1. (#58019) When running scheduled jobs from a proxy minion with multiprocessing turned off (default) a recursive error occurs as pubfunargs is repeated over and over again in the kwargs element in the data dictionary. Now we make a copy of data['kwargs'] instead of using a reference. (#57941) The `x509.certificate_managed` state no longer triggers a change because of sorting issues if the certificate being evaluated was previously generated under Python 2. (#56556) Added support to lo ip alias in network.managed state by checking if lo inet data from network.interfaces contains label with the name of managed interface. Return status True if match found. (#56901) Redact passwords in the return when setting credentials using ``winiis.containersetting`` (#57285) Fixes issue with cmd.powershell. Some powershell commands do not return anything in stdout. This causes the JSON parser to fail because an empty string is not valid JSON. This changes an empty string to `{}` which is valid JSON and will not cause the JSON loader to stacktrace. (#57493) Improves performance. Profiling `test.ping` on Windows shows that 13 of 17 seconds are wasted when the esxi grain loads vsphere before noting that the OS is not a esxi host. (#57529) Fixed permissions issue with certain pip/virtualenv states/modules when configured for non-root user. (#57550) Allow running nox sessions either using our `nox-py2 fork <https://github.com/s0undt3ch/nox/tree/hotfix/py2-release>` or upstream `nox <https://github.com/theacodes/nox>`. (#57583) Fixes issue with lgpo.get when there are unicode characters in the hostname (#57591) Fixes issue with virtual block devices, like loopbacks and LVMs, wrongly populating the "disks" or "ssds" grains. (#57612) Due to some optimization the `virtual` grain was never updated on illumos. Move the fallback in prtdiag output parsing outside the loop that now gets skipped due to the command exiting non-zero. (#57714) Grains module delkey and delval methods now support the force option. This is needed for deleting grains with complex (nested) values. (#57718) Moving import salt.modules.vsphere into `virtual` so we have access to test proxytype in opts, previously this was causing a traceback when run on proxy minion as `opts` does not exist outside of any functions. Introducing a new utils function, is_proxytype, to check that the device is a proxy minion and also that the proxy type

(#57743) Fixed failwithchanges in the test state to use the comment argument when passed. (#57766) Adds a fix so salt can run on the latest macOS version Big Sur. (#57787) Fixes UnpackValueError when using GPG cache by using atomic open. (#57798) The ``gidfromname`` argument was removed from the ``user.present`` state in version 3001, with no deprecation path. It has been restored and put on a proper deprecation path. (#57843) Fixes dictionary being changed during iteration. (#57845) Fixed bug with distro version breaking osrelease on Centos 7. (#57781) Fixed macOS build scripts. (#57973) Fixed Salt-API startup failure. (#57975) Fixed CSR handling in x509 module (#54867) Re-allow x509 to manage a certificate based on a CSR Added -- Added docs demonstrating how to apply an MSI patch with winrepo (#32780) Removed long-deprecated `repo` option from pip state. (#51060) Removed noisy debug logging from config.get. (#54205) Removed needless dbus warnings from snapper module. (#56286) Removed obsolete MSI functionality from version tools. (#56352) Removed deprecated virt functionality. (#56514) Dropped requirement for enum34 dependency. (#57108) On macOS pkg.installed (using brew) no longer swaps `caskroom/cask/` for `homebrew/cask/` when using outdated package names. (#57361) napalmnetwork.loadtemplate module - removed deprecated arguments templateuser, templateattrs, templategroup, templatemode, and native NAPALM template support. Use Salt's rendering pipeline instead. (#57362) selinux.fcontextaddordeletepolicy module removed - use selinux.fcontextaddpolicy or selinux.fcontextdeletepollicy instead. (#57363) Deprecated `refresh_db` removed from pkgrepo state. Use `refresh` instead. (#57366) Deprecated internal functions salt.utils.locales.sdecode and .sdecodeifstring removed. Use salt.utils.data.decode instead. (#57367) Removed deprecated misc. internal Salt functions. See https://github.com/saltstack/salt/issues/57368 for more info. (#57368) Remove salt/utils/vt.py duplication from filename map. (#57004) `file.rename` no longer returns False when `force:False`. (#49843) Brought localclient command line args functionality into line with regular `salt` calls. (#56853) Updated requisites documentation. (#49962) Changed eauth "not enabled" log message level from debug to warning. (#50946) (#52546) Refactored x509.certificate_managed to be easier to use. (#52935) Don't log error when running "alternatives --display" on nonexistant target (#53911) Improved logging for user auth issues. (#53990) No longer emit extra logs when checking `alternatives.display` and `.check_exists`. (#53991) Use lazy loading to get SLS data from master - significantly improves `state.apply` times when using gitfs with many branches. (#54468) Changed Salt icon for Windows. (#56194) Update `libnacl` to 1.7.1 (#56350) Now require pycryptodomex for crypto on all platforms. (#56625) Updated to sphinx 3.0.1 when building docs. (#56671) Now `salt` is automatically refreshed when a package is `pip` installed, allowing pip installing a dependency and using that dependency in the same state run. (#56867) Use pygit2>=1.2.0 for Python>=3.8. (#56905) Now provides a more meaningful error for `win_groupadd` for unmapped accounts. (#56921) Significantly improve call times by only checking one frame in `depends`. (#57062) Salt scripts shebang now specifies `python3`. (#57083) Upgraded dependency to use boto3>=1.13.5. (#57161) Changed to consistent file location handling across APIs for Juniper network devices. (#57399) Use Python's hashlib (sha256) instead of shelling out (SipHash24) to generate server_id. (#57415) Update `formulas.rst` with new IRC channel and links to IRC logs (#51628) `pkgrepo.managed` now checks for a changed `key_url`. (#4438) Allow passing extra args to `file.rename`. (#29001) Fixed issue with overeager recursion detection. (#37646) Correctly set DNS search domain in VMware virtual machine. (#37709) Fixed trim_output logic in archive.extracted state (#40491) Updated documentation on `service` state. (#40819) Changed error message on `postgres_database.absent` to report correct error when database is in use. (#42833) Fixed issue in `sysctl` when kernel parameters were adjusted via grub. (#45195) Added termination protection option to salt-cloud ec2. (#45496) Refactored `debian_ip` module. (#46388) Log error when reactor tasks go to a full queue instead of silently fail. (#46431) Fixed issue with failure on comments in MySQL

(#47488) Properly handle multibyte characters that span blocks of data. (#48473) Fixed failure in `user.present` when `gidfromname` is True. Argument was removed and replaced by the `usergroup` argument. (#48640) Properly obtain hostname (#48906) Fixed `nilrt_ip` disabled function. (#48971) Fixed static configuration in nilrt_ip module. (#48990) Added missing ARPCHECK option to rh7_eth template. (#49074) Fixed to use the correct LetsEncrypt path on FreeBSD. (#49129) Updated docs for netapi logs - log.accessfile and log.errorfile. (#49247) Retry proxmox queries instead of failing immediately. (#49485) Fixed AMD GPU vendor detection. (#56837) Fixed `aptpkg.normalize_name` to respect architecture. (#49637) Add error message for proxmox failures. (#49562) Fixed nilrt_ip.enable/disable idempotency. (#56795) Fixed issue with file.line doing a partial comparison to determine replacement need, instead compare actual content of lines. (#49855) Return actual error message to user or hex code for `wintask.createtaskfromxml`. (#49981) Use minion name as ssh_host for saltify cloud provider. (#50135) Fixed misconfiguration of syndic. (#50139) Re-added `onfail_all`, fixed onfail always triggering with other reqs, and onfail and onchanges not working when both present. (#50264) Fixed broken scaleway cloud module. (#50334) Fixed issue not cleaning up schedule and beacons. (#50505) Fixed opkg install/remove to return potential changes, rather than always an empty dictionary. (#50516) Fixed `pycrypto.gen_hash` to use strongest available `algorithm` by default. (#50544) Fixed error leaving an empty first line on `.ini` file edits. (#50614) Fixes error in tcp transport publish port default value. (#50646) Changed internal functionality for deprecated Python `inspect.formatargspec`. (#50911) Allows clone_from setting in proxmox salt-cloud to be able to be an integer. (#51001) Stopped reading Windows registry value that might not be there. (#51095) Fixed complaint about unused variables. (#51196) salt-ssh no longer ignores pillar argument on `state.sls_id`. (#51353) Stop treating MSI as a hard dependency. (#51470) Fixed error handling for route53 to ignore `SignatureDoesNotMatch` errors (which cannot be retried). (#51572) Fixed `extract_hash` to use the correct value. (#51670) Fixed hard failure if `chocolately.installed` is for a non-existent package. (#51700) `failwith` and `succeedwith` now correctly use `comment` argument. (#51821) Updated `is_enabled` to allow optional arguments. (#51823) Fixed issue producing an error trying to resolve the unresolvable Capability SIDs. (#51868) Additional fixes for using cron state with non-root Minion (#51872) Fixed proxy module for Windows by using `utils` instead of `salt` for code that accesses the registry. (#52013) Added support for parsing Gluster cli banner. (#52318) Fixed failure to require `target` argument in git states. (#52364) Fixed issue failing hard on uninstalled win updates. (#52387) Fixed issue with `artifactory` not correctly evaluating `has_classifier` first. (#52517) Fixed compound matches with nodegroups. (#52678) Removed some noisy logging that have a tendency to fill up the logs on larger installations. (#52763) Use `utils` for all registry calls. (#52992) Added syndic log rotation to RPM. (#53040) Use correct output in `zpool.present` when `test=true`. (#53145) Fix s3fs cache byte/str mismatch (#53244) Fixed `win_system` module to skip unavailable system info. (#53287) Ignore invalid product_name files. (#53326) Fixed error with `pkg.list_pkgs` to explicitly set `utf-8` encoding when writing, to match when reading. (#53340) Fixed issue with encoding/decoding on circular references, discovered with iptables when `state_aggregate` was enabled. (#53353) No longer fail when `blkid -o export` does not provide `TYPE` output. (#53447) Fixed `guesseed` -> `guessed` typo in `archive` state. (#53480) Fixed error with incorrect import statement masking real import error. (#53508) Added some error handling around missing results from external returners. (#53517) Changed to match repo paramter against repo name on `salt-run git_pillar.update`, so remote name can be used instead of full remote URL. (#56605) Changed returner function error message to be useful/less misleading. (#53628) Fixed `utils.user` to use correct `chugid` and

(#53681) Fixed SmartOS grains under Python 3. (#53740) Fixed error when trying to delete more than one key using `ini.options_absent`. (#53874) Fixed error with cmd.run when run in a chroot environment. (#53992) Fixed Zabbix configuration.import to use the correct values for the API version. (#54020) Fixed salt key management with eauth. (#54078) Fixed broken sdb.getorset_hash when using Hashicorp's Vault. (#54199) Fixed `macsoftwareupdate.listavailable` for Catalina. (#54220) Fixed bug blocking `user.present` `createhome` on macOS. (#54288) Fixed `postfix.showqueue` issue where queueid, size, timestamp, sender, and recipient must exist before trying to append them. (#54298) Fixed issue erroneously adding ssh_interface to DigitalOcean. (#54373) Fixed issue not using correct package keys from group info on group install on yum. (#54458) Fixed issue breaking state output on `test=true` with retry. (#54501) Ignore absent filter.lfs in gitconfig. (#54817) Changed to use Salt's CaseInsensitiveDict, so it can be msgpack serialized. (#54899) Fixed trying to set too large a queue on AIX. (#54912) Fixed issue when Vultr API returns "not supported" as default password during VM setup. (#54933) Fixed issue with Jinja renderer ignoring argline. (#55124) Fixed osrelease grain for MS Hyper-V 2019 by providing a default year. (#55212) Fixed napalm support in bgp and net runners. (#55222) Fixed Indefinitely code in win_task. (#55273) Fixed `file.replace` idempotency. (#55297) Fix incorrectly reported fileserver changes. (#55304) Fixed XML RPC-REPLy error in Junos by passing `huge_tree`. (#55318) Fixed error trying to treat binary files as text when doing spm install under Python 3. (#55330) Correctly determine if Debian repo should be skipped. (#55402) Set a hard dependency on `distro` module, for Python 3.8. (#55410) Fixed `configdata` parameter when compiling DSC via `windsc` module. (#55425) Fixed Solaris virtual grain to return better info instead of always LDOM. (#55444) Documentation on syncing custom modules slightly inaccurate and missing info on sync to master (#55514) Fixed crashes in ansiblegate on Python 3 minions. (#55585) Fixed traceback on `http.query` when errors with the URL. (#55586) Fixed failure to cache gpg data when `gpg_cache=True`. (#55772) Added `prerequired` to the state runtime keywords filter, to prevent failures on `file.replace`. (#55775) Fixed several Junos-related issues. (#55824) Fixed Vault KV version 2 support. (#55842) Removed remaning `pchanges` occurrences from state modules. (#55934) Fixed issues in Slack webhook returner. (#55968) Fixed onlyif/unless requisites being ignored in some cases. (#55974) Fixed `skipfileslistverify` when `keepsource=False` in `archive.extracted` state. (#55975) Fixed `seed.apply` not waiting for the disk to be free. (#56002) Fixed issue that ignored `trim_output` argument intermittently. (#56041) Fixed `shadow.set_password` failing to set password when user isn't in `/etc/shadow`. (#56044) Fixed failure in `user` state when moving the user's default group into the `groups` arg. (#56061) Fixed issue incorrectly parsing YAML on command line. (#56067) Fixed Azure VM creation when using Python3. (#56091) Reverted `slspath` changes that broke a lot of states without proper deprecation. (#56119) Lack of FQDN for host no longer blocks master startup. (#56179) Pillar data is correctly included from `init.sls` file. (#56186) Fixed `check_password` for newer RabbitMQ versions. (#56193) Fixed timeout parameter not being passed to cmdsubset and cmdbatch, and misnamed (sub -> subset) parameter. (#56203) Added support for virtualenv>=20.0.0 `--version` strings. (#56205) No longer ignore slots on states when `parallel: true`. (#56221) Fix deprecation warnings for imports from collections. (#56225) Fixed Napalm beacons failing under Python 3. (#56243) Fixed failure in tomcat module. (#56269) Added salt-api log file to log rotation to prevent filling up the disk. (#56274) Fixed issue using undocumented abbreviation on zypper - now uses the full option. (#56278) Fixed issue parsing new `restorecon` output. (#56287) Fixed failure for returner only working via cli and not LocalClient. (#56322) Fixed version issues with empty minor

(#56358) Upgraded psutil dependency to 5.6.6 due to CVE-2019-18874. (#56363) Fixed vendored tornado to use `salt.ext.backports_abc`. (#56369) Fixed x509 module incorrectly writing error messages as the cert. (#56372) Fixed error doing a `pip install salt` on Windows. (#56376) Fixed AzureRM `createobjectmodel` util. (#56379) Fixed issue `toxml` error in `virt.cpu_baseline`. (#56383) Fixed issue with exeption being raised on `virt.getdomain` when there's no VM. (#56392) Fixed crash in `aptpkg` on long description strings. (#56396) Fixed keyword mismatch with `cassandracql` and `cassandracql_return`. (#56328) Now uses the correct zero value for LockoutDuration in `win_lgpo`. (#56406) Fixed issue reporting incorrect Salt version. (#56415) Corrected documentation for `docker_image.load`. (#56420) Fixed `defaults.merge` documentation. (#56432) Fixed error always reporting changes with custom index-url for pip. (#56433) Matching int keys within nested dictionaries now works. (#56444) Fixed failure to support annotated tags when using pygit2. (#56451) Better handle virt.poolrebuild in virt.poolrunning and virt.pool_defined states (#56454) Fixed gitpython Windows requirements. (#56455) Added `grainscacheexpiration` to minion conf documentation. (#56458) Fixed incorrect handling of `renew=force` by `acme.cert` function. (#56462) Fixed issue with incorrect msgpack version string check. (#56463) Fixed infinite recursion in `pkg.group_info`. (#56476) Fixed failure to sanitize grains for salt-ssh executions. (#56491) Relax version requirements for pdbedit, also handle Debian branding in the version string. (#56553) Fixed indentation error on `cmd.run` orchestration output. (#56554) Fixed issue with getting incorrect SELinux context. (#56557) Fixed bug updating boot parameters with `virt`. (#56562) Correctly handle `pymysql.err.InternalError` in `mysql` module. (#56570) Fixed `panos` commit example in docs. (#56581) Fixed issue with `salt.utils.functools.call_functions` not checking for expected arguments. (#56584) Fixed a broken statement when using arbitrary `kwargs` in mine.value. (#56593) Fixed support for booting VMs with UEFI on virt. (#56613) Fixed postgres.db_remove() execution function if db is still in use. (#56631) Updated old redirects and http->https fixes in docs. (#56655) Renamed `salt/utils/docker/` to `salt/utils/dockermod/` to avoid clashes with the `docker` package from pypi. (#56669) Changed behavior to implicitly ignore package epochs and just use the latest one. (#56681) Avoid throwing exception for missing security group in boto under test mode. (#56695) Fix some function prompts in myssql module. (#56719) Add appropriate comment for `svn export` state. (#56757) Updated default master config file and updated the docs (#56053) Workaround upstream bug in jinja2 indent filter. (#56833) Fixed issue when raid.destroy is called but zero-superblock is not executed (#56838) Allow correct failure information to show up when calling `win_interfaces` (#56844) Add a note about service.running (#56846) Updated Windows installer scripts to use Python 3.7.4. (#56873) Nullsoft Salt Install now uninstalls MSI installed salt. (#56883) Fallback to ASCII sorting when pillar keys are integers. (#56909) Fixed `hwaddr` and `macaddr` not being added to RedHat network config, even if they were provided. (#56910) Fixed literal comparisons. (#56931) Fixed `win_system` `rawunicodeescape` errors. (#56940) Fixed `ps.top` failures with newer `psutil` library. (#56942) Provides better stacktrace in `win_pkg` return. (#56955) Fixed `reg.present` to respect `(Default)` REG_SZ value of an empty string. (#56959) OpenStack driver can now attach to multiple networks, also now respects provided `conn`. (#56960) Fixed literal comparsion in `user` state. (#56972) Additional fixes for using cron state with non-root Minion (#56973) Added ARPCHECK to the template for RHEL8 networking. (#57047) Fixed `aptpkg` to use `force-confnew` on it's own, and `force-confold` with `force-confdef`. (#57051) Fixed acme.certs state to return /etc/letsencrypt/live subdirectories (#57056) Fixed error with `fileserver.update` failing with `gitfs` backend was `git`, and `fileserver.clearfilelist_cache` not clearing gitfs cache when the backend was not `git`. (#57063) Fixed LazyLoader crashing when using ssh client via salt-api. (#57119) Publisher ACL doc fixes (#48915) Fixed `acl.present` to properly detect changes for default ACLs and recursive folders. (#57147) Fixed Minion/Minon typo in

(#57181) Fix UnicodeDecodeError when apply file.managed with binary contents in test mode. (#57184) Ensure errors are returned for missing pillars. (#57208) Fix `ps.top` failures on macOS when iterating over zombie processes. (#57216) Add vcredist_2013 (specifically msvcr120.dll) for OpenSSL/M2Crypto support on Windows. Fixes x509 module support. (#57266) Fix systemd invocation on latest Linux Arch version. (#57299) Updated rpmlowpkg.versioncmp log messages and unit tests (#57347) Added rotation for proxy logs. (#57353) Fixed `winsystem.joindomain` failures. (#57360) Fixed `template_vars` functionality on Junos. (#57388) Filter out aliases/duplicates from zypperpkg for <=SLE12SP4. (#57392) Fix issue with finding the real python executable during tests (#56686) Fix broken link regarding the 1024 character limit for YAML keys (#56540) Fix grain.delkey grains.delval for nested keys (#54819) Added -- Added support for list in `includepat/excludepat` in `file.recurse`. (#2747) Added `validate` to tls module. (#7424) Pillar relative includes. (#8875) Added silent recurse option to `file.directory` state. (#44553) Added bhvye support to virt. (#47619) Added `kernelparams` grain for Linux. (#48501) Added `systempath` PATH grain. (#49049) Added appoptics returner. (#49066) Added ability to use the minion's region if specified. (#49097) Added reactor tuning documentation. (#49214) Added support for ipaddr/ipv6ipaddrs, loopback devices, dnsnameservers/dnsserach lists or strings, and multiple addresses per interface. (#49355) Added slsutil.banner for creating managed by salt message in files, and `slsutil.boolstr` for converting Pillar bool values to appropriate string representation. (#49396) Added `normalize_name` to `pkgin` module. (#49469) Added ability to use regex pattern with `ps.pgrep`. (#49565) Added `merge` option to `match.filter_by`. (#49845) Added ability to disable requisites during state runs. (#49955) Add a reactor "leader", especially useful for multimaster hot-hot environments. (#50053) Added `method_call` Jinja filter to help reduce boilerplate. (#50152) Added ability for async pillar refresh. (#56881) Added `shutdown_host` to vmware cloud. (#50177) Added `drbd.status` module. (#50410) Added `file.keyvalue` state. (#50627) Added JID lookup message in case minion times out. (#50704) Niceness control options added to the master config, for POSIX platforms. (#50905) Added `serial_type` to virt module. (#50930) Added RPC process documentation. (#50954) Added advanced initdb option support to `postgres_cluster.present`. (#50998) Added support for GCE accellerators in Salt Cloud. (#51033) Added `broadcast` address to `network.convert_cidr` return. (#51521) Added options for gitfs and git_pillar fallback branch. (#51971) Add `fat` as a valid `fs_type` for `parted` module. (#52016) Added support for comments in the host state/module. (#52185) Added offline bootstrap for Chocolatey. (#52233) Added support for listing all active running jobs on the master. (#52241) Added ability to get expected cache location. (#52305) Added ability to pass a timeout value to beacons. (#52314) Added support for `btrfs property` command. (#52699) Added ability to get minion's network information. (#53100) Added support for `notbefore` and `notafter` for x509 certificates. (#53148) Added support for extra modules that will be loaded before checking the rest of the path. (#53167) Added initial execution module to kubeadm. (#53345) Added firstboot function to `systemd_service`. (#53381) Added ability to pass arbitrary kwargs to zypper pkg. (#53693) Added options for multi-use tokens for vault. (#54094) Added devinfo module to get hardware information. (#54267) Adds versionlock plugin detection for yum/dnf. (#54798) Improved nxos support. (#54931) Added root and no_recommends parameters for Zypper and RPM. (#54954) Added `token` parameter in `blkid`. (#54964) Added `cron.get_entry`. (#54985) Added support for newer monit versions. (#55140) Added btrfs and xfs as valid fstypes for parted and mkfs. (#55209) Added functionality for `cmd.run_all` to accept a list when using powershell. (#55213) Added Azure Blob Storage as an optional external pillar. (#55493) Added ability to turn off FQDNs grains with `enablefqdnsgrains: False`. (#55581) Added `virt.*defined` states. (#55814) Add towncrier tool to the Salt project to help manage CHANGELOG.md

(#55836) Added Pull Request requirements to documentation (#55862) Add selinux support to file.managed (#40703) Added hold and unhold support for `macbrewpkg`. (#55978) States/modules added for managing Helm. (#56081) Added parallel run support for saltcheck. (#56097) Added multiple asserts against module output for saltcheck. (#56101) Added `state.test` as an alias for `state.apply ... test=True`. (#56298) Added default argumetn to `vault.readsecret` and `vault.listsecrets`. (#56311) Added `fromrepo` to `pkg.upgrade` for `pkgng`. (#56368) Added IP filtering by network. (#56394) Added more information for `virtual` failures. (#56395) Added logout functionality to docker. (#56439) Added ability to fetch master public key from minion. (#56449) Added `pending_reboot` grain for Windows systems. (#56489) Added support for forcing refresh in zypper. (#56519) Added `refresh_pillar` arg to `grains.setval`. (#56573) Added new roster option `sshpreflight`. (#56488) Added ability to minions to read pillar files from local filesystem, and get commands from remote master. (#56611) Added support for rendering toml states. (#56615) Added `set_path` option for salt-ssh shim. (#56627) Added `win_wua.installed` to check a list of updates that apply to the current Windows build. (#56640) Added ability to compare package versions in Jinja templates. (#56678) Add `autodetect` feature for `sshext_alternatives`. (#56894) Add ability to display sys.doc style outputs but without actually loading the module. (#56902) Added plist serializer. (#56954) Added support for onedir/pop-build Salt in the `pip` module. (#56988) Add support for disks volumes in virt.running state (#57005) Add virt.all_capabilities helper function (#57009) supervisord.status_bool method (#57049) Added support for msgpack versions>=1.0 (#57122) Added Python 2 deprecation FAQ (#57273) Added support for # of hashing rounds when using pycrypto. (#57355) `fetchonly` parameter added for `pkg.upgrade` when using `pkgng` (FreeBSD). (#57371) Added `efi` parameter to virt module, so `uefi` firmware can be auto selected. (#57397) - Add ``winwua.installed`` to the ``winwua`` execution module Clarify how to get the master fingerprint (#54699) Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664) Allow all ssh kwargs as sanitized kwargs for SSH client. (#59748) Fix argument injection bug in restartcheck.restartcheck. This change hardens the fix for CVE-2020-28243. Fix runners that broke when patching for CVE-2021-25281 Fix issue with runners in SSE CVE-2020-28243 - Fix local privilege escalation in the restartcheck module. (CVE-2020-28243) CVE-2020-28972 - Ensure authentication to vcenter, vsphere, and esxi server validates the SSL/TLS certificate by default. If you want to skip SSL verification you can use `verify_ssl: False`. (CVE-2020-28972) CVE-2020-35662 - Ensure the asam runner, qingcloud, splunk returner, panos proxy, cimc proxy, zenoss module, esxi module, vsphere module, glassfish module, bigip module, and keystone module validate SSL by default. If you want to skip SSL verification you can use `verify_ssl: False`. (CVE-2020-35662) CVE-2021-25281 - Fix salt-api so it honors eauth credentials for the wheel_async client. (CVE-2021-25281) CVE-2021-25282 - Fix the salt.wheel.pillar_roots.write method so it is not vulnerable to directory traversal. (CVE-2021-25282) CVE-2021-25283 - Fix the jinja render to protect against server side template injection attacks. (CVE-2021-25283) CVE-2021-25284 - Fix cmdmod so it will not log credentials to log levels info and error. (CVE-2021-25284) CVE-2021-3144 - Fix eauth tokens can be used once after expiration. (CVE-2021-3144) CVE-2021-3148 - Fix a command injection in the Salt-API when using the Salt-SSH client. (CVE-2021-3148) CVE-2021-3197 - Fix ssh client to remove ProxyCommand from arguments provided by cli and netapi. (CVE-2021-3197) Fixes salt-ssh authentication when using tty (#58922) Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt

(CVE-2020-25592) Prevent shell injections in netapi ssh client (cve-2020-16846) Prevent creating world readable private keys with the tls execution module. (cve-2020-17490) - Address Issues in CVE Release - Backport 49981 - Backport #53994 - Backport 51095 - Fix alphabetical ordering and remove duplicates across all documentation indexes - - Fix hyperlinks to `salt.serializers` and other documentation issues - - Add new salt-ssh set_path option - Backport 51379 : Adds .setdomainworkgroup to win_system - Backport #52992 - CVE fix - Fix saltversioninfo grain for new version - Use encoding when caching pillar data - Only change mine data if using new allow_tgt feature - Fix type error in TornadoImporter - MySQL module fixes - Fix to scheduler for use of when and splay - Allows use of inline powershell for cmd.script args - pdbedit module should check for version 4.8.x or newer - smartos.vmpresent could not handle nics with vrrpvrid property - Changed StrictVersion checking of setuptools to LooseVersion - Fix Windows and macOS requirements handling in setup.py - Update the bootstrap script to latest version, v2020.02.24 - Fix regression in service states with reload argument - Revert "Don't remove one directory level from slspath" - Ensures popping lgpo.secedit_data does not throw KeyError - Fix windnsclient when used with scheduler - Fix for unless requisite when pip is not installed - Fix regex string for Del and DelVals - Handle Adapter Type 53 and Undefined Types - Fix issue with existing reg_dword entries - Fix version instantiation when minor is an empty string - Properly resolve the policy name - Only process ADMX files when loading policies - keep cachecopiedfiles variable a list - dont require virtualenv.virtualenv_version call, removed in 20.0.10 - Include _version.py if building wheel - Fix win deps - Ensure version.py included before we install - Update mac build scripts via - `virt.pool_delete` fast parameter removed. - - Removed RAET transport method per the deprecation schedule - - Removed Hipchat module, due to Hipchat discontinuation - - Removed Google+ link since Google+ is gone - - Removed salt.auth.Authorize class and the `any_auth` method - Removed the config options `hgfsenvwhitelist`, `hgfsenvblacklist`, `svnfsenvwhitelist`, and `svnfsenvwhitelist` in favor of `hgfssaltenvwhitelist`, `hgfssaltenvblacklist`, `svnfssaltenvwhitelist`, `svnfssaltenvblacklist`. - Removed nova cloud driver in favor of the openstack driver. - Removed `quiet` kwarg in cmd.run state module. Please set `output_loglevel` to `quiet` instead. - Removed smartos grains `hypervisoruuid` and `datacenter` in favor of `mdata:sdc:serveruuid` and `mdata:sdc:datacenter_name`. - Removed `enviroment` kwarg from heat state and execution module. Please use correct spelling `environment`. - Removed deprecated args from several `dockermod` functions - - Removed `getknownhost` and `recvknownhost` functions from ssh module. - Removed all functions in salt/utils/init.py. - Removed `gitfsenvwhitelist` and `gitfsenvblacklist` in favor of `gitfssaltenvwhitelist` and `gitfssaltenvblacklist`. - Add deprecation warning for `glance` state and execution module - - Bump keystone deprecation to Sodium - - Deprecate jinja filters for Neon - - Bump deprecation warning to Aluminium for neutron module - - Deprecate `botovpc.describeroute_table` in Magnesium - - Deprecate `override_name` in Sodium - , - Adopted keepachangelog format. - Changed to numeric versions. via - Use `ip link set iface up/down` instead of `ifup/ifdown` - via - Change to reduce `roster_matcher` internal complexity - via - Update kafka returner to use confluent kafka - - Padding change in versions report output - - Set `sessionid` cookie in the `resttornado`

- Changed `mdadm_raid` metadata to text to allow float pillar data - - Changed naive usage to use wrapped msgpack - - Changed default configs to be immutable - - Changed to name subprocesses - - Start Linting Under Py3 - - Remove deprecation for `refresh_db` in aptpkg - - Use wrapped json module for ThreadsafeProxy - - Changed `pruneservices` in the firewall state module to be False by default. And update `forcemasquerade` to be False by default in the firewall execution module. - Microoptimized the command to set FreeBSD's virtual grain - via - Fixed errors when producing network errors - via - Support all valid protos for remote sources - [] - Fixed recursion error during msgpack serialization - via and - Fixed complex grain comparison - via and - Fixed `file.comment` and `file.uncomment` for when the pattern existed in both forms - via and - Fixed salt-key `token_file` creation when using external auth - via - Fixed proxmox failure to apply settings - via - Fixed misleading cmdmod error message - and via and - Fixed `file.rename` to be successful when target exists and force not set - via - Fixed inconsistencies with `consul_pillar` configuration parsing - via - via - Actually use `extrainstallflags` in `win_pkg` module - via - Fixed `local_cache` returner to report proper path in error message - via - Fixed OS arch fallback when no `rpm` is installed - via - Fixed restartcheck bytestring bug - via - Fixed performance issue with undefined opkg functions - via - Fix `win_path` index checks to allow for 0 - via - Fixed zabbix module failure on boolean return - via and - Fixed directory vs. file issue in `salt.utils.etcd_util` - via - Fix Cheetah template renderer - via - Fixed POSIX vs. Windows inconsistencies in `salt.utils.path.which` - via - Fix netbox execution module cannot be loaded - via and - Fixed `npm` version check on Windows - via - Changed nulls to empty strings to prevent Zabbix API errors - via - Fixed lvm to not show errors when pv, lv, or vg is not expected - via - Ignore misleading errors during `linuxlvm.pvcreate` and `.pvremove` - via and - Fixed salt failing on missing `_syspaths` variables - via - Stop the Windows installer from hanging - via and - Fix inconsistent `virt.get_xml` usage - via and - Fix issue on Python3 when reading csv pillar with binary format - via - Ignore retcode when checking filesystem type - via - Fixed setting homedrive, profile, logonscript, and description for `user.present` under Windows- via - Ignore `HOSTNOTFOUND` and `NO_DATA` when resolving FQDN - via - Fixed virt state on stopped VMs, virt.running's use of virt.vmstate, virt.poolrunning, and virt.network_define - via - Fixed Docker image grains and pillar - via - Allow Windows minion to manage a binary file from `ext_pillar` - - Poweroff when shutting down FreeBSD, NetBSD, and OpenBSD - - Check for Windows registry key before trying to list it - - Fixed `file.managed` bug with `contents_newline` flag - - `virt.network_define` can now create NAT networks - - Fixed Homebrew cask namespace support - - Fixed `virt.full_info` output - via - Fix gitfs to use bytes when using gitpython with python3.x - - Correctly handle `wusa` 3010 return code - via - Fixed issue with `publish.publish` trim mods after comma split - and - Fixed `cmd.run` to call bash only when necessary on macOS - - Fix multiple LGPO issues - - Fix `collections` ABC warning - - Fixed `mount.remount` when fstype was unset - - Fixed args/kwargs bug in loop state - - Fixed fileclient for ftp connections - - Fixed multiprocessing process after fork and finalize regression - - Fixed iLo module to use proper tempfile settings - - Fixed `smartos_imgadm` to correctly handle orphan images - via - Removed incorrect pass of opts to `compound_match.match` - - Fixed

to handle volumes missing since last refresh - - Fixed missing lazyloader functionality - and - Fixed missing `list_downloaded` for apt module - - Fixed `schedule.modify` to use function from current job - - Fixed complex CORS option on CherryPy - - Fixed failure to check for jid before returning data - - Fixed aptpkg.info to return only installed packages - - Fixed Py3 compatability issue in upstart - - Fixed grains to allow `utils` in grains modules - - Fixed `virt.get_hypervisor()` - - Fixed issue with `zfs.filesystem_present` under Python3 - - Stopped removing a directory level from slspath in templates - - Fixed bug in logging - - Fixed missing service.reload alias in `gentoo_service` module - - Fixed several Py2/Py3 Unicode issues - - Fixed slowdown by using ss filter to match TCP connections on Linux - - Corrected `numcpus` and `cpumodel` grains for IBM/S390 - - Fixed missing beacons timeout error handling - - Stopped `_virtual` from hard coding the 'virtual' key. - - Fixed race condition in service.running on systemd - - Changed to use UTC times for jids - - Fixed `postgres.datadir_init` to use `checksums` arg - - Fixed inconsistency with `pkg.list_pkgs` when using `attr` on RHEL systems - - Do not report patches as installed when not all the related pkgs are installed (yumpkg) - - Fixed `utils.network` issue with IPv6 that could cause a crash - - Stopped breaking multiline repo files in `yumpkg` - - Acme state fixes - - Fixed failure to fire events to all syndics from MoM when using tcp transport - - Fixed jboss `runoperation` and `datasourceexists` - - Fixed issue with matchers, fallback to `extpillar` if there is no pillar in opts_ - - Fixed issue with minion signing during/after job execution - - Fixed `ldap.managed` errors - - Fixed using password hashes with MariaDB - - Fixed issue with busy guestfs mount folders - - Fixed S3 pillar pagination - - Fixed zypper upgrade fromrepo - - Restored original minion configured `publish_port` behavior - and - Fallback to disabled `LGINCLUDEINDIRECT` when DC is unavailable - - Fixed issue with whitespace in ADML data - - Fixed cached `osrelease_info` grain type - - Bring #51372 to Master Branch - - Fix issue with overly long names in the LGPO module - - Fixed `file.mkdir` to respect `test=True` - - Fixed logging to return multiprocessing queue if it's already set - via and - Added `migrate` support for Django module - - Added `hardlink` for `file` state and module - via and - Add IIS webconfiguration - via - Added `minionidremove_domain`- via - Add capability `jboss7` to keep unchanged deployments - via - Added `grains_blacklist` to block specific grains - via - Added ability to create events based on an arbitrary script's output - via - Added `noaction` flag for opkg execution module - via - Added `token` to `disk.blkid` to allow extended search - via - Add `nvme_nqn` grain - via - Added new execution module for troubleshooting Jinja map files- and via - Added `fat` parameter to disk module to allow specifying FAT sizes - via - Added support for directories and checking for free space in the `disk` state - via - Added cwd grain - and via - Added saltenv support in

- via - Added `cameltosnakecase` and `snaketocamelcase` to stringutils - via - Added webhook support to Slack state - via - Added vSphere tagging ability - - Added slot parsing inside nested state data structures - - Added support for `gitpillarupdate_interval` - - Added index getsettings, putsettings methods for Elasticsearch module. - - Added `requestinterval` feature to `http.waitforsuccessfulquery` module - - Added additional optional `warnings` to `test` module - - Added cluster getsettings, putsettings and flush_synced methods for Elasticsearch module. - via - Add salt-cloud support for Tencent Cloud - - Added `cert_info` beacon to get cert information from local files - - Added multipart/form-data file posting to `http.query` util - - Added ability to pass grains on minion startup event - - Added root parameter to useradd, shadow and groupadd - - Added root parameter for wait and run states - - Added optional root parameter for systemd - - Added new chroot module - - Added new freezer module - - Added all subvolume commands to btrfs - - Added fstab present/absent to mount state - - Added xml state & module - - Added `sshauth.manage` to both add and_ remove ssh keys - - Added new AWS SSM module - - Added saltutil states to match saltutil modules - and - Added keystore state and modules for Java keystore files - - Added ability to use salt modules in onlyif and unless - and - Added support for parsing slot results - - Added `binds` parameter for `run_chroot` - - Added ability to ignore errors on `mdadm_raid.examine` - - Added ability to deprecate by date - and - Added status code lists and status regex for `http.query` state - and - Added 'ppc64le' as a valid RPM package architecture - - Added `salt_version` module - and - Added `virt.pool_deleted` state - - Added test ability and pool editing to `virt.pool_running` - - Adds enabled kwarg to `aptpkg` module - - Adding kernel boot parameters to libvirt xml - - Added status to dpkg.info response - - Added Slack webhook returner - - Add chroot apply_, sls, and highstate for state execution - - Added `virt.pool_capabilities` module - - Added clean_parent argument for the archive state. - - Added performance tracing/logging to gitfs file_list cache rebuild - - Added Azure DNS modules and states - - Add null to YAML dumper for threadsafe loader - - Added a skipfileslist_verify argument to archive.extracted state. - - Adds `downloadonly/download_only` alias for aptpkg module - - Add lint pre-commit hooks - - Allow arbitrary arguments to be passed through the pip module - - Added `hashutil.hmac_compute` - - Added `diskset` and `disktoggle` to parted module - - Added `notchange` to several functions in the mount module, `setfstab` & others - - Added ability to pass the context dictionary to Sminion and Runner - - Added `version` to depends decorator - - Added a support for a global proxy to pip module. - - Added saltcheck updates for Neon - - Added DSON outputter - - Added wildcard matches and grains matching to `config.option` - - Added `loop.untilnoeval` - - Added the `internal` flag to openvswitch - - Added `fluentd` engine - - Added `salt.utils.data.filter_falsey` - - Added port of `json_query` Jinja filter from Ansible - - Added the osfullname grain on FreeBSD - - Added `salt.utils.data.recursive_diff` - - Add minion-side access control - - Added `virt.(pool|network)getxml` functions - - Added ability to manipulate RabbitMQ upstream definitions - - Added `boto3_elasticsearch` module and state - - Allow multiple running instances of Salt engine - - Missing sls file during `state.show_states` displays message