conan v1.22.0 Release Notes

Release Date: 2020-02-05 // about 4 years ago
    • Feature: Set conan generated CMake targets as GLOBAL so that they can be used with an ALIAS for consumers. (#6438). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Deduce compiler.base.runtime for Intel compiler settings when using Visual Studio as the base compiler. (#6424)
    • Feature: Allow defining an extra user-defined properties .props file in MSBuild build helper. (#6374). Docs: ๐Ÿ“ƒ
    • Feature: Force the user to read that Python 2 has been deprecated. (#6336). Docs: ๐Ÿ“ƒ
    • Feature: Add opt-in scm_to_conandata for the SCM feature: Conan will store the data from the SCM attribute in the conandata.yml file (except the fields username and password). (#6334). Docs: ๐Ÿ“ƒ
    • ๐Ÿ“„ Feature: Implement a download cache, which can be shared and concurrently used among different conan user homes, selectable configuring storage.download_cache in conan.conf. (#6287). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Some improvements in the internal of lockfiles. Better ordering of nodes indexes. Separation of requires and build-requires. Better status field, with explicit exported, built values. (#6237)
    • Feature: imports functionality can import from "symbolic" names, preceded with @, like @bindirs, @libdirs, etc. This allows importing files from variable package layouts, including custom package_info() layouts (like cpp_info.bindirs = ["mybin"] can be used with src="@bindirs"), and editable package layouts (#6208). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Improve output messages for parallel uploads: the text of the uploaded files contains to which packages they belong and the output for CI is clearer. (#6184)
    • ๐Ÿ— Feature: Adds vcvars_append variable (defaulting to False) to CMake and Meson build helpers constructors, so when they need to activate the Visual Studio environment via vcvars (for Ninja and NMake generators), the vcvars environment is appended at the end, giving precedence to the environment previously defined. (#6000). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Fix: Use CCI package reference for example command. (#6463)
    • Fix: Generators cmake and cmake_multi use the name defined in cpp_info.name (reverts change from 1.21.1 as stated). (#6429)
    • Fix: Cleaning LD_LIBRARY_PATH environment in SCM commands for "pyinstaller" installations, as SSL can fail due to using old SSL stuff from Conan instead from git/svn. (#6380)
    • Fix: Recipe substitution for scm (old behavior) fixed for multiline comments in Python 3.8. (#6355). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Fix: Avoid warning in "detect" process with Python 3.8, due to Popen with bufsize=1 (#6333)
    • ๐Ÿ›  Fix: Propagate server error (500) in checksum_deploy. (#6324)
    • ๐Ÿ›  Fix: Fixed wrong CMake command line with -G Visual Studio 15 ARM for armv8 architectures. (#6312)
    • ๐Ÿ›  Fix: Add all the system_libs and requirements to the CMake targets constructed by the generators. It will impact header-only libraries that are consumed using targets (previously they were missing some information). (#6298)
    • ๐Ÿ›  Fix: Avoid WindowsStore tools.vcvars() management when the environment is already set. (#6296)
    • ๐Ÿ›  Fix: When the token is empty, and conan user myuser -p=mypass -r=remote is used, the user-password are send in HttpBasic so it can be used for completely protected servers that do not expose the ping endpoint. (#6254)
    • Fix: Add cpp_info.<config> information to cmake_find_package_multi and cmake_find_package generators. (#6230). Docs: ๐Ÿ“ƒ
    • Fix: Multi-generators cannot be used without build_type setting. A failure is forced to cmake_find_package_multi and visual_studio_multi as it was in cmake_multi. (#6228)
    • ๐Ÿ›  Fix: Fix typo in error message from tools.get(). (#6204)
    • ๐Ÿ›  Fix: Raise error for symlinks in Windows that point to a different unit. (#6201)
    • ๐Ÿ›  BugFix: Avoid included profiles overwriting variables in the current profile. (#6398)
    • ๐Ÿ›  Bugfix: Lockfiles were not correctly applying locked options to packages, which produced incorrect evaluation of requirements() method. (#6395)
    • Bugfix: Fix broken compression of .tgz files due to Python 3.8 changing tar default schema. (#6355). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Bugfix: Include MacOS frameworks definitions in autotools LDFLAGS (also Meson). (#6309)
    • ๐Ÿ›  Bugfix: Apply system_libs information in autotools build helper. (#6309)
    • ๐Ÿ›  Bugfix: The environment_append() helper does not modify the argument anymore, which caused problems if the argument was reused. (#6285)
    • ๐Ÿ›  Bugfix: Include "Package ID Unknown" nodes in conan graph build-order, as they need to be processed in that order. (#6251)
    • ๐Ÿ›  Bugfix: --raw argument is ignored when searching for a specific reference. (#6241)
    • ๐Ÿ›  Bugfix: Avoid raising a version conflict error when aliases have not been resolved yet, typically for aliased build-requires that are also in the requires. (#6236)
    • Bugfix: conan inspect now is able to properly show name and version coming from set_name() and set_version() methods. (#6214)