Skip to content

2.1.0 (15-Feb-2024)

Compare
Choose a tag to compare
@czoido czoido released this 15 Feb 17:59
  • Feature: Implement multi-config tools.build:xxxx flags in CMakeToolchain. (#15654)
  • Feature: Add ability to pass patterns to --update flag. (#15652). Docs: πŸ“ƒ
  • Feature: Add --format=json formatter to conan build. (#15651)
  • Feature: Added tools.build.cross_building:cross_build to decide whether cross-building or not regardless of the internal Conan mechanism. (#15616)
  • Feature: Add --format=json option to conan cache path. (#15613)
  • Feature: Add the --order-by argument for conan graph build-order. (#15602). Docs: πŸ“ƒ
  • Feature: Provide a new graph build-order --reduce argument to reduce the order exclusively to packages that need to be built from source. (#15573). Docs: πŸ“ƒ
  • Feature: Add configuration to specify desired CUDA Toolkit in CMakeToolchain for Visual Studio CMake generators. (#15572). Docs: πŸ“ƒ
  • Feature: New "important" options values definition, with higher precedence over regular option value definitions. (#15571). Docs: πŸ“ƒ
  • Feature: Display message when calling deactivate_conanvcvars. (#15557)
  • Feature: Add self.info information of package_id to serialized output in the graph, and forward it to package-lists. (#15553). Docs: πŸ“ƒ
  • Feature: Log Git tool commands when running in verbose mode. (#15514)
  • Feature: Add verbose debug information (with -vvv) for conan.tools.files.copy() calls. (#15513)
  • Feature: Define python_requires = "tested_reference_str" for explicit test_package of python_requires. (#15485). Docs: πŸ“ƒ
  • Feature: Adding CMakeToolchain.presets_build/run_environment to modify CMakePresets environment in generate() method. (#15470). Docs: πŸ“ƒ
  • Feature: Add --allowed-packges to remotes to limit what references a remote can supply. (#15464). Docs: πŸ“ƒ
  • Feature: Initial documentation to make RemotesAPI publicly available (experimental). (#15462)
  • Feature: Add support for use of vcvars env variables when calling from powershell. (#15461). Docs: πŸ“ƒ
  • Feature: New Git(..., excluded=[]) feature to avoid "dirty" errors in Git helper. (#15457). Docs: πŸ“ƒ
  • Feature: New core.scm:excluded feature to avoid "dirty" errors in Git helper and revision_mode = "scm". (#15457). Docs: πŸ“ƒ
  • Feature: Recipe python_package_id_mode for python_requires recipes, to define per-recipe effect on consumers package_id. (#15453). Docs: πŸ“ƒ
  • Feature: Add cmakeExecutable to configure preset. (#15447). Docs: πŸ“ƒ
  • Feature: Add new --core-conf command line argument to allow passing core. confs via CLI. (#15441). Docs: πŸ“ƒ
  • Feature: Add detect_api.detect_msvc_update(version) helper to detect_api. (#15435). Docs: πŸ“ƒ
  • Feature: CMakeToolchain defines jobs in generated CMakePresets.json buildPresets. (#15422)
  • Feature: Allow nested "ANY" definitions in settings.yml. (#15415). Docs: πŸ“ƒ
  • Feature: Helpers Git().coordinates_to_conandata() and Git().checkout_from_conandata_coordinates() to simplify scm based flows. (#15377)
  • Feature: AutotoolsToolchain automatically inject -FS for VS. (#15375)
  • Feature: New conan upload core.upload:parallel for faster parallel uploads. (#15360). Docs: πŸ“ƒ
  • Feature: Intel oneAPI compiler detection improvement. (#15358)
  • Feature: Display progress for long conan list commands. (#15354)
  • Feature: Add extension_properties attribute to pass information to extensions from recipes. (#15348). Docs: πŸ“ƒ
  • Feature: Implement compatibility_cppstd in extension_properties for the compatibility.py plugin to disable fallback to other cppstd for the recipe. (#15348). Docs: πŸ“ƒ
  • Feature: Add Git.get_commit(..., repository=True) to obtain the repository commit, not the folder commit. (#15304)
  • Feature: Ensure --build=editable and --build=cascade works together. (#15300). Docs: πŸ“ƒ
  • Feature: New conan graph build-order --order=configuration to output a different order, sorted by package binaries/configurations, not grouped by recipe revisions. (#15270). Docs: πŸ“ƒ
  • Feature: Allow copy&paste of recipe revisions with timestamps from --format=compact into conan lock add. (#15262). Docs: πŸ“ƒ
  • Fix: Guarantee order of generators attribute execution. (#15678)
  • Fix: Solve issue with [platform_tool_requires] in the build profile and context. Discard [platform_requires] in build profile. (#15665)
  • Fix: Fix gcc detection in conda environments. (#15664)
  • Fix: Improve handling of .dirty download files when uploading backup sources. (#15601)
  • Fix: Fix relativize paths in generated files. (#15592)
  • Fix: Allow None values for CMakeToolchain.preprocessor_definitions that will map to definitions without values. (#15545). Docs: πŸ“ƒ
  • Fix: Fix graph build-order --order=configuration text format output. (#15538)
  • Fix: Raise a helpful error when the remote is not reachable in case the user wants to work in offline mode. (#15516)
  • Fix: Avoid missing file stacktrace when no metadata exists for a source backup. (#15501)
  • Fix: Remove --lockfile-packages argument, it was not documented as it is was not intended for public usage. (#15499). Docs: πŸ“ƒ
  • Fix: Raise if check_type=int and conf value is set to bool. (#15378)
  • Fix: Add pkg-config entry to machine file generated by MesonToolchain, due to pkgconfig entry being deprecated since Meson 1.3.0. (#15369)
  • Fix: Fix graph explain not showing some differences in requirements if missing. (#15355)
  • Fix: Fix tools.info.package_id:confs when pattern did not match any defined conf. (#15353)
  • Fix: Fix upload_policy=skip with --build=missing issues. (#15336)
  • Fix: Accept conan download/upload --list=.. --only-recipe to download only the recipes. (#15312)
  • Fix: Allow cmake.build(build_type="Release") for recipes built with multi-config systems but without build_type setting. (#14780)
  • Bugfix: Fix MSBuildDeps with components and skipped dependencies. (#15626)
  • Bugfix: Avoid provides raising an error for packages that self tool_requires to themselves to cross-build. (#15575)
  • Bugfix: Fix build scope OS detection in tools.microsoft.visual.VCVars. (#15568)
  • Bugfix: Fix wrong propagation over visible=False when dependency is header-only. (#15564)
  • Bugfix: Store the temporary cache folders inside core.cache:storage_path, so conan cache clean also finds and clean them correctly. (#15505)
  • Bugfix: The conan export-pkg --format=json output now returns recipe = "cache" status, as the recipe is in the cache after the command. (#15504)
  • Bugfix: The conan export-pkg command stores the lockfile excluding the test_package, following the same behavior as conan create. (#15504)
  • Bugfix: Avoid conan test failing for python_requires test-package. (#15485). Docs: πŸ“ƒ
  • Bugfix: MesonToolchain calculates a valid apple_min_version_flag. (#15465)
  • Bugfix: Allow to limit os, compiler and other settings with subsettings in build_id() and package_id() methods. (#15439)
  • Bugfix: Fix getting environment variable CONAN_LOGIN_USERNAME_REMOTE. (#15388)
  • Bugfix: Don't take . folder into consideration for tools.files.copy() excludes patterns. (#15349)
  • Bugfix: Disable creating editables without name and version. (#15337)
  • Bugfix: Fix Git.get_url_and_commit raising for some Git configs. (#15271)
  • Bugfix: Direct dependencies in the "host" context of packages being built shouldn't be skipped. This allows for non C/C++ libraries artifacts, like images, in the "host" context, to be used as build-time resources. (#15128)