github conan-io/conan 2.4.0
2.4.0 (05-Jun-2024)

latest release: 2.4.1
25 days ago
  • Feature: Added support for MacOS sdk_version 14.5 (#16400). Docs: 📃
  • Feature: Added CC_FOR_BUILD and CXX_FOR_BUILD environment variable to AutotoolsToolchain. (#16391). Docs: 📃
  • Feature: Added extra_xxxx flags to MesonToolchain as done in other toolchains like AutotoolsToolchain, CMakeToolchain, etc. (#16389)
  • Feature: Add new qbs_lib template for the conan new command. (#16382)
  • Feature: new detect_api.detect_sdk_version() method (#16355). Docs: 📃
  • Feature: Add excludes parameter to tools.files.rm to void removing pattern. (#16350). Docs: 📃
  • Feature: Allow multiple --build=missing:~pattern1 --build=missing:~pattern2 patterns. (#16327)
  • Feature: Deprecate use of path accessors in ConanFile. (#16247)
  • Feature: add support for setting tools.cmake.cmaketoolchain:extra_variables (#16242). Docs: 📃
  • Feature: Add cmake_additional_variables_prefixes variable to CMakeDeps generator to allow adding extra names for declared CMake variables. (#16231). Docs: 📃
  • Feature: Allow GNUInstallDirs definition in CMakeToolchain for the local conan install/build flow too. (#16214)
  • Feature: Let conan cache save listen to the core.gzip:compresslevel conf. (#16211)
  • Feature: Add support for Bazel >= 7.1. (#16196). Docs: 📃
  • Feature: Add new revision_mode including everything down to the recipe-revision, but not the package_id. (#16195). Docs: 📃
  • Feature: Allow a recipe to requires(..., visible=False) a previous version of itself without raising a loop error. (#16132)
  • Feature: New vendor=True package creation and build isolation strategy (#16073). Docs: 📃
  • Feature: New compiler.cstd setting for C standard (#16028). Docs: 📃
  • Feature: Implemented compatibility.py default compatibility for different C standards (#16028). Docs: 📃
  • Feature: Implement check_min_cstd, check_max_cstd, valid_max_cstd, valid_min_cstd, supported_cstd tools (#16028). Docs: 📃
  • Feature: New languages = "C", "C++" class attribute to further automate settings management (#16028). Docs: 📃
  • Feature: Add CONAN_RUNTIME_LIB_DIRS variable to the conan_toolchain.cmake. (#15914). Docs: 📃
  • Fix: Implement a back migration to <2.3 for default compatibility.py plugin. (#16405)
  • Fix: Add missing [replace_requires] and [platform_requires] to serialization/dump of profiles. (#16401)
  • Fix: Fix handling spaces in paths in Qbs helper. (#16382)
  • Fix: Make cc version detection more robust (#16362)
  • Fix: Allow --build=missing:& pattern to build only the consumer if missing, but not others. (#16344)
  • Fix: Allow "local-recipes-index" to conan list packages with custom user/channel. (#16342)
  • Fix: Fixing docstrings for cppstd functions. (#16341)
  • Fix: Change autodetect of CMAKE_SYSTEM_VERSION to use the Darwin version. (#16335). Docs: 📃
  • Fix: Fix require syntax in output in graph build-order. (#16308)
  • Fix: Improve some commands help documentation strings by adding double quotes. (#16292)
  • Fix: Better error message for incorrect version-ranges definitions. (#16289)
  • Fix: Only print info about cached recipe revision being newer when it truly is. (#16275)
  • Fix: Warn when using options without pattern scope, to improve UX of users expecting -o shared=True to apply to dependencies. (#16233). Docs: 📃
  • Fix: Fix CommandAPI usage when not used by Conan custom commands. (#16213)
  • Fix: Avoid datetime deprecated calls in Python 3.12. (#16095)
  • Fix: Handle tools.build:sysroot on Meson toolchain. (#16011). Docs: 📃
  • Bugfix: Fix LLVM/Clang enablement of vcvars for latest v14.4 toolset version after VS 17.10 update (#16374). Docs: 📃
  • Bugfix: Fix profile errors when using a docker runner of type=shared (#16364)
  • Bugfix: conan graph info .. --build=pkg doesn't download pkg sources unless tools.build:download_source is defined. (#16349)
  • Bugfix: Solved problem with relativization of paths in CMakeToolchain and CMakeDeps. (#16316)
  • Bugfix: Avoid sanitizing tools.build:compiler_executables value in MesonToolchain. (#16307)
  • Bugfix: Solved incorrect paths in conan cache save/restore tgz files that crashed when using storage_path custom configuration. (#16293)
  • Bugfix: Fix stacktrace with nonexistent graph file in conan list. (#16291)
  • Bugfix: Let CMakeDeps generator overwrite the xxxConfig.cmake when it already exists. (#16279)
  • Bugfix: Disallow self.info access in source() method. (#16272)

Don't miss a new conan release

NewReleases is sending notifications on new releases.