Skip to content

Releases: conan-io/conan

2.0.12 (26-Sep-2023)

26 Sep 16:36
844f112
Compare
Choose a tag to compare
  • Feature: Add support for Clang 17. (#14781). Docs: πŸ“ƒ
  • Feature: Add --dry-run for conan remove. (#14760). Docs: πŸ“ƒ
  • Feature: Add host_tool to install() method in package_manager to indicate whether the package is a host tool or a library. (#14752). Docs: πŸ“ƒ
  • Fix: Better error message when trying to export-pkg a python-require package, and avoid it being exported and then failing. (#14819)
  • Fix: CMakeDeps allows set_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() over settings_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)

18 Sep 07:56
1c5c5dd
Compare
Choose a tag to compare
  • Feature: Add --format=json formatter to conan 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/or ld binaries variables from Meson into lists if declared blank-separated strings. (#14676)
  • Feature: Add nobara distro to dnf 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() when win_bash=True. (#14756)
  • Bugfix: Change the default check=False in conan.tools.system.package_manager.Apt to True 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 with test_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)

13 Sep 10:58
Compare
Choose a tag to compare
  • 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 to SYSTEM_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)

29 Aug 13:04
13a4879
Compare
Choose a tag to compare
  • Feature: Allow patch_user in conandata.yml definition for user patches, not handled by apply_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 to python_requires so conan list --graph can list python_requires too. (#14529)
  • Feature: Add rrev, rrev_timestamp and prev_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 for CMake.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 where CC or CXX are defined and pointing to the cl 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 the test_package folder. (#14347). Docs: πŸ“ƒ
  • Feature: Provide new default_build_options attribute for defining options for tool_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 in conan create for python-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 if tools.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 when python_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 to stderr. (#14444)
  • Fix: Serialize conf_info in --format=json output. (#14442)
  • Fix: MSBuildToolchain/MSBuildDeps: Avoid passing C/C++ compiler options as options for ResourceCompile. (#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 to test_requires. (#14340). Docs: πŸ“ƒ
  • Fix: Invoke XCRun using conanfile.run() so that environment is injected. (#14326)
  • Fix: Use abspath for conan config install to avoid symlinks issues. (#14183)
  • Bugfix: Solve build_id() issues, when multiple different package_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 for tool_requires of packages already in the "build" context. (#14441)
  • Bugfix: Avoid DB is locked error when core.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)

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)