Skip to content

1.47.0 (31-Mar-2022)

Compare
Choose a tag to compare
@czoido czoido released this 31 Mar 15:45
  • Feature: Renamed tools.build:cppflags to tools.build:defines and removed tools.build:ldflags (now it's the union between tools.build:sharedlinkflags and tools.build:exelinkflags in mostly all the cases). (#10928). Docs: πŸ“ƒ
  • Feature: Adding cross-compilation for Android in MesonToolchain. (#10908). Docs: πŸ“ƒ
  • Feature: Add extra flags via [conf] into XcodeToolchain. (#10906). Docs: πŸ“ƒ
  • Feature: Preliminar support for CMakePresets.json. (#10903). Docs: πŸ“ƒ
  • Feature: Added wrap_mode=nofallback project-option into MesonToolchain as default value. (#10884)
  • Feature: Added basic rmdir tool at conan.tools.files. (#10874). Docs: πŸ“ƒ
  • Feature: Backport of 2.0 compatibility() recipe method. (#10868)
  • Feature: Add detection in meson toolchain for cross conditions and requirement of needs_exe_wrapper. Users may specify the exe wrapper in their meson.build now. (#10846)
  • Feature: Allow tested_reference_str to be None. (#10834)
  • Feature: New templates for the conan new command with bazel examples: bazel_exe and bazel_lib. (#10812). Docs: πŸ“ƒ
  • Feature: Add some support for msvc compiler older versions. (#10808)
  • Feature: Added mechanism to inject extra flags via [conf] into several toolchains like AutotoolsToolchain, MesonToolchain and CMakeToolchain. (#10800). Docs: πŸ“ƒ
  • Feature: Support selecting the target to build for XcodeBuild helper. (#10799). Docs: πŸ“ƒ
  • Feature: Support for Xcode 13.3, iOS 15.4, watchOS 8.5 and tvOS 15.4. (#10797)
  • Feature: New modern "conan new --template=msbuild_lib|exe" for modern MSBuild VS integration. (#10760). Docs: πŸ“ƒ
  • Feature: Added a checker for Conan 2.x deprecated from conans imports in pylint_plugin. (#10746). Docs: πŸ“ƒ
  • Feature: New conan.tool.microsoft.unix_path to convert paths to any subsystem when using conanfile.win_bash. (#10743). Docs: πŸ“ƒ
  • Feature: New from conan.errors import XXX new namespace to be ready for 2.0. (#10734). Docs: πŸ“ƒ
  • Feature: Allow specifying default_options = {"pkg/*:option": "value"} or default_options = {"pkg*:option": "value"} instead of default_options = {"pkg:option": "value"} to make compatible recipes with 2.0. (#10731). Docs: πŸ“ƒ
  • Feature: Add Clang 15 to default settings. (#10558)
  • Feature: When the layout is declared, the cwd() in the source() method will follow the declared self.folders.source but the exports_sources will still be copied to the base source folder. (#10091). Docs: πŸ“ƒ
  • Fix: Add support for clang to msvc_runtime_flag(). It requires defining compiler.runtime = static/dynamic definition, same as modern msvc compiler setting. (#10898). Docs: πŸ“ƒ
  • Fix: Generate the correct --target triple when building for Apple catalyst. (#10880)
  • Fix: The "conan.tools.files.patch" will (by default) look for the patch files in the self.base_source_folder instead of self.source_folder but will apply them with self.source_folder as the base folder. (#10875). Docs: πŸ“ƒ
  • Fix: Setting CMAKE_SYSTEM_PROCESSOR for Apple cross-compiling including M1. (#10856). Docs: πŸ“ƒ
  • Fix: Do not overwrite values for CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_VERSION and CMAKE_SYSTEM_PROCESSOR set from the [conf] or the user_toolchain. (#10856). Docs: πŸ“ƒ
  • Fix: Fix architecture translation from Conan syntax to build system in CMakeToolchain. (#10856). Docs: πŸ“ƒ
  • Fix: Several improvements of the Bazel integration (Bazel, BazelToolchain, BazelDeps), new functional tests in all platforms. (#10812). Docs: πŸ“ƒ
  • Fix: Conf.get() always returns default value if internal conf_value.value is None, i.e., it was unset. (#10800). Docs: πŸ“ƒ
  • Fix: Set -DCMAKE_MAKE_PROGRAM when the generator is for MinGW and the conf tools.gnu:make_program is set. (#10770)
  • Fix: Remove unused clion_layout. (#10760). Docs: πŸ“ƒ
  • Fix: AutotoolsToolchain adjust the runtime flag of msvc (MTd, MT, MDd or MD) to CFLAGS and CXXFLAGS when using the msvc as settings.compiler. (#10755). Docs: πŸ“ƒ
  • Fix: Removed subsystem_path from the conan.tool.microsoft namespace, superseded by unix_path. (#10743). Docs: πŸ“ƒ
  • Fix: Show an error message at conan install if the validate() method raises ConanInvalidConfiguration. (#10725)
  • BugFix: The find_dependency called internally in CMakeDeps generator to locate transitive dependencies now use the MODULE/NO_MODULE following the cmake_find_mode property when declared in the dependency. (#10917)
  • Bugfix: Fix virtualrunenv wrong build scope. (#10904)
  • BugFix: Make self.folders.root apply at package conan install . too. (#10842)
  • Bugfix: Fix call to undefined function for markdown generator when components add system_libs. (#10783)
  • Bugfix: solve build_policy=never bug when conan export-pkg --force and there already exists a package in the cache. (#10738)
  • Bugfix: Add transitive dependencies to generated Bazel BUILD files. (#10686)