# changelog

author: Salt Project Packaging <saltproject-packaging@vmware.com> - 3007.1
changelog:
  - The ``salt.utils.psutil_compat`` was deprecated and now removed in Salt 3008. Please use the ``psutil`` module directly. [#66160](https://github.com/saltstack/salt/issues/66160)


  - Fixes multiple issues with the cmd module on Windows. Scripts are called using
    the ``-File`` parameter to the ``powershell.exe`` binary. ``CLIXML`` data in
    stderr is now removed (only applies to encoded commands). Commands can now be
    sent to ``cmd.powershell`` as a list. Makes sure JSON data returned is valid.
    Strips whitespace from the return when using ``runas``. [#61166](https://github.com/saltstack/salt/issues/61166)
  - Fixed the win_lgpo_netsh salt util to handle non-English systems. This was a
    rewrite to use PowerShell instead of netsh to make the changes on the system [#61534](https://github.com/saltstack/salt/issues/61534)
  - Fix typo in nftables module to ensure unique nft family values [#65295](https://github.com/saltstack/salt/issues/65295)
  - Corrected x509_v2 CRL creation `last_update` and `next_update` values when system timezone is not UTC [#65837](https://github.com/saltstack/salt/issues/65837)
  - Fix for NoneType can't be used in 'await' expression error. [#66177](https://github.com/saltstack/salt/issues/66177)
  - Log "Publish server binding pub to" messages to debug instead of error level. [#66179](https://github.com/saltstack/salt/issues/66179)
  - Fix syndic startup by making payload handler a coroutine [#66237](https://github.com/saltstack/salt/issues/66237)
  - Fixed `aptpkg.remove` "unable to locate package" error for non-existent package [#66260](https://github.com/saltstack/salt/issues/66260)
  - Fixed pillar.ls doesn't accept kwargs [#66262](https://github.com/saltstack/salt/issues/66262)
  - Fix cache directory setting in Master Cluster tutorial [#66264](https://github.com/saltstack/salt/issues/66264)
  - Change log level of successful master cluster key exchange from error to info. [#66266](https://github.com/saltstack/salt/issues/66266)
  - Made `file.managed` skip download of a remote source if the managed file already exists with the correct hash [#66342](https://github.com/saltstack/salt/issues/66342)
  - Fixed nftables.build_rule breaks ipv6 rules by using the wrong syntax for source and destination addresses [#66382](https://github.com/saltstack/salt/issues/66382)


  - Added the ability to pass a version of chocolatey to install to the
    chocolatey.bootstrap function. Also added states to bootstrap and
    unbootstrap chocolatey. [#64722](https://github.com/saltstack/salt/issues/64722)
  - Add Ubuntu 24.04 support [#66180](https://github.com/saltstack/salt/issues/66180)
  - Add Fedora 40 support, replacing Fedora 39 [#66300](https://github.com/saltstack/salt/issues/66300)


  - Bump to `pydantic==2.6.4` due to https://github.com/advisories/GHSA-mr82-8j83-vxmv [#66433](https://github.com/saltstack/salt/issues/66433)
  - Bump to ``jinja2==3.1.4`` due to https://github.com/advisories/GHSA-h75v-3vvj-5mfj [#66488](https://github.com/saltstack/salt/issues/66488)


author: Salt Project Packaging <saltproject-packaging@vmware.com> - 3007.1+530.gd7b4d10f2a
changelog:
  - Remove psutil_compat.py file, which should have been removed when RHEL 6 EOL [#66467](https://github.com/saltstack/salt/issues/66467)


  - Drop Arch Linux support [#66886](https://github.com/saltstack/salt/issues/66886)


  - Fixed `salt.*.get` shorthand via Salt-SSH [#41794](https://github.com/saltstack/salt/issues/41794)
  - Fixed an issue uninstalling packages on Windows using pkg.removed where there
    are multiple versions of the same software installed [#61001](https://github.com/saltstack/salt/issues/61001)
  - Convert stdin string to bytes regardless of stdin_raw_newlines [#62501](https://github.com/saltstack/salt/issues/62501)
  - Fixed an intermittent issue with file.recurse where the state would
    report failure even on success. Makes sure symlinks are created
    after the target file is created [#64630](https://github.com/saltstack/salt/issues/64630)
  - The 'profile' outputter does not crash with incorrectly formatted data [#65104](https://github.com/saltstack/salt/issues/65104)
  - Await on zmq monitor socket's poll method to fix publish server reliability in
    environment's with a large amount of minions. [#65265](https://github.com/saltstack/salt/issues/65265)
  - Fix vault module doesn't respect `server.verify` option during unwrap if verify is set to `False` or CA file on the disk [#66213](https://github.com/saltstack/salt/issues/66213)
  - Make sure the master_event_pub.ipc file has correct reed/write permissions for salt group. [#66228](https://github.com/saltstack/salt/issues/66228)
  - Fix batch mode hang indefinitely in some scenarios [#66249](https://github.com/saltstack/salt/issues/66249)
  - fix #66194: Exchange HTTPClient by AsyncHTTPClient in salt.utils.http [#66330](https://github.com/saltstack/salt/issues/66330)
  - Fixed `salt.*.*` attribute syntax for non-Jinja renderers via Salt-SSH [#66376](https://github.com/saltstack/salt/issues/66376)
  - Correct bash-completion for Debian / Ubuntu [#66560](https://github.com/saltstack/salt/issues/66560)
  - Fixed an issue with cmd.run with requirements when the shell is not the
    default [#66596](https://github.com/saltstack/salt/issues/66596)
  - Fixed accessing wrapper modules in Salt-SSH Jinja templates via attribute syntax [#66600](https://github.com/saltstack/salt/issues/66600)
  - Fixed Salt-SSH crash when key deploy is skipped manually [#66610](https://github.com/saltstack/salt/issues/66610)
  - Fixed an issue where ``status.master`` wasn't detecting a connection to the
    specified master properly [#66716](https://github.com/saltstack/salt/issues/66716)
  - Fixed ``win_wua.available`` when some of the update objects are empty CDispatch
    objects. The ``available`` function no longer crashes [#66718](https://github.com/saltstack/salt/issues/66718)
  - Clean up multiprocessing file handles on minion [#66726](https://github.com/saltstack/salt/issues/66726)
  - Fixed nacl.keygen for not yet existing sk_file or pk_file [#66772](https://github.com/saltstack/salt/issues/66772)
  - fix yaml output [#66783](https://github.com/saltstack/salt/issues/66783)
  - Fixed an issue where enabling `grain_opts` in the minion config would cause
    some core grains to be overwritten. [#66784](https://github.com/saltstack/salt/issues/66784)
  - Fix an issue where files created using `salt.utils.atomicile.atomic_open()`
    were created with restrictive permissions instead of respecting the umask. [#66786](https://github.com/saltstack/salt/issues/66786)
  - Fix bad async_method name on AsyncPubClient class [#66789](https://github.com/saltstack/salt/issues/66789)
  - Ensure Manjaro ARM reports the correct os_family of Arch. [#66796](https://github.com/saltstack/salt/issues/66796)
  - Removed ``salt.utils.data.decode`` usage from the fileserver. This function was
    necessary to support Python 2. This speeds up loading the list cache by 80-90x. [#66835](https://github.com/saltstack/salt/issues/66835)
  - Issue 66837: Fixes an issue with the `network.local_port_tcp` function
    where it was not parsing the IPv4 mapped IPv6 address correctly. The
    ``::ffff:`` is now removed and only the IP address is returned. [#66837](https://github.com/saltstack/salt/issues/66837)
  - Better handling output of `systemctl --version` with salt.grains.core._systemd [#66856](https://github.com/saltstack/salt/issues/66856)
  - Upgrade relenv to 0.17.3. This release includes python 3.10.15, openssl 3.2.3,
    and fixes for pip 24.2. [#66858](https://github.com/saltstack/salt/issues/66858)
  - Allow for secure-boot efivars directory having SecureBoot-xxx files, not directories with a data file [#66955](https://github.com/saltstack/salt/issues/66955)


  - Issue #33669: Fixes an issue with the ``ini_managed`` execution module
    where it would always wrap the separator with spaces. Adds a new parameter
    named ``no_spaces`` that will not warp the separator with spaces. [#33669](https://github.com/saltstack/salt/issues/33669)


