You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.rst
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,42 +12,42 @@ Check https://github.com/conan-io/conan for issues and more details about develo
12
12
Please read more :ref:`about Conan stability<stability>`.
13
13
14
14
1.6.0 (19-July-2018)
15
-
------------------------
15
+
--------------------
16
16
17
-
- Feature: Added new ``self.run(..., run_environment=True)`` argument, that applies automatically ``PATH``, ``LD_LIBRARY_PATH`` and
18
-
``DYLD_LIBRARY_PATH`` environment variable, from the dependencies, to the execution of the current command.
19
-
- Feature: Added new ``tools.run_environment()`` as a shortcut of using ``tools.environment_append`` and ``RunEnvironment()`` together.
20
-
- Feature: Added new ``self.run(..., ignore_errors=True)`` argument, that inhibits launching an exception if the commands fails, user can
17
+
- Feature: Added a new ``self.run(..., run_environment=True)`` argument, that automatically applies ``PATH``, ``LD_LIBRARY_PATH`` and
18
+
``DYLD_LIBRARY_PATH`` environment variables from the dependencies, to the execution of the current command.
19
+
- Feature: Added a new ``tools.run_environment()`` method as a shortcut to using ``tools.environment_append`` and ``RunEnvironment()`` together.
20
+
- Feature: Added a new ``self.run(..., ignore_errors=True)`` argument that represses launching an exception if the commands fails, so user can
21
21
capture the return code.
22
-
- Feature: Improved ``tools.Git`` to allow capturing the current branch and enabling to export a package with version based on the branch and commit.
23
-
- Feature: The ``json`` generator now outputs the settings and options
24
-
- Feature: :command:`conan remote list --raw` prints remote info in a format valid for *remotes.txt*, so it can be used for ``conan config install``
25
-
- Feature: Visual Studio generator creates *conanbuildinfo.props* file using ``$(USERPROFILE)`` macro.
26
-
- Feature: Added ``filename`` parameter to ``tools.get()`` in case it cannot be deduced from URL.
22
+
- Feature: Improved ``tools.Git`` to allow capturing the current branch and enabling the export of a package whose version is based on the branch and commit.
23
+
- Feature: The ``json`` generator now outputs settings and options
24
+
- Feature: :command:`conan remote list --raw` prints remote information in a format valid for *remotes.txt*, so it can be used for ``conan config install``
25
+
- Feature: Visual Studio generator creates the *conanbuildinfo.props* file using the ``$(USERPROFILE)`` macro.
26
+
- Feature: Added a ``filename`` parameter to ``tools.get()`` in case it cannot be deduced from the URL.
27
27
- Feature: Propagated ``keep_permissions`` and ``pattern`` parameters from ``tools.get()`` to ``tools.unzip()``.
28
-
- Feature: Added XZ extensions to ``unzip()``. It will only work in Python 3 with lzma support enabled, producing an error otherwise.
28
+
- Feature: Added XZ extensions to ``unzip()``. This will only work in Python 3 with lzma support enabled, otherwise, and error is produced.
29
29
- Feature: Added ``FRAMEWORK_SEARCH_PATHS`` var to the XCode generator to support packaging Apple Frameworks. Read more
30
30
:ref:`here<package_apple_framework>`.
31
-
- Feature: Added :command:`conan build --test` and ``should_configure`` attribute to control test stage. Read more
31
+
- Feature: Added :command:`conan build --test` and a ``should_configure`` attribute to control the test stage. Read more
32
32
:ref:`here<attribute_build_stages>`.
33
33
- Feature: New tools to convert between files with LF and CRLF line endings: :ref:`tools_unix2dos` and :ref:`tools_dos2unix`.
34
-
- Feature: Added :command:`conan config install [url] --type=git` to force cloning git repo for ``http://...`` git urls.
35
-
- Feature: Improved output information when a package is missing in a remote, showing who is the package requiring the missing one.
36
-
- Feature: Improved the management of an upload interruption, avoiding uploads of incomplete tarballs.
34
+
- Feature: Added :command:`conan config install [url] --type=git` to force cloning of a Git repo for ``http://...`` git urls.
35
+
- Feature: Improved output information when a package is missing in a remote to show which package requires the missing one.
36
+
- Feature: Improved the management of an upload interruption to avoid uploads of incomplete tarballs.
37
37
- Feature: Added new ``LLVM`` toolsets to the base ``settings.yml`` (Visual Studio).
38
-
- Feature: Created plugin for pylint with the previous Conan checks (run in the export), enabling to use the plugin in IDEs and command line to check the correctness of the recipes.
39
-
- Feature: Improved ``deb`` installer to guarantee that runs correctly in Debian 9 and other distros.
38
+
- Feature: Created a plugin for pylint with the previous Conan checks (run in the export) enabling usage of the plugin in IDEs and command line to check if recipes are correct.
39
+
- Feature: Improved the ``deb`` installer to guarantee that it runs correctly in Debian 9 and other distros.
40
40
- Fix: Fixed :command:`conan search -q` and :command:`conan remove -q` to not return packages that don't have the setting specified in the query.
41
-
- Fix: Fixed ``SystemPackageTool`` when calling to update with ``sudo`` not enabled and ``mode=verify``.
42
-
- Fix: Removed ``pyinstaller`` shared libraries from the linker environment for any conan subprocess.
41
+
- Fix: Fixed ``SystemPackageTool`` when calling to update with ``sudo`` is not enabled and ``mode=verify``.
42
+
- Fix: Removed ``pyinstaller`` shared libraries from the linker environment for any Conan subprocess.
43
43
- BugFix: The ``YumTool`` now calls ``yum update`` instead of ``yum check-update``.
44
-
- Bugfix: Solved bug using ``--manifest`` parameter with :command:`conan create` causing the deletion of information of the dependency graph.
45
-
- Bugfix: Solved bug in the ``build`` method of the ``Version`` model, not showing correctly the version build field.
46
-
- Bugfix: Fixed Conan crash with a dependency tree containing transitive private nodes.
44
+
- Bugfix: Solved a bug in which using ``--manifest`` parameter with :command:`conan create` caused the deletion of information in the dependency graph.
45
+
- Bugfix: Solved bug in which the ``build`` method of the ``Version`` model was not showing the version build field correctly .
46
+
- Bugfix: Fixed a Conan crash caused by a dependency tree containing transitive private nodes.
47
47
48
48
49
49
1.5.2 (5-July-2018)
50
-
--------------------
50
+
-------------------
51
51
52
52
- Bugfix: Fixed bug with pre-1.0 packages with sources.
53
53
- Bugfix: Fixed regression in private requirements.
@@ -515,7 +515,7 @@ Check https://github.com/conan-io/conan for issues and more details about develo
515
515
516
516
517
517
0.29.2 (2-December-2017)
518
-
-------------------------
518
+
------------------------
519
519
520
520
- Updated python cryptography requirement for OSX due the pyOpenSSL upgrade. See more: https://pypi.org/project/pyOpenSSL/
Copy file name to clipboardExpand all lines: faq/conan1.0.rst
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@
4
4
Upgrading to conan 1.0
5
5
======================
6
6
7
-
If you were using a 0.X conan version, there are some things to consider while upgrading. They are reflected in the :ref:`changelog<changelog>`., but this section summarizes the most important changes here:
7
+
If you have been using a 0.X version of Conan, there are some things to consider when upgrading to version 1.0. These are reflected in the :ref:`changelog<changelog>`., however, this section summarizes the most important ones:
8
8
9
9
10
10
Command line changes
11
11
--------------------
12
12
13
-
There has been a few things that will break existing usage (compared to 0.30). Most of them are in command line arguments, so they are relatively easy to fix. The most important one is that now most commands require the path to the conanfile folder or file, instead of using ``--path`` and ``--file`` arguments. Specifically, :command:`conan install`, :command:`conan export` and :command:`conan create` will be the ones most affected:
13
+
There are quite a few things that will break existing usage (compared to 0.30). Most of these are in command line arguments, so they are relatively easy to fix. The most important one is that now, most commands require the path to the conanfile folder or file, instead of using ``--path`` and ``--file`` arguments. Specifically, :command:`conan install`, :command:`conan export` and :command:`conan create` are the ones most affected:
14
14
15
15
.. code-block:: bash
16
16
@@ -26,11 +26,11 @@ There has been a few things that will break existing usage (compared to 0.30). M
This behavior aligns with the :command:`conan source`, :command:`conan build`,:command:`conan package` commands, that all use the same arguments to locate the *conanfile.py* containing the logic to be run.
29
+
This behavior aligns with the :command:`conan source`, :command:`conan build` and:command:`conan package` commands, that all use the same arguments to locate the *conanfile.py* containing the logic to be run.
30
30
31
31
Now all commands read: :command:`command <origin-conanfile> ...`
32
32
33
-
Also, all arguments to command line now use dash instead of underscore:
33
+
Also, all arguments to the command line now use a dash instead of an underscore:
34
34
35
35
.. code-block:: bash
36
36
@@ -43,18 +43,18 @@ Deprecations/removals
43
43
- ``self.conanfile_directory`` has been removed. Use ``self.source_folder``, ``self.build_folder``, etc. instead
44
44
- ``self.cpp_info``, ``self.env_info`` and ``self.user_info`` scope has been reduced to only the ``package_info()`` method
45
45
- ``gcc`` and ``ConfigureEnvironment`` were already removed in conan 0.30.1
46
-
- ``werror`` doesn't exist anymore. Now it is the builtin behavior.
46
+
- ``werror`` doesn't exist anymore. It is now built-in behavior.
47
47
- Command ``test_package`` has been removed. Use :command:`conan create` and :command:`conan test` instead.
48
-
- ``CMake`` helper only allows now (from conan 0.29). the ``CMake(self)`` syntax
48
+
- ``CMake`` helper now (from conan 0.29) only allows the ``CMake(self)`` syntax
49
49
- :command:`conan package_files` command was replaced in conan 0.28 by :command:`conan export-pkg` command.
50
50
51
51
52
-
Settings and profiles. Gcc/CLang versioning
52
+
Settings and profiles. GCC/Clang versioning
53
53
-------------------------------------------
54
54
55
-
gcc and clang compilers have modified their versioning approach, from gcc > 5 and clang > 4,
56
-
the minors are really bugfixes, and then they have binary compatibility. To adapt to this,
57
-
conan now includes major version in the *settings.yml* default settings file:
55
+
GCC and Clang compilers have modified their versioning approach, from GCC > 5 and Clang > 4.
56
+
The minor versions are really bugfixes, and then they have binary compatibility. To adapt to this,
57
+
conan now includes the major version in the *settings.yml* default settings file:
58
58
59
59
.. code-block:: yaml
60
60
@@ -64,11 +64,11 @@ conan now includes major version in the *settings.yml* default settings file:
64
64
"6", "6.1", "6.2", "6.3", "6.4",
65
65
"7", "7.1", "7.2"]
66
66
67
-
Most package creators want to use the major-only settings, like ``-s compiler=gcc -s compiler.version=5``,
68
-
instead of specifying the minors too.
67
+
Most package creators want to use the major-only settings, such as ``-s compiler=gcc -s compiler.version=5``,
68
+
instead of also specifying the minor versions.
69
69
70
70
The default profile detection and creation has been modified accordingly, but if you have a default
71
-
profile you may want to update it to reflect this:
71
+
profile, you may want to update it to reflect this:
72
72
73
73
.. code-block::text
74
74
@@ -78,7 +78,7 @@ profile you may want to update it to reflect this:
78
78
compiler.version=7 #instead of 7.2
79
79
80
80
81
-
Conanassociated tools (conan-package-tools, conan.cmake) have been upgraded to accomodate this new defaults.
81
+
Conan-associated tools (conan-package-tools, conan.cmake) have been upgraded to accommodate these new defaults.
82
82
83
83
84
84
@@ -88,8 +88,7 @@ New features
88
88
------------
89
89
90
90
- Cross-compilation support with new default settings in settings.yml: ``os_build``, ``arch_build``, ``os_target``, ``arch_target``.
91
-
They are automatically removed from the ``package_id`` computation, or kept if they
92
-
are the only ones defined (as it happens usually with dev-tools packages). It is possible to keep them too with the ``self.info.include_build_settings()`` method (call it in your ``package_id()`` method).
91
+
They are automatically removed from the ``package_id`` computation, or kept if they are the only ones defined (as usually happens with dev-tools packages). It is also possible to keep them with the ``self.info.include_build_settings()`` method (call it from your ``package_id()`` method).
93
92
94
93
.. important::
95
94
@@ -105,7 +104,7 @@ New features
105
104
Windows:
106
105
subsystem: [None, cygwin, msys, msys2, wsl]
107
106
108
-
This subsetting can be used by build helpers as ``CMake``, to act accordingly.
107
+
This subsetting can be used by build helpers such as ``CMake`` to act accordingly.
0 commit comments