github conan-io/conan 1.39.0
1.39.0 (27-Jul-2021)

latest releases: 2.7.1, 2.7.0, 1.65.0...
3 years ago
  • Feature: Use CMAKE_OSX_DEPLOYMENT_TARGET to get -version-min set in CMakeToolchain. (#9301)
  • Feature: Display python_requires information in the conan info output. (#9290)
  • Feature: Now it is possible to define settings for a downstream consumer using -s &:setting=value or the same syntax in the profile even if the consumer is a conanfile.txt or a conanfile.py not declaring a name. e.g: Building a Debug application with Release dependencies: -s build_type=Release -s &:build_type=Debug (#9267). Docs: 📃
  • Feature: The AutotoolsDeps allows to alter the generated environment corresponding to the information read from the dependencies before calling the generate() method. (#9256). Docs: 📃
  • Feature: new remove and items methods for the Environment objects. (#9256). Docs: 📃
  • Feature: New VCVars generator that generates a conanvcvars.bat that activates the Visual Studio Developer Command Prompt. (#9230). Docs: 📃
  • Feature: Skip build helper test and using [conf]. (#9218). Docs: 📃
  • Feature: Implement a new requires = "pkg/(alias)" syntax to be able to dissambiguate alias requirements and resolve them earlier in the flow, solving some limitations of the previous alias definition. This approach is intended to be the one in Conan 2.0 (issue backported from conan-io/tribe#25). (#9217). Docs: 📃
  • Feature: Introduce the -require-override argument to define dependency overrides directly on command line. (#9195). Docs: 📃
  • Feature: New self.win_bash mechanism to enable running commands in a bash shell in Windows. It works only with the new environment definition from the dependencies (env_buildinfo and run_buildinfo) as long as the new AutotoolsToolchain, AutotoolsDeps and Autotools build helper. It supports automatic conversion of the environment variables values declared as "path" according to the declared subsystem in the conf tools.win.bash:subsystem, that is not being auto-detected anymore. (#9194). Docs: 📃
  • Feature: A unique environment launcher (conanenv.bat/sh) is generated to aggregate all the environment generators (VirtualRunEnv, VirtualBuildEnv, AutotoolsToolchain and AutotoolsDeps) that had been generated so the user can easily activate all of them with one command. (#9161). Docs: 📃
  • Feature: Use CMake File API. (#9005)
  • Fix: Add bindirs definition to cmake_layout(). (#9276)
  • Fix: Improve error message when conan search <ref> a package in editable mode. (#9262)
  • Fix: Add options to conanfile.dependencies model. (#9258)
  • Fix: Fix CMake rejecting library name with special characters. (#9245)
  • Fix: Use filename [PKG-NAME]-[COMP-NAME] for PkgConfigDeps. (#9228). Docs: 📃
  • Fix: Saving all the toolchain args information into conanbuild.conf instead of json file. (#9225). Docs: 📃
  • Fix: Added warning in the new toolchains (the used in the generate() method) if no build profile is being used. (#9206). Docs: 📃
  • Fix: Implemented check that will raise an error in the CMakeDeps generator when using the build_context_activated, build_context_suffix or build_context_build_modules attributes if no build profile is being used. (#9206). Docs: 📃
  • Fix: TheCMakeDeps generator will check if the targets specified in the find_package(foo components x y z) exist instead of checking against an internal variable. Also, this check will be done at the end of the xxx-config.cmake so any included build_module can declare the needed targets. (#9206). Docs: 📃
  • Fix: Consistent help message for conan profile (sub-command part). (#9204). Docs: 📃
  • Fix: Consistently put short arguments (-a) before long ones (--args). (#9199)
  • Fix: CC=clang --gcc-toolchain is now identified as clang. (#9198)
  • Fix: The new VirtualEnv generator has been split into VirtualRunEnv and VirtualBuildEnv. Both are automatically generated as before but only VirtualBuildEnv will be activated by default. (#9161). Docs: 📃
  • Bugfix: Fixing workspace install when conanfile has imports(). (#9281)
  • Bugfix: Fix QbsProfile toolchain qbs.architecture KeyError. (#9192)
  • Bugfix: Do not define CMAKE_GENERATOR_TOOLSET in CMakeToolchain for Ninja generator, and define it in vcvars_ver instead. (#9187)
  • BugFix: build_requires in host context, like gtest, are being propagated downstream by generators in the dependencies model. (#9171). Docs: 📃
  • Bugfix: Fix that overridden requirements "cannot be found in lockfile". (#8907)

Don't miss a new conan release

NewReleases is sending notifications on new releases.