Skip to content

Releases: conan-io/conan

2.10.2 (10-Dec-2024)

10 Dec 13:19
2.10.2
Compare
Choose a tag to compare
  • Fix: Solve performance issue in large graphs computing the "skip" binaries. (#17436)

2.10.1 (04-Dec-2024)

04 Dec 14:33
2.10.1
26caf37
Compare
Choose a tag to compare
  • Bugfix: Fix [replace_requires] for replacements of same reference name. (#17409)

2.10.0 (03-Dec-2024)

03 Dec 13:01
2.10.0
Compare
Choose a tag to compare
  • Feature: Add --force option to conan remote auth to force authentication even for remotes that have anonymous access enabled. (#17377). Docs: πŸ“ƒ
  • Feature: Add --output option to conan new command. (#17359)
  • Feature: Let the new CMakeDeps always define components and check them with find_package( COMPONENTS), listening to new property cmake_components. (#17302)
  • Feature: Allow tools.microsoft.msbuild:max_cpu_count=0 to use /m to use all available cores. (#17301). Docs: πŸ“ƒ
  • Feature: define * as default argument if no args specified for conan list. (#17300). Docs: πŸ“ƒ
  • Feature: Improved auto deduce location function. (#17296)
  • Feature: BazelDeps using the new deduce_location mechanism to find the libraries. (#17296)
  • Feature: Initial conan workspace initial proposal to manage local set of editables. Introduced only as a dev/maintainers feature, behind an environment variable. (#17272). Docs: πŸ“ƒ
  • Feature: Allow --settings in conan config install-pkg to create and install different configurations in different platforms. (#17217). Docs: πŸ“ƒ
  • Feature: Add network to configfile for Docker runners. (#17069). Docs: πŸ“ƒ
  • Fix: Fix help message for PowerShell conf. (#17389). Docs: πŸ“ƒ
  • Fix: Fixed an error that occurred when using conan.tools.scm.Git.fetch_commit() in a subfolder. (#17369)
  • Fix: Adding a "risk" warning for options conflicts, so users can do warn-as-error to raise when they happen. (#17366)
  • Fix: New CMakeDeps generator allow fooConfig.cmake for in-package files besides foo-config.cmake. (#17330)
  • Fix: Add a warning for editable dependencies when building in the cache. (#17325)
  • Fix: Raise ConanException if source patch does not exist in export_conandata_patches. (#17294)
  • Fix: Improve the UX for CONAN_LOG_LEVEL env-var incorrect values. (#17280)
  • Fix: Meson aligns with other build systems considering x86_64->x86 as cross building. (#17266)
  • Fix: Avoid colorama bug crashing for large outputs. (#17259)
  • Fix: Fix arch for docker runner tests. (#17069). Docs: πŸ“ƒ
  • Bugfix: Add correct flags when compiler=clang and compiler_executables={"c": "clang-cl"} to not inject incorrect flags when cross-building from Linux to Windows. (#17387)
  • Bugfix: Solve Choco().check() bug using legacy choco search --local-only, replaced by choco list. (#17382)
  • Bugfix: Fix adding tools.android:ndk_path with spaces in path. (#17379)
  • BugFix: Fix Premake integration. (#17350). Docs: πŸ“ƒ
  • Bugfix: Solve problem with misdetection of consumer packages for the & pattern. (#17346)
  • Bugfix: Fix conan graph info ... -f=html in Safari. (#17335)
  • Bugfix: Allow multiple [replace_requires] by the same dependency. (#17326)
  • Bugfix: BazelDeps failed to find OpenSSL shared libraries. (#17296)
  • Bugfix: Solve bug in CMake not using the correct value from tools.microsoft.msbuild:max_cpu_count. (#17292)
  • Bugfix: Fix cpp_info properties overwriting instead of merging for properties with list values. Necessary for cmake_build_modules to work in editable mode. (#17214)

1.66.0 (02-Dec-2024)

02 Dec 17:38
Compare
Choose a tag to compare
  • Feature: Conan 1.x: Add apple-clang 16 to settings (#16980). Docs: πŸ“ƒ
  • Bugfix: Fix LLVM/Clang enablement of vcvars for latest v14.4 toolset version after VS 17.10 update (#16932). Docs: πŸ“ƒ
  • Bugfix: Automatically generated compatible packages are wrong in case of custom package_id(). (#16772)

2.9.3 (21-Nov-2024)

21 Nov 10:16
2.9.3
d5570c0
Compare
Choose a tag to compare
  • Bugfix: Fixing is_test computation affecting to components checks. (#17338)

2.9.2 (07-Nov-2024)

07 Nov 11:46
2.9.2
6e3d908
Compare
Choose a tag to compare
  • Feature: Use center2.conan.io as new default remote and warn about having the old one. (#17284). Docs: πŸ“ƒ
  • Bugfix: Fix ROSEnv quotes for CMAKE_TOOLCHAIN_FILE variable. (#17270)

2.9.1 (30-Oct-2024)

30 Oct 12:44
2.9.1
b36b2ec
Compare
Choose a tag to compare
  • Bugfix: Fix deduce_subsystem when scope=None assuming the scope is build. (#17251)
  • Bugfix: Fixed false positives of profile.py plugin checks over c++26 for latest compiler versions (#17250)

2.9.0 (29-Oct-2024)

29 Oct 16:22
2.9.0
Compare
Choose a tag to compare
  • Feature: Add missing major OS/compiler version support in settings.yml. (#17240). Docs: πŸ“ƒ
  • Feature: conan new learned defaults -d name=mypkg -d version=0.1 for simpler UX. (#17186). Docs: πŸ“ƒ
  • Feature: Warn when patching files and the recipe has no_copy_source = True, which could lead to unforseen issues (#17162)
  • Feature: Add self.generator_info for tool_requires to propagate generators to their direct dependencies. (#17129). Docs: πŸ“ƒ
  • Feature: Add support for including paths that are ignored in .conanignore. (#17123). Docs: πŸ“ƒ
  • Feature: New tools.graph:skip_build conf to be able to skip the expansion of tool_requires. (#17117). Docs: πŸ“ƒ
  • Feature: New tools.graph:skip_test conf to be able to skip the expansion of test_requires. (#17117). Docs: πŸ“ƒ
  • Feature: Add ROSEnv generator integration for ROS2 (Robot Operating System). (#17110)
  • Feature: Add profile arguments information to conan graph build-order to improve UX and usage in CI systems. (#17102). Docs: πŸ“ƒ
  • Feature: Add C++26 support for gcc, clang, and apple-clang. (#17092). Docs: πŸ“ƒ
  • Feature: Add Configuration and Platform keys for MSBuildDeps property sheets. (#17076). Docs: πŸ“ƒ
  • Feature: New CMakeDeps generator activated by tools.cmake.cmakedeps:new conf with value will_break_next for evaluation. This new generator deduces or use cpp_info.location/link_location to define STATIC; SHARED, INTERFACE imported targets. It will also define the IMPORTED_LOCATION, the IMPORTED_CONFIGURATION, etc. (#16964)
  • Feature: Use cpp_info.languages, that default to the recipe languages to propagate "link-language" requirements to consumers of the packages. (#16964)
  • Feature: Define cpp_info.default_components for the new CMakeDeps generator only. (#16964)
  • Feature: Model cpp_info.exes field for executable applications, used only by the new CMakeDeps generator, that generate IMPORTED executable targets in CMakeDeps for cpp_info.exes. (#16964)
  • Fix: Use a valid prefix path for meson.configure() on Windows, to avoid failures in Python 3.13. (#17206)
  • Fix: Allow cmake_target_aliases to be set in CMakeDeps. (#17200). Docs: πŸ“ƒ
  • Fix: Adding the startup options to each Bazel command. (#17183)
  • Fix: Add remote name to login prompt. (#17178)
  • Fix: Get credentials and re-authenticate when an expired token gives AuthenticationException. (#17127)
  • Fix: Moved exceptions from the legacy from conans.error to documented from conan.error. (#17126). Docs: πŸ“ƒ
  • Fix: Pacman as package manager shouldn't be used for tools.microsoft.bash:subsystem=msys2, but when the target platform is actually msys2 os.subsystem=msys2 (as a setting). (#17103)
  • Fix: Properly deduce RuntimeLibrary from profile in MSBuildToolchain. (#17100)
  • Fix: Set C++20 flag to {gnu}c++20 for gcc >= 10 instead of c++2a until gcc 12. (#17092). Docs: πŸ“ƒ
  • Fix: Set C++23 flag to {gnu}c++23 for gcc >= 11 instead of c++2b. (#17092). Docs: πŸ“ƒ
  • Fix: Avoid repeated login attempts to the server for 401 when the credentials come from env-vars or credentials.json file, only repeated login attempts for user interactive prompt. (#17083)
  • Fix: Align CMakeToolchain and AutotoolsToolchain to automatically define cl compiler for compiler=msvc if not defined (only when necessary, as when using Ninja generator in CMake). (#16875). Docs: πŸ“ƒ
  • Fix: Quote build_args in conan graph build-order -f=json to avoid issues with options with spaces. (#16594)
  • Bugfix: Improved bazeldeps._get_libs() mechanism. (#17233)
  • Bugfix: Improve cstd check for different compiler versions at profile load time. (#17157)
  • Bugfix: Fix cppstd/cstd variable_watch when they are not defined. (#17156)
  • Bugfix: Fix cstd error reporting when a recipe does not support the required version. (#17156)
  • Bugfix: Drop the username permission validation bypass in conan_server, it could be a potential security issue. (#17132)
  • Bugfix: Listing recipes with equal versions under semver rules but different representation (ie 1.0 & 1.0.0) now returns both references. (#17121)
  • Bugfix: Conan Server: Do not return duplicated references for each revision of the same recipe reference when searching them. (#17121)
  • Bugfix: Empty version range results in empty condition set. (#17116)
  • Bugfix: Adding the # do not sort comment to deps section. Regression since Conan 1.61. (#17109)
  • Bugfix: Restore ConanOutput global state when using Commands API. (#17095)
  • Bugfix: build_args options in graph build-order now respect the context of the reference. (#16594)

2.8.1 (17-Oct-2024)

17 Oct 09:37
2.8.1
Compare
Choose a tag to compare
  • Bugfix: Avoid raising an error for required components for test_requires also required as transitive requires. (#17174)

2.8.0 (30-Sep-2024)

30 Sep 14:49
2.8.0
Compare
Choose a tag to compare
  • Feature: Add support for iOS 18, watchOS 11, tvOS 18, visionOS 2 & macos 15. (#17012). Docs: πŸ“ƒ
  • Feature: Add Clang 19 support. (#17010). Docs: πŸ“ƒ
  • Feature: conan config list <pattern> to filter available configurations. (#17000). Docs: πŸ“ƒ
  • Feature: New auth_remote.py plugin for custom user authentication to Conan remotes. (#16942). Docs: πŸ“ƒ
  • Feature: New auth_source.py plugin for custom user authentication for generic downloads of sources. (#16942). Docs: πŸ“ƒ
  • Feature: Add --envs-generation={false} to conan install and conan build to disable the generation of virtualenvs (conanbuildenv.sh|bat and conanrunenv.sh|bat). (#16935). Docs: πŸ“ƒ
  • Feature: New tools.files.unzip:filter conf that allows to define data, tar and fully_trusted extraction policies for tgz files. (#16918). Docs: πŸ“ƒ
  • Feature: get() and unzip() tools for source() learned a new extract_filter argument to define data, tar and fully_trusted extraction policies for tgz files. (#16918). Docs: πŸ“ƒ
  • Feature: Add progress updates for large uploads (>100Mbs) every 10 seconds. (#16913)
  • Feature: Implement conan config install-pkg --url=<repo-url> for initial definition of remote URL when no remotes are defined yet. (#16876). Docs: πŸ“ƒ
  • Feature: Allow building a compatible package still of the current profile one. (#16871)
  • Feature: Allow bootstrapping (depending on another variant of yourself), even for the same version. (#16870)
  • Feature: Allow [replace_requires] to replace the package name and self.dependencies still works with the old name. (#16443)
  • Fix: Let CMakeToolchain defining CMAKE_SYSTEM_XXX even if user_toolchain is defined, but protected in case the toolchain really defines them. (#17036). Docs: πŸ“ƒ
  • Fix: Replace | character in generated CMake and Environment files. (#17024)
  • Fix: Redirect the PkgConfig stderr to the exception raised. (#17020)
  • Fix: Use always forward slashes in Windows subsystems bash path. (#16997)
  • Fix: Better error messages when conan list --graph=<graph-json-file> file has issues. (#16936)
  • Bugfix: PkgConfigDeps.set_property() was not setting properly all the available properties. (#17051)
  • Bugfix: BazelDeps did not find DLL files as Conan does not model them in the Windows platform. (#17045)
  • Bugfix: Do not skip dependencies of a package if it is not going to be skipped due to tools.graph:skip_binaries=False. (#17033)
  • Bugfix: Allow requires(..., package_id_mode) trait in case of diamonds to always use the recipe defined one irrespective of requires() order. (#16987)
  • Bugfix: Propagate include_prerelease flag to intersection of VersionRange. (#16986)
  • Bugfix: Raise error if invalid value passed to conf.get(check_type=bool). (#16976)
  • Bugfix: Allow remote_login accept patterns. (#16942). Docs: πŸ“ƒ