2.34.0 (28-Oct-2026)
Added 8
- Define /MP in CMakeToolchain for clang-cl with Visual Studio generators (ClangCL toolset), like msvc
- Add CMAKE_PREFIX_PATH as fallback to CMakeConfigDeps for cases beyond the <pkg>_DIR variable
- Pass original URLs to backup source remotes in the X-Conan-Origin-Urls header
- Add a command_alias.conf file to define command aliases and shortcuts without writing a custom command
- Support the new CPS dyld_requires (CMake>=4.4) for transitive shared libraries on Linux
- Add cmake_file_names dict property to CMakeConfigDeps to generate several CMake CONFIG files per package
- Add an optional components argument to aggregated_components() to aggregate only the given components
- Always generate .ps1 environment launchers, alongside the .bat/.sh ones, for the consumer, editables and test_package
Changed 4
- Reduce local cache sqlite3 DB calls, with 33% fewer for regular installs with cached packages
- Simplify the build step terminal output by removing duplicated package references
- Update conan new bazel_lib and conan new bazel_exe templates to Bazel 7
- tools.env.virtualenv:powershell no longer replaces the .bat/.sh launchers; self.run() only uses .ps1 launchers when this conf is defined
Fixed 16
- Remove the legacy warning about ConanCenter being frozen for Conan 1 clients
- Remove the python-dateutil dependency for Python>=3.11
- Resolve LocalAPI.editable_add relative output_folder against the cwd argument
- Make conan cache clean --backup-sources only clean the backup sources of the selected recipes
- Allow several negated patterns, and mixing them with inclusions, in remote --allowed-packages
- Avoid a VirtualRunEnv generation crash with win_bash=True when cross-building from Linux to Windows
- Report a proper error for non-integer --lru time values
- Avoid duplicating tools.build:sharedlinkflags from conf in BazelToolchain
- Join multiple SBOM license expressions with AND to comply with the CycloneDX standard
- Allow running conan remote logout for disabled remotes
- Replace stale CONAN_RUNTIME_LIB_DIRS entries in CMakeConfigDeps when installing a new package revision
- Raise an error for --requires=pkg/version@_, an undocumented and unsupported Conan 1 legacy syntax
- Make the workspace experimental warning skippable with core:skip_warnings
- Filter CMakeConfigDeps target data based on require traits, aligned with CMakeDeps
- Avoid accumulating variables when calling GnuToolchain._environment several times
- Avoid internal rmdir failures when removing Windows folders with read-only permissions
Removed 1
- Remove Conan 1.X legacy alias (undocumented and unsupported) code
Deprecated 1
- Add deprecation warnings for Bazel 6 support in the BazelDeps generator
From Conan
- Feature: Define
/MPinCMakeToolchainforclang-clwith Visual Studio generators (ClangCLtoolset), likemsvc. (https://github.com/conan-io/conan/pull/20439) - Feature: Reduce local cache sqlite3 DB calls (33% fewer for regular installs with cached packages). (https://github.com/conan-io/conan/pull/20434)
- Feature: Simplify the build step terminal output, removing duplicated package references. (https://github.com/conan-io/conan/pull/20426)
- Feature: Add
CMAKE_PREFIX_PATHas fallback toCMakeConfigDepsfor cases beyond the<pkg>_DIRvariable. (https://github.com/conan-io/conan/pull/20420). Docs: :page_with_curl: - Feature: Pass original URLs to backup source remotes in the
X-Conan-Origin-Urlsheader. (https://github.com/conan-io/conan/pull/20385). Docs: :page_with_curl: - Feature: Update
conan new bazel_libandconan new bazel_exetemplates to Bazel 7. (https://github.com/conan-io/conan/pull/20367). Docs: :page_with_curl: - Feature: Add a
command_alias.conffile to define command aliases and shortcuts without writing a custom command. (https://github.com/conan-io/conan/pull/20365) - Feature: Support the new CPS
dyld_requires(CMake>=4.4) for transitive shared libraries on Linux. (https://github.com/conan-io/conan/pull/20362) - Feature: Add
cmake_file_namesdict property toCMakeConfigDepsto generate several CMake CONFIG files per package. (https://github.com/conan-io/conan/pull/20298). Docs: :page_with_curl: - Feature: Add an optional
componentsargument toaggregated_components()to aggregate only the given components. (https://github.com/conan-io/conan/pull/20298). Docs: :page_with_curl: - Feature: Always generate
.ps1environment launchers, alongside the.bat/.shones, for the consumer, editables andtest_package. (https://github.com/conan-io/conan/pull/19649). Docs: :page_with_curl: - Fix: Clarify in the
PackagesList.items()docstring that it only returns revision-specific information. (https://github.com/conan-io/conan/pull/20432) - Fix: Add docstrings to the
PkgReferenceclass of the Python API. (https://github.com/conan-io/conan/pull/20431). Docs: :page_with_curl: - Fix: Remove the legacy warning about ConanCenter being frozen for Conan 1 clients. (https://github.com/conan-io/conan/pull/20425)
- Fix: Remove the
python-dateutildependency for Python>=3.11. (https://github.com/conan-io/conan/pull/20419) - Fix: Resolve
LocalAPI.editable_addrelativeoutput_folderagainst thecwdargument. (https://github.com/conan-io/conan/pull/20416) - Fix: Make
conan cache clean --backup-sourcesonly clean the backup sources of the selected recipes. (https://github.com/conan-io/conan/pull/20415) - Fix: Allow several negated patterns, and mixing them with inclusions, in remote
--allowed-packages. (https://github.com/conan-io/conan/pull/20412) - Fix: Avoid a
VirtualRunEnvgeneration crash withwin_bash=Truewhen cross-building from Linux to Windows. (https://github.com/conan-io/conan/pull/20407) - Fix: Correct Python API docstrings for
ListAPI,CacheAPIand other subapis that did not match their behavior. (https://github.com/conan-io/conan/pull/20405) - Fix: Correct the
ListAPI.latest_recipe_revisiondocstring, as it always raises if the reference is not found. (https://github.com/conan-io/conan/pull/20400) - Fix: Report a proper error for non-integer
--lrutime values. (https://github.com/conan-io/conan/pull/20399) - Fix: Avoid duplicating
tools.build:sharedlinkflagsfromconfinBazelToolchain. (https://github.com/conan-io/conan/pull/20390) - Fix: Join multiple SBOM license expressions with
ANDto comply with the CycloneDX standard. (https://github.com/conan-io/conan/pull/20382) - Fix: Allow running
conan remote logoutfor disabled remotes. (https://github.com/conan-io/conan/pull/20381) - Fix: Replace stale
CONAN_RUNTIME_LIB_DIRSentries inCMakeConfigDepswhen installing a new package revision. (https://github.com/conan-io/conan/pull/20378) - Fix: Raise an error for
--requires=pkg/version@_, an undocumented and unsupported Conan 1 legacy syntax. (https://github.com/conan-io/conan/pull/20371) - Fix: Remove Conan 1.X legacy
alias(undocumented and unsupported) code. (https://github.com/conan-io/conan/pull/20370) - Fix: Make the
workspaceexperimental warning skippable withcore:skip_warnings. (https://github.com/conan-io/conan/pull/20369) - Fix: Add deprecation warnings for Bazel 6 support in the
BazelDepsgenerator. (https://github.com/conan-io/conan/pull/20367). Docs: :page_with_curl: - Fix: Filter
CMakeConfigDepstarget data based on require traits, aligned withCMakeDeps. (https://github.com/conan-io/conan/pull/20277). Docs: :page_with_curl: - Fix:
tools.env.virtualenv:powershellno longer replaces the.bat/.shlaunchers.self.run()only uses.ps1launchers when this conf is defined. (https://github.com/conan-io/conan/pull/19649). Docs: :page_with_curl: - Bugfix: Avoid accumulating variables when calling
GnuToolchain._environmentseveral times. (https://github.com/conan-io/conan/pull/20446) - Bugfix: Avoid internal
rmdirfailures when removing Windows folders with read-only permissions. (https://github.com/conan-io/conan/pull/20440) - Bugfix: Do not install host profile
[tool_requires]inconan installwith only--tool-requiresarguments. (https://github.com/conan-io/conan/pull/20422). Docs: :page_with_curl: - Bugfix: Do not remove pre-existing recipe revisions in
ReportAPI.diff. (https://github.com/conan-io/conan/pull/20417) - Bugfix: Make
AuditAPI.auth_providerreceive a provider name instead of a provider object, as documented. (https://github.com/conan-io/conan/pull/20414) - Bugfix: Do not write
--dynamic_mode=offinBazelToolchainwhen the recipe has nosharedoption. (https://github.com/conan-io/conan/pull/20390) - Bugfix: Avoid random
dictionary changed size during iterationerrors in uploads withcore.upload:parallel. (https://github.com/conan-io/conan/pull/20389) - Bugfix: Avoid HTTP header cross-pollution between consecutive calls to the backup sources server. (https://github.com/conan-io/conan/pull/20386)
- Bugfix: Use
tools.microsoft.msbuild:max_cpu_countfor the-margument inCMakeToolchainVisual Studio presets. (https://github.com/conan-io/conan/pull/20360)