Releases: conan-io/conan
Releases Β· conan-io/conan
2.16.1 (29-Apr-2025)
2.16.0 (29-Apr-2025)
- 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 fromAutotoolsToolchain
. (#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 withrequires
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 theConanAPI
for clearing old private importsfrom conans
. (#18079) - Feature: Document publicly the
MSBuildDeps.platform
attribute to allow customization for wix projects needingx86
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 legacyfrom conans
imports that will break. (#18127) - Fix: Explicit
git fetch commit
inGit.checkout_from_conandata_coordinates()
, for cases like Azure DevOps creating commits that are not fetched by default ingit clone
. (#18110) - Fix: Add
ARM64EC
platform inMSBuild
, it was missing. (#18100). Docs: π - Fix: Allow
conan graph build-order
to outputbuild_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 inprinters
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
andvisionOS
. (#18151) - Bugfix: Add IMPORTED_CONFIGURATIONS to INTERFACE libraries to in
CMakeConfigDeps
(#18088) - Bugfix: Apply Apple
bitcode
,visibility
andarc
confs toAutootools/Gnu/Meson Toolchains
(#18085)
2.15.1 (14-Apr-2025)
2.15.0 (31-Mar-2025)
- Feature: Improve error messages when dealing with incorrect JSON input file formats. (#18037)
- Feature: Added new
--graph-context
toconan list
command. (#18015). Docs: π - Feature: Add version-ranges patterns defined with
[1.2.3.4.*]
with the*
at the end of the string. (#18012). Docs: π - Feature: Added
subsystem
field in MesonToolchain if cross-compiling between Apple OSs. (#17985) - Feature: Added new kwarg
build_context
tois_apple_os
helper function. (#17985) - Feature: Integrate chmod feature in
tools.files
. (#17800). Docs: π - Fix: Remove backup sources from unknown refs when calling
conan cache clean
. (#18018) - Fix: Fix SBOM author field. (#18014)
- Fix: Avoid resolving the symlinks path by default i 10000 f they match the library name. (#17964)
- Fix: Make some
from conan.internal
andfrom conans
usages fromCLI
commands private, moving to ConanAPI. (#17961) - Fix: Add warning for
deprecated
attribute in recipes. (#17957). Docs: π - Fix: Improve relative paths in generators to be as short as possible. (#17945)
- Fix:
_Component()
has nopackage_type
property. (#17943) - Bugfix: Fix
global.conf
precedence over profiles[conf]
and order change of per-package pattern confs. (#18028) - Bugfix: Solve issue with
update_policy=legacy
and using lockfiles. (#18009) - Bugfix:
untargz()
method was failing if directories had a more restrictive mode. (#17998) - Bugfix:
CppInfo.auto_deduce_location
method gives more prio to exact match. (#17975) - Bugfix: Avoid crash of
--format=json
serialization when custom generators inside tool-requires are referenced by class, not by name. (#17954) - BugFix: Add correct info in metadata + prevent crash when no component is associated to root_node. (#17925)
2.14.0 (12-Mar-2025)
- Feature: Add clang 20 support. (#17920). Docs: π
- Feature: Allow partial
workspace install <path1> ... <pathN>
installation of workspace. (#17887). Docs: π - Feature: Add hooks for validate method:
pre_validate
andpost_validate
. (#17856). Docs: π - Feature: Added complete Apple Frameworks management to
CMakeConfigDeps
. (#17725). Docs: π - Feature: Added new
cpp_info.package_framework
tocpp_info
. (#17725). Docs: π - Feature: Fix several bugs in docker runner, added new configuration options and improved logging system (#17542). Docs: π
- Fix: Improve error message when
jinja2
profile rendering fails due to unexpected syntax. (#17940) - Fix: Do not warn in auto-deduce location for exact library matches. (#17923)
- Fix: the
cmake_set_interface_link_directories
property is not really necessary at all inCMakeDeps
and it becomes invalid inCMakeConfigDeps
as it will require fullpackage_info()
definition. (#17917). Docs: π - Fix: Do not convert
\\
to/
inMSBuildDeps
generator as some MSBuild functionality needs Windows\\
paths. (#17901) - Fix: Avoid workspace incorrectly defining a "local-recipes-index" auxiliary cache. (#17883)
- Fix: Improve the output of the profile dumping for environment, with correct prepend order. (#17863)
- Fix: Fixes VCVars vcvarsall.bat generation if OS is set to WindowsStore. (#17849)
- Bugfix: Avoid self-requirement and loop when a
[tool_requires]
in the build profile depends on itself with a version range. (#17931) - Bugfix: Fix
conan graph build-order --reduce --order-by=recipe
that was not filtering all packages != "Build". (#17909) - Bugfix: Solve conflict not raised when version-ranges have different user. (#17877)
2.13.0 (26-Feb-2025)
- Feature:
CMakeDeps
generatedFindxxxx.cmake
files now can define{prefix}_FOUND
and{prefix}_VERSION
for thecmake_additional_variables_prefixes
. (#17838) - Feature: Make available in conanfiles the new incubating
CMakeConfigDeps
generator, still under the incubating "conf" feature flag. (#17831). Docs: π - Feature: Add a warning if a specific revision different than the current one is requested to a
local-recipes-index
remote. (#17819) - Feature: Forward repository parameter (with same default) from
coordinates_to_conandata()
toget_url_and_commit()
. (#17722) - Feature: Add
mcf
threading forgcc
MinGW compilersettings.yml
. (#17704) - Feature: Improve
conanws.py
file definition following same patterns asConanFile
. (#17688). Docs: π - Feature: Workspace new
workspace install
command for monolithic super-projects containing multipleeditables
. (#17675). Docs: π - Feature: New
conan new workspace
template contains CMake-based monolithic super-project that works withconan workspace install
. (#17675). Docs: π - Feature: Added
CMAKE_LIBRARY_PATH
toconan_cmakedeps_paths.cmake
(new CMakeDeps). (#17668) - Feature: Added
CMAKE_INCLUDE_PATH
toconan_cmakedeps_paths.cmake
(new CMakeDeps). (#17668) - Feature: Add
extension_properties
access to conanfile dependencies. (#17659). Docs: π - Feature: Introducing
in_range
method in Version which allows comparing against version ranges. (#17658). Docs: π - Feature: Upgrade dependency
urllib3
to2.0
. (#17655) - Feature: New
lock upgrade
command to automatically upgrade desired dependencies resolving the graph. (#17577). Docs: π - Feature: Enhanced
Premake
CLI wrapper with configurable Lua file path, and support for custom command-line arguments. (#17398). Docs: π - Fix: Docstring for
conan remote auth
regarding CONAN_LOGIN env-var. (#17834) - Fix: runtime_deploy preserves symbolic links along with their libraries. (#17824). Docs: π
- Fix: Better message for incubating CMakeDeps about
target_link_libraries()
from tool-requires. (#17821) - Fix: Fix the
_calculate_licenses
SBOM method bug and add a small test. (#17801) - Fix: Allow build context information from
conf
inAutotoolsToolchain
. (#17794) - Fix: Allow msys2 subsystem path inheriting from environment variables (#17781)
- Fix: Improve error messages for components definition errors and for runtime conflicts. (#17771)
- Fix: Update the message for client migration. (#17751)
- Fix: Improve untar performance. (#17708)
- Fix: Protect erroneous assignment of
cpp_info/components.required_components = xxx
, forrequired_components
property. Now it will raise a proper error. (#17692) - Fix: New
CMakeDeps
transitive linking of shared libs. (#17459) - Bugfix: Fix self-contained
pyinstaller
executable to also include the newconan.tools.sbom
tools. (#17809)
2.12.2 (12-Feb-2025)
2.12.1 (28-Jan-2025)
2.12.0 (27-Jan-2025)
- Feature: Make public documented (and experimental) the
--build=compatible:[pattern]
build mode, to allow building other configurations different than the current one when the current one is invalid and binary compatibility defines compatible binaries. (#17637). Docs: π - Feature: Define new
tools.cmake.cmaketoolchain:user_presets
to customize the name of the generatedCMakeUserPresets.json
, disabling its generation. Also can generate it in a subfolder. (#17613). Docs: π - Feature: Serialize in
--format=json
graph output the original requirements version range, not only the resolved one. (#17603) - Feature: Add cycloneDX as a Conan tool and implement subgraph for conanfile. (#17559). Docs: π
- Feature: Initial
conan workspace build
command to build the full workspace, based on the definition ofproducts
. (#17538). Docs: π - Feature: Allow applying patches on "create" time for conan-center-index like layouts from an external centralized folder. (#17520). Docs: π
- Feature: Add report progress while unpacking tarball files. (#17519)
- Feature:
conan profile show
can now select which context's profile to show. (#17518) - Feature: Better logging, printing the username for repositories, successful auth event and trace-level messages including full URL requests. (#17517)
- Feature: Adds
conan config clean
command that will remove all custom config from conan home, excluding the generated packages. (#17514). Docs: π - Feature: Add
reinit
method toConanApi
, which reinitializes everysubapi
. (#17514). Docs: π - Feature: Allow defining
--out-file=file.ext
instead of--format=ext > file.ext
to write to files directly and avoid issues with redirects. (#17507). Docs: π - Feature: Cache HTTP request sessions between API calls. (#17455)
- Feature: Implement caching in the
Remote
objects forRemoteManager
calls, saving repeated calls to the server for the duration of the life of the Remote objects. (#17449). Docs: π - Fix: Added
arch_flag
as a public attribute to theMesonToolchain
generator. (#17629) - Fix: Increase sqlite timeout from 10 to 20 seconds for very heavily loaded CI servers. (#17616)
- Fix: Make
remotes.json
saving transactional to avoid corruption for hard killed processes. (#17588) - Fix: Improve error message for
conan create
whentest_package
has missing binaries. (#17581) - Fix: Fix
Git
is_dirty
detection of excluded files with paths. (#17571) - Fix: Allow latest bottle 0.13 release for
conan_server
to work with Python 3.13. (#17534) - Fix: GnuToolchain's make_args handle empty values correctly. (#17532)
- Fix: Fix inconsistency in
replace_in_file
, that returnedFalse
if the pattern was not found (with strict off), otherwiseNone
. (#17531) - Fix:
conan profile show
does not pollute stdout with information titles. (#17518) - Fix: Error out when unknown language is used in languages attribute. (#17512)
- Fix: Fix
Workspace
when using theworkspace_api.load()
and usingself.run()
insideset_version()
. (#17501) - Bugfix:
conf_build
does not exist forcli
andconanfile.txt
contexts. (#17640) - Bugfix: Make possible to use
pattern
andstrip_root
at the same time forconan.tools.files.unzip()
. (#17591) - Bugfix: Solve incubating
CMakeDeps
issues with transitive[replace_requires]
. (#17566) - Bugfix: Solve
PkgConfigDeps
issues with transitive[replace_requires]
. (#17566)
2.11.0 (18-Dec-2024)
- Feature: Only warn on frozen conan v1 remote if enabled. (#17482)
- Feature:
AutotoolsToolchain
uses user's variables when Android cross-compilation at first. (#17470). Docs: π - Feature:
AutotoolsToolchain
checks if Android cross-compilation paths exist. (#17470). Docs: π - Feature: Adding the Conan cache "profiles" folder to the jinja2 search path, so profiles can be included/imported from jinja syntax even for parent and sibling folders. (#17432). Docs: π
- Feature: Updated
tools.env.virtualenv:powershell
conf to allow specifying the PowerShell executable (e.g., powershell.exe or pwsh) and passing additional arguments. (#17416). Docs: π - Feature: Deprecate use of
tools.env.virtualenv:powershell=True/False
. (#17416). Docs: π - Fix: Do not show powershell deprecation message if value is None. (#17500)
- Fix: Fix
LocalAPI
definition of editables when callingeditable_add
. (#17498) - Fix: Clarify debug message in CMakeDeps. (#17453)
- Fix: Added explicitly
allow_empty = True
toglob()
function in BazelDeps (bazel 8.x compatible). (#17444) - Fix: Fix broken
cpp_info.location
deduction due to unsanitized regex. (#17430) - Fix: Trusting the real path coming from a symlink is a good one. (#17421)
- Fix: Fix user/channel when searching patterns in a local-recipes-index. (#17408)
- Fix: Add warning for empty version ranges. (#17405)
- Bugfix: Fix bogus duplication of component properties (#17503)
- Bugfix: Fix running commands in powershell with single quotes. (#17487)
- Bugfix: Fix issues with unsetting some types of confs. (#17445)