Releases: conan-io/conan
Releases · conan-io/conan
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)
1.58.0 (30-Jan-2023)
- Feature: Update gcc versions supported in settings. (#12972). Docs: 📃
- Feature: Conan packages using the CMakeDeps generator will now stop printing status messages if the QUIET argument is passed to the respective find_package() CMake call. (#12967)
- Feature: Guess Apple SDK path in
MesonToolchain
in case of cross-build on macOS iftools.apple:sdk_path
is not set by user. (#12923) - Fix:
CMakeToolchain
generates preset files with more than 1 configure preset. (#13004) - Fix: Allow not propagating components to consumers. (#12966)
- Fix:
fix_apple_shared_install_name()
now fixes all dylib in libdirs and executables in bindirs regardless of shared option. (#12960) - Fix: NMakeDeps support cpp_info.defines and cpp_info.system_libs of dependencies. (#12944)
- Fix: Refactoring of
NMakeToolchain
to expose similar attributes than other toolchains, and honor build config like cflags, cxxflags, sharedlinkflags, exelinkflags, defines & compiler_executables. (#12665). Docs: 📃 - Bugfix: Define CMAKE_PROGRAM_PATH in toolchain file generated by CMakeToolchain, when only one profile is used. (#12974)
- Bugfix:
Version
comparison (greater than) with integer was raising an error. (#12935) - Bugfix: Fix
cmake_layout
for single-config configurations when definingbuild_folder_vars
. (#12925) - Bugfix: fix failure of removing options for build_requires in cross-build. (#12905)
2.0.0-beta8 (12-Jan-2023)
- Feature: Add
unix_path_package_info_legacy
function for those cases in which it is used inpackage_info
in recipes that require compatibility with Conan 1.x. In Conan 2, path conversions should not be performed in thepackage_info
method. (#12886) - Feature: New serialization json and printing for
conan list
. (#12883) - Feature: Add requirements to
conan new cmake_{lib,exe}
(#12875) - Feature: Allow
--no-remotes
to force temporal disabling of remotes (#12808) - Feature: Add barebones template option to conan new. (#12802)
- Feature: Avoid requesting package configuration if PkgID is passed. (#12801)
- Feature: Implemented
conan list *#latest
andconan list *:*#latest
. Basically, this command can show the latest RREVs and PREVs for all the matching references. (#12781) - Feature: Allow chaining of
self.output
write methods (#12780) - Fix: Make
graph info
filters to work on json output too (#12836) - Bugfix: Fix bug to pass a valid GNU triplet when using AutotoolsToolchain and cross-building on Windows. (#12881)
- Bugfix: Ordering if same ref.name but different versions. (#12801)
1.57.0 (12-Jan-2023)
- Feature: AutotoolsToolchain helper functions:
update_configure_args
,update_make_args
, andupdate_autoreconf_args
can also add new values (#12889). Docs: 📃 - Feature: Add
unix_path_package_info_legacy
function for those cases in which it is used inpackage_info
in recipes that require compatibility with Conan 1.x. In Conan 2, path conversions should not be performed in thepackage_info
method. (#12887). Docs: 📃 - Feature: Added to AutotoolsToolchain helper functions:
update_configure_args
,update_make_args
, andupdate_autoreconf_args
to update/prune flags effortlessly. (#12884). Docs: 📃 - Feature: Allow skip the generation of conanvcvars.bat with empty
tools.microsoft.msbuild:installation_path
(#12882). Docs: 📃 - Feature: Adds new
raise_invalid
argument forcheck_min_vs
to avoid raising if the check fails. (#12880). Docs: 📃 - Feature: Adds a conf variable for supplying linker scripts to the linker using the
-T
flag. (#12854). Docs: 📃 - Feature: CMakeToolchain also write CMake Test Presets. (#12846). Docs: 📃
- Feature: Add the ability to provide a
--component
argument with thecmake.install
function. (#12762). Docs: 📃 - Fix:
AutotoolsToolchain.configure_args
are adequately initialized. (#12884). Docs: 📃 - Fix: Deprecate
c++2a
for gcc 12, replace withc++20
. (#12796) - Bugfix:
AutotoolsToolchain.configure_args
was overwriting Conan's pre-calculated arguments. (#12884). Docs: 📃 - Bugfix: Fix
remove_broken_symlinks
failing at relative paths symlinks. (#12876) - Bugfix: Fix KeyError 'buildPresets', the field is optional according to the specification. (#12874)
- Bugfix: Fix bug to pass a valid GNU triplet when using AutotoolsToolchain and cross-building on Windows. (#12870)
- Bugfix: Fix XcodeDeps in "editable" mode root package_folder=None. (#12841)
- Bugfix: Make
cmake_layout
to use single-config folder for generated files. (#12829). Docs: 📃 - Bugfix: Allow
compatibility()
for lockfiles. (#12778)
2.0.0-beta7 (22-Dec-2022)
- Feature: Raise an error when a generator is both defined in generators attribute and instantiated in generate() method (#12722)
- Feature:
test_requires
improvements, including allowing it in conanfile.txt (#12699) - Feature: Improve errors for when required_conan_version has spaces between the operator and the version (#12695)
- Feature: Improvements in ConanAPI organization (#12666)