Conan

Latest version: v2.9.3

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

Scan your dependencies

Page 19 of 49

1.37.0

Not secure
- Feature: Remove ``CMAKE_SKIP_RPATHS`` by default to True in ``CMakeToolchain``, it is not necessary by default, users can opt-in, and new test validates shared libs will work with ``VirtualEnv`` generator ``conanrunenv``. (https://github.com/conan-io/conan/pull/9024). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2105)
- Feature: simplified ``CMakeToolchain`` with only 1 category of blocks, made ``try-compile`` template code as another block, and reordered blocks so relevant flags for try-compile are taken into account. (https://github.com/conan-io/conan/pull/9009). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2105)
- Feature: Add new default `conancenter` remote for `https://center.conan.io` as first in the list. (https://github.com/conan-io/conan/pull/8999). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2112)
- Feature: Implements a new experimental ``conan.tools.google`` Bazel integration with ``BazelDeps``, ``BazelToolchain`` and ``Bazel``. (https://github.com/conan-io/conan/pull/8991). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2109)
- Feature: Introduced new options for the `CMakeDeps` generator allowing to manage `build_requires` even declaring the same package as a `require` and `build_require` avoiding the collision of the `config` cmake files and enabling to specify which `build_modules` should be included (e.g protobuf issue) (https://github.com/conan-io/conan/pull/8985). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2104)
- Feature: Expand user-agent string to include OS info. (https://github.com/conan-io/conan/pull/8947)
- Feature: Implement ``build_policy=never`` for ``conan export-pkg`` packages that cannot be rebuilt with ``--build=xxx``. (https://github.com/conan-io/conan/pull/8946). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2106)
- Feature: Define ``[conf]`` for defining the user toolchain for ``CMakeToolchain``, both for injecting a user toolchain in the ``CMakeToolchain`` generated ``conan_toolchain.cmake`` and for completely replacing ``conan_toolchain.cmake``. (https://github.com/conan-io/conan/pull/8945). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2105)
- Feature: add GCC 11 to _settings.yml_. (https://github.com/conan-io/conan/pull/8924)
- Feature: Add new `tools.rename()` interface. (https://github.com/conan-io/conan/pull/8915). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2099)
- Feature: Update urlib3 Conan dependency setting version `>=1.25.8` to avoid CVE-2020-7212. (https://github.com/conan-io/conan/pull/8914)
- Feature: Build-requires can define [conf] for its consumers. (https://github.com/conan-io/conan/pull/8895). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2107)
- Feature: support M1 Catalyst. (https://github.com/conan-io/conan/pull/8818)
- Feature: New ``conan install <ref> --build-require`` and ``conan create <path> --build-require`` (when not using ``test_package``) arguments to explicitly define that the installed or created package has to be a ``build-require``, receiving the build profile instead of the host one. (https://github.com/conan-io/conan/pull/8627). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2113)
- Feature: Introduced the `layout()` method to the recipe to be able to declare the folder structure both for the local development methods (conan source, conan build...) and in the cache. Also, associated to the folders, cppinfo objects to be used in editable packages and file pattern descriptions to enable "auto packaging". (https://github.com/conan-io/conan/pull/8554). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2092)
- Fix: **CMakeDeps** generator: The transitive requirements for a build_require are not included in the `xxx-config.cmake` files generated. (https://github.com/conan-io/conan/pull/9015)
- Fix: The `CMakeToolchain` now supports Apple M1 cross-building with a profile without environment declared pointing to the system toolchain. (https://github.com/conan-io/conan/pull/9011)
- Fix: Set `env_info.DYLD_FRAMEWORK_PATH` correctly. (https://github.com/conan-io/conan/pull/8984)
- Fix: Fix some typos in the code. (https://github.com/conan-io/conan/pull/8977)
- Fix: Improve error message when a directory doesn't contain a valid repository. (https://github.com/conan-io/conan/pull/8956)
- Fix: The `build_modules` defined per generator in `cpp_info` now are rendered properly using the `markdown` generator. (https://github.com/conan-io/conan/pull/8942)
- Fix: Simplify code access to [conf] variables removing attribute based access. (https://github.com/conan-io/conan/pull/8901)
- Bugfix: Prevent unintended evil insertions into metadata.json resulted in corrupted package and inability to install. (https://github.com/conan-io/conan/pull/9022)
- Bugfix: Allow ``MSBuildDeps`` to correctly process packages with dots in the package name. (https://github.com/conan-io/conan/pull/9012)
- Bugfix: Avoid errors because of ``package_id`` mismatch in lockfiles when using ``compatible_packages`` feature. (https://github.com/conan-io/conan/pull/9008)
- BugFix: Respect order of declared directories when using components. (https://github.com/conan-io/conan/pull/8927)
- Bugfix: Raise an exception when response header `Content-type` is different than `application/json` or `application/json; charset=utf-8`. (https://github.com/conan-io/conan/pull/8912)
- Bugfix: Fix exception in CMakeToolchain when settings remove known compilers. (https://github.com/conan-io/conan/pull/8900)
- Bugfix: Fix current directory definition in ``vcvars`` commands in new toolchains. (https://github.com/conan-io/conan/pull/8899)
- Bugfix: AptTool: add repo key before running apt-add-repository. (https://github.com/conan-io/conan/pull/8861)
- BugFix: Prevent evil insertions into metadata.json resulted in corrupted package and inability to install. (https://github.com/conan-io/conan/pull/8532)

1.36.0

Not secure
- Feature: Add support to ``tools.cmake.CMake`` for Ninja toolchain defined with ``CMakeToolchain``. (https://github.com/conan-io/conan/pull/8887)
- Feature: The `CMakeDeps` generator will print CMake traces with the declared targets. e.g: `Target declared: 'OpenSSL::Crypto'`. (https://github.com/conan-io/conan/pull/8843)
- Feature: Add clang 12 support. (https://github.com/conan-io/conan/pull/8828)
- Feature: List tools and core from profile and _global.conf_. (https://github.com/conan-io/conan/pull/8821). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2077)
- Feature: Add cross-building tests for new AutoTools build helper. (https://github.com/conan-io/conan/pull/8819)
- Feature: ``CMakeToolchain`` generates a ``conanbuild.json`` file with the generator to be used in the ``CMake`` command line later, so it is not necessary to duplicate logic, and is explicit what generator should be used. (https://github.com/conan-io/conan/pull/8815). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2079)
- Feature: ``CMakeToolchain`` learned to build with different toolsets, down to the minor compiler version, for the ``msvc`` compiler. (https://github.com/conan-io/conan/pull/8815). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2079)
- Feature: Validate checksum and retry download for corrupted downloaded cache files. (https://github.com/conan-io/conan/pull/8806)
- Feature: ``CMakeToolchain`` defining `CMAKE_GENERATOR_TOOLSET` for msvc version different than the default. (https://github.com/conan-io/conan/pull/8800)
- Feature: Implement ``test_build_require`` in ``test_package/conanfile.py`` recipes, so build_requires can be tested as such. (https://github.com/conan-io/conan/pull/8787). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2081)
- Feature: Make available the full recipe and package reference to consumers via ``.dependencies``. (https://github.com/conan-io/conan/pull/8765)
- Feature: New ``CMakeToolchain`` customization and extensibility mechanism with blocks of components instead of inheritance. (https://github.com/conan-io/conan/pull/8749). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2085)
- Feature: Add `set_property` and `get_property` to set properties and access them in generators. Can be set only for a specific generator or as a default value for all of them. (https://github.com/conan-io/conan/pull/8727). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2082)
- Feature: Use `set_property` and `get_property` to support custom defined content in `pkg_config` generator. (https://github.com/conan-io/conan/pull/8727). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2082)
- Feature: Add new property names: `cmake_target_name`, `cmake_file_name`, `pkg_config_name` and `cmake_build_modules` that can be used for multiple generators of the same type allowing also an easier migration of `names`, `filenames` and `build_modules` properties to this model. (https://github.com/conan-io/conan/pull/8727). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2082)
- Feature: Skip package when building all package from sources at once using `--build=!<package>` syntax. (https://github.com/conan-io/conan/pull/8483). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2023)
- Feature: ``CMakeToolchain`` will generate ``conanvcvars.bat`` for Ninja builds for ``msvc``. (https://github.com/conan-io/conan/pull/8005)
- Fix: Remove ``tools.gnu.MakeToolchain``, superseded by ``tools.gnu.AutotoolsToolchain``. (https://github.com/conan-io/conan/pull/8880). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2084)
- Fix: Allow spaces in the path for new environment files and ``conancvvars.bat`` Visual toolchain file. (https://github.com/conan-io/conan/pull/8847)
- Fix: Return `deprecated` attribute in `conan inspect` command. (https://github.com/conan-io/conan/pull/8832)
- Fix: Check if Artifactory url for publishing the build_info has `artifactory` string as the service context and remove from the API url if it doesn't. (https://github.com/conan-io/conan/pull/8826)
- Fix: Recognize ``Ninja Multi-Config`` as a CMake multi-configuration generator. (https://github.com/conan-io/conan/pull/8814)
- Fix: using `CMAKE_CURRENT_LIST_DIR` in `CMakeToolchain` to locate `CMakeDeps` config files. (https://github.com/conan-io/conan/pull/8810)
- Fix: `config_install_interval` no longer enter in loop when invalid. (https://github.com/conan-io/conan/pull/8769). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2067)
- Fix: Remove multi-config support for ``CMakeDeps`` generator. (https://github.com/conan-io/conan/pull/8767). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2083)
- Fix: Accept relative profile path when folder is on same tree level. (https://github.com/conan-io/conan/pull/8685). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2049)
- Bugfix: Fixed test_package/conanfile.py using ``build_requires`` for a package belonging to a lockfile. (https://github.com/conan-io/conan/pull/8793)

1.35.2

Not secure
- Bugfix: Revert regression that replaces first ``/`` by ``-`` in ``cpp_info.xxxxlinkflags`` in _CMake_ generators because it can break passing objects and other paths that start with ``/``. (https://github.com/conan-io/conan/pull/8812)

1.35.1

Not secure
- Fix: Avoid breaking users calling forbidden private api ``conanfile.__init__``. (https://github.com/conan-io/conan/pull/8746)
- Bugfix: Fix opensuse SystemPackageTools incorrectly using apt-get when zypper-aptitude. (https://github.com/conan-io/conan/pull/8747)
- Bugfix: Fix linker flags in cmake (find_package based) generators. (https://github.com/conan-io/conan/pull/8740)
- Bugfix: Fixed bug in transitive build_requires of MSBuildDeps. (https://github.com/conan-io/conan/pull/8734)

1.35.0

Not secure
- Feature: ``MSBuildDeps`` generator uses new visitor model and handles conditional requirements correctly. (https://github.com/conan-io/conan/pull/8733). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2052)
- Feature: CMake toolchain supports include_guard() feature (https://github.com/conan-io/conan/pull/8728)
- Feature: New ``conan lock bundle clean-modified`` command. (https://github.com/conan-io/conan/pull/8726). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2053)
- Feature: Use ``conancvvars.bat`` file for Meson toolchain (https://github.com/conan-io/conan/pull/8719)
- Feature: Allow arbitrary defines in `conan new` templates. (https://github.com/conan-io/conan/pull/8718). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2051)
- Feature: Automatically handle `CONAN_RUN_TESTS` to avoid extra boilerplate. (https://github.com/conan-io/conan/pull/8687). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2056)
- Feature: More fine-grained control (using [conf]) for build parallelization. (https://github.com/conan-io/conan/pull/8665). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2061)
- Feature: Add support for testing with different tools versions. (https://github.com/conan-io/conan/pull/8656)
- Feature: Add different CMake versions for testing. (https://github.com/conan-io/conan/pull/8656)
- Feature: Move the definition of CMakeDeps variables to its own file (https://github.com/conan-io/conan/pull/8655). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2055)
- Feature: Added `conan.tools.files.patch` to apply a single patch (new interface for legacy `conans.tools.patch` function. (https://github.com/conan-io/conan/pull/8650). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2062)
- Feature: Added `conan.tools.files.apply_conandata_patches` to apply patches defined in `conandata.yml`. (https://github.com/conan-io/conan/pull/8650). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2062)
- Feature: Allow integers as ``preprocessor_definitions`` in ``CMakeToolchain``. (https://github.com/conan-io/conan/pull/8645)
- Feature: New ``Environment`` model for recipes and profiles (https://github.com/conan-io/conan/pull/8630). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2060)
- Feature: Do not remove sh from the path in the new CMake helper. (https://github.com/conan-io/conan/pull/8625). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2055)
- Feature: Allow definition of custom Visual Studio version for msvc compiler in MSBuild helpers. (https://github.com/conan-io/conan/pull/8603). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2054)
- Feature: MSBuildToolchain creates conanvcvars.bat containing vcvars command for command line building. (https://github.com/conan-io/conan/pull/8603). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2054)
- Feature: Set `CMAKE_FIND_PACKAGE_PREFER_CONFIG=ON`. (https://github.com/conan-io/conan/pull/8599)
- Feature: Include the recipe name when constrained settings prevent install. (https://github.com/conan-io/conan/pull/8559). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2032)
- Feature: Create new conan.tools.files for 2.0. (https://github.com/conan-io/conan/pull/8550)
- Feature: New AutotoolsDeps, AutotoolsToolchain helpers in conan.tools.gnu (https://github.com/conan-io/conan/pull/8457). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2057)
- Feature: Experimental ``conan lock install`` that can install a lockfile in the cache, all the binaries or only the recipes with ``--recipes``, intended for CI flows. (https://github.com/conan-io/conan/pull/8021). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2053)
- Fix: Fix incorrect output of ``default_user`` and ``default_channel`` in ``export``. (https://github.com/conan-io/conan/pull/8732)
- Fix: remotes not being loaded for the `conan alias` command, which was preventing `conan alias` from working if python_requires is used. (https://github.com/conan-io/conan/pull/8704)
- Fix: Improve error message for ``lock create`` providing a path instead of full path with filename. (https://github.com/conan-io/conan/pull/8695)
- Fix: Rename `tools.microsoft:msbuild_verbosity` to `tools.microsoft.msbuild:verbosity` (https://github.com/conan-io/conan/pull/8692). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/2059)
- Fix: Simplifications to ``CMakeDeps`` generator to remove legacy code. (https://github.com/conan-io/conan/pull/8666)
- Fix: Add dirty management in download cache, so interrupted downloads doesn't need a manual cleaning of such download cache. (https://github.com/conan-io/conan/pull/8664)
- Fix: Build helper qbs install now installs directly into package_folder. (https://github.com/conan-io/conan/pull/8660)
- Fix: Allow arbitrary template structure. (https://github.com/conan-io/conan/pull/8641)
- Fix: Restoring the behavior that `exports` and `exports_sources` were case sensitive by default. (https://github.com/conan-io/conan/pull/8585)
- Fix: Remove default dummy value for iOS XCode signature. (https://github.com/conan-io/conan/pull/8576)
- Fix: Do not order Settings lists, so error messages are in declared order. (https://github.com/conan-io/conan/pull/8573)
- BugFix: Command `conan new` accepts short reference with address sign. (https://github.com/conan-io/conan/pull/8721)
- Bugfix: Fix profile definitions of env-vars per-package using patterns, not only the package name. (https://github.com/conan-io/conan/pull/8688)
- Bugfix: Preserve the explicit value `None` for SCM attributes if the default is a different value. (https://github.com/conan-io/conan/pull/8622)
- Bugfix: Properly detect Amazon Linux 2 distro. (https://github.com/conan-io/conan/pull/8612)
- Bugfix: Fix config install not working when .git* folder is in the path. (https://github.com/conan-io/conan/pull/8605)
- Bugfix: Fix: Transitive python requires not working with the new syntax. (https://github.com/conan-io/conan/pull/8604)

1.34.1

Not secure
- Fix: Allow ``cmake_find_package_multi`` and ``CMakeDeps`` to be aliases for ``cpp_info.names`` and ``cpp_info.filenames`` to allow easy migration. (https://github.com/conan-io/conan/pull/8568)
- Bugfix: Restoring the behavior that `exports` and `exports_sources` were case sensitive by default. (https://github.com/conan-io/conan/pull/8621)
- BugFix: Solved issues with already existing packages appearing in ``conan lock bundle build-order``. (https://github.com/conan-io/conan/pull/8579)

Page 19 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.