- Feature: Update
conan new
modern templates--template=cmake_lib
and--template=cmake_exe
. (#9516). Docs: 📃 - Feature: Introduced a new cpp_info property
cmake_target_namespace
to declare the target namespace for theCMakeDeps
generator. This feature allows declaring a global target with a different namespace likeFoo::Bar
. (#9513). Docs: 📃 - Feature: Detect Visual Studio 2022 as
msvc
. (#9504) - Feature: Add Clang 13 support. (#9502). Docs: 📃
- Feature: Testing support for Windows CMake + Clang (independent LLVM, not VS) + Ninja/MinGW builds, and CMake + Clang (Visual Studio 16 internal LLVM 11 via ClangCL toolset). (#9477)
- Feature: Provide new
[conf]
core:default_build_profile
to enable the usage of the build profile as default, and to allow definition of the host profile default in new[conf]
core:default_profile
. (#9468). Docs: 📃 - Feature: CMakeToolchain new member
find_builddirs
defaulted toTrue
to add thecpp_info.builddirs
from the requirements to theCMAKE_PREFIX_PATH/CMAKE_MODULE_PATH
. That would allow finding the config files packaged and to be able toinclude()
them from the consumerCMakeLists.txt
. (#9455). Docs: 📃 - Feature: CMakeDeps. Added a new property
cmake_find_mode
with possible values toconfig
(default),module
,both
ornone
to control the files to be generated from a package itself. Thenone
replaces the currentskip_deps_file
property. (#9455). Docs: 📃 - Feature: CMakeDeps: Added two new properties
cmake_module_file_name
andcmake_module_target_name
, analog tocmake_file_name
andcmake_target_name
, but to configure the name ofFindXXX.cmake
file and the target declared inside. (#9455). Docs: 📃 - Feature: Remove
conan-center
(https://conan.bintray.com) default remote. (#9401). Docs: 📃 - Feature: Implement round trip new profile
[buildenv]
section, necessary for lockfiles, and specially stdout printing. (#9320) - Feature: Allow
-o &:option=value
wildcard for consumer, too, same it was done for settings in 1.39 (#9316). Docs: 📃 - Fix: Adding management of private dependencies, via new
visible
trait compatible with 2.0 for newCMakeDeps
andMSBuildDeps
. (#9517) - Fix: Remove unused
deprecation
pip dependency (#9478) - Fix: Upgrade
distro
dependency to allow 1.6.0 (#9462) - Fix: Make
conan remove
accept package reference syntax. (#9459). Docs: 📃 - Fix: Fixed old CMake build helper to cross-build to iOS when two profiles are specified. (#9437)
- Fix: Fix
conan export
typo in help message. (#9408). Docs: 📃 - Fix: Relax python six dependency to allow 1.16 (#9407)
- Fix: Bump urllib3 version to 1.26.6 (#9405)
- Fix: The new
Autotools
build helper accepts abuild_script_folder
argument in theconfigure()
method to specify are subfolder where the configure script is. (#9393). Docs: 📃 - Fix: Use
frameworks
in Premake generator. (#9371). Docs: 📃 - Fix: The tool
conan.tools.files.apply_conandata_patches
will use the root source folder to find the patch file and the toolconan.tools.files.patch
will take the current source folder declared in thelayout()
method to know where is the source to apply the patches. (#9361). Docs: 📃 - Fix: Avoid checking other remotes when
-r=remote
is defined and revisions are activated and binary is not found in the defined remote. (#9355) - Bugfix: Setting the
CMAKE_OSX_DEPLOYMENT_TARGET
variable as a cache entry. (#9498) - BugFix: Use topological ordering to define
VirtualBuildEnv
composition and precedence of appending variables. (#9491) - Bugfix: Bazel build files have an extra
]
if there are no dependencies. (#9480) - Bugfix: Add AlmaLinux to
with_yum
. (#9463) - Bugfix: CMakeToolchain. Fixed a bugfix whereby a variable declared at the
.variables
containing a boolean ended at CMake with a quoted"True"
or"False"
values, instead ofON
/OFF
(#9455). Docs: 📃 - Bugfix: Fixed bug whereby Conan failed when using
compiler=gcc
withcompiler.version=5
(without specifying a minor version) andcompiler.cppstd=17
. (#9431) - Bugfix: No verbose traceback was been printed for
conanfile.layout()
method. (#9384) - Bugfix: Fix Bazel
cc_library
:deps
andlinkopts
. (#9381) - Bugfix: Fixed bug whereby using new
layout()
method together withcppinfo.components
in thepackage_info
method caused an exception. (#9360) - Bugfix: Fix
PkgConfigDeps
that was failing in the case of components with requirements. (#9341)