github conan-io/conan 1.46.0
1.46.0 (07-Mar-2022)

latest releases: 2.3.0, 2.2.3, 1.64.0...
2 years ago
  • Feature: Configuration field tools.cmake.cmaketoolchain:user_toolchain defined as list-like object (#10729). Docs: 📃
  • Feature: Prepare Conan for search remote repos with mix of 1.X and 2.0 binaries. Conan 1.X will not list binaries (conan search <ref>) stored in remote repos that were created with Conan 2.0. (#10692)
  • Feature: Adding jinja rendering of global.conf config file. (#10687). Docs: 📃
  • Feature: Improve markdown generator instructions. (#10673). Docs: 📃
  • Feature: The CMakeToolchain and AutotoolsToolchain take into account the cpp.package info to set the output directories for libraries, executables, and so on when running cmake.install or make install. (#10672). Docs: 📃
  • Feature: Added basic_layout, removed meson_layout and added argument src_folder to cmake_layoutas a shortcut for adjusting conanfile.folders.source. (#10659). Docs: 📃
  • Feature: Adding self.base_source_folder for exports_sources explicit layouts. (#10654). Docs: 📃
  • Feature: Adding root to layout model to allow conanfile.py in subfolders. (#10654). Docs: 📃
  • Feature: Added new property component_version for PkgConfigDeps and legacy PkgConfig. (#10633). Docs: 📃
  • Feature: Changed .pc file description field for components in PkgConfigDeps. (#10633). Docs: 📃
  • Feature: Add sdk_version setting for Macos, iOS, watchOS and tvOS. (#10608). Docs: 📃
  • Feature: Add new XcodeBuild build helper. (#10608). Docs: 📃
  • Feature: Add new XcodeToolchain helper. (#10608). Docs: 📃
  • Feature: Add compiler.version 12 for GCC in settings. (#10595)
  • Feature: Introduce new conan.tools.scm.Git helper, for direct use in export() method to capture git url and commit, and to be used in source() method to clone and checkout a git repo. (#10594). Docs: 📃
  • Feature: New from conan.tools.files import update_conandata() helper to add data to conandata.yml in the export() method. (#10586). Docs: 📃
  • Feature: Add CMake variables, cli arguments and native build system arguments to new conan.tools.cmake.CMake helper. (#10573). Docs: 📃
  • Feature: Adding more functionality to ConfDefinition and Conf, something similar to ProfileEnvironment and Environment ones. (#10537). Docs: 📃
  • Feature: Port conan.tools.Version to Conan 1.X. (#10536). Docs: 📃
  • Feature: Port conan.tools.build.cross_building to Conan 1.X. (#10536). Docs: 📃
  • Feature: New copy tool at conan.tools.files namespace that will replace the self.copy in Conan 2.0. (#10530). Docs: 📃
  • Feature: Add recipe_folder to pylint plugin. (#10527)
  • Fix: Pin Markupsafe==2.0.1 for py27 and upgrade Jinja2>3 for py3, after Markupsafe latest 2.1 release broke Jinja2 2.11. (#10710)
  • Fix: Fixed templates for conan new with --template cmake_lib and --template cmake_exe to include Conan 2.0 compatible syntax. (#10706)
  • Fix: Moved new tool cross_building from conan.tool.cross_building to conan.tool.build to match the location in develop2. (#10706)
  • Fix: Don't compose folders in Xcode generator using dep.package_folder, now cpp_info.bindirs, cpp_info.includedirs, etc. are absolute. (#10694)
  • Fix: When the layout() method is declared, the self.package_folder in the recipe is now available even when doing a conan install . , pointing to the specified output folder (-of ) or the path of the conanfile if not specified. (#10655)
  • Fix: Fix creation path of deactivate scripts. (#10653)
  • Fix: Add support for [tool_requires] section in conanfile.txt. (#10642)
  • Fix: When layout() is defined, the exports will not be considered sources anymore, but only the exports_sources. The exports are used exclusively by the recipe, but not as package source. (#10625)
  • Fix: Make the source() method run inside the self.source_folder, in the same way build() runs in self.build_folder. But only for recipes that define the layout() method, to not break unless using layout(). (#10612). Docs: 📃
  • Fix: Remove the --source-folder new argument to install and editable, not necessary at the moment. (#10590). Docs: 📃
  • Fix: Fix conf True and False handling in tools.system.package_manage helpers. (#10583)
  • Fix: Change the CMakeToolchain message to use CMAKE_CURRENT_LIST_FILE. (#10552)
  • Fix: BazelDeps was generating invalid bazel files cause the static_library paths were absolute and not relative. (#10484)
  • Fix: BazelDeps was crashing when generating packages without libs cause the context was not checking the array size. (#10484)
  • Fix: Fix Premake test failing on Linux because the Premake executable isn't found. (#10250)
  • Bugfix: Fix MesonToolchain extra quotes in cpp_std (#10707)
  • Bugfix: Add missing system_libs management in AutotoolsDeps. (#10681)
  • Bugfix: GnuDepsFlags attributes like frameworks and frameworkdirs are only available for Apple OS. (#10675)
  • Bugfix: Remove tmp folders created in Conan while checking the output of a command and detecting the compiler. (#10663)
  • Bugfix: Fix conan_server circular import do to conan.tools namespace. (#10635)
  • bugfix: Fix meson_layout() issue with shared folders. (#10600)
  • Bugfix: Fix SystemPackageTool when mode=verify, it was still installing packages. (#10596)
  • Bugfix: self.build_folder not being computed even if layout() method is defined in local conan install. Close #10566 (#10567)
  • Bugfix: Fix conan_manifest.txt parse error when the filename has ":" in it. (#10492)
  • Bugfix: Use meson toolchain file from install folder. (#8965)

Don't miss a new conan release

NewReleases is sending notifications on new releases.