Conan

Latest version: v2.9.3

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

Scan your dependencies

Page 46 of 49

0.21.1

Not secure
--------

- BugFix: Fixed missing dependencies in ``AutoToolsBuildEnvironment``
- BugFix: Escaping single quotes in html graph of ``conan info --graph=file.html``
- BugFix: Fixed loading of auth plugins in conan_server
- BugFix: Fixed ``visual_studio`` generator creating XML with dots.

0.21.0

Not secure
-------------------------------

- Feature: ``conan info --graph`` or ``--graph=file.html`` will generate a dependency graph representation in dot or html formats.
- Feature: Added better support and tests for Solaris Sparc.
- Feature: custom authenticators are now possible in ``conan_server`` with plugins.
- Feature: extended ``conan info`` command with path information and filter by packages.
- Feature: enabled conditional package binaries removal with ``conan remove`` with query syntax
- Feature: enabled generation and validation of manifests from ``test_package``.
- Feature: allowing ``options`` definitions in profiles
- Feature: new ``RunEnvironment`` helper, that makes easier to run binaries from dependent packages
- Feature: new ``virtualrunenv`` generator that activates environment variable for execution of binaries from installed packages, without requiring ``imports`` of shared libraries.
- Feature: adding new version modes for ABI compatibility definition in ``package_id()``.
- Feature: Extended ``conan new`` command with new option for ``exports_sources`` example recipe.
- Feature: ``CMake`` helper defining parallel builds for gcc-like compilers via ``--jN``, allowing user definition with environment variable and in conan.conf.
- Feature: ``conan profile`` command now show profiles in alphabetical order.
- Feature: extended ``visual_studio`` generator with more information and binary paths for execution with DLLs paths.
- Feature: Allowing relative paths with $PROFILE_DIR place holder in ``profiles``
- Fix: using only file checksums to decide for modified recipe in remote, for possible concurrent builds & uploads.
- Fix: Improved ``--build`` modes management, with better checks and allowing multiple definitions and mixtures of conditions
- Fix: Replaced warning for non-matching OS to one message stating the cross-build
- Fix: local ``conan source`` command (working in user folder) now properly executes the equivalent of ``exports`` functionality
- Fix: Setting command line arguments to cmake command as CMake flags, while using the TARGETS approach. Otherwise, arch flags like -m32 -m64 for gcc were not applied.
- BugFix: fixed ``conan imports`` destination folder issue.
- BugFix: Allowing environment variables with spaces
- BugFix: fix for CMake with targets usage of multiple flags.
- BugFix: Fixed crash of ``cmake_multi`` generator for "multi-config" packages.

0.20.3

Not secure
--------

- Fix: Added opt-out for ``CMAKE_SYSTEM_NAME`` automatically added when cross-building, causing users
providing their own cross-build to fail
- BugFix: Corrected usage of ``CONAN_CFLAGS`` instead of ``CONAN_C_FLAGS`` in cmake targets

0.20.2

Not secure
- Fix: Regression of `visual_studio`generator using `%(ExecutablePath)` instead of `$(ExecutablePath)`
- Fix: Regression for `--build=outdated --build=Pkg` install pattern

0.20.1

Not secure
- Fix: Disabled the use of cached settings and options from installed `conaninfo.txt`
- Fix: Revert the use of quotes in `cmake` generator for flags.
- Fix: Allow comments in artifacts.properties
- Fix: Added missing commit for CMake new helpers

0.20.0

Not secure
- Feature: Largely improved management of **environment variables**, declaration in `package_info()`,
definition in profiles, in command line, per package, propagation to consumers.
- Feature: New build helpers `AutotoolsBuildEnvironment`, `VisualStudioBuildEnvironment`, which
deprecate `ConfigureEnvironment`, with much better usage of environment variables
- Feature: New `virtualbuildenv` generator that will generate a composable environment with build
information from installed dependencies.
- Feature: New `build_id()` recipe method that allows to define logic to build once, and package
multiple times without building. E.g.: build once both debug and release artifacts, then package
separately.
- Feature: **Multi-config packages**. Now packages can provide multi-configuration packages, like
both debug/release artifacts in the same package, with `self.cpp_info.debug.libs = [...]` syntax.
Not restricted to debug/release, can be used for other purposes.
- Feature: new `conan config` command to manage, edit, display `conan.conf` entries
- Feature: Improvements to `CMake` build helper, now it has `configure()` and `build()` methods
for common operations.
- Feature: Improvements to `SystemPackageTool` with detection of installed packages, improved
implementation, installation of multi-name packages.
- Feature: Unzip with `tools.unzip` maintaining permissions (Linux, OSX)
- Feature: `conan info` command now allows profiles too
- Feature: new tools `unix_path()`, `escape_windows_cmd()`, `run_in_windows_bash()`, useful
for autotools projects in Win/MinGW/Msys
- Feature: new context manager `tools.chdir`, to temporarily change directory.
- Feature: CMake using `CMAKE_SYSTEM_NAME` for cross-compiling.
- Feature: Artifactory build-info extraction from traces
- Feature: Attach custom headers to artifacts uploads with an `artifacts.properties` file.
- Feature: allow and copy symlinks while `conan export`
- Fix: removing quotes in some cmake variables that were generating incorrect builds
- Fix: providing better error messages for non existing binaries, with links to the docs
- Fix: improved error messages if `tools.patch` failed
- Fix: adding `resdirs` to `cpp_info` propagated information, and cmake variables, for directories
containing resources and other data.
- Fix: printing error messages if a `--build` policy doesn't match any package
- Fix: managing VS2017 by `tools`. Still the manual definition of `vs150comntools` required.
- Bug fix: crashes when not supported characters were dumped to terminal by logger
- Bug fix: wrong executable path in Visual Studio generator

**NOTE**: It is important that you upgrade at least to 0.19.3 version if you are using remotes with packages that might be created with 0.20.0 version.

Page 46 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.