Releases: conan-io/conan
Releases · conan-io/conan
1.58.0 (30-Jan-2023)
- Feature: Update gcc versions supported in settings. (#12972). Docs: 📃
- Feature: Conan packages using the CMakeDeps generator will now stop printing status messages if the QUIET argument is passed to the respective find_package() CMake call. (#12967)
- Feature: Guess Apple SDK path in
MesonToolchain
in case of cross-build on macOS iftools.apple:sdk_path
is not set by user. (#12923) - Fix:
CMakeToolchain
generates preset files with more than 1 configure preset. (#13004) - Fix: Allow not propagating components to consumers. (#12966)
- Fix:
fix_apple_shared_install_name()
now fixes all dylib in libdirs and executables in bindirs regardless of shared option. (#12960) - Fix: NMakeDeps support cpp_info.defines and cpp_info.system_libs of dependencies. (#12944)
- Fix: Refactoring of
NMakeToolchain
to expose similar attributes than other toolchains, and honor build config like cflags, cxxflags, sharedlinkflags, exelinkflags, defines & compiler_executables. (#12665). Docs: 📃 - Bugfix: Define CMAKE_PROGRAM_PATH in toolchain file generated by CMakeToolchain, when only one profile is used. (#12974)
- Bugfix:
Version
comparison (greater than) with integer was raising an error. (#12935) - Bugfix: Fix
cmake_layout
for single-config configurations when definingbuild_folder_vars
. (#12925) - Bugfix: fix failure of removing options for build_requires in cross-build. (#12905)
2.0.0-beta8 (12-Jan-2023)
- Feature: Add
unix_path_package_info_legacy
function for those cases in which it is used inpackage_info
in recipes that require compatibility with Conan 1.x. In Conan 2, path conversions should not be performed in thepackage_info
method. (#12886) - Feature: New serialization json and printing for
conan list
. (#12883) - Feature: Add requirements to
conan new cmake_{lib,exe}
(#12875) - Feature: Allow
--no-remotes
to force temporal disabling of remotes (#12808) - Feature: Add barebones template option to conan new. (#12802)
- Feature: Avoid requesting package configuration if PkgID is passed. (#12801)
- Feature: Implemented
conan list *#latest
andconan list *:*#latest
. Basically, this command can show the latest RREVs and PREVs for all the matching references. (#12781) - Feature: Allow chaining of
self.output
write methods (#12780) - Fix: Make
graph info
filters to work on json output too (#12836) - Bugfix: Fix bug to pass a valid GNU triplet when using AutotoolsToolchain and cross-building on Windows. (#12881)
- Bugfix: Ordering if same ref.name but different versions. (#12801)
1.57.0 (12-Jan-2023)
- Feature: AutotoolsToolchain helper functions:
update_configure_args
,update_make_args
, andupdate_autoreconf_args
can also add new values (#12889). Docs: 📃 - Feature: Add
unix_path_package_info_legacy
function for those cases in which it is used inpackage_info
in recipes that require compatibility with Conan 1.x. In Conan 2, path conversions should not be performed in thepackage_info
method. (#12887). Docs: 📃 - Feature: Added to AutotoolsToolchain helper functions:
update_configure_args
,update_make_args
, andupdate_autoreconf_args
to update/prune flags effortlessly. (#12884). Docs: 📃 - Feature: Allow skip the generation of conanvcvars.bat with empty
tools.microsoft.msbuild:installation_path
(#12882). Docs: 📃 - Feature: Adds new
raise_invalid
argument forcheck_min_vs
to avoid raising if the check fails. (#12880). Docs: 📃 - Feature: Adds a conf variable for supplying linker scripts to the linker using the
-T
flag. (#12854). Docs: 📃 - Feature: CMakeToolchain also write CMake Test Presets. (#12846). Docs: 📃
- Feature: Add the ability to provide a
--component
argument with thecmake.install
function. (#12762). Docs: 📃 - Fix:
AutotoolsToolchain.configure_args
are adequately initialized. (#12884). Docs: 📃 - Fix: Deprecate
c++2a
for gcc 12, replace withc++20
. (#12796) - Bugfix:
AutotoolsToolchain.configure_args
was overwriting Conan's pre-calculated arguments. (#12884). Docs: 📃 - Bugfix: Fix
remove_broken_symlinks
failing at relative paths symlinks. (#12876) - Bugfix: Fix KeyError 'buildPresets', the field is optional according to the specification. (#12874)
- Bugfix: Fix bug to pass a valid GNU triplet when using AutotoolsToolchain and cross-building on Windows. (#12870)
- Bugfix: Fix XcodeDeps in "editable" mode root package_folder=None. (#12841)
- Bugfix: Make
cmake_layout
to use single-config folder for generated files. (#12829). Docs: 📃 - Bugfix: Allow
compatibility()
for lockfiles. (#12778)
2.0.0-beta7 (22-Dec-2022)
- Feature: Raise an error when a generator is both defined in generators attribute and instantiated in generate() method (#12722)
- Feature:
test_requires
improvements, including allowing it in conanfile.txt (#12699) - Feature: Improve errors for when required_conan_version has spaces between the operator and the version (#12695)
- Feature: Improvements in ConanAPI organization (#12666)
1.56.0 (21-Dec-2022)
- Fix: Avoid extra line end while printing files with
conan get
. (#12717) - Fix: Fix new Environment
.ps1
files when spaces in path (#12653) - Bugfix: Fix
CMakeDeps
when atool_requires
needs to be built from source and it has transitive dependencies that are regularrequires
. (#12736) - Bugfix: Fix issue in
fix_apple_shared_install_name
when libdirs or bindirs have subfolders. (#12732) - Bugfix: Fix issue with
PkgConfigDeps
not creating.pc
files in build context. (#12712) - Bugfix: Fix issue with
CMakeDeps
not creatingxxx-config.cmake
files in build context. (#12675)
2.0.0-beta6 (02-Dec-2022)
- Feature: Use --confirm to not request confirmation when removing instead of --force (#12636)
- Feature: Simplify loading conaninfo.txt for search results (#12616)
- Feature: Renamed ConanAPIV2 to ConanAPI (#12615)
- Feature: Refactor ConanAPI (#12615)
- Feature: Improve conan cache path command (#12554)
- Feature: Improve #latest and pattern selection from remove/upload/download (#12572)
- Feature: Add build_modules to provided deprecated warning to allow migration from 1.x (#12578)
- Feature: Lockfiles alias support (#12525)
1.55.0 (30-Nov-2022)
- Feature: Add
prefix
argument toAutotoolsToolchain
. (#12620). Docs: 📃 - Feature: Provide the ability to set CMakeDeps properties from consumer side. (#12609). Docs: 📃
- Feature: New
NMakeDeps
generator. (#12599). Docs: 📃 - Feature: Implement
editable
env-vars vialayouts.xxx.buildenv_info
andlayouts.xxx.runenv_info
and conf vialayouts.xxx.conf_info
. (#12598). Docs: 📃 - Feature: Add gcc 12.1 and 12.2 to
settings.yml
. (#12562). Docs: 📃 - Feature: Add
tools.build:compiler_executables
configuration to set compilers variables in CMakeToolchain, MesonToolchain, and AutoToolsToolchain, e.g.,CMAKE_<LANG>_COMPILER
inCMakeToolchain
. (#12556). Docs: 📃 - Feature: Allow placeholders in
EnvVars
. (#12517). Docs: 📃 - Feature: New
NMakeToolchain
. (#12516). Docs: 📃 - Feature: Added generators folder to
PKG_CONFIG_PATH
environment variable inCMakeToolchain
. (#12513). Docs: 📃 - Feature: Ensure that
CMakeToolchain
will enforce usage ofpkg-config
executable set intools.gnu:pkg_config
config. (#12513). Docs: 📃 - Feature: Add
cli_args
argument to CMake build helper configure method. (#12509). Docs: 📃 - Feature: Add
target
argument toAutotools.install()
. (#12491). Docs: 📃 - Feature: Make available
XCRun().settings
read attribute. (#12486). Docs: 📃 - Feature: Automatically add the msys2
usr/bin
folder wherebash.exe
is to the PATH. (#12457) - Feature: Add
tools.meson.mesontoolchain:extra_machine_files=["FILENAMES"]
toMeson
build helper to append machine files to the the ones created by Conan. (#12117). Docs: 📃 - Feature: Add
.user_presets_path
attribute toCMakeToolchain
to customize the location ofCMakeUserPresets.json
or to skip generating it. (#11917). Docs: 📃 - Fix: Raise a clear error if
settings.compiler
is not defined forMesonToolchain
. (#12623) - Fix: Fix
runenv
forcmake.test()
. (#12580) - Fix: Remove hardcoded definitions of
CMAKE_CXX_COMPILER
inCMakeToolchain
. (#12556). Docs: 📃 - Fix: Remove the extra
-s
from default build_type compiler flags, added to modernAutotoolsToolchain
. (#12518) - Fix: Give priority to
-j
argument set by user in recipe over the default set by conan inAutotools
build helper. (#12505) - Bugfix: Make
conan lock update
raise a suitable exception. (#12601) - Bugfix: Do not include build-context dependencies in Bazel BUILD file. (#12543)
- Bugfix: Do not fallback to a compatible binary if a package is requested to be built from source for a given configuration. (#12536)
- Bugfix: Fixing when
package_folder=None
forMSBuildDeps
in editable mode. (#12529) - Bugfix: The
CMakeDeps
generator was not working properly when the consumer maps configurations of the dependencies usingCMAKE_MAP_IMPORTED_CONFIG_XXX
. (#12049). Docs: 📃
2.0.0-beta5 (11-Nov-2022)
- Feature: Improvements in the remotes management and API (#12468)
- Feature: Implement env_info and user_info as fake attributes in Conan 2.0 (#12351)
- Feature: Improve settings.rm_safe() (#12379)
- Feature: New RecipeReference equality (#12506)
- Feature: Simplifying compress and uncompress of .tgz files (#12378)
- Feature: conan source command does not require a default profile (#12475)
- Feature: Created a proper LockfileAPI, with detailed methods (update, save, etc), instead of several loose methods (#12502)
- Feature: The conan export can also produce lockfiles, necessary for users doing a 2 step (export + install--build) process (#12502)
- Feature: Drop compat_app (#12484)
- Fix: Fix transitive propagation of transitive_headers=True (#12508)
- Fix: Fix transitive propagation of transitive_libs=False for static libraries (#12508)
- Fix: Fix test_package for python_requires (#12508)
1.54.0 (07-Nov-2022)
- Feature: Make
conanfile.build_folder
available ingenerate()
for test_package. (#12443) - Feature: Add
libcxx
settings to mesoncpp_link_args
. (#12397) - Feature: Do not add architecture to system packages by default, only when cross-compiling. (#12349)
- Feature: Added distro to
global.conf
Jinja rendering. (#12311). Docs: 📃 - Feature: New
included_files()
method infrom conan.tools.scm import Git
. (#12295). Docs: 📃 - Feature: Add
stdcpp_library
toconan.tools.build
to get name of C++ standard library to be linked. (#12269). Docs: 📃 - Feature: New
upload_policy='skip'
that not upload binaries (without raising an Exception, simply skip the binaries). (#12253). Docs: 📃 - Feature: The tool
fix_apple_shared_install_name
now also patches the<package_id>/bin
executables found to point to the libraries at../lib/xxx.dylib
. (#12249). Docs: 📃 - Feature: New
conanfile.win_bash_run
andtools.microsoft.bash:active
config for better Windows bash management. (#12178). Docs: 📃 - Fix: Improve description for
verify_ssl
parameter in CLI. (#12359). Docs: 📃 - Fix: Overwrite deactivate script to unset only the last activated virtual environment. (#12353)
- Fix: Use
settings_target
in XCRun instead of settings as default and provide argumentuse_settings_target
to select using the active context settings. (#12319). Docs: 📃 - Bugfix: Fix issue where find_program does not work for a tool requirement in the build context, when the dependency is also a regular requirement in the host context. (#12464)
- Bugfix: Fix
default_cppstd()
import error (#12446) - Bugfix: When recipes have
shared
andfPIC
as options, defineBUILD_SHARED_LIBS
andCMAKE_POSITION_INDEPENDENT_CODE
as CACHE variables in the generatedcmake_toolchain.cmake
instead of regular variables, so that they are not masked by further calls tooptions()
. (#12401) - Bugfix: Avoid Conan crash when
tools.env.environment:auto_use=True
is enabled and nogenerate()
method. (#12386) - Bugfix: Fix MSBuildDeps xml component names. (#12365)
- Bugfix: Fix new
VirtualBuildEnv
andVirtualRunEnv
generators problems with dots in architecture or config. (#12294) - Bugfix: Fix Autotools install on Windows. The default argument passed is
DESTDIR=unix_path(self, self.package_folder)
. (#12193). Docs: 📃
2.0.0-beta4 (11-Oct-2022)
- Feature: Do not allow doing conan create/export with uncommitted changes using revision_mode=scm (#12267)
- Feature: Simplify conan inspect command, removing path subcommand (#12263)
- Feature: Add --deploy argument to graph info command (#12243)
- Feature: Pass graph object to deployers instead of ConanFile (#12243)
- Feature: Add included_files method to conan.tools.scm.Git (#12246)
- Feature: Improve detection of clang libcxx (#12251)
- Feature: Remove old profile variables system in favor of Jinja2 syntax in profiles (#12152)
- Fix: Update command to follow Conan 2.0 conventions about CLI output (#12235)
- Fix: Fix aggregation of test trait in diamonds (#12080)