Releases: conan-io/conan
Releases Β· conan-io/conan
2.0.12 (26-Sep-2023)
- Feature: Add support for Clang 17. (#14781). Docs: π
- Feature: Add
--dry-run
forconan remove
. (#14760). Docs: π - Feature: Add
host_tool
toinstall()
method inpackage_manager
to indicate whether the package is a host tool or a library. (#14752). Docs: π - Fix: Better error message when trying to
export-pkg
apython-require
package, and avoid it being exported and then failing. (#14819) - Fix:
CMakeDeps
allowsset_property()
on all properties. (#14813) - Fix: Add minor version for Apple clang 15.0. (#14797). Docs: π
- Fix:
conan build
command prettier error when argument not provided. (#14787) - Bugfix: fix
compatibility()
oversettings_target
making it None (#14825) - Bugfix:
compatible
packages look first in the cache, and only if not found, the servers, to allow offline installs when there are compatible packages. (#14800) - BugFix: Reuse session in ConanRequester to speed up requests. (#14795)
- Bugfix: Fix relative paths of
editable
packages when they have components partially defining directories. (#14782)
2.0.11 (18-Sep-2023)
- Feature: Add
--format=json
formatter toconan profile show
command (#14743). Docs: π - Feature: add new --deployer --generators args to 'conan build' cmd (#14737). Docs: π
- Feature: Better
CMakeToolchain
blocks interface. Added new.blocks.select()
,.blocks.keys()
. (#14731). Docs: π - Feature: Add message when copying large files from download cache instead of downloading from server. (#14716)
- Feature: MesonToolchain shows a warning message if any options are used directly. (#14692). Docs: π
- Feature: Support clang-cl in default profile plugin. (#14682). Docs: π
- Feature: Added mechanism to transform
c
,cpp
, and/orld
binaries variables from Meson into lists if declared blank-separated strings. (#14676) - Feature: Add
nobara
distro todnf
package manager mapping. (#14668) - Feature: Ensure meson toolchain sets
b_vscrt
with clang-cl. (#14664) - Feature: Supporting regex pattern for conf
tools.info.package_id:confs
(#14621). Docs: π - Feature: MakeDeps: Provide "require" information, and more styling tweaks. (#14605)
- Feature: New
detect_api
to be used in profiles jinja templates. (#14578). Docs: π - Feature: Allow access to
settings_target
in compatibility method. (#14532) - Fix: Add missing minor macos versions (#14740). Docs: π
- Fix: Improve error messages in
ConanApi
init failures, (#14735) - Fix: CMakeDeps: Remove "Target name ... already exists" warning about duplicating aliases. (#14644)
- Bugfix: Fix regression in
Git.run()
whenwin_bash=True
. (#14756) - Bugfix: Change the default
check=False
inconan.tools.system.package_manager.Apt
toTrue
as the other package manager tools. (#14728). Docs: π - Bugfix: Solved propagation of transitive shared dependencies of
test_requires
with diamonds. (#14721) - Bugfix: Solve crash with
conan export-pkg
withtest_package
doing calls to remotes. (#14712) - Bugfix: Do not binary-skip packages that have transitive dependencies that are not skipped, otherwise the build chain of build systems to those transitive dependencies like
CMakeDeps
generated files are broken. (#14673) - Bugfix: Fix detected CPU architecture when running
conan profile detect
on native ARM64 Windows. (#14667) - Bugfix:
conan lock create --update
now correctly updates references from servers if newer than cache ones. (#14643) - Bugfix: Fix unnecessarily decorating command stdout with escape sequences. (#14642)
- Bugfix:
tools.info.package_id:confs
shouldn't affect header-only libraries. (#14622)
1.61.0 (13-Sep-2023)
- Feature: Add SConsDeps generator. (#14713). Docs: π
- Feature: Add support fox Xcode 15. (#14533)
- Feature: New
trim_conandata()
function to make things explicit, not depend on hook. (#14169). Docs: π - Feature: Add new
tools.cmake:install_strip
conf to add--strip
option to cmake install. (#14167). Docs: π - Feature: Allow users to cross-build out of the box with Visual Studio recipes based on MesonToolchain. (#13141)
- Fix: Increase warning for legacy generators. (#14662)
- Fix: Allow Pyyaml 6.0.X versions to avoid cython 3.0 issues. (#14323)
- Fix: Change the xcconfig variable from
HEADER_SEARCH_PATHS
toSYSTEM_HEADER_SEARCH_PATHS
changes the command line from-i
to-isystem
and avoids warnings that arise from including package headers. (#14157). Docs: π - Bugfix: Consider revision for build_requires in cli arguments. (#14679)
2.0.10 (29-Aug-2023)
- Feature: Allow
patch_user
inconandata.yml
definition for user patches, not handled byapply_conandata_patches()
. (#14576). Docs: π - Feature: Support for Xcode 15, iOS 17, tvOS 17, watchOS 10, macOS 14. (#14538)
- Feature: Raise an error if users are adding incorrect ConanCenter web URL as remote. (#14531)
- Feature: Serialization of graph with
--format=json
adds information topython_requires
soconan list --graph
can listpython_requires
too. (#14529) - Feature: Add
rrev
,rrev_timestamp
andprev_timestamp
to the graph json serialization. (#14526) - Feature: Allow
version-ranges
to resolve to editable packages too. (#14510) - Feature: Add
tools.files.download:verify
. (#14508). Docs: π - Feature: Add support for Apple visionOS. (#14504)
- Feature: Warn of unknown version range options. (#14493)
- Feature: Add
tools.graph:skip_binaries
to control binary skipping in the graph. (#14466). Docs: π - Feature: New
tools.deployer:symlinks
configuration to disable symlinks copy in deployers. (#14461). Docs: π - Feature: Allow remotes to automatically resolve missing
python_requires
in 'editable add'. (#14413). Docs: π - Feature: Add
cli_args
argument forCMake.install()
. (#14397). Docs: π - Feature: Allow
test_requires(..., force=True)
. (#14394). Docs: π - Feature: New
credentials.json
file to store credentials for Conan remotes. (#14392). Docs: π - Feature: Added support for
apk
package manager and Alpine Linux (#14382). Docs: π - Feature:
conan profile detect
can now detect the version of msvc when invoked within a Visual Studio prompt whereCC
orCXX
are defined and pointing to thecl
compiler executable (#14364) - Feature: Properly document
--build=editable
build mode. (#14358). Docs: π - Feature:
conan create --build-test=missing
new argument to control what is being built as dependencies of thetest_package
folder. (#14347). Docs: π - Feature: Provide new
default_build_options
attribute for defining options fortool_requires
in recipes. (#14340). Docs: π - Feature: Implement
...@
as a pattern for indicating matches with packages without user/channel. (#14338). Docs: π - Feature: Add support to Makefile by the new MakeDeps generator (#14133). Docs: π
- Fix: Allow
--format=json
inconan create
forpython-requires
(#14594) - Fix: Remove conan v2 ready conan-center link. (#14593)
- Fix: Make
conan inspect
use all remotes by default. (#14572). Docs: π - Fix: Allow extra hyphens in versions pre-releases. (#14561)
- Fix: Allow confs for
tools.cmake.cmaketoolchain
to be used if defined even iftools.cmake.cmaketoolchain:user_toolchain
is defined. (#14556). Docs: π - Fix: Serialize booleans of
dependencies
in--format=json
for graphs as booleans, not strings. (#14530). Docs: π - Fix: Avoid errors in
conan upload
whenpython_requires
are not in the cache and need to be downloaded. (#14511) - Fix: Improve error check of
lock add
adding a full package reference instead of a recipe reference. (#14491) - Fix: Better error message when a built-in deployer failed to copy files. (#14461). Docs: π
- Fix: Do not print non-captured stacktraces to
stdout
but tostderr
. (#14444) - Fix: Serialize
conf_info
in--format=json
output. (#14442) - Fix:
MSBuildToolchain
/MSBuildDeps
: Avoid passing C/C++ compiler options as options forResourceCompile
. (#14378) - Fix: Removal of plugin files result in a better error message instead of stacktrace. (#14376)
- Fix: Fix CMake system processor name on armv8/aarch64. (#14362)
- Fix: Make backup sources
core.sources
conf not mandate the final slash. (#14342) - Fix: Correctly propagate options defined in recipe
default_options
totest_requires
. (#14340). Docs: π - Fix: Invoke XCRun using conanfile.run() so that environment is injected. (#14326)
- Fix: Use
abspath
forconan config install
to avoid symlinks issues. (#14183) - Bugfix: Solve
build_id()
issues, when multiple differentpackage_ids
reusing same build-folder. (#14555) - Bugfix: Avoid DB errors when timestamp is not provided to
conan download
when using package lists. (#14526) - Bugfix: Print exception stacktrace (when
-vtrace
is set) into stderr instead of stdout (#14522) - Bugfix: Print only packages confirmed interactively in
conan upload
. (#14512) - Bugfix: 'conan remove' was outputting all entries in the cache matching the filter not just the once which where confirmed by the user. (#14478)
- Bugfix: Better error when passing
--channel
without--user
. (#14443) - Bugfix: Fix
settings_target
computation fortool_requires
of packages already in the "build" context. (#14441) - Bugfix: Avoid
DB is locked
error whencore.download:parallel
is defined. (#14410) - Bugfix: Make generated powershell environment scripts relative when using deployers. (#14391)
- Bugfix: fix profile [tool_requires] using revisions that were ignored. (#14337)
1.60.2 (26-Jul-2023)
2.0.9 (19-Jul-2023)
- Feature: Add
implements
attribute in ConanFile to provide automatic management of some options and settings. (#14320). Docs: π - Feature: Add
apple-clang
15. (#14302) - Fix: Allow repository being dirty outside of
conanfile.py
folder when usingrevision_mode = "scm_folder"
. (#14330) - Fix: Improve the error messages and provide Conan traces for errors in
compatibility.py
andprofile.py
plugins. (#14322) - Fix:
flush()
output streams after every message write. (#14310) - Bugfix: Fix Package signing plugin not verifying the downloaded sources. (#14331). Docs: π
- Bugfix: Fix
CMakeUserPresets
inherits from conan generated presets due to typo. (#14325) - Bugfix: ConanPresets.json contains duplicate presets if multiple user presets inherit from the same conan presets. (#14296)
- Bugfix: Meson
prefix
param is passed as UNIX path. (#14295) - Bugfix: Fix
CMake Error: Invalid level specified for --loglevel
whentools.build:verbosity
is set toquiet
. (#14289)
2.0.8 (13-Jul-2023)
- Feature: Add GCC 10.5 to default settings.yml. (#14252)
- Feature: Let
pkg_config_custom_content
overwrite default*.pc
variables created byPkgConfigDeps
. (#14233). Docs: π - Feature: Let
pkg_config_custom_content
be a dict-like object too. (#14233). Docs: π - Feature: The
fix_apple_shared_install_name
tool now usesxcrun
to resolve theotool
andinstall_name_tool
programs. (#14195) - Feature: Manage shared, fPIC, and header_only options automatically. (#14194). Docs: π
- Feature: Manage package ID for header-library package type automatically. (#14194). Docs: π
- Feature: New
cpp_info.set_property("cmake_package_version_compat" , "AnyNewerVersion")
forCMakeDeps
generator. (#14176). Docs: π - Feature: Metadata improvements. (#14152)
- Fix: Improve error message when missing binaries with
conan test
command. (#14272) - Fix: Make
conan download
command no longer need to load conanfile, won't fail for 1.X recipes or missingpython_requires
. (#14261) - Fix: Using
upload
with the--list
argument now permits empty recipe lists. (#14254) - Fix: Guarantee that
Options.rm_safe
never raises. (#14238) - Fix: Allow
tools.gnu:make_program
to affect every CMake configuration. (#14223) - Fix: Add missing
package_type
toconan new
lib templates. (#14215) - Fix: Add clarification for the default folder shown when querying a package reference. (#14199). Docs: π
- Fix: Enable existing status-message code in the
patch()
function. (#14177) - Fix: Use
configuration
inXcodeDeps
instead of alwaysbuild_type
. (#14168) - Fix: Respect symlinked path for cache location. (#14164)
- Fix:
PkgConfig
usesconanfile.run()
instead of internal runner to get full Conan environment from profiles and dependencies. (#13985) - Bugfix: Fix leaking of
CMakeDeps
CMAKE_FIND_LIBRARY_SUFFIXES
variable. (#14253) - Bugfix: Fix conan not finding generator by name when multiple custom global generators are detected. (#14227)
- Bugfix: Improve display of graph conflicts in
conan graph info
in html format. (#14190) - Bugfix: Fix
CMakeToolchain
cross-building from Linux to OSX. (#14187) - Bugfix: Fix KeyError in backup sources when no package is selected. (#14185)
2.0.7 (21-Jun-2023)
- Feature: Add new
arm64ec
architecture, used to define CMAKE_GENERATOR_PLATFORM. (#14114). Docs: π - Feature: Make
CppInfo
a public, documented, importable tool for generators that need to aggregate them. (#14101). Docs: π - Feature: Allow
conan remove --list=pkglist
to remove package-lists. (#14082). Docs: π - Feature: Output for
conan remove --format
both text (summary of deleted things) and json. (#14082). Docs: π - Feature: Add
core.sources:excluded_urls
to backup sources. (#14020) - Feature:
conan test
command learned the--format=json
formatter. (#14011). Docs: π - Feature: Allow
pkg/[version-range]
expressions inconan list
(and download, upload, remove) patterns. (#14004). Docs: π - Feature: Add
conan upload --dry-run
equivalent to 1.Xconan upload --skip-upload
. (#14002). Docs: π - Feature: Add new command
conan version
to format the output. (#13999). Docs: π - Feature: Small UX improvement to print some info while downloading large files. (#13989)
- Feature: Use
PackagesList
as input argument forconan upload --list=pkglist.json
. (#13928). Docs: π - Feature: Use
--graph
input forconan list
to create aPackagesList
that can be used as input forconan upload
. (#13928). Docs: π - Feature: New metadata files associated to recipes and packages that can be uploaded, downloaded and added after the package exists. (#13918)
- Feature: Allow to specify a custom deployer output folder. (#13757). Docs: π
- Feature: Split build & compilation verbosity control to two confs. (#13729). Docs: π
- Feature: Added
bindir
to generated.pc
file inPkgConfigDeps
. (#13623). Docs: π - Fix: Deprecate
AutoPackage
remnant from Conan 1.X. (#14083). Docs: π - Fix: Fix description for the conf entry for default build profile used. (#14075). Docs: π
- Fix: Allow spaces in path in
Git
helper. (#14063). Docs: π - Fix: Remove trailing
.
inconanfile.xxx_folder
that is breaking subsystems like msys2. (#14061) - Fix: Avoid caching issues when some intermediate package in the graph calls
aggregated_components()
over some dependency and using--deployer
, generators still pointed to the Conan cache and not deployed copy. (#14060) - Fix: Allow internal
Cli
object to be called more than once. (#14053) - Fix: Force
pyyaml>=6
for Python 3.10, as previous versions broke. (#13990) - Fix: Improve graph conflict message when Conan can't show one of the conflicting recipes. (#13946)
- Bugfix: Solve bug in timestamp of non-latest revision download from the server. (#14110)
- Bugfix: Fix double base path setup in editable packages. (#14109)
- Bugfix: Raise if
conan graph build-order
graph has any errors, instead of quietly doing nothing and outputting and empty json. (#14106) - Bugfix: Avoid incorrect path replacements for
editable
packages when folders have overlapping matching names. (#14095) - Bugfix: Set clang as the default FreeBSD detected compiler. (#14065)
- Bugfix: Add prefix var and any custom content (through the
pkg_config_custom_content
property) to already generated pkg-config root .pc files byPkgConfigDeps
. (#14051) - Bugfix:
conan create
command returns always the same output for--format=json
result graph, irrespective of test_package existence. (#14011). Docs: π - Bugfix: Fix problem with
editable
packages when definingself.folders.root=".."
parent directory. (#13983) - Bugfix: Removed
libdir1
andincludedir1
as the default index. Now,PkgConfigDeps
creates thelibdir
andincludedir
variables by default in.pc
files. (#13623). Docs: π
1.60.1 (30-May-2023)
- Bugfix: Fix lockfile usage with transitive tool-dependencies. (#13902)
2.0.6 (26-May-2023)
- Feature: Add a
tools.cmake:cmake_program
configuration item to allow specifying the location of the desired CMake executable. (#13940). Docs: π - Fix: Output "id" property in graph json output as str instead of int. (#13964). Docs: π
- Fix: Fix custom commands in a layer not able to do a local import. (#13944)
- Fix: Improve the output of download + unzip. (#13937)
- Fix: Add missing values to
package_manager:mode
inconan config install
. (#13929) - Bugfix: Ensuring the same graph-info JSON output for
graph info
,create
,export-pkg
, andinstall
. (#13967). Docs: π - Bugfix:
test_requires
were affecting thepackage_id
of consumers as regularrequires
, but they shouldn't. (#13966) - Bugfix: Define
source_folder
correctly in the json output when-c tools.build:download_source=True
. (#13953) - Bugfix: Fixed and completed the
graph info xxxx --format json
output, to publicly document it. (#13934). Docs: π - Bugfix: Fix "double" absolute paths in premakedeps. (#13926)
- Bugfix: Fix regression from 2.0.5 #13898, in which overrides of packages and components specification was failing (#13923)