conan v1.28.0 Release Notes

Release Date: 2020-07-31 // over 3 years ago
    • Feature: Show Conan version on HTML output. (#7443). Docs: ๐Ÿ“ƒ
    • Feature: Support for cpp_info.components in pkg_config generator. (#7413). Docs: ๐Ÿ“ƒ
    • Feature: Adds ps1 virtualenv to other OS for use with powershell 7. #7407 (#7408). Docs: ๐Ÿ“ƒ
    • Feature: Propose init() method to unconditionally initialize class attributes like license or description. (#7404). Docs: ๐Ÿ“ƒ
    • Feature: add deprecated attribute (#7399). Docs: ๐Ÿ“ƒ
    • Feature: Allow conan.conf user configuration of paths to client certificate and key, outside of the Conan cache. (#7398). Docs: ๐Ÿ“ƒ
    • Feature: Document return value of self.copy() in the package() method. (#7389). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Complete cli2.0 framework to handle sub-commands and add conan user command for cli 2.0 (#7372)
    • Feature: Implement required_conan_version in conanfile.py, will raise if the current Conan version does not match the defined version range. (#7360). Docs: ๐Ÿ“ƒ
    • Feature: Add provides attribute to ConanFile: recipes can declare what they provide and Conan will fail if several recipes provide the same functionality (ODR violation). (#7337). Docs: ๐Ÿ“ƒ
    • Feature: When using CONAN_V2_MODE if build_type or compiler are not defined Conan will raise an error. (#7327). Docs: ๐Ÿ“ƒ
    • Feature: Adds "filenames" to cppinfo attribute, and changes cmake_find_package and cmake_find_package_multi generators so that they support it. (#7320). Docs: ๐Ÿ“ƒ
    • ๐Ÿ“„ Feature: Define recipe_folder attribute pointing to the folder containing conanfile.py (#7314). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Checking if a Linux distro uses apt is now based on the existence of apt in the system, instead of checking if the distro currently being used is in a hard-coded list of distros known to use apt. (#7309)
    • ๐Ÿ”‹ Feature: Add commands management for cli 2.0. (#7278)
    • Feature: Complete revamp of the lockfiles feature. Including version-only lockfiles, partial lockfiles, new command line syntax, improved management of build-order and many pending fixes. (#7243). Docs: ๐Ÿ“ƒ
    • Feature: More detailed description for --update argument. (#7167). Docs: ๐Ÿ“ƒ
    • Feature: improve compiler detection for CONAN_V2_MODE. (#5740). Docs: ๐Ÿ“ƒ
    • Feature: Add settings for clang-cl (clang on Windows). (#5705). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Fix: Relax pluginbase requirement to pluginbase>=0.5, including latest 1.0.0 . (#7441)
    • Fix: Make explicit the file writing of toolchain() helpers, so the method can be used to save custom files. (#7435). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Fix: Fixing --help for commands in proposal for command line v2.0. (#7394)
    • Fix: Show outdated packages when running search --table. (#7364). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Fix: Relax msbuild generator to not raise in Linux. (#7361)
    • ๐Ÿ›  Fix: Conan config install does not trigger scheduled config command. (#7311)
    • Fix: Implement missing __contains__ method, so checking if "myoption" in self.info.options is possible in package_id(). (#7303)
    • ๐Ÿ›  Fix: Build first ocurrence of a node in a lockfile when it is repeated (build requires) (#7144)
    • ๐Ÿ›  BugFix: Only add User-Agent to headers dict if it was not provided by the user. (#7390)
    • ๐Ÿ›  Bugfix: cppstd was missing in settings.yml for the qcc compiler and updates to 8.3. (#7384)
    • BugFix: Fix missing download of conan_sources.tgz created using export_sources() method. (#7380)
    • ๐Ÿ›  Bugfix: Intel Compiler install location detection on Windows. (#7370)
    • ๐Ÿ“ฆ Bugfix: Avoid crash while computing package_id when using package_revision_mode, and also incorrectly using installed binaries and reporting them installed after the re-computation of package_id resolved to a different binary. (#7353)
    • ๐Ÿ›  Bugfix: cmake_multi generator used with Xcode CMake generator. (#7341)
    • ๐Ÿ›  Bugfix: Do not fail for conan remove -r remote -p when there are no packages in the remote. (#7338)
    • ๐Ÿ›  Bugfix: Add system_libs to scons generator. (#7302)