Releases: conan-io/conan
Releases Β· conan-io/conan
2.0.5 (18-May-2023)
- Feature:
-v
argument defaults to theVERBOSE
level. (#13839) - Feature: Avoid showing unnecessary skipped dependencies. Now, it only shows a list of reference names if exists skipped binaries. They can be completely listed by adding
-v
(verbose mode) to the current command. (#13836) - Feature: Allow step-into dependencies debugging for packages built locally with
--build
(#13833). Docs: π - Feature: Allow non relocatable, locally built packages with
upload_policy="skip"
andbuild_policy="missing"
(#13833). Docs: π - Feature: Do not move "build" folders in cache when
package-revision
is computed to allow locating sources for dependencies debuggability with step-into (#13810) - Feature: New
settings.possible_values()
method to query the range of possible values for a setting. (#13796). Docs: π - Feature: Optimize and avoid hitting servers for binaries when
upload_policy=skip
(#13771) - Feature: Partially relativize generated environment .sh shell scripts (#13764)
- Feature: Improve settings.yml error messages (#13748)
- Feature: Auto create empty
global.conf
to improve UX looking for file in home. (#13746). Docs: π - Feature: Render the profile file name as profile_name (#13721). Docs: π
- Feature: New global custom generators in cache "extensions/generators" that can be used by name. (#13718). Docs: π
- Feature: Improve
conan inspect
output, it now understandsset_name
/set_version
. (#13716). Docs: π - Feature: Define new
self.tool_requires("pkg/<host_version>")
to allow some tool-requires to follow and use the same version as the "host" regular requires do. (#13712). Docs: π - Feature: Introduce new
core:skip_warns
configuration to be able to silence some warnings in the output. (#13706). Docs: π - Feature: Add info_invalid to graph node serialization (#13688)
- Feature: Computing and reporting the
overrides
in the graph, and in thegraph build-order
(#13680) - Feature: New
revision_mode = "scm_folder"
for mono-repo projects that want to usescm
revisions. (#13562). Docs: π - Feature: Demonstrate that it is possible to
tool_requires
different versions of the same package. (#13529). Docs: π - Fix:
build_scripts
now set therun
trait toTrue
by default (#13901). Docs: π - Fix: Fix XcodeDeps includes skipped dependencies. (#13880)
- Fix: Do not allow line feeds into
pkg/version
reference fields (#13870) - Fix: Fix
AutotoolsToolchain
definition oftools.build:compiler_executable
for Windows subsystems (#13867) - Fix: Speed up the CMakeDeps generation (#13857)
- Fix: Fix imported library config suffix. (#13841)
- Fix: Fail when defining an unkown conf (#13832)
- Fix: Fix incorrect printing of "skipped" binaries in the
conan install/create
commands, when they are used by some other dependencies. (#13778) - Fix: Renaming the cache "deploy" folder to "deployers" and allow
-d, --deployer
cli arg. ("deploy" folder will not break but will warn as deprecated). (#13740). Docs: π - Fix: Omit
-L
libpaths inCMakeDeps
for header-only libraries. (#13704) - Bugfix: Fix when a
test_requires
is also a regular transitive "host" requires and consumer defines components. (#13898) - Bugfix: Fix propagation of options like
*:shared=True
defined in recipes (#13855) - Bugfix: Fix
--lockfile-out
paths for 'graph build-order' and 'test' commands (#13853) - Bugfix: Ensure backup sources are uploaded in more cases (#13846)
- Bugfix: fix
settings.yml
definition ofintel-cc
cppstd=03
(#13844) - Bugfix: Fix
conan upload
with backup sources for exported-only recipes (#13779) - Bugfix: Fix
conan lock merge
of lockfiles containing alias (#13763) - Bugfix: Fix python_requires in transitive deps with version ranges (#13762)
- Bugfix: fix CMakeToolchain CMAKE_SYSTEM_NAME=Generic for baremetal (#13739)
- Bugfix: Fix incorrect environment scripts deactivation order (#13707)
- Bugfix: Solve failing lockfiles when graph has requirements with
override=True
(#13597)
1.60.0 (11-May-2023)
- Feature: Define new version expression
tool_requires("pkg/<host_version>")
to get the host requirement version (Backport of 2.0 #13712). (#13719). Docs: π - Feature: Provide compatibility with servers containing Conan 2.0 packages with user and no channel. (#13590)
- Feature: Add MacOS SDK version 13.1. (#13585)
- Feature: New
move_folder_contents()
file helper to re-arrange repos folders. (#13509). Docs: π - Feature: Allow
conan_version
in profile.jinja and global.conf jinja templating. (#13377). Docs: π - Fix: Add gcc 13 to default settings.yml. (#13848)
- Fix: Prepare Conan 1.60 to not break if Conan 2.X starts adding metadata files to packages. (#13351)
- Bugfix: Fix AutotoolsToolchain when unknown compiler. (#13815)
- Bugfix: Fixed graph_lock.py - lock_node(): consider context of build_require from lockfile. (#13788)
- Bugfix: Fix for
conan search pkg/*@
andconan upload pkg/*@
, to filter packages without user/channel. (#13173)
2.0.4 (11-Apr-2023)
- Feature: extend
--build-require
to more commands (graph info
,lock create
,install
) and cases. (#13669). Docs: π - Feature: Add
-d tool_requires
toconan new
. (#13608). Docs: π - Feature: Make CMakeDeps, CMakeToolchain and Environment (.bat, Windows only) generated files have relative paths. (#13607)
- Feature: Adding preliminary (non documented, dev-only) support for premake5 deps (PremakeDeps). (#13390)
- Fix: Update old
conan user
references toconan remote login
. (#13671) - Fix: Improve dependencies options changed in
requirements()
error msg. (#13668) - Fix: [system_tools] was not reporting the correct resolved version, but still the original range. (#13667)
- Fix: Improve
provides
conflict message error. (#13661) - Fix: When server responds Forbidden to the download of 1 file in a recipe/package, make sure other files and DB are cleaned. (#13626)
- Fix: Add error in
conan remove
when using--package-query
without providing a pattern that matches packages. (#13622) - Fix: Add
direct_deploy
subfolder for thedirect_deploy
deployer. (#13612). Docs: π - Fix: Fix html output when pattern does not list package revisions, like:
conan list "*#*:*"
. (#13605) - Bugfix:
conan list -p <package-query>
failed when a package had no settings or options. (#13662) - Bugfix:
python_requires
now properly loads remote requirements. (#13657) - Bugfix: Fix crash when
override
is used in a node of the graph that is also the closing node of a diamond. (#13631) - Bugfix: Fix the
--package-query
argument foroptions
. (#13618) - Bugfix: Add
full_deploy
subfolder for thefull_deploy
deployer to avoid collision with "build" folder. (#13612). Docs: π - Bugfix: Make
STATUS
the default log level. (#13610) - Bugfix: Fix double delete error in
conan cache clean
. (#13601)
2.0.3 (03-Apr-2023)
- Feature:
conan cache clean
learned the--all
and--temp
to clean everything (sources, builds) and also the temporary folders. (#13581). Docs: π - Feature: Introduce the
conf
dictionary update semantics with*=
operator. (#13571). Docs: π - Feature: Support MacOS SDK 13.1 (available in Xcode 14.2). (#13531)
- Feature: The
full_deploy
deployer together withCMakeDeps
generator learned to create relative paths deploys, so they are relocatable. (#13526) - Feature: Introduce the
conan remove *#!latest
(also for package-revisions), to remove all revisions except the latest one. (#13505). Docs: π - Feature: New
conan cache check-integrity
command to replace 1.X legacyconan upload --skip-upload --check
. (#13502). Docs: π - Feature: Add filtering for options and settings in conan list html output. (#13470)
- Feature: Automatic server side source backups for third parties. (#13461)
- Feature: Add
tools.android:cmake_legacy_toolchain
configuration useful when building CMake projects for Android. If defined, this will set the value ofANDROID_USE_LEGACY_TOOLCHAIN_FILE
. It may be useful to set this toFalse
if compiler flags are defined viatools.build:cflags
ortools.build:cxxflags
to prevent Android's legacy CMake toolchain from overriding the values. (#13459). Docs: π - Feature: Default
tools.files.download:download_cache
tocore.download:download_cache
, so it is only necessary to define one. (#13458) - Feature: Authentication for
tools.files.download()
. (#13421). Docs: π - Fix: Define a way to update
default_options
inpython_requires_extend
extension. (#13487). Docs: π - Fix: Allow again to specify
self.options["mydep"].someoption=value
, equivalent to"mydep/*"
. (#13467) - Fix: Generate
cpp_std=vc++20
for c++20 with meson with VS2019 and VS2022, rather thanvc++latest
. (#13450) - Bugfix: Fixed
CMakeDeps
not clearingCONAN_SHARED_FOUND_LIBRARY
var infind_library()
. (#13596) - Bugfix: Do not allow adding more than 1 remote with the same remote name. (#13574)
- Bugfix:
cmd_wrapper
added missing parameterconanfile
. (#13564). Docs: π - Bugfix: Avoid generators errors because dependencies binaries of editable packages were "skip". (#13544)
- Bugfix: Fix subcommands names when the parent command has underscores. (#13516)
- Bugfix: Fix
python-requires
in remotes when runningconan export-pkg
. (#13496) - Bugfix: Editable packages now also follow
build_folder_vars
configuration. (#13488) - Bugfix: Fix
[system_tools]
profile composition. (#13468)
2.0.2 (15-Mar-2023)
- Feature: Allow relative paths to the Conan home folder in the
global.conf
. (#13415). Docs: π - Feature: Some improvements for html formatter in
conan list
command. (#13409). Docs: π - Feature: Adds an optional "build_script_folder" argument to the
autoreconf
method of theAutotools
class. It mirrors the same argument and behavior of theconfigure
method of the same class. That is, it allows one to override where the tool is run (by default it runs in thesource_folder
. (#13403) - Feature: Create summary of cached content. (#13386)
- Feature: Add
conan config show <conf>
command. (#13354). Docs: π - Feature: Allow
global.conf
jinja2 inclusion of other files. (#13336) - Feature: Add
conan export-pkg --skip-binaries
to allow exporting without binaries of dependencies. (#13324). Docs: π - Feature: Add
core.version_ranges:resolve_prereleases
conf to control whether version ranges can resolve to prerelease versions (#13321) - Fix: Allow automatic processing of
package_type = "build-scripts"
inconan create
as--build-require
. (#13433) - Fix: Improve the detection and messages of server side package corruption. (#13432)
- Fix: Fix conan download help typo. (#13430)
- Fix: Remove profile arguments from
conan profile path
. (#13423). Docs: π - Fix: Fix typo in _detect_compiler_version. (#13396)
- Fix: Fix
conan profile detect
detection oflibc++
forclang
compiler on OSX. (#13359) - Fix: Allow internal
vswhere
calls to detect and use VS pre-releases too. (#13355) - Fix: Allow
conan export-pkg
to use remotes to install missing dependencies not in the cache. (#13324). Docs: π - Fix: Allow conversion to
dict
ofsettings.yml
lists whensettings_user.yml
define adict
. (#13323) - Fix: Fix flags passed by AutotoolsToolchain when cross compiling from macOS to a non-Apple OS. (#13230)
- BugFix: Fix issues in
MSBuild
with custom configurations when custom configurations has spaces. (#13435) - Bugfix: Solve bug in
conan profile path <nonexisting>
that was crashing. (#13434) - Bugfix: Add global verbosity conf
tools.build:verbosity
instead of individual ones. (#13428). Docs: π - Bugfix: Avoid raising fatal exceptions for malformed custom commands. (#13365)
- Bugfix: Do not omit
system_libs
from dependencies even if they are header-only. (#13364) - Bugfix: Fix
VirtualBuildEnv
environment not being created whenMesonToolchain
is instantiated. (#13346) - Bugfix: Nicer error in the compatibility plugin with custom compilers. (#13328)
- Bugfix: adds qcc cppstd compatibility info to allow dep graph to be calculated. (#13326)
2.0.1 (03-Mar-2023)
- Feature: Add
--insecure
alias to--verify-ssl
in config install. (#13270). Docs: π - Feature: Add
.conanignore
support toconan config install
. (#13269). Docs: π - Feature: Make verbose tracebacks on exception be shown for
-vv
and-vvv
, instead of custom env-var used in 1.X. (#13226) - Fix: Minor improvements to
conan install
and 2.0-readiness error messages. (#13299) - Fix: Remove
vcvars.bat
VS telemetry env-var, to avoid Conan hanging. (#13293) - Fix: Remove legacy
CMakeToolchain
support forCMakePresets
schema2 forCMakeUserPresets.json
. (#13288). Docs: π - Fix: Remove
--logger
json logging and legacy traces. (#13287). Docs: π - Fix: Fix typo in
conan remote auth
help. (#13285). Docs: π - Fix: Raise arg error if
conan config list unexpected-arg
. (#13282) - Fix: Do not auto-detect
compiler.runtime_type
formsvc
, rely on profile plugin. (#13277) - Fix: Fix conanfile.txt options parsing error message. (#13266)
- Fix: Improve error message for unified patterns in options. (#13264)
- Fix: Allow
conan remote add --force
to force re-definition of an existing remote name. (#13249) - Fix: Restore printing of profiles for build command. (#13214)
- Fix: Change
conan build
argument description for "path" to indicate it is only for conanfile.py and explicitly state that it does not work with conanfile.txt. (#13211). Docs: π - Fix: Better error message when dependencies
options
are defined inrequirements()
method. (#13207) - Fix: Fix broken links to docs from error messages and readme. (#13186)
- Bugfix: Ensure that
topics
are always serialized as lists. (#13298) - Bugfix: Ensure that
provides
are always serialized as lists. (#13298) - Bugfix: Fixed the detection of certain visual c++ installations. (#13284)
- Bugfix: Fix supported
cppstd
values formsvc
compiler. (#13278) - Bugfix: CMakeDeps generate files for
tool_requires
with the samebuild_type
as the "host" context. (#13267) - Bugfix: Fix definition of patterns for dependencies options in configure(). (#13263)
- Bugfix: Fix CMakeToolchain error when output folder in different Win drive. (#13248)
- Bugfix: Do not raise errors if a
test_requires
is not used by components.requires
. (#13191)
2.0.0 (22-Feb-2023)
- Feature: Change default profile cppstd for apple-clang to gnu17. (#13185)
- Feature: New
conan remote auth
command to force authentication in the remotes (#13180) - Fix: Allow defining options trait in
test_requires(..., options={})
(#13178) - Fix: Unifying Conan commands help messages. (#13176)
- Bugfix: Fix MesonToolchain wrong cppstd in apple-clang (#13172)
- Feature: Improved global Conan output messages (create, install, export, etc.) (#12746)
2.0.0-beta10 (16-Feb-2023)
- Feature: Add basic html output to
conan list
command. (#13135) - Feature: Allow
test_package
to process--build
arguments (computing --build=never for the main, non test_package graph). (#13117) - Feature: Add
--force
argument to remote add. (#13112) - Feature: Validate if the input configurations exist, to avoid typos. (#13110)
- Feature: Allow defining
self.folders.build_folder_vars
in recipeslayout()
. (#13109) - Feature: Block settings assignment. (#13099)
- Feature: Improve
conan editable
ui. (#13093) - Feature: Provide the ability for users to extend Conan generated CMakePresets. (#13090)
- Feature: Add error messages to help with the migration of recipes to 2.0, both from ConanCenter and from user repos. (#13074)
- Feature: Remove option.fPIC for shared in
conan new
templates. (#13066) - Feature: Add
conan cache clean
subcommand to clean build and source folders. (#13050) - Feature: Implement customizable
CMakeToolchain.presets_prefix
so presets name prepend this. (#13015) - Feature: Add
[system_tools]
section to profiles to use your own installed tools instead of the packages declared in the requires. (#10166) - Fix: Fixes in powershell escaping. (#13084)
- Fix: Define
CMakeToolchain.presets_prefix="conan"
by default, to avoid conflict with other users presets. (#13015)
1.59.0 (16-Feb-2023)
- Feature: Update
requirements.txt
to use distro package version <=1.8.0. (#13124) - Feature: Add new
Git.fetch_commit
method, for a faster alternative than clone. (#13096). Docs: π - Feature: Add
msvs_toolset
method toconan.tools.microsoft.visual
to identify which toolset version is associated to the compiler version. (#13041). Docs: π - Feature: Add a
CONAN_DISABLE_STRICT_MODE
environment variable as a workaround to be able to build old packages which used CMakeDeps or MSBuildDeps without switching to the new CMakeToolchain or MSBuildToolchain generator as well. (#13039). Docs: π - Feature: Show meaningful message if CMakePresets.txt does not exist (normally, when CMakeToolchain was not added as a generator). (#13019)
- Feature: Add
conan.tools.android.android_abi()
function to return the Android standard ABI name based on Conan. (#12873). Docs: π - Bugfix: Local build was not adding default dirs in MesonToolchain (only in Linux). (#13132)
- Bugfix: Solve 500 error in
conan search
to conan_server with revisions enabled of a missing package. (#13070) - Bugfix: Fix issue in
fix_apple_shared_install_name
handling dylib files with multiple architectures (universal). (#13034)
2.0.0-beta9 (31-Jan-2023)
- Feature: Add package names in Conan cache hash paths. (#13011)
- Feature: Implement
tools.build:download_source
conf to force the installation of sources inconan install
orconan graph info
. (#13003) - Feature: Users can define their own settings in
settings_user.yml
that will be merged with the Conansettings.yml
. (#12980) - Feature: List disabled remotes too. (#12937)
- Fix: PkgConfiDeps is using the wrong
dependencies.host
from dependencies instead ofget_transitive_requires()
computation. (#13013) - Fix: Fixing transitive shared linux libraries in CMakeDeps. (#13010)
- Fix: Fixing issues with test_package output folder. (#12992)
- Fix: Improve error messages for wrong methods. (#12962)
- Fix: Fix fail in parallel packages download due to database concurrency issues. (#12930)
- Fix: Enable authentication against disabled remotes. (#12913)
- Fix: Improving system_requirements. (#12912)
- Fix: Change tar format to PAX, which is the Python3.8 default. (#12899)