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 anALIAS
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 theconandata.yml
file (except the fieldsusername
andpassword
). (#6334). Docs: ๐ - ๐ Feature: Implement a download cache, which can be shared and concurrently used among different conan user homes, selectable configuring
storage.download_cache
inconan.conf
. (#6287). Docs: ๐ - ๐ Feature: Some improvements in the internal of lockfiles. Better ordering of nodes indexes. Separation of
requires
andbuild-requires
. Betterstatus
field, with explicitexported
,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 custompackage_info()
layouts (likecpp_info.bindirs = ["mybin"]
can be used withsrc="@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 toFalse
) toCMake
andMeson
build helpers constructors, so when they need to activate the Visual Studio environment viavcvars
(for Ninja and NMake generators), thevcvars
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
andcmake_multi
use the name defined incpp_info.name
(reverts change from 1.21.1 as stated). (#6429) - Fix: Cleaning
LD_LIBRARY_PATH
environment inSCM
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
forarmv8
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 tocmake_find_package_multi
andcmake_find_package
generators. (#6230). Docs: ๐ - Fix: Multi-generators cannot be used without
build_type
setting. A failure is forced tocmake_find_package_multi
andvisual_studio_multi
as it was incmake_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 ofrequirements()
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 therequires
. (#6236) - Bugfix:
conan inspect
now is able to properly show name and version coming fromset_name()
andset_version()
methods. (#6214)
- Feature: Set conan generated CMake targets as