Releases: conan-io/conan
Releases · conan-io/conan
0.25.0 (19-July-2017)
0.25.0
This release introduces a new layout for the local cache, with dedicated export_source
folder to store the source code exported with exports_sources
feature, which is much cleaner than the old .c_src
subfolder. A migration is included to remove from the local cache packages with the old layout.
- Feature: new
conan create
command that supersedestest_package
for creating and testing package. It works even without the test_package folder, and have improved management for user, channel. The test_package recipe no longer definesrequires
- Feature: new
conan get
command that display (with syntax highlight) package recipes, and any other file from conan: recipes, conaninfo.txt, manifests, etc. - Feature: new
conan alias
command that creates a special package recipe, that works like an alias or a proxy to other package, allowing easy definition and transparent management of "using the latest minor" and similar policies. Those special alias packages do not appear in the dependency graph. - Feature: new
conan search --table=file.html
command that will output an html file with a graphical representation of available binaries - Feature: created default profile, that replace the
[settings_default]
in conan.conf and augments it, allowing to define more things like env-vars, options, build_requires, etc. - Feature: new
self.user_info
member that can be used inpackage_info()
to define custom user variables, that will be translated to general purpose variables by generators. - Feature:
conan remove
learned the--outdated
argument, to remove those package binaries that are outdated from the recipe, both from local cache and remotes - Feature:
conan search
learned the--outdated
argument, to show only those package binaries that are outdated from the recipe, both from local cache and remotes - Feature: Automatic management
CMAKE_TOOLCHAIN_FILE
inCMake
helper for cross-building. - Feature: created
conan_api
, a python API interface to conan functionality. - Feature: new
cmake.install()
method ofCMake
helper. - Feature:
short_paths
feature now applies also toexports_sources
- Feature:
SystemPackageTool
now supports FreeBSD system packages - Feature:
build_requires
now manage options too, also default options in package recipes - Feature:
conan build
learned new--package_folder
argument, useful if the build system perform the packaging - Feature:
CMake
helper now defines by defaultCMAKE_INSTALL_PREFIX
pointing to the current package_folder, socmake.install()
can transparently execute the packaging. - Feature: improved command UX with
--cwd
arguments to allow define the current directory for the command - Feature: improved
VisualStudioBuildEnvironment
- Feature: transfers now show size (MB, KB) of download/uploaded files, and current status of transfer.
- Feature:
conan new
now has arguments to generate CI scripts for Gitlab CI. - Feature: Added
MinRelSize
andRelWithDebInfo
management inCMake
helper. - Fix: make
mkdir
,rmdir
,relative_dirs
available for import fromconans
module. - Fix: improved detection of Visual Studio default under cygwin environment.
- Fix:
package_files
now allows symlinks - Fix: Windows installer now includes conan_build_info tool.
- Fix: appending environment variables instead of overwriting them when they come from different origins: upstream dependencies and profiles.
- Fix: made opt-in the check of package integrity before uploads, it was taking too much time, and provide little value for most users.
- Fix: Package recipe linter removed some false positives
- Fix: default settings from conan.conf do not fail for constrained settings in recipes.
- Fix: Allowing to define package remote with
conan remote add_ref
before download/upload. - Fix: removed duplicated BUILD_SHARED_LIBS in test_package
- Fix: add "rhel" to list of distros using yum.
- Bugfix: allowing relative paths in
exports
andexports_sources
fields - Bugfix: allow custom user generators with underscore
0.24.0 (15-June-2017)
0.24.0
- Feature:
conan new
new arguments to generate Travis-CI and Appveyor files for Continuous Integration - Feature: Profile files with
include()
and variable declaration - Feature: Added
RelWithDebInfo/MinRelSize
to cmake generators - Feature: Improved linter, removing false positives due to dynamic conanfile attributes
- Feature: Added
tools.ftp_download()
function for FTP retrieval - Feature: Managing symlinks between folders.
- Feature:
conan remote add
command learned new--insert
option to add remotes in specific order. - Feature: support multi-config in the
SCons
generator - Feature: support for gcc 7.1+ detection
- Feature:
tools
now are using globalrequests
andoutput
instances. Proxies will work fortools.download()
- Feature:
--json
parameter added toconan info
command to create a JSON with thebuild_order
. - Fix: update default repos, now pointing to Bintray.
- Fix: printing
outdated from recipe
also for remotes - Fix: Fix required slash in
configure_dir
ofAutoToolsBuildEnvironment
- Fix: command
new
with very short names, now errors earlier. - Fix: better error detection for incorrect
Conanfile.py
letter case. - Fix: Improved some cmake robustness using quotes to avoid cmake errors
- BugFix: Fixed incorrect firing of building due to
--build
patterns error - BugFix: Fixed bug with options incorrectly applied to
build_requires
and crashing - Refactor: internal refactors toward having a python api to conan functionality
0.23.2
0.23.1 (05-June-2017)
0.23.1
- BugFix: Fixed bug while packaging symlinked folders in build folder, and target not being packaged.
- Relaxed OSX requirement of pyopenssl to <18
0.23.0
0.23.0 (01-June-2017)
- Feature: new
build_requires
field andbuild_requirements()
in package recipes - Feature: improved commands (source, build, package, package_files) and workflows for local development of packages in user folders.
- Feature: implemented
no_copy_source
attribute in recipes to avoid the copy of source code from "source" to "build folder". Created newself.source_folder
,self.build_folder
,self.package_folder
for recipes to use. - Feature: improved
qmake
generator with multi-config support, resource directories - Feature: improved exception capture and formatting for all recipe user methods exceptions
- Feature: new
tools.sha256()
method - Feature: folder symlinks working now for packages and upload/download
- Feature: added
set_find_paths()
tocmake-multi
, to set CMake FindXXX.cmake paths. This will work only for single-config build-systems. - Feature: using environment variables for
configure()
,requirements()
andtest()
methods - Feature: added a
pylintrc
environment variable inconan.conf
to define a PYLINTRC file with custom style definitions (like indents). - Feature: fixed
vcvars
architecture setting - Fix: Make
cacert.pem
folder use CONAN_USER_HOME if existing - Fix: fixed
options=a=b
option definition - Fix:
package_files
command allows--force
argument to overwrite existing instead of failing - BugFix: Package names with underscore when parsing
conanbuildinfo.txt
0.22.3 (03-May-2017)
- Fixed CMake generator (in targets mode) with linker/exe flags like
--framework XXX
containing spaces.
0.22.2 (20-April-2017)
Fix: Recovered username regular expression to solve problems with usernames starting with non-alphabetical characters.
0.22.1 (18-April-2017)
- Fix: "-" symbol available again in usernames.
- Fix: Added
future
requirement to solve an error with pyinstaller generating the Windows installer.
0.22.0 (18-April-2017)
0.22.0
- Feature:
[build_requires]
can now be declared inprofiles
and apply them to build packages. Those requirements are only installed if the package is required to build from sources, and do not affect its package ID hash, and it is not necessary to define them in the package recipe. Ideal for testing libraries, cross compiling toolchains (like Android), development tools, etc. - Feature: Much improved support for cross-building. Support for cross-building to Android provided, with toolchains installable via
build_requires
. - Feature: New
package_files
command, that is able to create binary packages directly from user files, without needing to definebuild()
orpackage()
methods in the the recipes. - Feature: command
conan new
with a new--bare
option that will create a minimal package recipe, usable with thepackage_files
command. - Feature: Improved
CMake
helper, withtest()
method, automatic setting of BUILD_SHARED_LIBS, better management of variables, support for parallel compilation in MSVC (via /MP) - Feature: new
tools.msvc_build_command()
helper that both sets the Visual vcvars and calls Visual to build the solution. Alsovcvars_command
is improved to return non-empty string even if vcvars is set, for easier concatenation. - Feature: Added package recipe linter, warning for potential errors and also about Python 3 incompatibilities when running from Python 2. Enabled by default can be opt-out.
- Feature: Improvements in HTML output of
conan info --graph
- Feature: allow custom path to bash, as configuration and environment variable.
- Fix: Not issuing an unused variable warning in CMake for the CONAN_EXPORTED variable
- Fix: added new
mips
architectures and latest compiler versions to default settings.yml - Fix: Unified username allowed patterns to those used in package references.
- Fix: hadrcoded vs15 version in tools.vcvars
0.21.2 (4-April-2017)
0.21.2
- Bugfix: virtualenv generator quoting environment variables in Windows.