conan v1.32.0 Release Notes

Release Date: 2020-12-03 // over 3 years ago
    • Feature: Generate <pkgname>-config.cmake files for lowercase packages to improve case compatibility. (#8129). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Add meson cross-build toolchain. (#8111)
    • Feature: Temporary acquire write permissions in replace_in_file. (#8107)
    • ๐Ÿ”‹ Feature: Update conan new to latest guidelines. (#8106)
    • Feature: Deprecate experimental toolchain() in favor of more generic generate() method. Deprecate toolchains write_toolchain_files() to new generate() method. (#8101). Docs: ๐Ÿ“ƒ
    • Feature: Move the CMakeToolchain and new CMake experimental helpers to the new from conan.tools.cmake import. (#8096). Docs: ๐Ÿ“ƒ
    • Feature: Move the MSBuildToolchain and new MSBuild experimental helpers to the new from conan.tools.microsoft import. (#8096). Docs: ๐Ÿ“ƒ
    • Feature: Move the MakeToolchain experimental helper to the new from conan.tools.gnu import. (#8096). Docs: ๐Ÿ“ƒ
    • ๐Ÿ“„ Feature: Add conan remote list_ref --no-remote to list recipes without a remote defined. (#8094). Docs: ๐Ÿ“ƒ
    • ๐Ÿ“ฆ Feature: Add conan remote list_pref --no-remote to list packages without a remote defined. (#8094). Docs: ๐Ÿ“ƒ
    • Feature: Add --lockfile-node-id argument to conan install --lockfile so it can target different packages with same reference (different binary, this can happen with private requirements). (#8077). Docs: ๐Ÿ“ƒ
    • ๐Ÿ“ฆ Feature: Proof that python_requires can be used (as a workaround) to affect the package_id of consumers of build_requires that otherwise will not be rebuilt based on changes. (#8076). Docs: ๐Ÿ“ƒ
    • Feature: Introduce configuration general.keep_python_files to allow packaging of Python .pyc files. (#8070). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Tests for toolchains and Intel compiler. (#8062)
    • ๐Ÿ”‹ Feature: Add recipe and package revision to show a complete Conan reference when generating the build_info --v2 id fields. (#8055)
    • ๐Ÿ”ง Feature: Introduce a new BINARY_INVALID mode for more flexible definition and management of invalid configurations. (#8053). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Add headers with settings and options to HTTP GET requests when searching for packages. (#8046)
    • ๐Ÿ”‹ Feature: Preliminary experimental support for toolchains with CMake + Visual + Ninja. (#8034)
    • Feature: Allow (experimental) custom configuration of the msbuild generator. (#8014). Docs: ๐Ÿ“ƒ
    • Feature: Rename msbuild generator to MSBuildDeps and use the new generate() method. (#8014). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Make the conan new bye/0.1 -s -t to provide variable filenames and messages that include the package name and version, instead of a hardcoded "hello" one. (#7989)
    • ๐Ÿ”‹ Feature: Tagged tests and created a conftest.py to run the tests with pytest skipping the tests using not available tools (cmake, visual studio...). (#7975)
    • ๐Ÿ”‹ Feature: Provide correct --pure_c implementation to conan new. (#7947)
    • Feature: System package tools can install a list of different packages. (#7779). Docs: ๐Ÿ“ƒ
    • Feature: meson toolchain (#7662). Docs: ๐Ÿ“ƒ
    • ๐Ÿ”‹ Feature: Add Conan package name and version to Visual Studio generator properties file. (#7645)
    • Fix: Remove __init__.py in the root of the repo, which was useless, without a purpose, but caused issues with other projects importing Conan Python code. (#8132)
    • ๐Ÿ›  Fix: Make variables defined in CMakeToolchain cache variables, so they can define directly values defined in CMakeLists.txt. (#8124)
    • ๐Ÿ›  Fix: Remove cryptography, pyopenssl and idna from OSX requirements in Python. (#8075)
    • Fix: Rename the generated file of MSBuildToolchain to conantoolchain.props so it doesn't collide with a potential toolchain package name and the msbuild generator. (#8073). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Fix: Avoid warning in msbuild generator importing multiple times the same .props file due to transitive dependencies. (#8072)
    • ๐Ÿ›  Fix: Set username or password individually in git SCM with ssh. (#8016)
    • ๐Ÿ›  Fix: When using lockfiles, allow config_options and configure to compute different options as long as the final evaluated values match the locked ones. (#7993)
    • ๐Ÿ›  Fix: Make the conan new --pure_c pure C template to remove both compiler.libcxx and compiler.cppstd settings, as described in the docs. (#7989)
    • BugFix: Fix linkage to a same global target of different package components in cmake_find_package/_multi generators. (#8114). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Bugfix: Solve os.rename crash when using short_paths with a short path storage located in another Windows drive unit. (#8103)
    • BugFix: Allow lockfiles to be relaxed with the --build argument. (#8054). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Bugfix: Append existing LocalDebuggerEnvironment in msbuild generator. (#8040)
    • ๐Ÿ›  Bugfix: Remove correctly short-paths folders in Windows. (#7986)

Previous changes from v1.31.4

    • Feature: Add new CONAN_CMAKE_SYSROOT environment variable to enable the definition of sysroot from environment, without abusing CONAN_CMAKE_FIND_ROOT_PATH. (#8097). Docs: ๐Ÿ“ƒ
    • Bugfix: remove definition of sysroot from CONAN_CMAKE_FIND_ROOT_PATH. (#8097). Docs: ๐Ÿ“ƒ
    • ๐Ÿ›  Bugfix: Solve os.rename crash when using short_paths with a short path storage located in another Windows drive unit. Ported from: (#8103)