doc/topics/releases/3003.rst
.. _release-3003:
Support for SCRAM-SHA-256 password hashes has been added to the
:py:func:postgres_user.present <salt.states.postgres_user.present>
and :py:func:postgres_group.present <salt.states.postgres_group.present>
states. This allows migration away from the insecure and deprecated
previous storage methods.
os_family map as part of this change. (#51912)pkg.services_need_restart which lists system services that should be restarted after package management operations. (#58261)salt --versions-report now includes all installed salt extensions into its versions report. (#58938)hcloud library of the provider. (#59301)os_family map (#59404)blocks and attachments params to the slack_notify.post_message function (#59428)swapusage beacon to complement the existing memusage beacon. (#59460)salt-run CLI now accepts --jid (#59527)pkg <salt.modules.yumpkg> module now supports tdnf used by
VMWare Photon OS. As part of this change, VMWare Photon OS's
os_family grain will now resolve as RedHat. This may require changes
to existing uses of :py:func:grains.filter_by <salt.modules.grains.filter_by>salt-run CLI now accepts --jid which allows scripting against it.brew cask --list to brew list --cask (#58381)managed_private_key from 'salt.states.x509.certificate_managed' (#59247)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)
The Google Cloud Engine salt-cloud provider now requires apache-libcloud>=2.5.0. Service account authentication is broken on older versions.
Fix incorrect documentation for pillar_source_merging_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 add_lock and remove_lock examples do not work (#56922)
Compare bytes to bytes so we don't overwrite a correct value (#57212)
Fixing expand_repo_def 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 argument (#58499)
Invalidate file list cache when cache file has a future last modified time (#58529)
Fix issue with setting permissions in combination with the win_perms_reset 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.host_create call on zabbix_host.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 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 fqdn_ip4 and fqdn_ip6 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 export_key, delete_key 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 test_generate_nt_hash test. Default unmask for files and directories results in them having only user and group permissions so update the test_directory_max_depth 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 latest (#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 _sanitze_comments 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 systemd_service.get_enabled, systemd_service.get_disabled and systemd_service.get_static (#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)