github conan-io/conan 1.37.0
1.37.0 (31-May-2021)

latest releases: 2.9.2, 2.9.1, 2.9.0...
3 years ago
  • 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. (#9024). Docs: 📃
  • 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. (#9009). Docs: 📃
  • Feature: Add new default conancenter remote for https://center.conan.io as first in the list. (#8999). Docs: 📃
  • Feature: Implements a new experimental conan.tools.google Bazel integration with BazelDeps, BazelToolchain and Bazel. (#8991). Docs: 📃
  • 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) (#8985). Docs: 📃
  • Feature: Expand user-agent string to include OS info. (#8947)
  • Feature: Implement build_policy=never for conan export-pkg packages that cannot be rebuilt with --build=xxx. (#8946). Docs: 📃
  • 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. (#8945). Docs: 📃
  • Feature: add GCC 11 to settings.yml. (#8924)
  • Feature: Add new tools.rename() interface. (#8915). Docs: 📃
  • Feature: Update urlib3 Conan dependency setting version >=1.25.8 to avoid CVE-2020-7212. (#8914)
  • Feature: Build-requires can define [conf] for its consumers. (#8895). Docs: 📃
  • Feature: support M1 Catalyst. (#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. (#8627). Docs: 📃
  • 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". (#8554). Docs: 📃
  • Fix: CMakeDeps generator: The transitive requirements for a build_require are not included in the xxx-config.cmake files generated. (#9015)
  • Fix: The CMakeToolchain now supports Apple M1 cross-building with a profile without environment declared pointing to the system toolchain. (#9011)
  • Fix: Set env_info.DYLD_FRAMEWORK_PATH correctly. (#8984)
  • Fix: Fix some typos in the code. (#8977)
  • Fix: Improve error message when a directory doesn't contain a valid repository. (#8956)
  • Fix: The build_modules defined per generator in cpp_info now are rendered properly using the markdown generator. (#8942)
  • Fix: Simplify code access to [conf] variables removing attribute based access. (#8901)
  • Bugfix: Prevent unintended evil insertions into metadata.json resulted in corrupted package and inability to install. (#9022)
  • Bugfix: Allow MSBuildDeps to correctly process packages with dots in the package name. (#9012)
  • Bugfix: Avoid errors because of package_id mismatch in lockfiles when using compatible_packages feature. (#9008)
  • BugFix: Respect order of declared directories when using components. (#8927)
  • Bugfix: Raise an exception when response header Content-type is different than application/json or application/json; charset=utf-8. (#8912)
  • Bugfix: Fix exception in CMakeToolchain when settings remove known compilers. (#8900)
  • Bugfix: Fix current directory definition in vcvars commands in new toolchains. (#8899)
  • Bugfix: AptTool: add repo key before running apt-add-repository. (#8861)
  • BugFix: Prevent evil insertions into metadata.json resulted in corrupted package and inability to install. (#8532)

Don't miss a new conan release

NewReleases is sending notifications on new releases.