Skip to content

Releases: conan-io/conan

2.21.0 (29-Sep-2025)

29 Sep 16:24
2.21.0

Choose a tag to compare

  • 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)

2.20.1 (04-Sep-2025)

04 Sep 06:09
2.20.1
0384d64

Choose a tag to compare

  • BugFix: Fix Apt not detecting the correct architecture in multiarch setups. (#18872)
  • BugFix: Apt correctly detects arch-independent (all) packages during cross-building to avoid unnecessary reinstalls. (#18872)

2.20.0 (01-Sep-2025)

01 Sep 14:36
2.20.0
6960af2

Choose a tag to compare

  • Feature: new check_min_compiler_version validator which simplify compiler restriction description in recipes. (#18849). Docs: πŸ“ƒ
  • Feature: Adding Clang 21 to the default settings.yml. (#18846)
  • Feature: Add new Apple OS's versions. (#18845)
  • Feature: Avoid the generation of conanintelsetvars script by IntelCC if the tools.intel:installation_path="", similarly to VCVars generation. The user should have already activated the IntelCC environment on their own before running. (#18840). Docs: πŸ“ƒ
  • Feature: Improved the CMakeLists.txt file created by the conan new workspace command for super-builds. (#18838)
  • Feature: Add CMAKE_FIND_PACKAGE_PREFER_CONFIG=ON for CMakeConfigDeps generator. (#18832)
  • Feature: Add excludes pattern support for get and unzip methods. (#18831)
  • Feature: Add support for GCC 15.2. (#18735)
  • Feature: Add iOS 18.5 and tvOS 18.5 to default_settings.yml template. (#18722)
  • Feature: Stabilize and document ConfigAPI public Python sub-API. (#18709)
  • Feature: Print build-order in the conan workspace super-install command (#18693). Docs: πŸ“ƒ
  • Feature: Workspace super-build options aggregation. (#18608). Docs: πŸ“ƒ
  • Feature: Implement tools.build:install_strip for Autotools. (#18606). Docs: πŸ“ƒ
  • Feature: Added support to the system_package tool for defining the system package version to be installed. (#18517). Docs: πŸ“ƒ
  • Fix: Better error message when there is an existing file called "build" in the same location as the "build" build-folder is expected to be created. (#18842)
  • Fix: The cmake_layout was not taking into account the Apple multi-arch/universal separator when creating folders named after the arch setting. (#18823)
  • Fix: Avoiding issues if passing non-string objects to ConanOutput methods. Still, the input to several .info() and similar methods must be "text", passing arbitrary objects and expecting them to convert to strings internally is not supported. (#18782). Docs: πŸ“ƒ
  • Fix: Document public interface for ConanOutput class. (#18782). Docs: πŸ“ƒ
  • Fix: Remove Python 3.6 support, End Of Life since 2021. (#18779). Docs: πŸ“ƒ
  • Fix: Make all non-documented subapi attributes private. (#18736)
  • Fix: Remove SearchAPI in favour of ListAPI's select(). (#18726). Docs: πŸ“ƒ
  • Fix: Relax the "risk" warning for conflicting visibility in test_requires. (#18723)
  • Fix: Fixed an issue that caused APT packages without a defined architecture to be detected if one with the same name was installed for a different architecture. (#18517). Docs: πŸ“ƒ
  • Fix: Preserve subfolders for runtime_deploy deployer. (#17848). Docs: πŸ“ƒ
  • Bugfix: Made ConanAPI's home_folder read-only. (#18726). Docs: πŸ“ƒ

2.19.1 (30-Jul-2025)

30 Jul 07:21
2.19.1
70ebad1

Choose a tag to compare

  • Fix: Remove the definition of CMAKE_TRY_COMPILE_CONFIGURATION in CMakeToolchain to avoid issues with check_function_exists() legacy code in MSVC. (#18707)

2.19.0 (23-Jul-2025)

23 Jul 16:12
2.19.0

Choose a tag to compare

  • Feature: Changed some private attributes in MesonToolchain as public ones, e.g., b_ndebug, b_staticpic. (#18676)
  • Feature: PremakeDeps will now correctly propagate libraries, headers and binaries depending on the requirement traits. (#18663)
  • Feature: Add cmake_target_aliases support for CMakeConfigDeps. (#18662)
  • Feature: Add self.conan_data to the information serialized by ConanFile, so it is printed in conan graph info and other commands. (#18661). Docs: πŸ“ƒ
  • Feature: Let conan source reference the backup sources it generates in more cases. (#18655)
  • Feature: Add user channel to CycloneDX SBOM sbom_ref field. (#18649)
  • Feature: Enable test_package_folder attribute for conan export-pkg command. (#18621). Docs: πŸ“ƒ
  • Feature: Add support for GCC 12.5. (#18587). Docs: πŸ“ƒ
  • Feature: New makefile parameter in Autotools make/install methods to allow specifying the name of the Makefile file. (#18578)
  • Feature: Let graph html focus on searched package when pressing Intro in search box. (#18575)
  • Feature: Allow defining a custom platform on Premake generator for Windows. (#18572)
  • Feature: Allow profile composition while using conan runners. (#18534)
  • Fix: Add explicit error when trying to export a reference with channel but no user. (#18646). Docs: πŸ“ƒ
  • Fix: Check required_conan_version before loading hooks. (#18644)
  • Fix: Avoid logging levels hiding the login username/password request messages. (#18642)
  • Fix: Allow cc compiler to be defined with spaces for profile auto detection. (#18628)
  • Fix: Fixed untargz when the destination path uses the Windows long paths prefix \\?\. (#18612)
  • Fix: CMakeConfigDeps filter requires() to package_type=application. (#18611)
  • Fix: Fix multithreading for self-contained Conan binaries. (#18603)
  • Fix: Improve version detection for cc compilers. (#18600)
  • Fix: Pass deployment target from profile to XcodeBuild. (#18496). Docs: πŸ“ƒ
  • Fix: Project path and target name are quoted now for XcodeBuild. (#18496). Docs: πŸ“ƒ
  • Bugfix: Make package_type="configuration" packages independent of the config_mode for their package_id. (#18671)
  • Bugfix: PremakeDeps: ensure correct linkage on dependent libraries. (#18631)

2.18.1 (04-Jul-2025)

04 Jul 07:07
2.18.1
c8bdd07

Choose a tag to compare

  • Bugfix: Revert remote caching for missing packages (#18586)

2.18.0 (30-Jun-2025)

30 Jun 14:25
2.18.0

Choose a tag to compare

  • Feature: Allow consuming meson libname.a libs in MSBuildDeps. (#18557)
  • Feature: Avoid library renames when using Meson + MSVC + static builds. (#18533)
  • Feature: Added threads subsetting in emcc compiler model. (#18520). Docs: πŸ“ƒ
  • Feature: New conan cache ref <path> to reverse look the Conan cache, with a path argument will return the reference of the artifact in that folder. Intended exclusively for debugging purposes. (#18518). Docs: πŸ“ƒ
  • Feature: New linker flags autodetected by conan based on profile architecture. (#18498)
  • Feature: Changed conanws.yml format. Now, packages is a list of dict-like objects. (#18493). Docs: πŸ“ƒ
  • Feature: Added support for .exe in editables packages in CMakeConfigDeps. (#18489)
  • Feature: Add build_folder parameter in basic_layout. (#18442). Docs: πŸ“ƒ
  • Feature: Using pkg_config_name = 'none' to skip the *.pc file creation. (#18439). Docs: πŸ“ƒ
  • Feature: Add support for sbom and lockfiles to conan audit list. (#18437). Docs: πŸ“ƒ
  • Feature: Added first class citizen emscripten support (new wasm64 architecture + emcc). (#18432). Docs: πŸ“ƒ
  • Feature: Replace tools.cmake:install_strip by tools.install:strip. Affect both CMake and Meson tool helpers. (#18429). Docs: πŸ“ƒ
  • Feature: Add open to TestClient to open files locally. (#18399)
  • Feature: New conan workspace create orchestrated. (#18390). Docs: πŸ“ƒ
  • Feature: Add context variable to profile jinja2 rendering (can be "build", "host" and None). (#18383). Docs: πŸ“ƒ
  • Feature: Implement cpp_info.sources to support source targets. (#18350). Docs: πŸ“ƒ
  • Feature: Add support for source targets in CMakeConfigDeps generator. (#18350). Docs: πŸ“ƒ
  • Feature: New conan report diff command to inspect diffs between versions and revisions. (#18247). Docs: πŸ“ƒ
  • Feature: Add premake toolchain and improved premake integration in conan with new premake5. (#17898). Docs: πŸ“ƒ
  • Fix: Better error message in CMakeConfigDeps for incorrect component requires. (#18562)
  • Fix: Avoid incorrect absolute path inputs in -of for relativize paths in generators. (#18561)
  • Fix: Better error message when an incorrect cpp_info.requires is defined. (#18552)
  • Fix: Avoid hyphens for msbuild verbosity argument passed to CMake after -- by powershell. (#18548)
  • Fix: Improve conan cache check-integrity output. (#18544)
  • Fix: Raise an error for incorrect definition of conf_info items. (#18541)
  • Fix: Fix qcc cppstd support for latest QNX 8.0 with c++20. (#18538)
  • Fix: SBOM component bom-ref should not use has_special_root_node. (#18515)
  • Fix: Add a deprecated warning message for Node.dependencies, now renamed to Node.edges. (#18472)
  • Fix: Fix issue with missing folder in local-recipes-index. (#18449)
  • Fix: Git.get_remote_url now returns only the URL when using treeless repository. (#18444)
  • Fix: Improvement over ill-formed graphs with different visible=True/False for the same dependency. (#18440). Docs: πŸ“ƒ
  • Fix: Fixing CMake presets on Windows with backslash. (#18435)
  • Fix: Do not output upload-urls on basic text conan upload output. (#18430)
  • Fix: Create folders if they don't exist when using --out-file. (#18427)
  • Fix: Fix AutotoolsToolchain/GnuToolchain with LLVM/Clang in Windows for dynamic runtime in Debug. (#18422)
  • Fix: Test NMake integration with clang-cl. (#18422)
  • Fix: Ensure old gcc version are detected up to minor version only. (#18419)
  • Fix: Fixing source retrieval when resetting local-index remote. (#18418)
  • Fix: Allow minors greater than 9 in detect_api. (#18410)
  • Fix: Removed Workspaces product definition and make conan workspace build work computing the right build-order. (#18390). Docs: πŸ“ƒ
  • Fix: Forward ConanInvalidConfiguration when raised in hooks. (#18385)
  • Bugfix: Avoid crash when installing packages with tuple generators attribute and requirements to tool requires that provide self.generator_info generators. (#18503)
  • Bugfix: Fix detection of riscv64 cpu in Meson toolchain. (#18495)
  • Bugfix: Redirected Apple ARC flags to the ObjC/C++ ones. (#18485)
  • Bugfix: Fix TestClient mocked HEAD requests. (#18477)
  • Bugfix: Avoid leak of global.conf and -cc configuration for core.xxx items in Conan profiles, the core conf is exclusively for Conan internals, not for recipes neither for profiles. (#18474)
  • Bugfix: XcodeToolchain sets correct ..._DEPLOYMENT_TARGET for all Apple OSs. (#18471). Docs: πŸ“ƒ
  • Bugfix: conan export-pkg now correctly passes a str as the conanfile version. (#18456)
  • Bugfix: Fix conan cache backup-upload ignoring -cc arguments. (#18447)
  • Bugfix: Fixed CMakeConfigDeps behavior with multiple find_package in folders and subfolders. (#18407)
  • Bugfix: Fixes issue where conanfile's source() method doesn't use folders.root when present. (#18377)

2.17.1 (23-Jun-2025)

23 Jun 09:33
2.17.1
d688b91

Choose a tag to compare

  • Bugfix: add support for Git() for git<2.36, for operations that check if a commit exists in a remote. (#18501)

2.17.0 (28-May-2025)

28 May 17:35
2.17.0
2d7e56c

Choose a tag to compare

  • Feature: Add support for gcc 13.4 (#18374). Docs: πŸ“ƒ
  • Feature: Renamed 'editables' to 'packages'. (#18359). Docs: πŸ“ƒ
  • Feature: Putting a folder named conanws as the top limit search if it exists. (#18343). Docs: πŸ“ƒ
  • Feature: Removed the home_folder definition mechanism from the conanws.[yml | py] file. (#18339). Docs: πŸ“ƒ
  • Feature: Packages/products do not need to be within the workspace folder. (#18334). Docs: πŸ“ƒ
  • Feature: Add tools.gnu:configure_args conf to GnuToolchain and Autotoolchain generator to allow extra arguments to be added to the configure command. (#18333). Docs: πŸ“ƒ
  • Feature: Add gcc 14.3 support. (#18322). Docs: πŸ“ƒ
  • Feature: Auto detection of C standard. (#18290). Docs: πŸ“ƒ
  • Feature: define CMAKE_C/CXX_COMPILER in CMakeToolchain generated presets, only for MSVC cl-like compilers, automatically only for Ninja generator. (#18280)
  • Feature: Add header_lib template to conan new. (#18249). Docs: πŸ“ƒ
  • Feature: to_cppstd_flag/to_cstd_flag methods are not using fixed values. (#18246)
  • Feature: Add subprocess to the profile jinja rendering. (#18244). Docs: πŸ“ƒ
  • Feature: New conan cache save ... --no-source to avoid storing downloaded sources in the .tgz. (#18243). Docs: πŸ“ƒ
  • Feature: Add verbose logs for conan cache clean. (#18228)
  • Feature: Add --list inputs to conan cache clean and conan cache check-integrity. (#18219). Docs: πŸ“ƒ
  • Feature: Add allowed_packages info to remote json output. (#18206)
  • Feature: Add URL information to json output format for conan upload. (#18166). Docs: πŸ“ƒ
  • Feature: New conan workspace clean command, removes the output-folder of editables if defined, otherwise nothing. Can be custom implemented by users in the conanws.py file. (#17763). Docs: πŸ“ƒ
  • Fix: Fix PyInstaller --exclude-module adding wildcard for conan.test. (#18381)
  • Fix: Fix urls for conan audit. (#18360)
  • Fix: Validate if the licenses in the SBOM are SPDX compatible. (#18358)
  • Fix: Autotools in Windows working for both LLVM/Clang both clang and clang-cl frontends. (#18347). Docs: πŸ“ƒ
  • Fix: Change wording on unzip tool when uncompressing file. (#18327)
  • Fix: Avoid duplicate component requirement names in PkgConfigDeps and BazelDeps. (#18324)
  • Fix: Avoid grafted commits in Git helper for commit_in_remote() affecting also coordinates_to_conandata(), get_url_and_commit(). (#18315)
  • Fix: copy() now is capable of excluding symlinks to folders. (#18304)
  • Fix: Better error message in conan list --graph=file.json when using filtered graph. (#18303)
  • Fix: Always sort overrides serialization. (#18274)
  • Fix: Allow composition of conf values that are different categories of numbers. (#18265)
  • Fix: Avoid incorrect warning in test_package of python_requires about "tested_reference_str". (#18226)
  • Fix: CycloneDX 1.6 authors field. (#18208)
  • Fix: Make CMakeConfigDeps incubating generator paths relative for deployers. (#18197)
  • Fix: Add the full conan package in PyInstaller bundle. (#18195)
  • Bugfix: Remove LT_INIT from conan new autotools_exe template configure.ac. (#18378)
  • Bugfix: Fix CMakeConfigDeps link flags. (#18367)
  • BugFix: Fix conan audit producing _parse_error_threshold crash when some package was not found in the catalog. (#18363)
  • Bugfix: The first edge on conan graph info ... -f=html now shows require information. (#18245)
  • Bugfix: conan cache save no longer zips downloaded artifacts like conan_export.tgz and conan_sources.tgz. (#18243). Docs: πŸ“ƒ
  • Bugfix: Allow to conan create a python-requires package with a profile that contains tool-requires. (#18226)
  • Bugfix: Let conan config install walk the fs tree looking for a .conanignore. (#18170)

2.16.1 (29-Apr-2025)

29 Apr 12:21
2.16.1

Choose a tag to compare

  • Feature: Add missing GCC 15 key to settings.yml (#18193). Docs: πŸ“ƒ