github conan-io/conan 2.21.0
2.21.0 (29-Sep-2025)

13 hours ago
  • Feature: Add support for universal binaries to AutotoolsToolchain. (#18992). Docs: 📃
  • Feature: Add support for universal binaries to GnuToolchain. (#18992). Docs: 📃
  • Feature: Add --context={build,host} filter to conan audit scan. (#18976). Docs: 📃
  • Feature: Default recipe paths to cwd if not specified when calling Conan. (#18964)
  • Feature: Implement a new post_package_id() hook. (#18960). Docs: 📃
  • Feature: Add support for Xcode 26 and related. (#18953)
  • Feature: Add support for MSVC VS 2026 (insiders at the moment). (#18948). Docs: 📃
  • Feature: Add the PipEnv tool to install python tools using pip in an isolated virtual environment. (#18923). Docs: 📃
  • Feature: Allow separate build and package directories for multiple CMake builds from single conanfile. (#18905). Docs: 📃
  • Feature: Add recipes_only field to remote to control whether a remote can be used to download binaries. (#18896). Docs: 📃
  • Feature: Add cmake_extra_variables property for CMakeConfigDeps. (#18822). Docs: 📃
  • Feature: Add cmake_extra_variables property for CMakeDeps. (#18822). Docs: 📃
  • Feature: Improve conan report diff html UX. (#18686). Docs: 📃
  • Feature: Allow passing build configuration in XcodeBuild explicitly via configuration parameter. (#18668). Docs: 📃
  • Feature: Allow passing arbitrary command line arguments to XcodeBuild via cli_args. (#18668). Docs: 📃
  • Feature: Add generation of dotenv environment files with tools.env:dotenv=True conf. (#18266). Docs: 📃
  • Fix: Avoid CMakePresets adding the jobs field when tools.build:jobs=0. (#18984)
  • Fix: Warn when exporting recipes with versions containing alphanumeric majors. (#18980). Docs: 📃
  • Fix: Set cpp.source.includedirs to include in basic_layout. (#18958). Docs: 📃
  • Fix: workspace add can update the package version of an existing package in the workspace. (#18955)
  • Fix: Move macOS bitcode flag testing to integration test. (#18930)
  • Fix: Move test_requires to build_requirements method in tests. (#18929)
  • Fix: Always run validate hooks even if recipe does not define validate() method. (#18928)
  • Fix: Remove deprecated, old and undocumented features, marked for deprecations for a long time. (#18920). Docs: 📃
  • Fix: Ensure VCVars generated conanvcvars.bat has normalized path with backward slash (Windows). (#18907)
  • Fix: Fix compatibility.py migration overwrite when no changes were necessary. (#18882)
  • Fix: Cleaning files and upload-urls from "package lists" after a download or when skipping uploads. (#18878)
  • Fix: Improve the error message and avoid the traceback when a build-scripts package tries to depend on a library in the "host" context. (#18869). Docs: 📃
  • Fix: Move legacy CMake vars from xxx-target-<config>.cmake to xxxx-config.cmake file. (#18860)
  • Bugfix: Added Apple frameworks support for BazelDeps. (#19004)
  • Bugfix: Ensure conan graph build-order errors out when passing both a recipe path and a --requires reference. (#18964)
  • Bugfix: MesonToolchain no longer add quotes to linker_script definition. (#18922)
  • Bugfix: Fix missing double quotes for MSBuild's commands. (#18911)
  • Bugfix: Command conan list with version-ranges can now listen to core.version_ranges:resolve_prereleases=True to list pre-releases. (#18868)
  • Bugfix: Stabilize PackagesList methods. (#18833)

Don't miss a new conan release

NewReleases is sending notifications on new releases.