github conan-io/conan 2.2.0
2.2.0 (20-Mar-2024)

latest releases: 2.2.3, 1.64.0, 2.2.2...
one month ago
  • Feature: Raise for toolchains different than CMakeToolchain if using universal binary syntax. (#15896)
  • Feature: Warn on misplaced requirement function calls (#15888)
  • Feature: Print options conflicts in the graph caused by different branches recipes defining options values. (#15876). Docs: 📃
  • Feature: Add macOS versions 14.2, 14.3, 14.4 to settings.yml. (#15859). Docs: 📃
  • Feature: New graph html: more information, test-requires, hiding/showing different packages (build, test). (#15846). Docs: 📃
  • Feature: Add --backup-sources flag to conan cache clean. (#15845)
  • Feature: Add conan graph outdated command that lists the dependencies that have newer versions in remotes (#15838). Docs: 📃
  • Feature: Set CMAKE_VS_DEBUGGER_ENVIRONMENT from CMakeToolchain to point to all binary directories when using Visual Studio. This negates the need to copy DLLs to launch executables from the Visual Studio IDE (requires CMake 3.27 or newer). (#15830). Docs: 📃
  • Feature: Add a parameter to trim_conandata to avoid raising an exception when conandata.yml file doesn't exist. (#15829). Docs: 📃
  • Feature: Added build_context_folder to PkgConfigDeps. (#15813). Docs: 📃
  • Feature: Included build.pkg_config_path in the built-in options section in the MesonToolchain template. (#15813). Docs: 📃
  • Feature: Update _meson_cpu_family_map to support arm64ec. (#15812)
  • Feature: Added support for Clang 18. (#15806). Docs: 📃
  • Feature: Add basic support in CMakeToolchain for universal binaries. (#15775). Docs: 📃
  • Feature: New tools.cmake.cmake_layout:build_folder config that allows re-defining cmake_layout local build-folder. (#15767). Docs: 📃
  • Feature: New tools.cmake.cmake_layout:test_folder config that allows re-defining cmake_layout output build folder for test_package, including a $TMP placeholder to create a temporary folder in system tmp. (#15767). Docs: 📃
  • Feature: (Experimental) Add conan config install-pkg myconf/[*] new configuration inside Conan packages with new package_type = "configuration". (#15748). Docs: 📃
  • Feature: (Experimental) New core.package_id:config_mode that allows configuration package reference to affect the package_id of all packages built with that configuration. (#15748). Docs: 📃
  • Feature: Make cppstd_flag public to return the corresponding C++ standard flag based on the settings. (#15710). Docs: 📃
  • Feature: Allow self.name and self.version in build_folder_vars attribute and conf. (#15705). Docs: 📃
  • Feature: Add conan list --filter-xxx arguments to list package binaries that match settings+options. (#15697). Docs: 📃
  • Feature: Add detect_libc to the detect_api to get the name and version of the C library. (#15683). Docs: 📃
  • Feature: New CommandAPI subapi in the ConanAPI that allows calling other commands. (#15630). Docs: 📃
  • Fix: Avoid unnecessary build of tool_requires when --build=missing and repeated tool_requires. (#15885)
  • Fix: Fix CMakeDeps set_property(... APPEND argument order. (#15877)
  • Fix: Raising an error when an infinite loop is found in the install graph (ill-formed dependency graph with loops). (#15835)
  • Fix: Make sure detect_default_compiler() always returns a 3-tuple. (#15832)
  • Fix: Print a clear message for conan graph explain when no binaries exist for one revision. (#15823)
  • Fix: Add package_type="static-library" to the conan new msbuild_lib template. (#15807)
  • Fix: Avoid platform_requires to fail when explicit options are being passed via requires(.., options={}). (#15804)
  • Fix: Make CMakeToolchain end with newline. (#15788)
  • Fix: Do not allow conan list binary filters or package query if a binary pattern is not provided. (#15781)
  • Fix: Avoid CMakeToolchain.preprocessor_definition definitions to "None" literal string when it has no value (Python None). (#15756)
  • Fix: Improved conan install <path> --deployer-package=* case that was crashing when using self.package_folder. (#15737)
  • Fix: Fix conan graph info --format=html for large dependency graphs. (#15724)
  • Fix: Make all recipe and plugins python file print() to stderr, so json outputs to stdout are not broken. (#15704)
  • Fix: Fix getting the gnu triplet for Linux x86. (#15699)
  • Bugfix: Solve backslash issues with conan_home_folder in global.conf when used in strings inside lists. (#15870)
  • Bugfix: Fix CMakeDeps multi-config when there are conditional dependencies on the build_type. (#15853)
  • Bugfix: Move get_backup_sources() method to expected CacheAPI from UploadAPI. (#15845)
  • Bugfix: Avoid TypeError when a version in conandata.yml lists no patches. (#15842)
  • Bugfix: Solve package_type=build-scripts issue with lockfiles and conan create. (#15802)
  • Bugfix: Allow --channel command line argument if the recipe specifies user attribute. (#15794)
  • Bugfix: Fix cross-compilation to Android from Windows when using MesonToolchain. (#15790)
  • Bugfix: Fix CMakeToolchain GENERATOR_TOOLSET when compiler.update is defined. (#15789)
  • Bugfix: Solved evaluation of conf items when they matched a Python module (#15779)
  • Bugfix: Fix PkgConfigDeps generating .pc files for its tool_requires when it is in the build context already. (#15763)
  • Bugfix: Adding VISIBILITY flags to CONAN_C_FLAGS too. (#15762)
  • Bugfix: Fix conan profile show --format=json for profiles with scoped confs. (#15747)
  • Bugfix: Fix legacy usage of update argument in Conan API. (#15743)
  • Bugfix: Solve broken profile [conf] when strings contains Windows backslash. (#15727)
  • Bugfix: Fix version precendence for metadata version ranges. (#15653)

Don't miss a new conan release

NewReleases is sending notifications on new releases.