Skip to content

Releases: conan-io/conan

1.60.2 (26-Jul-2023)

26 Jul 10:49
Compare
Choose a tag to compare
  • Fix: Allow Pyyaml 6.0.X versions to avoid cython 3.0 problems. (backport #14323) (#14363)

2.0.9 (19-Jul-2023)

19 Jul 19:21
Compare
Choose a tag to compare
  • 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 using revision_mode = "scm_folder". (#14330)
  • Fix: Improve the error messages and provide Conan traces for errors in compatibility.py and profile.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 when tools.build:verbosity is set to quiet. (#14289)

2.0.8 (13-Jul-2023)

13 Jul 11:36
Compare
Choose a tag to compare
  • Feature: Add GCC 10.5 to default settings.yml. (#14252)
  • Feature: Let pkg_config_custom_content overwrite default *.pc variables created by PkgConfigDeps. (#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 uses xcrun to resolve the otool and install_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") for CMakeDeps 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 missing python_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 to conan 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 in XcodeDeps instead of always build_type. (#14168)
  • Fix: Respect symlinked path for cache location. (#14164)
  • Fix: PkgConfig uses conanfile.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)

21 Jun 11:09
Compare
Choose a tag to compare
  • 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 in conan list (and download, upload, remove) patterns. (#14004). Docs: πŸ“ƒ
  • Feature: Add conan upload --dry-run equivalent to 1.X conan 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 for conan upload --list=pkglist.json. (#13928). Docs: πŸ“ƒ
  • Feature: Use --graph input for conan list to create a PackagesList that can be used as input for conan 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 in PkgConfigDeps. (#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 . in conanfile.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 by PkgConfigDeps. (#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 defining self.folders.root=".." parent directory. (#13983)
  • Bugfix: Removed libdir1 and includedir1 as the default index. Now, PkgConfigDeps creates the libdir and includedir variables by default in .pc files. (#13623). Docs: πŸ“ƒ

1.60.1 (30-May-2023)

30 May 14:17
Compare
Choose a tag to compare
  • Bugfix: Fix lockfile usage with transitive tool-dependencies. (#13902)

2.0.6 (26-May-2023)

26 May 11:30
1b8f238
Compare
Choose a tag to compare
  • 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 in conan config install. (#13929)
  • Bugfix: Ensuring the same graph-info JSON output for graph info, create, export-pkg, and install. (#13967). Docs: πŸ“ƒ
  • Bugfix: test_requires were affecting the package_id of consumers as regular requires, 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)

2.0.5 (18-May-2023)

18 May 13:48
Compare
Choose a tag to compare
  • Feature: -v argument defaults to the VERBOSE 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" and build_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 understands set_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 the graph build-order (#13680)
  • Feature: New revision_mode = "scm_folder" for mono-repo projects that want to use scm 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 the run trait to True 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 of tools.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 in CMakeDeps 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 of intel-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)

11 May 15:27
ff199b0
Compare
Choose a tag to compare
  • 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/*@ and conan upload pkg/*@, to filter packages without user/channel. (#13173)

2.0.4 (11-Apr-2023)

11 Apr 14:41
Compare
Choose a tag to compare
  • Feature: extend --build-require to more commands (graph info, lock create, install) and cases. (#13669). Docs: πŸ“ƒ
  • Feature: Add -d tool_requires to conan 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 to conan 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 the direct_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 for options. (#13618)
  • Bugfix: Add full_deploy subfolder for the full_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)

03 Apr 13:44
Compare
Choose a tag to compare
  • 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 with CMakeDeps 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 legacy conan 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 of ANDROID_USE_LEGACY_TOOLCHAIN_FILE. It may be useful to set this to False if compiler flags are defined via tools.build:cflags or tools.build:cxxflags to prevent Android's legacy CMake toolchain from overriding the values. (#13459). Docs: πŸ“ƒ
  • Feature: Default tools.files.download:download_cache to core.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 in python_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 than vc++latest. (#13450)
  • Bugfix: Fixed CMakeDeps not clearing CONAN_SHARED_FOUND_LIBRARY var in find_library(). (#13596)
  • Bugfix: Do not allow adding more than 1 remote with the same remote name. (#13574)
  • Bugfix: cmd_wrapper added missing parameter conanfile. (#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 running conan export-pkg. (#13496)
  • Bugfix: Editable packages now also follow build_folder_vars configuration. (#13488)
  • Bugfix: Fix [system_tools] profile composition. (#13468)