.. _changelog: Changelog ========= Check https://github.com/conan-io/conan for issues and more details about development, contributors, etc. .. important:: Conan 1.5 shouldn't break any existing 1.0 recipe, or command line invocation. If it does, please report in github. Please read more :ref:`about Conan stability`. 1.5.2 (5-July-2018) -------------------- - Bugfix: Fixed bug with pre-1.0 packages with sources. - Bugfix: Fixed regression in private requirements. 1.5.1 (29-June-2018) -------------------- - Bugfix: Sources in the local cache weren't removed when using scm pointing to the local source directory, causing changes in local sources not applied to the conan create process. - Bugfix: Fixed bug causing duplication of build requires in the dependency graph. 1.5.0 (27-June-2018) -------------------- - Feature: :command:`conan search -r=all` now is able to search for binaries too in all remotes - Feature: Dependency graph improvements: ``build_requires`` are represented in the graph (visible in :command:`conan info``, also in the HTML graph). :command:`conan install` and :command:`conan info` commands shows extended information of the binaries status (represented in colors in HTML graph). The dependencies declaration order in recipes is respected (as long as it doesn't break the dependency graph order). - Feature: improved remote management, it is possible to get binaries from different remotes. - Feature: :command:`conan user` command is now able to show authenticated users. - Feature: Added :command:`conan user --json` json output to the command. - Feature: New ``pattern`` argument to ``tools.unzip()`` and ``tools.untargz`` functions, that allow efficient extraction of certain files only. - Feature : Added Manjaro support for ``SystemPackageTools``. - Feature: Added ``Macos`` ``version`` subsetting in the default *settings.yml* file, to account for the "min OSX version" configuration. - Feature: SCM helper argument to recursively clone submodules - Feature: SCM helper management of subfolder, allows using ``exports`` and ``exports_sources``, manage symlinks, and do not copy files that are *.gitignored*. Also, works better in the local development flow. - Feature: Modifies user agent header to output the Conan client version and the Python version. Example: ``Conan/1.5.0 (Python 2.7.1)`` - Fix: The ``CMake()`` helper now doesn't require a compiler input to deduce the default generator. - Fix: :command:`conan search ` now works consistently in local cache and remotes. - Fix: Proxy related environment variables are removed if *conan.conf* declares proxy configuration. - Fix: Fixed the parsing of invalid JSON when Microsoft ``vswhere`` tool outputs invalid non utf-8 text. - Fix: Applying ``winsdk`` and ``vcvars_ver`` to MSBuild and ``vcvars_command`` for VS 14 too. - Fix: Workspaces now support ``build_requires``. - Fix: ``CMake()`` helper now defines by default ``CMAKE_EXPORT_NO_PACKAGE_REGISTRY``. - Fix: Settings constraints declared in recipes now don't error for single strings (instead of a list with a string element). - Fix: ``cmake_minimum_required()`` is now before ``project()`` in templates and examples. - Fix: ``CONAN_SYSREQUIRES_MODE=Disabled`` now doesn't try to update the system packages registry. - Bugfix: Fixed SCM origin path of windows folder (with backslashes). - Bugfix: Fixed SCM dictionary order when doing replacement. - Bugfix: Fixed auto-detection of apple-clang 10.0. - Bugfix: Fixed bug when doing a :command:`conan search` without registry file (just before installation). 1.4.5 (22-June-2018) -------------------- - Bugfix: The package_id recipe method was being called twice causing issues with info objects being populated with wrong information. 1.4.4 (11-June-2018) -------------------- - Bugfix: Fix link order with private requirements. - Bugfix: Removed duplicate ``-std`` flag in CMake < 3 or when the standard is not yet supported by ``CMAKE_CXX_STANDARD``. - Bugfix: Check ``scm`` attribute to avoid breaking recipes with already defined one. - Feature: Conan workspaces. 1.4.3 (6-June-2018) ------------------- - Bugfix: Added system libraries to the cmake_find_package generator. - Fix: Added SIGTERM signal handler to quit safely. - Bugfix: Fixed miss-detection of gcc 1 when no gcc was on a Linux machine. 1.4.2 (4-June-2018) ------------------- - Bugfix: Fixed multi-config packages. - Bugfix: Fixed `cppstd` management with CMake and 20 standard version. 1.4.1 (31-May-2018) ------------------- - Bugfix: Solved issue with symlinks making recipes to fail with ``self.copy``. - Bugfix: Fixed c++20 standard usage with modern compilers and the creation of the *settings.yml* containing the settings values. - Bugfix: Fixed error with cased directory names in Windows. - BugFix: Modified confusing warning message in the SCM tool when the remote couldn't be detected. 1.4.0 (30-May-2018) ------------------- - Feature: Added ``scm`` conanfile attribute, to easily clone/checkout from remote repositories and to capture the remote and commit in the exported recipe when the recipe and the sources lives in the same repository. Read more in ":ref:`Recipe and sources in a different repo `" and ":ref:`Recipe and sources in the same repo `". - Feature: Added ``cmake_paths`` generator to create a file setting ``CMAKE_MODULE_PATH`` and ``CMAKE_PREFIX_PATH`` to the packages folders. It can be used as a CMake toolchain to perform a transparent CMake usage, without include any line of cmake code related to Conan. Read more :ref:`here `. - Feature: Added ``cmake_find_package`` generator that generates one ``FindXXX.cmake`` file per each dependency both with classic CMake approach and modern using transitive CMake targets. Read more :ref:`here `. - Feature: Added :command:`conan search --json` json output to the command. - Feature: CMake build helper now sets ``PKG_CONFIG_PATH`` automatically and receives new parameter ``pkg_config_paths`` to override it. - Feature: CMake build helper doesn't require to specify "arch" nor "compiler" anymore when the generator is "Unix Makefiles". - Feature: Introduced default settings for GCC 8, Clang 7. - Feature: Introduced support for c++ language standard c++20. - Feature: Auto-managed ``fPIC`` option in AutoTools build helper. - Feature: ``tools.vcvars_command()`` and ``tools.vcvars_dict()`` now take ``vcvars_ver`` and ``winsdk_version`` as parameters. - Feature: ``tools.vcvars_dict()`` gets only the env vars set by vcvars with new parameter ``only_diff=True``. - Feature: Generator ``virtualbuildenv`` now sets Visual Studio env vars via ``tool.vcvars_dict()``. - Feature: New tools for Apple development including XCRun wrapper. - Fix: Message "Package '1' created" in package commands with ``short_paths=True`` now shows package ID. - Fix: ``tools.vcvars_dict()`` failing to create dictionary due to newlines in vcvars command output. - Bugfix: ``tools.which()`` returning directories instead of only files. - Bugfix: Inconsistent local cache when developing a recipe with ``short_paths=True``. - Bugfix: Fixed reusing MSBuild() helper object for multi-configuration packages. - Bugfix: Fixed authentication using env vars such as ``CONAN_PASSWORD`` when ``CONAN_NON_INTERACTIVE=True``. - Bugfix: Fixed Android api_level was not used to adjust CMAKE_SYSTEM_VERSION. - Bugfix: Fixed MSBuild() build helper creating empty XML node for runtime when the setting was not declared. - Bugfix: Fixed ``default_options`` not supporting ``=`` in value when specified as tuple. - Bugfix: AutoToolsBuildEnvironment build helper's ``pkg_config_paths`` parameter now sets paths relative to the install folder or absolute ones if provided. 1.3.3 (10-May-2018) ------------------- - Bugfix: Fixed encoding issues writing to files and calculating md5 sums. 1.3.2 (7-May-2018) ------------------ - Bugfix: Fixed broken ``run_in_windows_bash`` due to wrong argument. - Bugfix: Fixed ``VisualStudioBuildEnvironment`` when toolset was not defined. - Bugfix: Fixed md5 computation of conan .tgz files for recipe, exported sources and packages due to file ordering and flags. - Bugfix: Fixed ``conan download -p=wrong_id`` command - Fix: Added apple-clang 9.1 1.3.1 (3-May-2018) ------------------ - Bugfix: Fixed regression with ``AutoToolsBuildEnvironment`` build helper that raised exception with not supported architectures during the calculation of the GNU triplet. - Bugfix: Fixed ``pkg_config`` generator, previously crashing when there was no library directories in the requirements. - Bugfix: Fixed ``conanfile.run()`` with ``win_bash=True`` quoting the paths correctly. - Bugfix: Recovered parameter "append" to the ``tools.save`` function. - Bugfix: Added support (documented but missing) to delete options in ``package_id()`` method using ``del self.info.options.