Changelog

For a more detailed description of the major changes that Conan 2.0 brings, compared with Conan 1.X, please read What’s new in Conan 2.0

2.0.0-beta3 (12-Sept-2022)

  • Feature: Decouple test_package from create. #12046
  • Feature: Warn if special chars in exported refs. #12053
  • Feature: Improvements in MSBuildDeps traits. #12032
  • Feature: Added support for CLICOLOR_FORCE env var, that will activate the colors in the output if the value is declared and different to 0. #12028
  • Fix: Call source() just once for all configurations. #12050
  • Fix: Fix deployers not creating output_folder. #11977
  • Fix: Fix build_id() removal of require. #12019
  • Fix: If Conan fails to load a custom command now it fails with a useful error message. #11720
  • Bugfix: If the ‘os’ is not specified in the build profile and a recipe, in Windows, wanted to run a command. #11728

2.0.0-beta2 (27-Jul-2022)

  • Feature: Add traits support in MSBuildDeps. #11680
  • Feature: Add traits support in XcodeDeps. #11615
  • Feature: Let dependency define package_id modes. #
  • Feature: Add conan.conanrc file to setup the conan user home. #11675
  • Feature: Add core.cache:storage_path to declare the absolute path where you want to store the Conan packages. #11672
  • Feature: Add tools for checking max cppstd version. #11610
  • Feature: Add a post_build_fail hook that is called when a build fails. #11593
  • Feature: Add pre_generate and post_generate hook, covering the generation of files around the generate() method call. #11593
  • Feature: Brought conan config list command back and other conf improvements. #11575
  • Feature: Added two new arguments for all commands -v for controlling the verbosity of the output and –logger to output the contents in a json log format for log processors. #11522

2.0.0-beta1 (20-Jun-2022)

  • Feature: New graph model to better support C and C++ binaries relationships, compilation, and linkage.
  • Feature: New documented public Python API, for user automation
  • Feature: New build system integrations, more flexible and powerful, and providing transparent integration when possible, like CMakeDeps and CMakeToolchain
  • Feature: New custom user commands, that can be built using the public PythonAPI and can be shared and installed with conan config install
  • Feature: New CLI interface, with cleaner commands and more structured output
  • Feature: New deployers mechanism to copy artifacts from the cache to user folders, and consume those copies while building.
  • Feature: Improved package_id computation, taking into account the new more detailed graph model.
  • Feature: Added compatibility.py extension mechanism to allow users to define binary compatibility globally.
  • Feature: Simpler and more powerful lockfiles to provide reproducibility over time.
  • Feature: Better configuration with [conf] and better environment management with the new conan.tools.env tools.
  • Feature: Conan cache now can store multiple revisions simultaneously.
  • Feature: New extensions plugins to implement profile checking, package signing, and build commands wrapping.
  • Feature: Used the package immutability for an improved update, install and upload flows.