Conan

Latest version: v2.9.3

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 49

2.9.3

- Bugfix: Fixing ``is_test`` computation affecting to components checks. (https://github.com/conan-io/conan/pull/17338)

2.9.2

- Feature: Use center2.conan.io as new default remote and warn about having the old one. (https://github.com/conan-io/conan/pull/17284). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3893)
- Bugfix: Fix ROSEnv quotes for CMAKE_TOOLCHAIN_FILE variable. (https://github.com/conan-io/conan/pull/17270)

2.9.1

- Bugfix: Fix `deduce_subsystem` when `scope=None` assuming the scope is `build`. (https://github.com/conan-io/conan/pull/17251)
- Bugfix: Fixed false positives of ``profile.py`` plugin checks over c++26 for latest compiler versions (https://github.com/conan-io/conan/pull/17250)

2.9.0

- Feature: Add missing major OS/compiler version support in `settings.yml`. (https://github.com/conan-io/conan/pull/17240). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3889)
- Feature: ``conan new`` learned defaults ``-d name=mypkg -d version=0.1`` for simpler UX. (https://github.com/conan-io/conan/pull/17186). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3882)
- Feature: Warn when patching files and the recipe has `no_copy_source = True`, which could lead to unforseen issues (https://github.com/conan-io/conan/pull/17162)
- Feature: Add `self.generator_info` for `tool_requires` to propagate generators to their direct dependencies. (https://github.com/conan-io/conan/pull/17129). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3880)
- Feature: Add support for including paths that are ignored in `.conanignore`. (https://github.com/conan-io/conan/pull/17123). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3879)
- Feature: New ``tools.graph:skip_build`` conf to be able to skip the expansion of ``tool_requires``. (https://github.com/conan-io/conan/pull/17117). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3883)
- Feature: New ``tools.graph:skip_test`` conf to be able to skip the expansion of ``test_requires``. (https://github.com/conan-io/conan/pull/17117). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3883)
- Feature: Add ROSEnv generator integration for ROS2 (Robot Operating System). (https://github.com/conan-io/conan/pull/17110)
- Feature: Add profile arguments information to ``conan graph build-order`` to improve UX and usage in CI systems. (https://github.com/conan-io/conan/pull/17102). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3884)
- Feature: Add C++26 support for `gcc`, `clang`, and `apple-clang`. (https://github.com/conan-io/conan/pull/17092). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3878)
- Feature: Add Configuration and Platform keys for MSBuildDeps property sheets. (https://github.com/conan-io/conan/pull/17076). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3888)
- 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. (https://github.com/conan-io/conan/pull/16964)
- Feature: Use ``cpp_info.languages``, that default to the recipe ``languages`` to propagate "link-language" requirements to consumers of the packages. (https://github.com/conan-io/conan/pull/16964)
- Feature: Define ``cpp_info.default_components`` for the new ``CMakeDeps`` generator only. (https://github.com/conan-io/conan/pull/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``. (https://github.com/conan-io/conan/pull/16964)
- Fix: Use a valid prefix path for `meson.configure()` on Windows, to avoid failures in Python 3.13. (https://github.com/conan-io/conan/pull/17206)
- Fix: Allow `cmake_target_aliases` to be set in CMakeDeps. (https://github.com/conan-io/conan/pull/17200). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3875)
- Fix: Adding the startup options to each Bazel command. (https://github.com/conan-io/conan/pull/17183)
- Fix: Add remote name to login prompt. (https://github.com/conan-io/conan/pull/17178)
- Fix: Get credentials and re-authenticate when an expired token gives AuthenticationException. (https://github.com/conan-io/conan/pull/17127)
- Fix: Moved exceptions from the legacy ``from conans.error`` to documented ``from conan.error``. (https://github.com/conan-io/conan/pull/17126). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3864)
- 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). (https://github.com/conan-io/conan/pull/17103)
- Fix: Properly deduce RuntimeLibrary from profile in MSBuildToolchain. (https://github.com/conan-io/conan/pull/17100)
- Fix: Set C++20 flag to `{gnu}c++20` for `gcc` >= 10 instead of `c++2a` until `gcc` 12. (https://github.com/conan-io/conan/pull/17092). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3878)
- Fix: Set C++23 flag to `{gnu}c++23` for `gcc` >= 11 instead of `c++2b`. (https://github.com/conan-io/conan/pull/17092). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3878)
- 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. (https://github.com/conan-io/conan/pull/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). (https://github.com/conan-io/conan/pull/16875). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3886)
- Fix: Quote `build_args` in `conan graph build-order -f=json` to avoid issues with options with spaces. (https://github.com/conan-io/conan/pull/16594)
- Bugfix: Improved `bazeldeps._get_libs()` mechanism. (https://github.com/conan-io/conan/pull/17233)
- Bugfix: Improve cstd check for different compiler versions at profile load time. (https://github.com/conan-io/conan/pull/17157)
- Bugfix: Fix cppstd/cstd `variable_watch` when they are not defined. (https://github.com/conan-io/conan/pull/17156)
- Bugfix: Fix cstd error reporting when a recipe does not support the required version. (https://github.com/conan-io/conan/pull/17156)
- Bugfix: Drop the username permission validation bypass in ``conan_server``, it could be a potential security issue. (https://github.com/conan-io/conan/pull/17132)
- Bugfix: Listing recipes with equal versions under semver rules but different representation (ie `1.0` & `1.0.0`) now returns both references. (https://github.com/conan-io/conan/pull/17121)
- Bugfix: Conan Server: Do not return duplicated references for each revision of the same recipe reference when searching them. (https://github.com/conan-io/conan/pull/17121)
- Bugfix: Empty version range results in empty condition set. (https://github.com/conan-io/conan/pull/17116)
- Bugfix: Adding the ` do not sort` comment to `deps` section. Regression since Conan 1.61. (https://github.com/conan-io/conan/pull/17109)
- Bugfix: Restore ConanOutput global state when using `Commands` API. (https://github.com/conan-io/conan/pull/17095)
- Bugfix: `build_args` options in `graph build-order` now respect the context of the reference. (https://github.com/conan-io/conan/pull/16594)

2.8.1

Not secure
- Bugfix: Avoid raising an error for required components for ``test_requires`` also required as transitive ``requires``. (https://github.com/conan-io/conan/pull/17174)

2.8.0

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

Page 1 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.