github conan-io/conan 1.45.0
1.45.0 (02-Feb-2022)

latest releases: 2.3.0, 2.2.3, 1.64.0...
2 years ago
  • Feature: Add system.package_manager tools to conan config list. (#10469). Docs: 📃
  • Feature: Use system package manager helpers from conan.tools.system.package_manager. (#10467). Docs: 📃
  • Feature: Add [tool_requires] section to profiles. (#10462)
  • Feature: Add meson_lib and meson_exe, conan new templates. (#10460). Docs: 📃
  • Feature: Add is_msvc_static_runtime method to conan.tools.microsoft.visual to identify when using msvc with static runtime. (#10437). Docs: 📃
  • Feature: Improve support for Visual Studio in AutotoolsToolchain. (#10429)
  • Feature: Make pkg-config tooling accessible under conan.tools.gnu.PkgConfig and conan.tools.gnu.PkgConfigDeps. (#10415)
  • Feature: Use .bazel suffix for generated Bazel files. (#10391). Docs: 📃
  • Feature: New tools in conan.tools.system for invoking system package managers in recipes. (#10380). Docs: 📃
  • Feature: Testing the expected PC files created when the component name matches with the root package one using either pkg_config or PkgConfigDeps generators. (#10344). Docs: 📃
  • Feature: Better definition of clang compiler in Windows in CMakeToolchain. (#10333)
  • Feature: Add VxWorks to OSs in default settings.yml. (#10315). Docs: 📃
  • Feature: Add is_msvc to validate if settings.compiler is Visual Studio and msvc compilers. (#10310). Docs: 📃
  • Feature: os.sdk field is mandatory for CMakeToolchain and OS in ('Macos', 'iOS', 'watchOS', 'tvOS'). (#10300)
  • Feature: Adding --source-folder and --output-folder to conan editable and conan install to work with layout(). (#10274). Docs: 📃
  • Feature: Adding clang 14 to settings.yml. Needed for emsdk package in Conan Center Index. (#10269)
  • Feature: PkgConfigDeps shows WARN messages if there are duplicated pkg_config_name and/or pkg_config_aliases. (#10263). Docs: 📃
  • Feature: Improvements in MesonToolchain, including some cross-building functionality. (#10174)
  • Feature: Update content created by the markdown generator. (#9758). Docs: 📃
  • Fix: Remove auto-detection of VS 2022 as msvc compiler, detect it as Visual Studio version 17. (#10457). Docs: 📃
  • Fix: Do not report warning for duplicated component names in CMakeDeps. (#10456)
  • Fix: Let legacy Meson build helper use other backends apart from ninja. (#10447)
  • Fix: msvc_runtime_flag returns empty string instead of None. (#10424). Docs: 📃
  • Fix: Parsing a url with query args in conan config install results in a bad filename that could fail. (#10423)
  • Fix: The argument patch_file from tools.files.patch is now relative to conanfile.source_folderby default, unless an absolute path to another location is provided, for example, to a path in the conanfile.build_folder. (#10408). Docs: 📃
  • Fix: Use install folder for Bazel dependency paths. (#10391). Docs: 📃
  • Fix: Enforce CMP0091 policy to NEW in CMakeToolchain. (#10390)
  • Fix: Add quotes around conan_message output variable so it is not modified. (#10388)
  • Fix: Add pathlib as hidden-import to pyinstaller.py, so it is bundled with the installer. (#10386)
  • Fix: Move imports of pre-defined layouts to their build-system domain. (#10385). Docs: 📃
  • Fix: Allow cmake generator checks for Visual Studio 2022. (#10361)
  • Fix: Do not generate transitive .props for MSbuildDeps tool-requires. (#10350)
  • Fix: Manage spaces in [buildenv] profile definition. (#10343)
  • Fix: Add -debug to LDFLAGS in AutotoolsToolchain when necessary. (#10339)
  • Fix: Fix extra } characters in cppstd info message. (#10337)
  • Fix: Fix quotes in generated environment deactivation scripts. (#10325)
  • Fix: Fix the CMakeToolchain generated code, so it doesnt fail for -Werror --warn-unitilized. (#10292)
  • Fix: Fix spaces in settings.yml to prevent the YAML linter from complaining. (#10230)
  • Fix: Convert NewCppInfo folders to absolute. (#10207)
  • Fix: Improved CMakeToolchain robustness regarding find_file, find_path and find_program commands allowing better cross-build scenarios and better differentiation of the right context where to get, for example, executables (build vs host). (#10186). Docs: 📃
  • Bugfix: Fix BazelDeps using absolute glob paths instead of relative. (#10478)
  • BugFix: Avoid BazelDeps exception when depending on a package without libs. Close #10471 (#10472)
  • Bugfix: Fix AttributeError: 'PackageEditableLayout' object has no attribute 'package_lock' that happened when sing package_revision_mode with editable packages (and lockfiles). (#10416)
  • Bugfix: Visual Studio 2022 auto-detected profile was incomplete. (#10322)
  • Bugfix: Fix the caching of ConanFile.dependencies at validate() time. (#10307)
  • Bugfix: Avoid package_id errors when using compatible_packages of repeated references (which can happen if using private dependencies). (#10266)

Don't miss a new conan release

NewReleases is sending notifications on new releases.