Releases: conan-io/conan
Releases Β· conan-io/conan
2.8.1 (17-Oct-2024)
- Bugfix: Avoid raising an error for required components for
test_requires
also required as transitiverequires
. (#17174)
2.8.0 (30-Sep-2024)
- Feature: Add support for iOS 18, watchOS 11, tvOS 18, visionOS 2 & macos 15. (#17012). Docs: π
- Feature: Add Clang 19 support. (#17010). Docs: π
- Feature:
conan config list <pattern>
to filter available configurations. (#17000). Docs: π - Feature: New
auth_remote.py
plugin for custom user authentication to Conan remotes. (#16942). Docs: π - Feature: New
auth_source.py
plugin for custom user authentication for generic downloads of sources. (#16942). Docs: π - Feature: Add
--envs-generation={false}
toconan install
andconan build
to disable the generation of virtualenvs (conanbuildenv.sh|bat
andconanrunenv.sh|bat
). (#16935). Docs: π - Feature: New
tools.files.unzip:filter
conf that allows to definedata
,tar
andfully_trusted
extraction policies for tgz files. (#16918). Docs: π - Feature:
get()
andunzip()
tools forsource()
learned a newextract_filter
argument to definedata
,tar
andfully_trusted
extraction policies for tgz files. (#16918). Docs: π - Feature: Add progress updates for large uploads (>100Mbs) every 10 seconds. (#16913)
- Feature: Implement
conan config install-pkg --url=<repo-url>
for initial definition of remote URL when no remotes are defined yet. (#16876). Docs: π - Feature: Allow building a compatible package still of the current profile one. (#16871)
- Feature: Allow bootstrapping (depending on another variant of yourself), even for the same version. (#16870)
- Feature: Allow
[replace_requires]
to replace the package name andself.dependencies
still works with the old name. (#16443) - Fix: Let
CMakeToolchain
definingCMAKE_SYSTEM_XXX
even ifuser_toolchain
is defined, but protected in case the toolchain really defines them. (#17036). Docs: π - Fix: Replace
|
character in generated CMake and Environment files. (#17024) - Fix: Redirect the
PkgConfig
stderr
to the exception raised. (#17020) - Fix: Use always forward slashes in Windows subsystems
bash
path. (#16997) - Fix: Better error messages when
conan list --graph=<graph-json-file>
file has issues. (#16936) - Bugfix:
PkgConfigDeps.set_property()
was not setting properly all the available properties. (#17051) - Bugfix: BazelDeps did not find DLL files as Conan does not model them in the Windows platform. (#17045)
- Bugfix: Do not skip dependencies of a package if it is not going to be skipped due to
tools.graph:skip_binaries=False
. (#17033) - Bugfix: Allow
requires(..., package_id_mode)
trait in case of diamonds to always use the recipe defined one irrespective ofrequires()
order. (#16987) - Bugfix: Propagate include_prerelease flag to intersection of VersionRange. (#16986)
- Bugfix: Raise error if invalid value passed to conf.get(check_type=bool). (#16976)
- Bugfix: Allow
remote_login
accept patterns. (#16942). Docs: π
2.7.1 (11-Sep-2024)
2.7.0 (28-Aug-2024)
- Feature: Added
Git.is_dirty(repository=False)
new argument (#16892) - Feature: Add variable_watch for
CMAKE_{C,CXX}_STANDARD
inconan_toolchain.cmake
. (#16879) - Feature: Add
check_type
toget_property
for CMakeDeps. (#16854). Docs: π - Feature: Propagate
run
trait requirement information in the "build" context downstream whenvisible
trait isTrue
. (#16849). Docs: π - Feature: Add
check_type
on componentsget_property
. (#16848). Docs: π - Feature: Add
set_property
for PkgConfigDeps to set properties for requirements from consumer recipes. (#16789) - Feature: Define
CMAKE_<LANG>_COMPILER
variables in CMakePresets.json. (#16762) - Feature: Add support for gcc 14.2. (#16760)
- Feature: Rework QbsProfile to support Conan 2. (#16742)
- Feature: Add
finalize()
method for local cache final adjustments of packages. (#16646). Docs: π - Feature: Add
tricore
compiler architecture support. (#16317). Docs: π - Feature: Describe here your pull request (#16317). Docs: π
- Fix: Propagate
repository
argument fromGit.get_url_and_commit(repository=True)
toGit.is_dirty()
. (#16892) - Fix: Improve error when accessing
cpp_info
shorthand methods. (#16847) - Fix: Improve error message when a lockfile fails to lock a requirement, specifying its type. (#16841)
- Fix: Update patch-ng 1.18.0 to avoid SyntaxWarning spam. (#16766)
- Bugfix: Avoid
CMakeToolchain
error when both architecture flags andtools.build:linker_scripts
are defined, due to missing space. (#16883) - Bugfix: When using Visual Studio's llvm-clang, set the correct Platform Toolset in
MSBuildToolchain
. (#16844) - Bugfix: Fix
export_sources
for non-existent recipes in a local recipes index. (#16776)
1.65.0 (12-Aug-2024)
- Feature: Add gcc 14 to default settings.yml. (#16815)
- Feature: Add possibility to enforce return value of cross_building via conf. (#16728)
- Bugfix: Fixed msvc / Visual Studio package compatibility in case cppstd is used in profiles (#16732)
- Bugfix: Fix corruption of
package_id
computation with dependencies options when using lockfiles. (#16509)
2.6.0 (01-Aug-2024)
- Feature: Add
build_folder_vars=["const.myvalue"]
to create presets for user "myvalue" arbitrary values. (#16633). Docs: π - Feature: Added
outputRootDir
as an optional definition in Bazel new templates. (#16620) - Feature: MakeDeps generator generates make variables for dependencies and their components. (#16613). Docs: π
- Feature: Add html output for graph build-order and graph build-order-merge (#16611). Docs: π
- Feature: Introduce
core.scm:local_url=allow|block
to control local folder URLs in conandatascm
. (#16597). Docs: π - Feature: Added
XXX_FOR_BUILD
flags and Android extra ones toextra_env
attribute inGnuToolchain
. (#16596) - Feature: Support
python_requires
inlocal-recipes-index
. (#16420). Docs: π - Fix: Avoid
runtime_deployer
to deploy dependencies withrun=False
trait. (#16724) - Fix: Improve error message when passing a
--deployer-folder=xxx
argument of an incorrect folder. (#16723) - Fix: Change
requirements.txt
so it installdistro
package in FreeBSD too. (#16700) - Fix: Better error messages when loading an inexistent or broken "package list" file. (#16685)
- Fix: Remove unsupported
ld
andar
entries fromtools.build:compiler_executables
, they had no effect in every Conan integration. (#16647) - Fix: Ensure direct tool requires conflicts are properly reported instead of hanging. (#16619)
- Fix: Update
docker
dependency version for therunners
feature (#16610) - Fix: Raise an error when trying to upload a package with a local folder URL in
conandata
scm
. (#16597). Docs: π - Bugfix: Fix profile
include()
with per-package[settings]
with partial definition. (#16720) - Bugfix: The
MakeDeps
generator was missing some aggregated variables when packages have components. (#16715) - Bugfix: Avoid
settings.update_values()
failing when deducing compatibility. (#16642) - Bugfix: Fix handling of
tools.build:defines
for Ninja Multi-Config CMake. (#16637) - Bugfix: Make conan graph a real "install" dry-run. Return same errors and give same messages (#16415)
2.5.0 (03-Jul-2024)
- Feature: New
tools.cmake.cmaketoolchain:enabled_blocks
configuration to define which blocks ofCMakeToolchain
should be active or not. (#16563). Docs: π - Feature: Allow
--filter-options
inconan list
to use&:
scope to refer to all packages being listed. (#16559) - Feature: Highlight missing or invalid requirements while computing dependency graph. (#16520)
- Feature: New
conan lock update
subcommand to remove + add a reference in the same command. (#16511). Docs: π - Feature: Add support for GCC 12.4. (#16506). Docs: π
- Feature: Honoring
tools.android:ndk_path
conf. Setting the needed flags to cross-build for Android. (#16502). Docs: π - Feature: Add
os.ndk_version
forAndroid
. (#16494). Docs: π - Feature: Qbs helper now invokes Conan provider automatically. (#16486)
- Feature: Added force option to
tools.cmake.cmaketoolchain:extra_variables
. (#16481). Docs: π - Feature: Raising a ConanException if any section is duplicated in the same Conan profile file. (#16454)
- Feature: Added
resolve()
method to the Qbs toolchain. (#16449) - Feature: Make
MSBuildDeps
generation with deployer relocatable. (#16441) - Feature: Add QbsDeps class to be used with Qbs Conan module provider. (#16334)
- Feature: Add built in
runtime_deploy
deployer. (#15382). Docs: π - Fix: Fix provides conflict error message not showing conflicting provides when a named reference matches a provider. (#16562)
- Fix: Set correct
testpaths
for pytest. (#16530) - Fix: Allow
.conanrc
file in the root of a filesystem. (#16514) - Fix: Add support for non default docker hosts in conan runners (#16477)
- Fix: Don't fail when we can't overwrite the summary file in the backup upload. (#16452)
- Fix: Make
source_credentials.json
do not apply to Conan server repos protocol. (#16425). Docs: π - Fix: Allow packages to have empty folders. (#16424)
- Bugfix: Fix
detect_msvc_compiler()
fromdetect_api
to properly detect VS 17.10 withcompiler.version=194
. (#16581) - Bugfix: Fix unexpected error when a recipe performs
package_id()
info
erasure and is used as a compatibility candidate. (#16575) - Bugfix: Ensure msvc cppstd compatibility fallback does not ignore 194 binaries. (#16573)
- Bugfix:
XXXDeps
generators did not include an absolute path in their generated files if--deployer-folder=xxxx
param was used. (#16552) - Bugfix: Fix
conan list ... --format=compact
for package revisions. (#16490) - Bugfix: Fix XcodeToolchain when only defines are set. (#16429)
2.4.1 (10-Jun-2024)
- Fix: Avoid
find_package
's of transitive dependencies ontest_package
generated bycmake_lib
template. (#16451) - Fix: Fix back migration of default compatibility.py from a clean install. (#16417)
- Bugfix: Solve issue with setuptools (distributed Conan packages in Python) packaging the "test" folder. (#16446)
- Bugfix: Fixed regression in
CMakeToolchain
with--deployer=full_deploy
creating wrong escaping. (#16434)
2.4.0 (05-Jun-2024)
- Feature: Added support for MacOS sdk_version 14.5 (#16400). Docs: π
- Feature: Added
CC_FOR_BUILD
andCXX_FOR_BUILD
environment variable to AutotoolsToolchain. (#16391). Docs: π - Feature: Added
extra_xxxx
flags to MesonToolchain as done in other toolchains like AutotoolsToolchain, CMakeToolchain, etc. (#16389) - Feature: Add new
qbs_lib
template for theconan new
command. (#16382) - Feature: new
detect_api.detect_sdk_version()
method (#16355). Docs: π - Feature: Add excludes parameter to tools.files.rm to void removing pattern. (#16350). Docs: π
- Feature: Allow multiple
--build=missing:~pattern1 --build=missing:~pattern2
patterns. (#16327) - Feature: Deprecate use of path accessors in ConanFile. (#16247)
- Feature: add support for setting
tools.cmake.cmaketoolchain:extra_variables
(#16242). Docs: π - Feature: Add
cmake_additional_variables_prefixes
variable to CMakeDeps generator to allow adding extra names for declared CMake variables. (#16231). Docs: π - Feature: Allow GNUInstallDirs definition in
CMakeToolchain
for the localconan install/build
flow too. (#16214) - Feature: Let
conan cache save
listen to thecore.gzip:compresslevel
conf. (#16211) - Feature: Add support for Bazel >= 7.1. (#16196). Docs: π
- Feature: Add new
revision_mode
including everything down to therecipe-revision
, but not thepackage_id
. (#16195). Docs: π - Feature: Allow a recipe to
requires(..., visible=False)
a previous version of itself without raising a loop error. (#16132) - Feature: New
vendor=True
package creation and build isolation strategy (#16073). Docs: π - Feature: New
compiler.cstd
setting for C standard (#16028). Docs: π - Feature: Implemented
compatibility.py
default compatibility for different C standards (#16028). Docs: π - Feature: Implement
check_min_cstd
,check_max_cstd
,valid_max_cstd
,valid_min_cstd
,supported_cstd
tools (#16028). Docs: π - Feature: New
languages = "C", "C++"
class attribute to further automate settings management (#16028). Docs: π - Feature: Add
CONAN_RUNTIME_LIB_DIRS
variable to theconan_toolchain.cmake
. (#15914). Docs: π - Fix: Implement a back migration to <2.3 for default
compatibility.py
plugin. (#16405) - Fix: Add missing
[replace_requires]
and[platform_requires]
to serialization/dump of profiles. (#16401) - Fix: Fix handling spaces in paths in
Qbs
helper. (#16382) - Fix: Make cc version detection more robust (#16362)
- Fix: Allow
--build=missing:&
pattern to build only the consumer if missing, but not others. (#16344) - Fix: Allow "local-recipes-index" to
conan list
packages with customuser/channel
. (#16342) - Fix: Fixing docstrings for
cppstd
functions. (#16341) - Fix: Change autodetect of
CMAKE_SYSTEM_VERSION
to use the Darwin version. (#16335). Docs: π - Fix: Fix
require
syntax in output ingraph build-order
. (#16308) - Fix: Improve some commands help documentation strings by adding double quotes. (#16292)
- Fix: Better error message for incorrect version-ranges definitions. (#16289)
- Fix: Only print info about cached recipe revision being newer when it truly is. (#16275)
- Fix: Warn when using
options
without pattern scope, to improve UX of users expecting-o shared=True
to apply to dependencies. (#16233). Docs: π - Fix: Fix CommandAPI usage when not used by Conan custom commands. (#16213)
- Fix: Avoid
datetime
deprecated calls in Python 3.12. (#16095) - Fix: Handle
tools.build:sysroot
on Meson toolchain. (#16011). Docs: π - Bugfix: Fix
LLVM/Clang
enablement ofvcvars
for latestv14.4
toolset version after VS 17.10 update (#16374). Docs: π - Bugfix: Fix profile errors when using a docker runner of
type=shared
(#16364) - Bugfix:
conan graph info .. --build=pkg
doesn't downloadpkg
sources unlesstools.build:download_source
is defined. (#16349) - Bugfix: Solved problem with relativization of paths in CMakeToolchain and CMakeDeps. (#16316)
- Bugfix: Avoid sanitizing
tools.build:compiler_executables
value in MesonToolchain. (#16307) - Bugfix: Solved incorrect paths in
conan cache save/restore
tgz files that crashed when usingstorage_path
custom configuration. (#16293) - Bugfix: Fix stacktrace with nonexistent graph file in
conan list
. (#16291) - Bugfix: Let
CMakeDeps
generator overwrite thexxxConfig.cmake
when it already exists. (#16279) - Bugfix: Disallow
self.info
access insource()
method. (#16272)
2.3.2 (28-May-2024)
- Feature: New
tools.microsoft:msvc_update
configuration to define the MSVC compilerupdate
even whencompiler.update
is not defined. Can be used to usecompiler.version=193
once VS2022 is updated to 17.10, which changes the default compiler tocompiler.version=194
. (#16332) - Bugfix: Allow default
compatibility.py
plugin to fallback from MSVCcompiler.version=194->193
and to othercppstd
values. (#16346) - Bugfix: Skip dot folders in local recipe index layouts. (#16345)
- Bugfix: Remove extra backslash in generated
conanvcvars.ps1
. (#16322)