github conan-io/conan 1.40.0
1.40.0 (06-Sep-2021)

latest releases: 2.9.2, 2.9.1, 2.9.0...
3 years ago
  • 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 the CMakeDeps generator. This feature allows declaring a global target with a different namespace like Foo::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 to True to add the cpp_info.builddirs from the requirements to the CMAKE_PREFIX_PATH/CMAKE_MODULE_PATH. That would allow finding the config files packaged and to be able to include() them from the consumer CMakeLists.txt. (#9455). Docs: 📃
  • Feature: CMakeDeps. Added a new property cmake_find_mode with possible values to config(default), module, both or none to control the files to be generated from a package itself. The none replaces the current skip_deps_file property. (#9455). Docs: 📃
  • Feature: CMakeDeps: Added two new properties cmake_module_file_name and cmake_module_target_name, analog to cmake_file_name and cmake_target_name, but to configure the name of FindXXX.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 new CMakeDeps and MSBuildDeps. (#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 a build_script_folder argument in the configure() 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 tool conan.tools.files.patch will take the current source folder declared in the layout() 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 of ON / OFF (#9455). Docs: 📃
  • Bugfix: Fixed bug whereby Conan failed when using compiler=gcc with compiler.version=5 (without specifying a minor version) and compiler.cppstd=17. (#9431)
  • Bugfix: No verbose traceback was been printed for conanfile.layout() method. (#9384)
  • Bugfix: Fix Bazel cc_library: deps and linkopts. (#9381)
  • Bugfix: Fixed bug whereby using new layout() method together with cppinfo.components in the package_info method caused an exception. (#9360)
  • Bugfix: Fix PkgConfigDeps that was failing in the case of components with requirements. (#9341)

Don't miss a new conan release

NewReleases is sending notifications on new releases.