Conan

Latest version: v2.9.3

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

Scan your dependencies

Page 15 of 49

1.46.2

Not secure
- Bugfix: Fix deprecated imports checker line number. (https://github.com/conan-io/conan/pull/10822)
- Bugfix: Specifying compiler.version=13 for apple-clang raised a CMake error when using the old cmake generator. (https://github.com/conan-io/conan/pull/10820)

1.46.1

Not secure
- Feature: Added a checker for Conan 2.x deprecated from conans imports in pylint_plugin. (https://github.com/conan-io/conan/pull/10811)
- Feature: Add apple-clang 13 major version to settings. (https://github.com/conan-io/conan/pull/10807)
- Feature: Make apple-clang 13 version package-id compatible with 13.0. (https://github.com/conan-io/conan/pull/10807)
- Feature: Autodetect only major version for apple-clang profile starting in version 13. (https://github.com/conan-io/conan/pull/10807)
- Feature: Add clang 15 version to settings. (https://github.com/conan-io/conan/pull/10807)
- Bugfix: Fix call to undefined function for markdown generator when components add system_libs. (https://github.com/conan-io/conan/pull/10810)

1.46.0

Not secure
- Feature: Configuration field `tools.cmake.cmaketoolchain:user_toolchain` defined as list-like object (https://github.com/conan-io/conan/pull/10729). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2427)
- Feature: Prepare Conan for search remote repos with mix of 1.X and 2.0 binaries. Conan 1.X will not list binaries (``conan search <ref>``) stored in remote repos that were created with Conan 2.0. (https://github.com/conan-io/conan/pull/10692)
- Feature: Adding jinja rendering of global.conf config file. (https://github.com/conan-io/conan/pull/10687). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2427)
- Feature: Improve markdown generator instructions. (https://github.com/conan-io/conan/pull/10673). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2423)
- Feature: The `CMakeToolchain` and `AutotoolsToolchain` take into account the `cpp.package` info to set the output directories for libraries, executables, and so on when running `cmake.install` or `make install`. (https://github.com/conan-io/conan/pull/10672). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2425)
- Feature: Added `basic_layout`, removed `meson_layout` and added argument `src_folder` to `cmake_layout`as a shortcut for adjusting `conanfile.folders.source`. (https://github.com/conan-io/conan/pull/10659). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2426)
- Feature: Adding ``self.base_source_folder`` for ``exports_sources`` explicit layouts. (https://github.com/conan-io/conan/pull/10654). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2418)
- Feature: Adding ``root`` to layout model to allow conanfile.py in subfolders. (https://github.com/conan-io/conan/pull/10654). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2418)
- Feature: Added new property `component_version` for `PkgConfigDeps` and legacy `PkgConfig`. (https://github.com/conan-io/conan/pull/10633). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2433)
- Feature: Changed `.pc` file description field for components in `PkgConfigDeps`. (https://github.com/conan-io/conan/pull/10633). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2433)
- Feature: Add `sdk_version` setting for `Macos`, `iOS`, `watchOS` and `tvOS`. (https://github.com/conan-io/conan/pull/10608). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2431)
- Feature: Add new `XcodeBuild` build helper. (https://github.com/conan-io/conan/pull/10608). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2431)
- Feature: Add new `XcodeToolchain` helper. (https://github.com/conan-io/conan/pull/10608). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2431)
- Feature: Add ``compiler.version`` 12 for GCC in settings. (https://github.com/conan-io/conan/pull/10595)
- Feature: Introduce new ``conan.tools.scm.Git`` helper, for direct use in ``export()`` method to capture git url and commit, and to be used in ``source()`` method to clone and checkout a git repo. (https://github.com/conan-io/conan/pull/10594). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2419)
- Feature: New ``from conan.tools.files import update_conandata()`` helper to add data to ``conandata.yml`` in the ``export()`` method. (https://github.com/conan-io/conan/pull/10586). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2422)
- Feature: Add CMake variables, cli arguments and native build system arguments to new ``conan.tools.cmake.CMake`` helper. (https://github.com/conan-io/conan/pull/10573). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2424)
- Feature: Adding more functionality to `ConfDefinition` and `Conf`, something similar to `ProfileEnvironment` and `Environment` ones. (https://github.com/conan-io/conan/pull/10537). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2427)
- Feature: Port `conan.tools.Version` to Conan 1.X. (https://github.com/conan-io/conan/pull/10536). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2434)
- Feature: Port `conan.tools.build.cross_building` to Conan 1.X. (https://github.com/conan-io/conan/pull/10536). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2434)
- Feature: New `copy` tool at `conan.tools.files` namespace that will replace the `self.copy` in Conan 2.0. (https://github.com/conan-io/conan/pull/10530). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2428)
- Feature: Add ``recipe_folder`` to pylint plugin. (https://github.com/conan-io/conan/pull/10527)
- Fix: Pin Markupsafe==2.0.1 for py27 and upgrade Jinja2>3 for py3, after Markupsafe latest 2.1 release broke Jinja2 2.11. (https://github.com/conan-io/conan/pull/10710)
- Fix: Fixed templates for `conan new` with `--template cmake_lib` and `--template cmake_exe` to include Conan 2.0 compatible syntax. (https://github.com/conan-io/conan/pull/10706)
- Fix: Moved new tool `cross_building` from `conan.tool.cross_building` to `conan.tool.build` to match the location in develop2. (https://github.com/conan-io/conan/pull/10706)
- Fix: Don't compose folders in Xcode generator using `dep.package_folder`, now `cpp_info.bindirs`, `cpp_info.includedirs`, etc. are absolute. (https://github.com/conan-io/conan/pull/10694)
- Fix: When the `layout()` method is declared, the `self.package_folder` in the recipe is now available even when doing a `conan install . `, pointing to the specified output folder (`-of` ) or the path of the conanfile if not specified. (https://github.com/conan-io/conan/pull/10655)
- Fix: Fix creation path of deactivate scripts. (https://github.com/conan-io/conan/pull/10653)
- Fix: Add support for `[tool_requires]` section in conanfile.txt. (https://github.com/conan-io/conan/pull/10642)
- Fix: When ``layout()`` is defined, the ``exports`` will not be considered sources anymore, but only the ``exports_sources``. The ``exports`` are used exclusively by the recipe, but not as package source. (https://github.com/conan-io/conan/pull/10625)
- Fix: Make the ``source()`` method run inside the ``self.source_folder``, in the same way ``build()`` runs in ``self.build_folder``. But only for recipes that define the ``layout()`` method, to not break unless using ``layout()``. (https://github.com/conan-io/conan/pull/10612). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2418)
- Fix: Remove the ``--source-folder`` new argument to ``install`` and ``editable``, not necessary at the moment. (https://github.com/conan-io/conan/pull/10590). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2420)
- Fix: Fix conf `True` and `False` handling in `tools.system.package_manage` helpers. (https://github.com/conan-io/conan/pull/10583)
- Fix: Change the ``CMakeToolchain`` message to use ``CMAKE_CURRENT_LIST_FILE``. (https://github.com/conan-io/conan/pull/10552)
- Fix: BazelDeps was generating invalid bazel files cause the static_library paths were absolute and not relative. (https://github.com/conan-io/conan/pull/10484)
- Fix: BazelDeps was crashing when generating packages without libs cause the context was not checking the array size. (https://github.com/conan-io/conan/pull/10484)
- Fix: Fix Premake test failing on Linux because the Premake executable isn't found. (https://github.com/conan-io/conan/pull/10250)
- Bugfix: Fix ``MesonToolchain`` extra quotes in ``cpp_std`` (https://github.com/conan-io/conan/pull/10707)
- Bugfix: Add missing ``system_libs`` management in ``AutotoolsDeps``. (https://github.com/conan-io/conan/pull/10681)
- Bugfix: `GnuDepsFlags` attributes like `frameworks` and `frameworkdirs` are only available for Apple OS. (https://github.com/conan-io/conan/pull/10675)
- Bugfix: Remove tmp folders created in Conan while checking the output of a command and detecting the compiler. (https://github.com/conan-io/conan/pull/10663)
- Bugfix: Fix ``conan_server`` circular import do to ``conan.tools`` namespace. (https://github.com/conan-io/conan/pull/10635)
- bugfix: Fix ``meson_layout()`` issue with shared folders. (https://github.com/conan-io/conan/pull/10600)
- Bugfix: Fix ``SystemPackageTool`` when ``mode=verify``, it was still installing packages. (https://github.com/conan-io/conan/pull/10596)
- Bugfix: ``self.build_folder`` not being computed even if ``layout()`` method is defined in local ``conan install``. Close https://github.com/conan-io/conan/issues/10566 (https://github.com/conan-io/conan/pull/10567)
- Bugfix: Fix conan_manifest.txt parse error when the filename has ":" in it. (https://github.com/conan-io/conan/pull/10492)
- Bugfix: Use meson toolchain file from install folder. (https://github.com/conan-io/conan/pull/8965)

1.45.0

Not secure
- Feature: Add system.package_manager tools to `conan config list`. (https://github.com/conan-io/conan/pull/10469). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2379)
- Feature: Use system package manager helpers `from conan.tools.system.package_manager`. (https://github.com/conan-io/conan/pull/10467). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2379)
- Feature: Add ``[tool_requires]`` section to profiles. (https://github.com/conan-io/conan/pull/10462)
- Feature: Add ``meson_lib`` and ``meson_exe``, ``conan new`` templates. (https://github.com/conan-io/conan/pull/10460). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2364)
- Feature: Add `is_msvc_static_runtime` method to `conan.tools.microsoft.visual` to identify when using `msvc` with static runtime. (https://github.com/conan-io/conan/pull/10437). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2372)
- Feature: Improve support for Visual Studio in ``AutotoolsToolchain``. (https://github.com/conan-io/conan/pull/10429)
- Feature: Make `pkg-config` tooling accessible under `conan.tools.gnu.PkgConfig` and `conan.tools.gnu.PkgConfigDeps`. (https://github.com/conan-io/conan/pull/10415)
- Feature: Use `.bazel` suffix for generated Bazel files. (https://github.com/conan-io/conan/pull/10391). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2381)
- Feature: New tools in `conan.tools.system` for invoking system package managers in recipes. (https://github.com/conan-io/conan/pull/10380). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2379)
- Feature: Testing the expected PC files created when the component name matches with the root package one using either `pkg_config` or `PkgConfigDeps` generators. (https://github.com/conan-io/conan/pull/10344). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2378)
- Feature: Better definition of clang compiler in Windows in `CMakeToolchain`. (https://github.com/conan-io/conan/pull/10333)
- Feature: Add VxWorks to OSs in default settings.yml. (https://github.com/conan-io/conan/pull/10315). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2355)
- Feature: Add `is_msvc` to validate if `settings.compiler` is `Visual Studio` and `msvc` compilers. (https://github.com/conan-io/conan/pull/10310). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2353)
- Feature: `os.sdk` field is mandatory for CMakeToolchain and OS in `('Macos', 'iOS', 'watchOS', 'tvOS')`. (https://github.com/conan-io/conan/pull/10300)
- Feature: Adding ``--source-folder`` and ``--output-folder`` to ``conan editable`` and ``conan install`` to work with ``layout()``. (https://github.com/conan-io/conan/pull/10274). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2377)
- Feature: Adding clang 14 to ``settings.yml``. Needed for emsdk package in Conan Center Index. (https://github.com/conan-io/conan/pull/10269)
- Feature: `PkgConfigDeps` shows `WARN` messages if there are duplicated `pkg_config_name` and/or `pkg_config_aliases`. (https://github.com/conan-io/conan/pull/10263). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2378)
- Feature: Improvements in ``MesonToolchain``, including some cross-building functionality. (https://github.com/conan-io/conan/pull/10174)
- Feature: Update content created by the markdown generator. (https://github.com/conan-io/conan/pull/9758). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2380)
- Fix: Remove auto-detection of VS 2022 as ``msvc`` compiler, detect it as ``Visual Studio`` version ``17``. (https://github.com/conan-io/conan/pull/10457). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2376)
- Fix: Do not report warning for duplicated component names in CMakeDeps. (https://github.com/conan-io/conan/pull/10456)
- Fix: Let legacy `Meson` build helper use other backends apart from `ninja`. (https://github.com/conan-io/conan/pull/10447)
- Fix: `msvc_runtime_flag` returns empty string instead of `None`. (https://github.com/conan-io/conan/pull/10424). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2363)
- Fix: Parsing a url with query args in ``conan config install`` results in a bad filename that could fail. (https://github.com/conan-io/conan/pull/10423)
- Fix: The argument `patch_file` from `tools.files.patch` is now relative to `conanfile.source_folder`by default, unless an absolute path to another location is provided, for example, to a path in the `conanfile.build_folder`. (https://github.com/conan-io/conan/pull/10408). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2382)
- Fix: Use install folder for Bazel dependency paths. (https://github.com/conan-io/conan/pull/10391). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2381)
- Fix: Enforce `CMP0091` policy to NEW in `CMakeToolchain`. (https://github.com/conan-io/conan/pull/10390)
- Fix: Add quotes around `conan_message` output variable so it is not modified. (https://github.com/conan-io/conan/pull/10388)
- Fix: Add ``pathlib`` as hidden-import to pyinstaller.py, so it is bundled with the installer. (https://github.com/conan-io/conan/pull/10386)
- Fix: Move imports of pre-defined layouts to their build-system domain. (https://github.com/conan-io/conan/pull/10385). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2364)
- Fix: Allow ``cmake`` generator checks for Visual Studio 2022. (https://github.com/conan-io/conan/pull/10361)
- Fix: Do not generate transitive `.props` for `MSbuildDeps` tool-requires. (https://github.com/conan-io/conan/pull/10350)
- Fix: Manage spaces in ``[buildenv]`` profile definition. (https://github.com/conan-io/conan/pull/10343)
- Fix: Add ``-debug`` to `LDFLAGS` in ``AutotoolsToolchain`` when necessary. (https://github.com/conan-io/conan/pull/10339)
- Fix: Fix extra `}` characters in cppstd info message. (https://github.com/conan-io/conan/pull/10337)
- Fix: Fix quotes in generated environment deactivation scripts. (https://github.com/conan-io/conan/pull/10325)
- Fix: Fix the ``CMakeToolchain`` generated code, so it doesnt fail for ``-Werror --warn-unitilized``. (https://github.com/conan-io/conan/pull/10292)
- Fix: Fix spaces in settings.yml to prevent the YAML linter from complaining. (https://github.com/conan-io/conan/pull/10230)
- Fix: Convert `NewCppInfo` folders to absolute. (https://github.com/conan-io/conan/pull/10207)
- Fix: Improved CMakeToolchain robustness regarding ``find_file``, ``find_path`` and ``find_program`` commands allowing better cross-build scenarios and better differentiation of the right context where to get, for example, executables (build vs host). (https://github.com/conan-io/conan/pull/10186). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2383)
- Bugfix: Fix ``BazelDeps`` using absolute ``glob`` paths instead of relative. (https://github.com/conan-io/conan/pull/10478)
- BugFix: Avoid BazelDeps exception when depending on a package without libs. Close https://github.com/conan-io/conan/issues/10471 (https://github.com/conan-io/conan/pull/10472)
- Bugfix: Fix ``AttributeError: 'PackageEditableLayout' object has no attribute 'package_lock'`` that happened when sing ``package_revision_mode`` with ``editable`` packages (and lockfiles). (https://github.com/conan-io/conan/pull/10416)
- Bugfix: Visual Studio 2022 auto-detected profile was incomplete. (https://github.com/conan-io/conan/pull/10322)
- Bugfix: Fix the caching of `ConanFile.dependencies` at `validate()` time. (https://github.com/conan-io/conan/pull/10307)
- Bugfix: Avoid ``package_id`` errors when using ``compatible_packages`` of repeated references (which can happen if using ``private`` dependencies). (https://github.com/conan-io/conan/pull/10266)

1.44.1

Not secure
- Bugfix: The `CMakeDeps` generator now uses the property `cmake_build_modules` declared in components of the required packages not only in the root cpp_info. (https://github.com/conan-io/conan/pull/10326)
- Bugfix: Adding missing hidden-imports to pyinstaller. Close https://github.com/conan-io/conan/issues/10318 (https://github.com/conan-io/conan/pull/10320)
- Bugfix: Make `pkg_config` generator listen to root `cpp_info` properties. (https://github.com/conan-io/conan/pull/10312)

1.44.0

Not secure
- Feature: Add `<PackageName>_LIBRARIES`, `<PackageName>_INCLUDE_DIRS`, `<PackageName>_INCLUDE_DIR`, `<PackageName>_DEFINITIONS` and `<PackageName>_VERSION_STRING` variables in CMakeDeps. (https://github.com/conan-io/conan/pull/10227)
- Feature: Adding a new Block to the CMakeToolchain now doesn't require inheriting `CMakeToolchainBlock`. (https://github.com/conan-io/conan/pull/10213). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2337)
- Feature: Add build_modules and build_modules_paths to JsonGenerator. (https://github.com/conan-io/conan/pull/10203). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2329)
- Feature: The `CMakeToolchain` is now prepared to apply several user toolchains. (https://github.com/conan-io/conan/pull/10178). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2340)
- Feature: In the conanfile.py of the test_package, the reference being tested is always available at `self.tested_reference_str`. (https://github.com/conan-io/conan/pull/10171). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2341)
- Feature: Introduced a new `test_type` value `explicit` so a user can declare explicitly the `requires` or `build_requires` manually (using `self.tested_reference_str`), it won't be automatically injected as a require. In Conan 2.0 the `test_type` attribute will be ignored, the behavior will be always explicit, so declaring `test_type="explicit"` will make the test recipe compatible with Conan 2.0. (https://github.com/conan-io/conan/pull/10171). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2341)
- Feature: Introduced `tool_requires` attribute to provide a compatible way to migrate to Conan 2.0, where the current concept of `build_requires` has been renamed to `tool_requires`. (https://github.com/conan-io/conan/pull/10168). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2342)
- Feature: Upgrade Conan python jinja requirement to v3.x. (https://github.com/conan-io/conan/pull/10159)
- Feature: Provided several `conan.tools.files` functions to manage symlinks: Transform absolute to relative symlinks, remove broken symlinks, remove external symlinks and get the symlinks in a folder. These tools will help migrate to Conan 2.0 where the package files won't be automatically cleaned from broken absolute symlinks or external symlinks. (https://github.com/conan-io/conan/pull/10154). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2343)
- Feature: Remove legacy folder setters in ``conanfile.xxxx_folder = yyy`` only used for testing. (https://github.com/conan-io/conan/pull/10153)
- Feature: Add ``Git.version`` property to check the current git version, aligned with ``SVN.version``. (https://github.com/conan-io/conan/pull/10114). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2338)
- Feature: Add build_requires support in BazelDeps generators. (https://github.com/conan-io/conan/pull/9876)
- Fix: Fix variable names set by `CMakeDeps` modules. (https://github.com/conan-io/conan/pull/10227)
- Fix: Call to `find_dependency` in module mode to find transitive dependencies. (https://github.com/conan-io/conan/pull/10227)
- Fix: remove rpath from .pc files generated by `pkg_config` & `PkgConfigDeps` generators. (https://github.com/conan-io/conan/pull/10192). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2339)
- Fix: Deleted CMake warning for already existing targets. (https://github.com/conan-io/conan/pull/10150)
- Bugfix: Fix passing component's linkflags in CMakeDepes generator (https://github.com/conan-io/conan/pull/10205)
- Bugfix: `AutotoolsToolchain` was not passing the `compiler` to `get_gnu_triplet` function. (https://github.com/conan-io/conan/pull/10141)

Page 15 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.