Skip to content

Releases: conan-io/conan

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: πŸ“ƒ

2.16.0 (29-Apr-2025)

29 Apr 06:34
2.16.0

Choose a tag to compare

  • Feature: Add support for GCC 15.1. (#18175). Docs: πŸ“ƒ
  • Feature: Allow CMakeConfigDeps to support components with multilibs (with deprecation warning). (#18172)
  • Feature: add CMAKE_MODULE_PATH to CMakeConfigDeps for include(module). (#18162)
  • Feature: Add threshold for severity level in the conan audit scan command. (#18160). Docs: πŸ“ƒ
  • Feature: GnuToolchain including the latest changes from AutotoolsToolchain. (#18159)
  • Feature: Add CycloneDx 1.6 support. (#18108). Docs: πŸ“ƒ
  • Feature: Introduce a new no_skip=True requirement trait for exceptional cases like one application depending on another application privately with requires to avoid it being skipped. (#18101). Docs: πŸ“ƒ
  • Feature: Raise error early if conf_info is assigned with raw settings/options etc (#18083)
  • Feature: Moving functionality from Command layer to the ConanAPI for clearing old private imports from conans. (#18079)
  • Feature: Document publicly the MSBuildDeps.platform attribute to allow customization for wix projects needing x86 value. (#18078). Docs: πŸ“ƒ
  • Feature: Add missing intel-cc releases (#18054). Docs: πŸ“ƒ
  • Feature: Add information about the configuration each package is building for (#18019)
  • Feature: Add -vv information for the configuration of each dependency in the graph (#18019)
  • Fix: Some improvements in conan audit reports. (#18171)
  • Fix: Fix ordering by severity value in audit html output. (#18161)
  • Fix: Fix column overflow in audit html output. (#18161)
  • Fix: Make audit_providers.json read/writeable only by owner. (#18158)
  • Fix: Remove bogus SDK versions for some Apple OS's. (#18152). Docs: πŸ“ƒ
  • Fix: Make the conan.cli command layer fully independent of legacy from conans imports that will break. (#18127)
  • Fix: Explicit git fetch commit in Git.checkout_from_conandata_coordinates(), for cases like Azure DevOps creating commits that are not fetched by default in git clone. (#18110)
  • Fix: Add ARM64EC platform in MSBuild, it was missing. (#18100). Docs: πŸ“ƒ
  • Fix: Allow conan graph build-order to output build_args for "editable" packages. (#18097)
  • Fix: Improve error message when private audit providers don't have curation. (#18094)
  • Fix: Making some Command formatter helpers private (only the ones in printers are common for reusage), and making some ConanAPI attributes private. (#18079)
  • Bugfix: Raise a not-found error if "local recipes index" user/channel doesn't match requested one. (#18153)
  • Bugfix: Fixed bug using MesonToolchain and visionOS. (#18151)
  • Bugfix: Add IMPORTED_CONFIGURATIONS to INTERFACE libraries to in CMakeConfigDeps (#18088)
  • Bugfix: Apply Apple bitcode, visibility and arc confs to Autootools/Gnu/Meson Toolchains (#18085)

2.15.1 (14-Apr-2025)

14 Apr 12:55
2.15.1
643b0a3

Choose a tag to compare

  • Feature: Update Apple products supported versions. (#18122). Docs: πŸ“ƒ