github conan-io/conan 2.9.0
2.9.0 (29-Oct-2024)

13 hours ago
  • 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.generators_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)

Don't miss a new conan release

NewReleases is sending notifications on new releases.