github conan-io/conan 2.12.0
2.12.0 (27-Jan-2025)

latest release: 2.12.1
3 days ago
  • Feature: Make public documented (and experimental) the --build=compatible:[pattern] build mode, to allow building other configurations different than the current one when the current one is invalid and binary compatibility defines compatible binaries. (#17637). Docs: 📃
  • Feature: Define new tools.cmake.cmaketoolchain:user_presets to customize the name of the generated CMakeUserPresets.json, disabling its generation. Also can generate it in a subfolder. (#17613). Docs: 📃
  • Feature: Serialize in --format=json graph output the original requirements version range, not only the resolved one. (#17603)
  • Feature: Add cycloneDX as a Conan tool and implement subgraph for conanfile. (#17559). Docs: 📃
  • Feature: Initial conan workspace build command to build the full workspace, based on the definition of products. (#17538). Docs: 📃
  • Feature: Allow applying patches on "create" time for conan-center-index like layouts from an external centralized folder. (#17520). Docs: 📃
  • Feature: Add report progress while unpacking tarball files. (#17519)
  • Feature: conan profile show can now select which context's profile to show. (#17518)
  • Feature: Better logging, printing the username for repositories, successful auth event and trace-level messages including full URL requests. (#17517)
  • Feature: Adds conan config clean command that will remove all custom config from conan home, excluding the generated packages. (#17514). Docs: 📃
  • Feature: Add reinit method to ConanApi, which reinitializes every subapi. (#17514). Docs: 📃
  • Feature: Allow defining --out-file=file.ext instead of --format=ext > file.ext to write to files directly and avoid issues with redirects. (#17507). Docs: 📃
  • Feature: Cache HTTP request sessions between API calls. (#17455)
  • Feature: Implement caching in the Remote objects for RemoteManager calls, saving repeated calls to the server for the duration of the life of the Remote objects. (#17449). Docs: 📃
  • Fix: Added arch_flag as a public attribute to the MesonToolchain generator. (#17629)
  • Fix: Increase sqlite timeout from 10 to 20 seconds for very heavily loaded CI servers. (#17616)
  • Fix: Make remotes.json saving transactional to avoid corruption for hard killed processes. (#17588)
  • Fix: Improve error message for conan create when test_package has missing binaries. (#17581)
  • Fix: Fix Git is_dirty detection of excluded files with paths. (#17571)
  • Fix: Allow latest bottle 0.13 release for conan_server to work with Python 3.13. (#17534)
  • Fix: GnuToolchain's make_args handle empty values correctly. (#17532)
  • Fix: Fix inconsistency in replace_in_file, that returned False if the pattern was not found (with strict off), otherwise None. (#17531)
  • Fix: conan profile show does not pollute stdout with information titles. (#17518)
  • Fix: Error out when unknown language is used in languages attribute. (#17512)
  • Fix: Fix Workspace when using the workspace_api.load() and using self.run() inside set_version(). (#17501)
  • Bugfix: conf_build does not exist for cli and conanfile.txt contexts. (#17640)
  • Bugfix: Make possible to use pattern and strip_root at the same time for conan.tools.files.unzip(). (#17591)
  • Bugfix: Solve incubating CMakeDeps issues with transitive [replace_requires]. (#17566)
  • Bugfix: Solve PkgConfigDeps issues with transitive [replace_requires]. (#17566)

Don't miss a new conan release

NewReleases is sending notifications on new releases.