Conan

Latest version: v2.9.3

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

Scan your dependencies

Page 35 of 49

1.8.0

Not secure
===

- Feature: Allow `conan config install` to install configuration from a folder and not only from compressed files. (https://github.com/conan-io/conan/pull/3680)
- Feature: The environment variable CONAN_DEFAULT_PROFILE_PATH allows the user to define the path (existing) to the default profile that will be used by Conan. (https://github.com/conan-io/conan/pull/3675)
- Feature: New ``conan inspect`` command that provides individual attributes of a recipe, like name, version, or options. Work with ``-r=remote`` repos too, and is able to produce ``--json`` output. (https://github.com/conan-io/conan/pull/3634)
- Feature: Validate parameter for ConanFileReference objects to avoid unnecessary checks (https://github.com/conan-io/conan/pull/3623)
- Feature: The environment variable `CONAN_DEFAULT_PROFILE_PATH` allows the user to define the path (absolute and existing) to the default profile that will be used by Conan. (https://github.com/conan-io/conan/pull/3615)
- Feature: Warning message printed if Conan cannot deduce an architecture of a GNU triplet. (https://github.com/conan-io/conan/pull/3603)
- Feature: The ``AutotoolsBuildEnvironment`` and ``CMake`` build helpers now adjust default for the GNU standard installation directories: ``bindir``, ``sbin``, ``libexec``, ``includedir``, ``oldincludedir``, ``datarootdir`` (https://github.com/conan-io/conan/pull/3599)
- Feature: Added ``use_default_install_dirs`` in ``AutotoolsBuildEnvironment.configure()`` to opt-out from the defaulted installation dirs. (https://github.com/conan-io/conan/pull/3599)
- Feature: Clean repeated entries in the ``PATH`` when ``vcvars`` is run, mitigating the max size of the env var issues. (https://github.com/conan-io/conan/pull/3598)
- Feature: Allow ``vcvars`` to run if ``clang-cl`` compiler is detected. (https://github.com/conan-io/conan/pull/3574)
- Feature: Added python 2 deprecation message in the output of the conan commands. (https://github.com/conan-io/conan/pull/3567)
- Feature: The ``conan install`` command now prints information about the applied configuration. (https://github.com/conan-io/conan/pull/3561)
- Feature: New naming convention for conanfile reserved/public/private attributes. (https://github.com/conan-io/conan/pull/3560)
- Feature: Experimental support for Conan plugins. (https://github.com/conan-io/conan/pull/3555)
- Feature: Progress bars for files unzipping. (https://github.com/conan-io/conan/pull/3545)
- Feature: Improved graph propagation performance from ``O(n2)`` to ``O(n)``. (https://github.com/conan-io/conan/pull/3528)
- Feature: Added ``ConanInvalidConfiguration`` as the standard way to indicate that a specific configuration is not valid for the current package. e.g library not compatible with Windows. (https://github.com/conan-io/conan/pull/3517)
- Feature: Added ``libtool()`` function to the `tools.XCRun()` tool to locate the system ``libtool``. (https://github.com/conan-io/conan/pull/3515)
- Feature: The tool ``tools.collect_libs()`` now search into each folder declared in ``self.cpp_info.libdirs``. (https://github.com/conan-io/conan/pull/3503)
- Feature: Added definition ``CMAKE_OSX_DEPLOYMENT_TARGET`` to the ``CMake`` build helper following the ``os.version`` setting for ``Macos``. (https://github.com/conan-io/conan/pull/3486)
- Feature: The upload of files now uses the `conanmanifest.txt` file to know if a file has to be uploaded or not. It avoid associated issues with the metainformation of the files permissions contained in the `tgz` files. (https://github.com/conan-io/conan/pull/3480)
- Feature: The `default_options` in a `conanfile.py` can be specified now as a dictionary. (https://github.com/conan-io/conan/pull/3477)
- Feature: The command `conan config install` now support relative paths. (https://github.com/conan-io/conan/pull/3468)
- Feature: Added a definition `CONAN_IN_LOCAL_CACHE` to the `CMake()` build helper. (https://github.com/conan-io/conan/pull/3450)
- Feature: Improved `AptTool` at `SystemPackageTool` adding a function `add_repository` to add new apt repositories. (https://github.com/conan-io/conan/pull/3445)
- Feature: Experimental and initial support for the REST apiv2 that will allow transfers in one step and revisions in the future. (https://github.com/conan-io/conan/pull/3442)
- Feature: Improve the output of a `conan install` command printing dependencies when a binary is not found. (https://github.com/conan-io/conan/pull/3438)
- Feature: New `b2` generator. It replaces the old incomplete `boost_build` generator that is now deprecated. (https://github.com/conan-io/conan/pull/3416)
- Feature: New ``tool.replace_path_in_file`` to replace Windows paths in a file doing case-insensitive comparisson and indisctinct path separators comparisson: "/" == "\\" (https://github.com/conan-io/conan/pull/3399)
- Feature: **[Experimental]** Add SCM support for SVN. (https://github.com/conan-io/conan/pull/3192)
- Fix: ``None`` option value was not being propagated upstream in the dependency graph (https://github.com/conan-io/conan/pull/3684)
- Fix: Apply ``system_requirements()`` always on install, in case the folder was removed. (https://github.com/conan-io/conan/pull/3647)
- Fix: Included ``bottle`` package in the development requirements (https://github.com/conan-io/conan/pull/3646)
- Fix: More complete architecture list in the detection of the gnu triplet and the detection of the build machine architecture. (https://github.com/conan-io/conan/pull/3581)
- Fix: Avoid downloading the manifest of the recipe twice for uploads. Making this download quiet, without output. (https://github.com/conan-io/conan/pull/3552)
- Fix: Fixed ``Git`` scm class avoiding to replace any character in the ``get_branch()`` function. (https://github.com/conan-io/conan/pull/3496)
- Fix: Removed login username syntax checks that were no longer necessary. (https://github.com/conan-io/conan/pull/3464)
- Fix: Removed bad duplicated messages about dependency overriding when using conan alias. (https://github.com/conan-io/conan/pull/3456)
- Fix: Improve `conan info` help message. (https://github.com/conan-io/conan/pull/3415)
- Fix: The generator files are only written in disk if the content of the generated file changes. (https://github.com/conan-io/conan/pull/3412)
- Fix: Improved error message when parsing a bad conanfile reference. (https://github.com/conan-io/conan/pull/3410)
- Fix: Paths are replaced correctly on Windows when using ``CMake().patch_config_files() ``. (https://github.com/conan-io/conan/pull/3399)
- Fix: Fixed `AptTool` at `SystemPackageTool` to improve the detection of an installed package. (https://github.com/conan-io/conan/pull/3033)
- BugFix: Fixes ``python_requires`` overwritten when using more than one of them in a recipe (https://github.com/conan-io/conan/pull/3628)
- BugFix: Fix output overlap of decompress progress and plugins (https://github.com/conan-io/conan/pull/3622)
- Bugfix: Check if the ``system_requirements()`` have to be executed even when the package is retrieved from the local cache. (https://github.com/conan-io/conan/pull/3616)
- Bugfix: All API calls are now logged into the ``CONAN_TRACE_FILE`` log file. (https://github.com/conan-io/conan/pull/3613)
- Bugfix: Renamed ``os`` (reserved symbol) parameter to ``os_`` in the ``get_gnu_triplet`` tool. (https://github.com/conan-io/conan/pull/3603)
- Bugfix: ``conan get`` command now works correctly with enabled ``short paths``. (https://github.com/conan-io/conan/pull/3600)
- Bugfix: Fixed ``scm`` replacement of the variable when exporting a conanfile. (https://github.com/conan-io/conan/pull/3576)
- Bugfix: Apiv2 was retrying the downloads even when a 404 error was raised. (https://github.com/conan-io/conan/pull/3562)
- Bugfix: Fixed ``export_sources`` excluded patterns containing symlinks. (https://github.com/conan-io/conan/pull/3537)
- Bugfix: Fixed bug with transitive private dependencies. (https://github.com/conan-io/conan/pull/3525)
- Bugfix: ``get_cased_path`` crashed when the path didn't exist. (https://github.com/conan-io/conan/pull/3516)
- BugFix: Fixed failures when Conan walk directories with files containing not ASCCI characters in the file name. (https://github.com/conan-io/conan/pull/3505)
- Bugfix: The `scm` feature now looks for the repo root even when the `conanfile.py` is in a subfolder. (https://github.com/conan-io/conan/pull/3479)
- Bugfix: Fixed `OSInfo.bash_path()` when there is no `windows_subsystem`. (https://github.com/conan-io/conan/pull/3455)
- Bugfix: AutotoolsBuildEnvironment was not defaulting the output library directory causing broken consumption of packages when rebuilding from sources in different Linux distros using lib64 default. (https://github.com/conan-io/conan/pull/3388)

1.7.4

Not secure
- Bugfix: Fixed a bug in apiv2.
- Fix: Disabled apiv2 by default until it gets more stability

1.7.3

Not secure
===

- Bugfix: Uncontrolled exception was raised while printing the output of an error downloading a file.
- Bugfix: Fixed ``*:option`` pattern for conanfile consumers.

1.7.2

Not secure
- Bugfix: Reverted default options initialization to empty string with "varname=".
- Bugfix: Fixed `conan build` command with `--test` and `--install` arguments.

1.7.1

Not secure
- Fix: Trailing sentences in Conan help command.
- Fix: Removed hardcoded ``-c init.templateDir=`` argument in ``git clone`` for ``conan config install``, in favor of a new ``--args`` parameter that allows custom arguments.
- Fix: SCM can now handle nested subfolders.
- BugFix: Fix ``conan export-pkg`` unnecessarily checking remotes.

1.7.0

Not secure
- Feature: Support for C++20 in CMake > 3.12.
- Feature: Included support for Python 3.7 in all platforms.
- Feature: **[Experimental]** ``python_requires`` function allows to require Conan packages with python code even to extend the
``ConanFile`` class.
- Feature: ``CMake`` method ``patch_config_paths`` replaces absolute paths to Conan package's dependencies as well as Conan package itself.
- Feature: ``MSBuild`` and ``VisualStudioBuildEnvironment`` build helpers adjust the ``/MP`` flag to build code in parallel using multiple
cores.
- Feature: Added ``print_errors`` parameter to ``tools.PkgConfig()`` helper.
- Feature: Added :command:`--query` flag to :command:`conan upload`.
- Feature: ``virtualenv``/``virtualbuildenv``/``virtualrunenv`` generators now create bash scripts in Windows for its use in subsystems.
- Feature: Improved version ranges resolution speed trough caching of remote requests.
- Feature: Improved result of ``tools.vcvars_dict(only_diff=True)`` including a list return type that can be used with
``tools.environment_append()``.
- Fix: ``AutoToolsBuildEnvironment`` build helper now keeps the ``PKG_CONFIG_PATHS`` already set in the environment previously.
- Fix: The SCM feature keeps the ``.git`` folder during the copy of a local directory to the local cache.
- Fix: The SCM feature now exclude correctly the ignored folders by git during the copy of a local directory to the local cache.
- Fix: Conan messages correctly spell "overridden" now.
- Fix: ``MSBuild`` build helper arguments using quotes.
- Fix: ``vcvars_command`` and ``MSBuild`` build helper use the ``amd64_x86`` when Visual Studio > 12 and cross building for x86.
- Fix: Disabled ``-c init.TemplateDir`` in :command:`conan config install` from a git repository.
- Fix: Clang compiler check in ``cmake`` generator.
- Fix: Detection of zypper package tool on latest versions of openSUSE.
- Fix: Improved help output of some commands.
- BugFix: ``qmake`` generator hyphen.
- Bugfix: Git submodules being initialized from repo *HEAD* prior to checking out the referenced revision when using ``scm`` attribute.
- BugFix: Declaration ``default_options`` without value, e.g. ``default_options = "config="``. Now it will throw an exception.
- BugFix: Deactivate script in ``virtualenv`` generator causes PS1 to go unset.
- BugFix: Apply general scope options to a consumer ConanFile first.
- BugFix: Fixed detection of valid repository for git in SCM feature.

Page 35 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.