Skip to content

Releases: conan-io/conan

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.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)

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: 📃

2.7.1 (11-Sep-2024)

11 Sep 10:32
2.7.1
7244cb7
Compare
Choose a tag to compare
  • Feature: Add support apple-clang 16. (#16972)
  • Fix: Add test for #19960. (#16974)
  • Bugfix: Revert "Define compiler variables in CMakePresets.json" commit 60df72c. (#16971)

2.7.0 (28-Aug-2024)

28 Aug 16:45
2.7.0
Compare
Choose a tag to compare
  • Feature: Added Git.is_dirty(repository=False) new argument (#16892)
  • Feature: Add variable_watch for CMAKE_{C,CXX}_STANDARD in conan_toolchain.cmake. (#16879)
  • Feature: Add check_type to get_property for CMakeDeps. (#16854). Docs: 📃
  • Feature: Propagate run trait requirement information in the "build" context downstream when visible trait is True. (#16849). Docs: 📃
  • Feature: Add check_type on components get_property. (#16848). Docs: 📃
  • Feature: Add set_property for PkgConfigDeps to set properties for requirements from consumer recipes. (#16789)
  • Feature: Define CMAKE_<LANG>_COMPILER variables in CMakePresets.json. (#16762)
  • Feature: Add support for gcc 14.2. (#16760)
  • Feature: Rework QbsProfile to support Conan 2. (#16742)
  • Feature: Add finalize() method for local cache final adjustments of packages. (#16646). Docs: 📃
  • Feature: Add tricore compiler architecture support. (#16317). Docs: 📃
  • Feature: Describe here your pull request (#16317). Docs: 📃
  • Fix: Propagate repository argument from Git.get_url_and_commit(repository=True) to Git.is_dirty(). (#16892)
  • Fix: Improve error when accessing cpp_info shorthand methods. (#16847)
  • Fix: Improve error message when a lockfile fails to lock a requirement, specifying its type. (#16841)
  • Fix: Update patch-ng 1.18.0 to avoid SyntaxWarning spam. (#16766)
  • Bugfix: Avoid CMakeToolchain error when both architecture flags and tools.build:linker_scripts are defined, due to missing space. (#16883)
  • Bugfix: When using Visual Studio's llvm-clang, set the correct Platform Toolset in MSBuildToolchain. (#16844)
  • Bugfix: Fix export_sources for non-existent recipes in a local recipes index. (#16776)

1.65.0 (12-Aug-2024)

12 Aug 14:56
49bf86e
Compare
Choose a tag to compare
  • Feature: Add gcc 14 to default settings.yml. (#16815)
  • Feature: Add possibility to enforce return value of cross_building via conf. (#16728)
  • Bugfix: Fixed msvc / Visual Studio package compatibility in case cppstd is used in profiles (#16732)
  • Bugfix: Fix corruption of package_id computation with dependencies options when using lockfiles. (#16509)

2.6.0 (01-Aug-2024)

01 Aug 05:57
2.6.0
Compare
Choose a tag to compare
  • Feature: Add build_folder_vars=["const.myvalue"] to create presets for user "myvalue" arbitrary values. (#16633). Docs: 📃
  • Feature: Added outputRootDir as an optional definition in Bazel new templates. (#16620)
  • Feature: MakeDeps generator generates make variables for dependencies and their components. (#16613). Docs: 📃
  • Feature: Add html output for graph build-order and graph build-order-merge (#16611). Docs: 📃
  • Feature: Introduce core.scm:local_url=allow|block to control local folder URLs in conandata scm. (#16597). Docs: 📃
  • Feature: Added XXX_FOR_BUILD flags and Android extra ones to extra_env attribute in GnuToolchain. (#16596)
  • Feature: Support python_requires in local-recipes-index. (#16420). Docs: 📃
  • Fix: Avoid runtime_deployer to deploy dependencies with run=False trait. (#16724)
  • Fix: Improve error message when passing a --deployer-folder=xxx argument of an incorrect folder. (#16723)
  • Fix: Change requirements.txt so it install distro package in FreeBSD too. (#16700)
  • Fix: Better error messages when loading an inexistent or broken "package list" file. (#16685)
  • Fix: Remove unsupported ld and ar entries from tools.build:compiler_executables, they had no effect in every Conan integration. (#16647)
  • Fix: Ensure direct tool requires conflicts are properly reported instead of hanging. (#16619)
  • Fix: Update docker dependency version for the runners feature (#16610)
  • Fix: Raise an error when trying to upload a package with a local folder URL in conandata scm. (#16597). Docs: 📃
  • Bugfix: Fix profile include() with per-package [settings] with partial definition. (#16720)
  • Bugfix: The MakeDeps generator was missing some aggregated variables when packages have components. (#16715)
  • Bugfix: Avoid settings.update_values() failing when deducing compatibility. (#16642)
  • Bugfix: Fix handling of tools.build:defines for Ninja Multi-Config CMake. (#16637)
  • Bugfix: Make conan graph a real "install" dry-run. Return same errors and give same messages (#16415)

2.5.0 (03-Jul-2024)

03 Jul 15:57
150417e
Compare
Choose a tag to compare
  • Feature: New tools.cmake.cmaketoolchain:enabled_blocks configuration to define which blocks of CMakeToolchain should be active or not. (#16563). Docs: 📃
  • Feature: Allow --filter-options in conan list to use &: scope to refer to all packages being listed. (#16559)
  • Feature: Highlight missing or invalid requirements while computing dependency graph. (#16520)
  • Feature: New conan lock update subcommand to remove + add a reference in the same command. (#16511). Docs: 📃
  • Feature: Add support for GCC 12.4. (#16506). Docs: 📃
  • Feature: Honoring tools.android:ndk_path conf. Setting the needed flags to cross-build for Android. (#16502). Docs: 📃
  • Feature: Add os.ndk_version for Android. (#16494). Docs: 📃
  • Feature: Qbs helper now invokes Conan provider automatically. (#16486)
  • Feature: Added force option to tools.cmake.cmaketoolchain:extra_variables. (#16481). Docs: 📃
  • Feature: Raising a ConanException if any section is duplicated in the same Conan profile file. (#16454)
  • Feature: Added resolve() method to the Qbs toolchain. (#16449)
  • Feature: Make MSBuildDeps generation with deployer relocatable. (#16441)
  • Feature: Add QbsDeps class to be used with Qbs Conan module provider. (#16334)
  • Feature: Add built in runtime_deploy deployer. (#15382). Docs: 📃
  • Fix: Fix provides conflict error message not showing conflicting provides when a named reference matches a provider. (#16562)
  • Fix: Set correct testpaths for pytest. (#16530)
  • Fix: Allow .conanrc file in the root of a filesystem. (#16514)
  • Fix: Add support for non default docker hosts in conan runners (#16477)
  • Fix: Don't fail when we can't overwrite the summary file in the backup upload. (#16452)
  • Fix: Make source_credentials.json do not apply to Conan server repos protocol. (#16425). Docs: 📃
  • Fix: Allow packages to have empty folders. (#16424)
  • Bugfix: Fix detect_msvc_compiler() from detect_api to properly detect VS 17.10 with compiler.version=194. (#16581)
  • Bugfix: Fix unexpected error when a recipe performs package_id() info erasure and is used as a compatibility candidate. (#16575)
  • Bugfix: Ensure msvc cppstd compatibility fallback does not ignore 194 binaries. (#16573)
  • Bugfix: XXXDeps generators did not include an absolute path in their generated files if --deployer-folder=xxxx param was used. (#16552)
  • Bugfix: Fix conan list ... --format=compact for package revisions. (#16490)
  • Bugfix: Fix XcodeToolchain when only defines are set. (#16429)