Releases: conan-io/conan
Releases Β· conan-io/conan
2.21.0 (29-Sep-2025)
- 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 toconan 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_onlyfield to remote to control whether a remote can be used to download binaries. (#18896). Docs: π - Feature: Add
cmake_extra_variablesproperty forCMakeConfigDeps. (#18822). Docs: π - Feature: Add
cmake_extra_variablesproperty forCMakeDeps. (#18822). Docs: π - Feature: Improve
conan report diffhtml UX. (#18686). Docs: π - Feature: Allow passing build configuration in
XcodeBuildexplicitly viaconfigurationparameter. (#18668). Docs: π - Feature: Allow passing arbitrary command line arguments to
XcodeBuildviacli_args. (#18668). Docs: π - Feature: Add generation of
dotenvenvironment files withtools.env:dotenv=Trueconf. (#18266). Docs: π - Fix: Avoid
CMakePresetsadding thejobsfield whentools.build:jobs=0. (#18984) - Fix: Warn when exporting recipes with versions containing alphanumeric majors. (#18980). Docs: π
- Fix: Set
cpp.source.includedirstoincludeinbasic_layout. (#18958). Docs: π - Fix:
workspace addcan 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_requirestobuild_requirementsmethod in tests. (#18929) - Fix: Always run
validatehooks even if recipe does not definevalidate()method. (#18928) - Fix: Remove deprecated, old and undocumented features, marked for deprecations for a long time. (#18920). Docs: π
- Fix: Ensure
VCVarsgeneratedconanvcvars.bathas normalized path with backward slash (Windows). (#18907) - Fix: Fix
compatibility.pymigration overwrite when no changes were necessary. (#18882) - Fix: Cleaning
filesandupload-urlsfrom "package lists" after a download or when skipping uploads. (#18878) - Fix: Improve the error message and avoid the traceback when a
build-scriptspackage tries to depend on alibraryin the "host" context. (#18869). Docs: π - Fix: Move legacy CMake vars from
xxx-target-<config>.cmaketoxxxx-config.cmakefile. (#18860) - Bugfix: Added Apple frameworks support for BazelDeps. (#19004)
- Bugfix: Ensure
conan graph build-ordererrors out when passing both a recipe path and a--requiresreference. (#18964) - Bugfix: MesonToolchain no longer add quotes to
linker_scriptdefinition. (#18922) - Bugfix: Fix missing double quotes for MSBuild's commands. (#18911)
- Bugfix: Command
conan listwith version-ranges can now listen tocore.version_ranges:resolve_prereleases=Trueto list pre-releases. (#18868) - Bugfix: Stabilize
PackagesListmethods. (#18833)
2.20.1 (04-Sep-2025)
2.20.0 (01-Sep-2025)
- Feature: new
check_min_compiler_versionvalidator 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
conanintelsetvarsscript byIntelCCif thetools.intel:installation_path="", similarly toVCVarsgeneration. 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 workspacecommand for super-builds. (#18838) - Feature: Add
CMAKE_FIND_PACKAGE_PREFER_CONFIG=ONforCMakeConfigDepsgenerator. (#18832) - Feature: Add
excludespattern support forgetandunzipmethods. (#18831) - Feature: Add support for GCC 15.2. (#18735)
- Feature: Add iOS 18.5 and tvOS 18.5 to
default_settings.ymltemplate. (#18722) - Feature: Stabilize and document
ConfigAPIpublic Python sub-API. (#18709) - Feature: Print build-order in the
conan workspace super-installcommand (#18693). Docs: π - Feature: Workspace super-build options aggregation. (#18608). Docs: π
- Feature: Implement
tools.build:install_stripfor 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_layoutwas not taking into account the Apple multi-arch/universal separator when creating folders named after thearchsetting. (#18823) - Fix: Avoiding issues if passing non-string objects to
ConanOutputmethods. 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
ConanOutputclass. (#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
SearchAPIin favour ofListAPI'sselect(). (#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_deploydeployer. (#17848). Docs: π - Bugfix: Made
ConanAPI'shome_folderread-only. (#18726). Docs: π
2.19.1 (30-Jul-2025)
- Fix: Remove the definition of
CMAKE_TRY_COMPILE_CONFIGURATIONinCMakeToolchainto avoid issues withcheck_function_exists()legacy code in MSVC. (#18707)
2.19.0 (23-Jul-2025)
- 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_aliasessupport forCMakeConfigDeps. (#18662) - Feature: Add
self.conan_datato the information serialized by ConanFile, so it is printed inconan graph infoand other commands. (#18661). Docs: π - Feature: Let
conan sourcereference the backup sources it generates in more cases. (#18655) - Feature: Add user channel to CycloneDX SBOM
sbom_reffield. (#18649) - Feature: Enable
test_package_folderattribute forconan export-pkgcommand. (#18621). Docs: π - Feature: Add support for GCC 12.5. (#18587). Docs: π
- Feature: New
makefileparameter in Autotoolsmake/installmethods 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
channelbut nouser. (#18646). Docs: π - Fix: Check
required_conan_versionbefore loading hooks. (#18644) - Fix: Avoid logging levels hiding the login username/password request messages. (#18642)
- Fix: Allow
cccompiler 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:
CMakeConfigDepsfilterrequires()topackage_type=application. (#18611) - Fix: Fix multithreading for self-contained Conan binaries. (#18603)
- Fix: Improve version detection for
cccompilers. (#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 theconfig_modefor theirpackage_id. (#18671) - Bugfix: PremakeDeps: ensure correct linkage on dependent libraries. (#18631)
2.18.1 (04-Jul-2025)
- Bugfix: Revert remote caching for missing packages (#18586)
2.18.0 (30-Jun-2025)
- Feature: Allow consuming meson libname.a libs in
MSBuildDeps. (#18557) - Feature: Avoid library renames when using Meson + MSVC + static builds. (#18533)
- Feature: Added
threadssubsetting inemcccompiler 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.ymlformat. Now,packagesis a list of dict-like objects. (#18493). Docs: π - Feature: Added support for
.exein editables packages inCMakeConfigDeps. (#18489) - Feature: Add
build_folderparameter inbasic_layout. (#18442). Docs: π - Feature: Using
pkg_config_name = 'none'to skip the*.pcfile 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_stripbytools.install:strip. Affect both CMake and Meson tool helpers. (#18429). Docs: π - Feature: Add
opentoTestClientto open files locally. (#18399) - Feature: New
conan workspace createorchestrated. (#18390). Docs: π - Feature: Add
contextvariable to profile jinja2 rendering (can be "build", "host" andNone). (#18383). Docs: π - Feature: Implement
cpp_info.sourcesto support source targets. (#18350). Docs: π - Feature: Add support for source targets in CMakeConfigDeps generator. (#18350). Docs: π
- Feature: New
conan report diffcommand 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
CMakeConfigDepsfor incorrect component requires. (#18562) - Fix: Avoid incorrect absolute path inputs in
-offor relativize paths in generators. (#18561) - Fix: Better error message when an incorrect
cpp_info.requiresis defined. (#18552) - Fix: Avoid hyphens for msbuild verbosity argument passed to CMake after
--by powershell. (#18548) - Fix: Improve
conan cache check-integrityoutput. (#18544) - Fix: Raise an error for incorrect definition of
conf_infoitems. (#18541) - Fix: Fix
qcccppstdsupport for latest QNX 8.0 with c++20. (#18538) - Fix: SBOM component
bom-refshould not usehas_special_root_node. (#18515) - Fix: Add a deprecated warning message for
Node.dependencies, now renamed toNode.edges. (#18472) - Fix: Fix issue with missing folder in local-recipes-index. (#18449)
- Fix:
Git.get_remote_urlnow returns only the URL when using treeless repository. (#18444) - Fix: Improvement over ill-formed graphs with different
visible=True/Falsefor the same dependency. (#18440). Docs: π - Fix: Fixing CMake presets on Windows with backslash. (#18435)
- Fix: Do not output upload-urls on basic text
conan uploadoutput. (#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
NMakeintegration withclang-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
Workspacesproduct definition and makeconan workspace buildwork computing the right build-order. (#18390). Docs: π - Fix: Forward
ConanInvalidConfigurationwhen raised in hooks. (#18385) - Bugfix: Avoid crash when installing packages with tuple
generatorsattribute and requirements to tool requires that provideself.generator_infogenerators. (#18503) - Bugfix: Fix detection of riscv64 cpu in Meson toolchain. (#18495)
- Bugfix: Redirected Apple ARC flags to the ObjC/C++ ones. (#18485)
- Bugfix: Fix
TestClientmockedHEADrequests. (#18477) - Bugfix: Avoid leak of
global.confand-ccconfiguration forcore.xxxitems in Conan profiles, thecoreconf is exclusively for Conan internals, not for recipes neither for profiles. (#18474) - Bugfix: XcodeToolchain sets correct
..._DEPLOYMENT_TARGETfor all Apple OSs. (#18471). Docs: π - Bugfix:
conan export-pkgnow correctly passes astras the conanfile version. (#18456) - Bugfix: Fix conan cache backup-upload ignoring
-ccarguments. (#18447) - Bugfix: Fixed
CMakeConfigDepsbehavior with multiplefind_packagein folders and subfolders. (#18407) - Bugfix: Fixes issue where conanfile's
source()method doesn't usefolders.rootwhen present. (#18377)
2.17.1 (23-Jun-2025)
- 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)
- Feature: Add support for gcc 13.4 (#18374). Docs: π
- Feature: Renamed 'editables' to 'packages'. (#18359). Docs: π
- Feature: Putting a folder named
conanwsas the top limit search if it exists. (#18343). Docs: π - Feature: Removed the
home_folderdefinition mechanism from theconanws.[yml | py]file. (#18339). Docs: π - Feature: Packages/products do not need to be within the
workspacefolder. (#18334). Docs: π - Feature: Add
tools.gnu:configure_argsconf 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
CMakeToolchaingenerated presets, only for MSVC cl-like compilers, automatically only for Ninja generator. (#18280) - Feature: Add
header_libtemplate toconan new. (#18249). Docs: π - Feature:
to_cppstd_flag/to_cstd_flagmethods are not using fixed values. (#18246) - Feature: Add
subprocessto the profile jinja rendering. (#18244). Docs: π - Feature: New
conan cache save ... --no-sourceto avoid storing downloaded sources in the.tgz. (#18243). Docs: π - Feature: Add verbose logs for
conan cache clean. (#18228) - Feature: Add
--listinputs toconan cache cleanandconan cache check-integrity. (#18219). Docs: π - Feature: Add
allowed_packagesinfo to remote json output. (#18206) - Feature: Add URL information to json output format for conan upload. (#18166). Docs: π
- Feature: New
conan workspace cleancommand, removes theoutput-folderof editables if defined, otherwise nothing. Can be custom implemented by users in theconanws.pyfile. (#17763). Docs: π - Fix: Fix PyInstaller
--exclude-moduleadding wildcard forconan.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
PkgConfigDepsandBazelDeps. (#18324) - Fix: Avoid grafted commits in
Githelper forcommit_in_remote()affecting alsocoordinates_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.jsonwhen 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_packageofpython_requiresabout "tested_reference_str". (#18226) - Fix: CycloneDX 1.6 authors field. (#18208)
- Fix: Make
CMakeConfigDepsincubating generator paths relative fordeployers. (#18197) - Fix: Add the full conan package in PyInstaller bundle. (#18195)
- Bugfix: Remove
LT_INITfromconan new autotools_exetemplateconfigure.ac. (#18378) - Bugfix: Fix CMakeConfigDeps link flags. (#18367)
- BugFix: Fix
conan auditproducing_parse_error_thresholdcrash when some package was not found in the catalog. (#18363) - Bugfix: The first edge on
conan graph info ... -f=htmlnow shows require information. (#18245) - Bugfix:
conan cache saveno longer zips downloaded artifacts likeconan_export.tgzandconan_sources.tgz. (#18243). Docs: π - Bugfix: Allow to
conan createapython-requirespackage with a profile that contains tool-requires. (#18226) - Bugfix: Let
conan config installwalk the fs tree looking for a.conanignore. (#18170)