- Feature: Remove
sdk
condition in .xcconfig files generated by XcodeDeps. (#9887) - Feature: Add new Macos version 12.0 (Monterey). (#9886)
- Feature: Add
CMAKE_POSITION_INDEPENDENT_CODE
inCMakeToolchain
if it's set in the conanfile independently from the value of the shared option. (#9868) - Feature: Generate aggregated deactivation file for aggregated environments. (#9862). Docs: 📃
- Feature: adding preprocessor definitions to
MSBuildTolchain
ResourceCompile. (#9843) - Feature: Support
cmake_module_target_name
andcmake_module_file_name
properties in cmake_find_package generator. (#9832). Docs: 📃 - Feature: Define new
conf["tools.microsoft.msbuild:install_path"]
for the MSBuild toolchain and remove generation of intel_vars files byVCVars
. (#9827). Docs: 📃 - Feature: New Conan XcodeDeps multi-config generator for Xcode. (#9807). Docs: 📃
- Feature: Refactor
conan.tools.gnu.pkgconfigdeps
module. (#9806) - Feature: Decoupled
Environment
as an abstract environment representation (do not depend on conanfile), andEnvVars
, as the specialization for a given conanfile, settings/settings_build, andwin_bash
. (#9755). Docs: 📃 - Feature: Enabled
patch_string
when usingapply_conandata_patches
. (#9740). Docs: 📃 - Feature: Add property "cmake_target_aliases" to create some CMake alias targets using CMakeDeps. (#8533)
- Fix: Do not fall back for the property "filename" to target properties, only to legacy "names" definition. (#9894)
- Fix: Fix build settings conditional logic to work correctly with Xcode IDE. (#9892)
- Fix: Show a more specific error message on 'conan search' when a package version is not valid (#9891)
- Fix: Removed the new layout
folders.package
property as it was not clear the value/usage. (#9884). Docs: 📃 - Fix: The "conan package" method now raises an exception when declaring the layout() method. This is part of the migration to Conan 2.0 where the local method "conan package" is removed. (#9884). Docs: 📃
- Fix: Moved experimental LayoutPackager to a
conan.tools.files.AutoPackager
with a new interface. Removed also theconanfile.patterns
attribute that now is configured directly in the AutoPackager. (#9882). Docs: 📃 - Fix: When the
layout()
method is declared inside the conanfile.py of atest-package
, Conan won't generate temporary folders at build/HASH anymore. The build folder will follow the structure declared at the layout() method. (#9882). Docs: 📃 - Fix: Fix frameworks aggregation in XcodeDeps. (#9881)
- Fix: Remove python
requests
version fromUser-Agent
header, it can be problematic sometimes and adds no value. (#9861) - Fix: Change
MesonToolchain
to definepreprocessor_definitions
as[constant]
, because Meson 0.60 now raises errors on it defined in[built-in options]
. (#9858) - Fix: Rename
ConanFileInterface.new_cpp_info
toConanFileInterface.cpp_info
(being it aNewCppInfo
object). TheConanFileInterface
object is only used when accessingself.dependencies
in a conanfile, so we can make sure that the new develop generators use the finalcpp_info
name. (#9800). Docs: 📃 - Fix: Renamed
group
argument inEnvironment
classes toscope
, that can get "build" and "run" values. (#9755). Docs: 📃 - Fix: New
win_bash
behavior failed for dual profile, the new computation of subsystem paths completely depend now on defined settings, but not onplatform.system()
or auto-detection. (#9755). Docs: 📃 - Bugfix: Avoid lockfile raising because of incorrect options when using
compatible_packages
. Close #9591 (#9890) - Bugfix: Avoid VCVars defining
-vcvars
argument for VS<=2015. Close #9888 (#9889) - Bugfix: Respect the previous value of
sys.dont_write_bytecode
. (#9865) - Bugfix:
conan export-pkg
now raises an error (ConanInvalidConfiguration exception) if thevalidate()
method raise that error and results in an invalidpackage_id
. (#9818) - Bugfix: Respect the
build_policy="never"
even for--build=missing
cli argument. (#9817) - Bugfix: Avoid crash in
CMakeToolchain
for custom generator when compiler is not defined. (#9801) - Bugfix: Do not force new authentication when a token is expired, it might not be needed. (#9781)
- Bugfix: The CMakeToolchain generator always sets fPIC enabled due to a typo where the actual parameter is not templated but instead hard-coded as
ON
. (#9752) - Bugfix: The path to a patch file in a
conandata.yml
is also relative to the base source folder when the patches are not associated with a version (list of patches). (#9740). Docs: 📃