github conan-io/conan 1.50.0
1.50.0 (29-Jun-2022)

latest releases: 2.9.2, 2.9.1, 2.9.0...
2 years ago
  • Feature: VirtualBuildEnv and VirtualRunEnv always generate files, even if empty. (#11536)
  • Feature: Improve dependency-cycle error to show the cycle. (#11519)
  • Feature: Aggregate transitive components information in the same package for XcodeDeps. (#11507). Docs: 📃
  • Feature: map armv8 arch to ARM64 MSBuild platform in MSBuildDeps generator. (#11505)
  • Feature: Added CMakeToolchain(self).cache_variables to declare cache_variables in the configurePresets in the CMakePresets.json file. Conan reads them to call cmake with -D when using the CMake(self) build helper. These cache variables doesn't support multi-configuration generators. (#11503). Docs: 📃
  • Feature: Simplify XcodeDeps generator. (#11491). Docs: 📃
  • Feature: Created self.info.clear() as an alias of self.info.header_only() that will disappear in Conan 2.0. (#11478). Docs: 📃
  • Feature: Allow options having ["ANY"] as a list like Conan 2.X. (#11449). Docs: 📃
  • Feature: Ported cppstd related tools from 2.X branch. (#11446). Docs: 📃
  • Feature: Added tool rm at conan.tools.files to remove files by pattern in a folder. (#11443). Docs: 📃
  • Feature: Add support for test_requires in XcodeDeps. (#11415)
  • Feature: Add relative path support to Git SCM tool. (#11407)
  • Feature: Changed cmake_layout with a more natural and intuitive folders.build and folders.generators. Also changed the CMakePresets.json preset names. (#11391). Docs: 📃
  • Fix: When using the layout() (as opt-in of some Conan 2.0 features) the default includedirs of the declared components is now ["include"] the default of the libdirs is ["lib"] and the default for the bindirs is ["bin"]. Previously, the components always had empty fields. Also the default of cpp_info.resdirs is now empty. (#11471). Docs: 📃
  • Fix: The CMakeToolchain will fail if settings.build_type is specified in the 'tools.cmake.cmake_layout:build_folder' conf because the build_type is automatically managed by the CMakeToolchain and CMakeDeps generators by default. (#11470). Docs: 📃
  • Fix: When using the new layout() feature of Conan 2.0, change the default cpp_info.frameworkdirs = ["Frameworks"] to cpp_info.frameworkdirs = [], because it is more common to not have packaged Apple frameworks and declaring a missing folder can cause issues with the new toolchains. (#11455). Docs: 📃
  • Fix: The "include" paths list in a CMakeUserPresets.json, when performing a new conan install, are now checked, and in case some of them is a missing path (deleted directory), it is cleaned from the list. (#11414)
  • Fix: Avoid issues in VirtualRunEnv for undefined variables when set -e is defined. (#11361)
  • Bugfix: Fix logic in the generation of CMakeUserPresets.json - Conan will only generate the file if it did not previously exist, and will modify an existing one if the file was previously generated by conan. Existing CMakeUserPresets.json will be left untouched otherwise. (#11452). Docs: 📃
  • Bugfix: Fix crash in pylint plugin with pylint >= 2.14.0. (#11445)
  • Bugfix: Allow using PkgConfigDeps for editable packages, not raising an error cause package_folder is None. (#11440)
  • Bugfix: The CMakePresets.json file, when performing several conan install commands, ended-up with several entries of duplicated "buildPresets" if used with a multi-configuration cmake generator. (#11414)
  • Bugfix: PkgConfigDeps creates *.pc files for test_requires. (#11390)

Don't miss a new conan release

NewReleases is sending notifications on new releases.