Conan

Latest version: v2.9.3

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

Scan your dependencies

Page 13 of 49

1.51.3

Not secure
- Fix: The tool `is_apple_os` can be imported from `conan.tools.apple` and receives an instance of `Conanfile`. (https://github.com/conan-io/conan/pull/11896). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2703)
- Fix: Prevent `None` folders to be processed in the `cpp_info`. (https://github.com/conan-io/conan/pull/11893)
- Fix: CMakeDeps now generates CMake variables as `XXX_INCLUDE_DIR` in the `XXXX-data.cmake` for the global cpp_info even if components are declared in the recipe. It is obtained by merging the components `cpp_info` into a global one. (https://github.com/conan-io/conan/pull/11874)
- Bugfix: Fixed the `cmake_paths`generator to set the root of the packages to the `CMAKE_MODULE_PATH` and `CMAKE_PREFIX_PATH` (https://github.com/conan-io/conan/pull/11883)
- Bugfix: The CMakeDeps generator was not managing correctly the IMPORTED LOCATION of the libraries for different `build_type`. (https://github.com/conan-io/conan/pull/11859)

1.51.2

Not secure
- Bugfix: The `tool.scm.Version` model has been ported from 2.X to keep the same behavior in Conan 1.X (https://github.com/conan-io/conan/pull/11831)

1.51.1

Not secure
- Feature: The `self.info.settings` and `self.info.options` now allow the `get_safe("foo")` as it is available in `self.settings` and `self.options`. (https://github.com/conan-io/conan/pull/11803)
- Fix: Add `conan.errors` to hidden pyinstaller imports. (https://github.com/conan-io/conan/pull/11817)
- Fix: Fix choco install invokation. (https://github.com/conan-io/conan/pull/11810)
- Fix: Add `conan.tools.system.package_manager` to hidden pyinstaller imports. (https://github.com/conan-io/conan/pull/11806)
- Fix: Add `conan.tools.system` as hidden-import to `pyinstaller.py`, so it is bundled with the installer. (https://github.com/conan-io/conan/pull/11805)
- Bugfix: Update cmake_layout build and generators folders to honor os path format. (https://github.com/conan-io/conan/pull/11809)
- Bugfix: `create -kb` wasn't setting up `conanfile.generators_folder` correctly. (https://github.com/conan-io/conan/pull/11804)
- Bugfix: Legacy `cpp_info` for consumers was losing information in case of depending on a package with a layout. (https://github.com/conan-io/conan/pull/11790)
- Bugfix: Refactored CMakeDep using always targets instead of lists. (https://github.com/conan-io/conan/pull/11788)
- Bugfix: Fix toolchainFile key not found with CMake presets. (https://github.com/conan-io/conan/pull/11759)
- Bugfix: The CMakeDeps generator failed for consumers with CMake projects doing an `add_subdirectory` with two different `find_package` calls to the same package, one in the main `CMakeLists.txt` and the other in the subdirectory. (https://github.com/conan-io/conan/pull/11756)
- Bugfix: The CMakeDeps generator stopped to fill the `XXX_LIBRARIES` CMake variable, especially when using components. (https://github.com/conan-io/conan/pull/11756)

1.51.0

Not secure
- Feature: Update system package manager db right before install, instead before check (https://github.com/conan-io/conan/pull/11716)
- Feature: Do the package manager update just in mode `install` and ignore if mode is `check`. (https://github.com/conan-io/conan/pull/11712). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2663)
- Feature: The `AutotoolsToolchain` attributes `.cxxflags`, `.cflags`, `.ldflags` and `.defines` can be read at any moment, now is not needed to call `.environment()` to get them calculated. In the other hand, if you want to add additional flags the following attributes have to be used: `.extra_cxxflags`, `.extra_cflags`, `.extra_ldflags` and `.extra_defines` (https://github.com/conan-io/conan/pull/11678). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2660)
- Feature: Changed `CMakeDeps` generator so the global target made for a package with components is a target linked with the targets of the components, instead of a target made from merging `cpp_info` objects from the components. (https://github.com/conan-io/conan/pull/11673). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2664)
- Feature: Support for components in MSBuildDeps. (https://github.com/conan-io/conan/pull/11669). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2661)
- Feature: The `CMakePreset.json` now contains `toolset` and `architecture` items when using `Ninja` generator and `msvc` compiler so the IDE (Visual Studio) can set the correct compiler (vcvars) automatically. (https://github.com/conan-io/conan/pull/11666)
- Feature: Introduced a new conf `tools.cmake.cmaketoolchain.presets:max_schema_version` to generate `CMakePresets.json` and `CMakeUserPresets.json` compatible with the specified json schema version. The minimum value supported is `>=2`. (https://github.com/conan-io/conan/pull/11655). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2666)
- Feature: Added `objc_args`/`objc_link_args`/`objcpp_args`/`objcpp_link_args` to MesonToolchain for Objective-C/C++ language. (https://github.com/conan-io/conan/pull/11632). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2652)
- Feature: Adding default directories to MesonToolchain. (https://github.com/conan-io/conan/pull/11618). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2652)
- Feature: Provide Path accessors in Conanfile. (https://github.com/conan-io/conan/pull/11585)
- Feature: Introduced a `validate_build()` method in the recipes to validate if the package can be built according to `self.settings` and `self.options` instead of `self.info.settings` and `self.info.options` that it is used to validate the `binary`. (https://github.com/conan-io/conan/pull/11580). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2667)
- Feature: Add ability to download files in the local filesystem using `file://` URIs. (https://github.com/conan-io/conan/pull/11569). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2635)
- Feature: Added `MesonDeps` as a new generator to create an extra file with all the GNU flags from all the dependencies. `Meson` build-helper will add that one (if exists) to complement the created one by `MesonToolchain`. (https://github.com/conan-io/conan/pull/11557). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2654)
- Feature: Added a new ``self.folders.subproject`` for ``layout()`` to be able to define layouts that goes up to the parent or siblings folders, together with the ``self.folders.root = ".."``. (https://github.com/conan-io/conan/pull/11556). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2662)
- Feature: Adding new ``msys2_ucrt64``, ``msys2_mingw64``, ``msys2_clang64`` subsystems in ``os.subsystem`` for Windows. (https://github.com/conan-io/conan/pull/11530)
- Fix: Add `conan.tools.scm` as hidden-import to _pyinstaller.py_, so it is bundled with the installer. (https://github.com/conan-io/conan/pull/11677)
- Fix: The `cmake_build_modules` property can only be declared in the `self.cpp_info`, not in components, where will be ignored. (https://github.com/conan-io/conan/pull/11673). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2664)
- Fix: Fix `Dnf` and `Yum` to accept 100 as a return code. (https://github.com/conan-io/conan/pull/11668)
- Fix: Get the cpu count for cgroup2 from `/sys/fs/cgroup/cpu.max`. (https://github.com/conan-io/conan/pull/11667). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2658)
- Fix: Improve opensuse detection in `tool.system.package_manager`. (https://github.com/conan-io/conan/pull/11660)
- Fix: Add raspbian to default `tools.system.package_manager` package manager mapping. (https://github.com/conan-io/conan/pull/11654). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2663)
- Fix: Allow templates for `conan new` to contain _Readme.md_ and _LICENSE.txt files_. (https://github.com/conan-io/conan/pull/11645)
- Fix: Remove ``conan_message()`` in ``CMakeDeps``. (https://github.com/conan-io/conan/pull/11625)
- Fix: In `conans.tools.collect_libs` and `conan.tools.files.collect_libs`, avoids to list other flavors (version, soversion) of the same `dylib` on macOS, so that behavior is consistent on Linux & macOS. (https://github.com/conan-io/conan/pull/11527). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2610)
- Bugfix: The `AutotoolsToolchain` now clears `None` values from the attributes `.cxxflags`, `.cflags`, `.ldflags` and `.defines`. (https://github.com/conan-io/conan/pull/11678). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2660)
- Bugfix: The `CMakePresets.json` file contained invalid paths (mixing `/` and `\`) for Windows that caused issues when using `Visual Studio`. (https://github.com/conan-io/conan/pull/11652)
- BugFix: Avoid ``LocalDebuggerEnv`` overflows in ``MSBuildDeps`` due to addition of PATH env-var. (https://github.com/conan-io/conan/pull/11631)
- Bugfix: Fix frameworkdirs not taken into account in XcodeDeps generator. (https://github.com/conan-io/conan/pull/11617)
- Bugfix: `CMakeToolchain` avoid setting `CMAKE_INSTALL_XXX` variables if the values are not defined. (https://github.com/conan-io/conan/pull/11614)
- Bugfix: Use correct build target in `CMake.test()` for the Ninja Multi-Config generator. (https://github.com/conan-io/conan/pull/11594)
- Bugfix: The CMakeToolchain was crashing when building for `Android os` a package that is removing the `compiler.libcxx` (C library). (https://github.com/conan-io/conan/pull/11586)

1.50.2

Not secure
- Bugfix: The `tool.scm.Version` model has been ported from 2.X to keep the same behavior in Conan 1.X (https://github.com/conan-io/conan/pull/11830)

1.50.1

Not secure
- Bugfix: Port 11614. CMakeToolchain avoid setting CMAKE_INSTALL_XXX variables if the values are not defined. (https://github.com/conan-io/conan/pull/11719)

Page 13 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.