Conan

Latest version: v2.9.3

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

Scan your dependencies

Page 12 of 49

1.57.0

Not secure
- Feature: AutotoolsToolchain helper functions: `update_configure_args`, `update_make_args`, and `update_autoreconf_args` can also add new values (https://github.com/conan-io/conan/pull/12889). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2895)
- Feature: Add `unix_path_package_info_legacy` function for those cases in which it is used in `package_info` in recipes that require compatibility with Conan 1.x. In Conan 2, path conversions should not be performed in the `package_info` method. (https://github.com/conan-io/conan/pull/12887). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2894)
- Feature: Added to AutotoolsToolchain helper functions: `update_configure_args`, `update_make_args`, and `update_autoreconf_args` to update/prune flags effortlessly. (https://github.com/conan-io/conan/pull/12884). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2895)
- Feature: Allow skip the generation of conanvcvars.bat with empty ``tools.microsoft.msbuild:installation_path`` (https://github.com/conan-io/conan/pull/12882). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2892)
- Feature: Adds new `raise_invalid` argument for `check_min_vs` to avoid raising if the check fails. (https://github.com/conan-io/conan/pull/12880). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2890)
- Feature: Adds a conf variable for supplying linker scripts to the linker using the `-T` flag. (https://github.com/conan-io/conan/pull/12854). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2887)
- Feature: CMakeToolchain also write CMake Test Presets. (https://github.com/conan-io/conan/pull/12846). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2889)
- Feature: Add the ability to provide a `--component` argument with the `cmake.install` function. (https://github.com/conan-io/conan/pull/12762). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2893)
- Fix: `AutotoolsToolchain.configure_args` are adequately initialized. (https://github.com/conan-io/conan/pull/12884). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2895)
- Fix: Deprecate ``c++2a`` for gcc 12, replace with ``c++20``. (https://github.com/conan-io/conan/pull/12796)
- Bugfix: `AutotoolsToolchain.configure_args` was overwriting Conan's pre-calculated arguments. (https://github.com/conan-io/conan/pull/12884). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2895)
- Bugfix: Fix ``remove_broken_symlinks`` failing at relative paths symlinks. (https://github.com/conan-io/conan/pull/12876)
- Bugfix: Fix KeyError 'buildPresets', the field is optional according to the specification. (https://github.com/conan-io/conan/pull/12874)
- Bugfix: Fix bug to pass a valid GNU triplet when using AutotoolsToolchain and cross-building on Windows. (https://github.com/conan-io/conan/pull/12870)
- Bugfix: Fix XcodeDeps in "editable" mode root package_folder=None. (https://github.com/conan-io/conan/pull/12841)
- Bugfix: Make ``cmake_layout`` to use single-config folder for generated files. (https://github.com/conan-io/conan/pull/12829). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2891)
- Bugfix: Allow ``compatibility()`` for lockfiles. (https://github.com/conan-io/conan/pull/12778)

1.56.0

Not secure
- Fix: Avoid extra line end while printing files with ``conan get``. (https://github.com/conan-io/conan/pull/12717)
- Fix: Fix new Environment `.ps1` files when spaces in path (https://github.com/conan-io/conan/pull/12653)
- Bugfix: Fix ``CMakeDeps`` when a ``tool_requires`` needs to be built from source and it has transitive dependencies that are regular ``requires``. (https://github.com/conan-io/conan/pull/12736)
- Bugfix: Fix issue in `fix_apple_shared_install_name` when libdirs or bindirs have subfolders. (https://github.com/conan-io/conan/pull/12732)
- Bugfix: Fix issue with `PkgConfigDeps` not creating `.pc` files in build context. (https://github.com/conan-io/conan/pull/12712)
- Bugfix: Fix issue with `CMakeDeps` not creating `xxx-config.cmake` files in build context. (https://github.com/conan-io/conan/pull/12675)

1.55.0

Not secure
- Feature: Add `prefix` argument to `AutotoolsToolchain`. (https://github.com/conan-io/conan/pull/12620). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2824)
- Feature: Provide the ability to set CMakeDeps properties from consumer side. (https://github.com/conan-io/conan/pull/12609). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2827)
- Feature: New ``NMakeDeps`` generator. (https://github.com/conan-io/conan/pull/12599). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2828)
- Feature: Implement ``editable`` env-vars via ``layouts.xxx.buildenv_info`` and ``layouts.xxx.runenv_info`` and conf via ``layouts.xxx.conf_info``. (https://github.com/conan-io/conan/pull/12598). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2834)
- Feature: Add gcc 12.1 and 12.2 to `settings.yml`. (https://github.com/conan-io/conan/pull/12562). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2821)
- Feature: Add `tools.build:compiler_executables` configuration to set compilers variables in CMakeToolchain, MesonToolchain, and AutoToolsToolchain, e.g., `CMAKE_<LANG>_COMPILER` in `CMakeToolchain`. (https://github.com/conan-io/conan/pull/12556). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2833)
- Feature: Allow placeholders in `EnvVars`. (https://github.com/conan-io/conan/pull/12517). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2835)
- Feature: New `NMakeToolchain`. (https://github.com/conan-io/conan/pull/12516). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2828)
- Feature: Added generators folder to `PKG_CONFIG_PATH` environment variable in `CMakeToolchain`. (https://github.com/conan-io/conan/pull/12513). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2832)
- Feature: Ensure that `CMakeToolchain` will enforce usage of `pkg-config` executable set in `tools.gnu:pkg_config` config. (https://github.com/conan-io/conan/pull/12513). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2832)
- Feature: Add `cli_args` argument to CMake build helper configure method. (https://github.com/conan-io/conan/pull/12509). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2822)
- Feature: Add `target` argument to `Autotools.install()`. (https://github.com/conan-io/conan/pull/12491). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2823)
- Feature: Make available ``XCRun().settings`` read attribute. (https://github.com/conan-io/conan/pull/12486). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2829)
- Feature: Automatically add the msys2 ``usr/bin`` folder where ``bash.exe`` is to the PATH. (https://github.com/conan-io/conan/pull/12457)
- Feature: Add `tools.meson.mesontoolchain:extra_machine_files=["FILENAMES"]` to `Meson` build helper to append machine files to the the ones created by Conan. (https://github.com/conan-io/conan/pull/12117). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2831)
- Feature: Add `.user_presets_path` attribute to `CMakeToolchain` to customize the location of `CMakeUserPresets.json` or to skip generating it. (https://github.com/conan-io/conan/pull/11917). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2825)
- Fix: Raise a clear error if ``settings.compiler`` is not defined for ``MesonToolchain``. (https://github.com/conan-io/conan/pull/12623)
- Fix: Fix `runenv` for `cmake.test()`. (https://github.com/conan-io/conan/pull/12580)
- Fix: Remove hardcoded definitions of `CMAKE_CXX_COMPILER` in `CMakeToolchain`. (https://github.com/conan-io/conan/pull/12556). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2833)
- Fix: Remove the extra ``-s`` from default build_type compiler flags, added to modern ``AutotoolsToolchain``. (https://github.com/conan-io/conan/pull/12518)
- Fix: Give priority to `-j` argument set by user in recipe over the default set by conan in `Autotools` build helper. (https://github.com/conan-io/conan/pull/12505)
- Bugfix: Make `conan lock update` raise a suitable exception. (https://github.com/conan-io/conan/pull/12601)
- Bugfix: Do not include build-context dependencies in Bazel BUILD file. (https://github.com/conan-io/conan/pull/12543)
- Bugfix: Do not fallback to a compatible binary if a package is requested to be built from source for a given configuration. (https://github.com/conan-io/conan/pull/12536)
- Bugfix: Fixing when ``package_folder=None`` for ``MSBuildDeps`` in editable mode. (https://github.com/conan-io/conan/pull/12529)
- Bugfix: The `CMakeDeps` generator was not working properly when the consumer maps configurations of the dependencies using `CMAKE_MAP_IMPORTED_CONFIG_XXX`. (https://github.com/conan-io/conan/pull/12049). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2826)

1.54.0

Not secure
- Feature: Make `conanfile.build_folder` available in `generate()` for test_package. (https://github.com/conan-io/conan/pull/12443)
- Feature: Add `libcxx` settings to meson `cpp_link_args`. (https://github.com/conan-io/conan/pull/12397)
- Feature: Do not add architecture to system packages by default, only when cross-compiling. (https://github.com/conan-io/conan/pull/12349)
- Feature: Added distro to `global.conf` Jinja rendering. (https://github.com/conan-io/conan/pull/12311). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2798)
- Feature: New ``included_files()`` method in ``from conan.tools.scm import Git``. (https://github.com/conan-io/conan/pull/12295). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2799)
- Feature: Add `stdcpp_library` to `conan.tools.build` to get name of C++ standard library to be linked. (https://github.com/conan-io/conan/pull/12269). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2804)
- Feature: New `upload_policy='skip'` that not upload binaries (without raising an Exception, simply skip the binaries). (https://github.com/conan-io/conan/pull/12253). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2802)
- Feature: The tool `fix_apple_shared_install_name` now also patches the `<package_id>/bin` executables found to point to the libraries at `../lib/xxx.dylib`. (https://github.com/conan-io/conan/pull/12249). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2806)
- Feature: New ``conanfile.win_bash_run`` and ``tools.microsoft.bash:active`` config for better Windows bash management. (https://github.com/conan-io/conan/pull/12178). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2803)
- Fix: Improve description for `verify_ssl` parameter in CLI. (https://github.com/conan-io/conan/pull/12359). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2788)
- Fix: Overwrite deactivate script to unset only the last activated virtual environment. (https://github.com/conan-io/conan/pull/12353)
- Fix: Use `settings_target` in XCRun instead of settings as default and provide argument `use_settings_target ` to select using the active context settings. (https://github.com/conan-io/conan/pull/12319). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2797)
- Bugfix: Fix issue where find_program does not work for a tool requirement in the build context, when the dependency is also a regular requirement in the host context. (https://github.com/conan-io/conan/pull/12464)
- Bugfix: Fix ``default_cppstd()`` import error (https://github.com/conan-io/conan/pull/12446)
- Bugfix: When recipes have `shared` and `fPIC` as options, define `BUILD_SHARED_LIBS` and `CMAKE_POSITION_INDEPENDENT_CODE` as CACHE variables in the generated `cmake_toolchain.cmake` instead of regular variables, so that they are not masked by further calls to `options()`. (https://github.com/conan-io/conan/pull/12401)
- Bugfix: Avoid Conan crash when ``tools.env.environment:auto_use=True`` is enabled and no ``generate()`` method. (https://github.com/conan-io/conan/pull/12386)
- Bugfix: Fix MSBuildDeps xml component names. (https://github.com/conan-io/conan/pull/12365)
- Bugfix: Fix new ``VirtualBuildEnv`` and ``VirtualRunEnv`` generators problems with dots in architecture or config. (https://github.com/conan-io/conan/pull/12294)
- Bugfix: Fix Autotools install on Windows. The default argument passed is `DESTDIR=unix_path(self, self.package_folder)`. (https://github.com/conan-io/conan/pull/12193). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2801)

1.53.0

Not secure
- Feature: Implement a new ``[runenv]`` section in the Profile, to define the runtime environment. (https://github.com/conan-io/conan/pull/12230). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2771)
- Feature: Add `compiler.version` 11.3 for GCC in settings. (https://github.com/conan-io/conan/pull/12215)
- Feature: Make `conan.tools.apple.XCRun()` public. (https://github.com/conan-io/conan/pull/12172). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2761)
- Feature: Add message to help users that have old CMake versions invoking CMake manually with the same information stored in the CMakePresets. (https://github.com/conan-io/conan/pull/12169)
- Feature: Make `conan.tools.scmGit.run()` public. (https://github.com/conan-io/conan/pull/12165). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2762)
- Feature: Add ``MSBuildToolchain.properties`` to define extra properties. (https://github.com/conan-io/conan/pull/12147). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2772)
- Feature: Update requirements.txt to use distro package version <=1.7.0. (https://github.com/conan-io/conan/pull/12140)
- Feature: Added method `rm_safe` to `settings` and `options`. (https://github.com/conan-io/conan/pull/12094). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2764)
- Feature: Add missing configurations for `conan config list` and show the results ordered by key. (https://github.com/conan-io/conan/pull/12087). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2763)
- Feature: Define ``source_folder`` in test_package when ``layout()`` is defined. (https://github.com/conan-io/conan/pull/12075)
- Feature: Support for Xcode 14 and new iOS, watchOS, tvOS and macOS versions. (https://github.com/conan-io/conan/pull/12064)
- Feature: Add ``cpp_info.libdir|bindir|includedir`` interface to access ``cpp_info.libdirs[0]`` in recipes (https://github.com/conan-io/conan/pull/12030). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2773)
- Feature: Improve Clang support in Windows. (https://github.com/conan-io/conan/pull/11492)
- Fix: Fix missing binary ``conan search dep/1.0 --table`` message when a binary is missing. (https://github.com/conan-io/conan/pull/12184)
- Fix: Remove too noisy messages from environment files (https://github.com/conan-io/conan/pull/12168)
- Fix: Add support for windows on ARM64 native platform. (https://github.com/conan-io/conan/pull/12145)
- Fix: Avoid changing MSBuildDeps filenames with ``-`` while trying to avoid wrong XML formats. (https://github.com/conan-io/conan/pull/12141)
- Fix: Fix XcodeDeps using full package reference in case of package with components. (https://github.com/conan-io/conan/pull/12097)
- Fix: Fixed a bug when getting the values from the `self.conf` in the conanfile of a `test_package` with build_requirements declaring the `self.conf_info`. (https://github.com/conan-io/conan/pull/12095)
- Fix: `CMakeToolchain.cache_variables` parse option value as expected. (https://github.com/conan-io/conan/pull/12086)
- Fix: Fix XcodeDeps handle hyphen in component requirements. (https://github.com/conan-io/conan/pull/12084)
- Fix: Add the ``test_requires`` to ``CMakeToolchain`` directories/folders to find cmake files inside them. (https://github.com/conan-io/conan/pull/12081)
- Fix: Set gnu17 as clang 16 cppstd default. (https://github.com/conan-io/conan/pull/12067)
- Bugfix: Implement correct ``libcxx`` support in ``MesonToolchain``. (https://github.com/conan-io/conan/pull/12156)
- Bugfix: Add "endeavouros" to the list of distros with pacman. (https://github.com/conan-io/conan/pull/11971)

1.52.0

Not secure
- Feature: Added mechanism to create .pc files for build requirements. (https://github.com/conan-io/conan/pull/11979). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2725)
- Feature: Add ``MSBuild().build(.., targets=["target1"])`` argument to new ``MSBuild``. (https://github.com/conan-io/conan/pull/11968). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2724)
- Feature: Refactored `PkgConfigDeps` code. (https://github.com/conan-io/conan/pull/11955)
- Feature: Removed warning messages from `PkgConfigDeps` if any duplicated `*.pc` file. (https://github.com/conan-io/conan/pull/11955)
- Feature: Add ``is_msvc(..., build_context=False)`` argument. (https://github.com/conan-io/conan/pull/11949). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2712)
- Feature: Support remotes.json in Conan 1.X. (https://github.com/conan-io/conan/pull/11936). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2718)
- Feature: Add `BUILD_TESTING=OFF` to CMakeToolchain presets if `tools.build:skip_test`. (https://github.com/conan-io/conan/pull/11935). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2713)
- Feature: Allow traits in `self.requires()` for 2.0 compatibility. (https://github.com/conan-io/conan/pull/11934). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2714)
- Feature: Make the version of the Conan client available under `conan` and make it a `Version` object so it can be compared. (https://github.com/conan-io/conan/pull/11928). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2719)
- Feature: Add ability to pass additional arguments to `conan.tools.scm.Git.clone()`. (https://github.com/conan-io/conan/pull/11921). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2721)
- Feature: Promote `to_apple_arch` in the new `conan.tools.apple` module. (https://github.com/conan-io/conan/pull/11915). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2722)
- Feature: Add `export_conandata_patches` tool. (https://github.com/conan-io/conan/pull/11911). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2720)
- Feature: Fail sooner and with a meaningful error if the specified required version is not satisfied. (https://github.com/conan-io/conan/pull/11908)
- Feature: Implement ``cmake_layout(..., build_folder="build)`` build folder argument. (https://github.com/conan-io/conan/pull/11889). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2715)
- Feature: Add new members to ``ConanFileInterface`` for ``self.dependencies`` access. (https://github.com/conan-io/conan/pull/11868). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2716)
- Feature: Defines the `PACKAGE_ROOT_<package>` variable in XcodeDeps generated files. (https://github.com/conan-io/conan/pull/11818). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2717)
- Feature: Added clang 16 to settings. (https://github.com/conan-io/conan/pull/11780)
- Feature: Allow the authorization process in conan_server to be customized, just like authentication. (https://github.com/conan-io/conan/pull/11776). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2684)
- Fix: Change `conan.tools.files.get/download` default checksums to `None`, instead of empty string. (https://github.com/conan-io/conan/pull/11939)
- Fix: When the `layout()` is declared in the recipe, the files such as `conainfo.txt`, `conanbuildinfo.txt` were written in the `test_package` folder, now there are written in the `generators_folder`. (https://github.com/conan-io/conan/pull/11820)
- Bugfix: Fix conversion if `options` passed in `compatibility()` method. (https://github.com/conan-io/conan/pull/11991). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2727)
- Bugfix: Prevent mutation of loaded data from conanfile.yml if accesses multiple times during the same run when calling `apply_conandata_patches()`. (https://github.com/conan-io/conan/pull/11860)
- Bugfix: Do not skip __pycache__ folder if `CONAN_KEEP_PYTHON_FILES`. (https://github.com/conan-io/conan/pull/11828)
- Bugfix: Added `+` and `-` symbols to be replaced by `_` in XML element names. (https://github.com/conan-io/conan/pull/11826)
- 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/11823)
- Bugfix: Fixed `cpp_std` flags when using C++20. (https://github.com/conan-io/conan/pull/11819)
- Bugfix: Use "android-<level>" format for the ANDROID_PLATFORM argument to be compatible with old NDK versions. (https://github.com/conan-io/conan/pull/11799)
- Bugfix: Fix XcodeDeps component handling in transitive dependencies (https://github.com/conan-io/conan/pull/11772)

Page 12 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.