Skip to content

Commit 1c6b3cb

Browse files
authored
Merge pull request #4174 from conan-io/release/2.19
Sync develop2
2 parents 4c70092 + 6b96efc commit 1c6b3cb

File tree

4 files changed

+69
-2
lines changed

4 files changed

+69
-2
lines changed

changelog.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,34 @@ Changelog
33

44
For a more detailed description of the major changes that Conan 2 brings, compared with Conan 1.X, please read :ref:`whatsnew`
55

6+
2.19.0 (23-Jul-2025)
7+
--------------------
8+
9+
- Feature: Changed some private attributes in MesonToolchain as public ones, e.g., `b_ndebug`, `b_staticpic`. `#18676 <https://github.com/conan-io/conan/pull/18676>`_
10+
- Feature: PremakeDeps will now correctly propagate libraries, headers and binaries depending on the requirement traits. `#18663 <https://github.com/conan-io/conan/pull/18663>`_
11+
- Feature: Add `cmake_target_aliases` support for `CMakeConfigDeps`. `#18662 <https://github.com/conan-io/conan/pull/18662>`_
12+
- Feature: Add ``self.conan_data`` to the information serialized by ConanFile, so it is printed in ``conan graph info`` and other commands. `#18661 <https://github.com/conan-io/conan/pull/18661>`_ . Docs `here <https://github.com/conan-io/docs/pull/4172>`__
13+
- Feature: Let :command:`conan source` reference the backup sources it generates in more cases. `#18655 <https://github.com/conan-io/conan/pull/18655>`_
14+
- Feature: Add user channel to CycloneDX SBOM ``sbom_ref`` field. `#18649 <https://github.com/conan-io/conan/pull/18649>`_
15+
- Feature: Enable ``test_package_folder`` attribute for :command:`conan export-pkg` command. `#18621 <https://github.com/conan-io/conan/pull/18621>`_ . Docs `here <https://github.com/conan-io/docs/pull/4173>`__
16+
- Feature: Add support for GCC 12.5. `#18587 <https://github.com/conan-io/conan/pull/18587>`_ . Docs `here <https://github.com/conan-io/docs/pull/4169>`__
17+
- Feature: New `makefile` parameter in Autotools `make`/`install` methods to allow specifying the name of the Makefile file. `#18578 <https://github.com/conan-io/conan/pull/18578>`_
18+
- Feature: Let graph html focus on searched package when pressing Intro in search box. `#18575 <https://github.com/conan-io/conan/pull/18575>`_
19+
- Feature: Allow defining a custom platform on Premake generator for Windows. `#18572 <https://github.com/conan-io/conan/pull/18572>`_
20+
- Feature: Allow profile composition while using conan runners. `#18534 <https://github.com/conan-io/conan/pull/18534>`_
21+
- Fix: Add explicit error when trying to export a reference with `channel` but no `user`. `#18646 <https://github.com/conan-io/conan/pull/18646>`_ . Docs `here <https://github.com/conan-io/docs/pull/4167>`__
22+
- Fix: Check `required_conan_version` before loading hooks. `#18644 <https://github.com/conan-io/conan/pull/18644>`_
23+
- Fix: Avoid logging levels hiding the login username/password request messages. `#18642 <https://github.com/conan-io/conan/pull/18642>`_
24+
- Fix: Allow ``cc`` compiler to be defined with spaces for profile auto detection. `#18628 <https://github.com/conan-io/conan/pull/18628>`_
25+
- Fix: Fixed untargz when the destination path uses the Windows long paths prefix `\\?\`. `#18612 <https://github.com/conan-io/conan/pull/18612>`_
26+
- Fix: `CMakeConfigDeps` filter `requires()` to `package_type=application`. `#18611 <https://github.com/conan-io/conan/pull/18611>`_
27+
- Fix: Fix multithreading for self-contained Conan binaries. `#18603 <https://github.com/conan-io/conan/pull/18603>`_
28+
- Fix: Improve version detection for `cc` compilers. `#18600 <https://github.com/conan-io/conan/pull/18600>`_
29+
- Fix: Pass deployment target from profile to ``XcodeBuild``. `#18496 <https://github.com/conan-io/conan/pull/18496>`_ . Docs `here <https://github.com/conan-io/docs/pull/4129>`__
30+
- Fix: Project path and target name are quoted now for ``XcodeBuild``. `#18496 <https://github.com/conan-io/conan/pull/18496>`_ . Docs `here <https://github.com/conan-io/docs/pull/4129>`__
31+
- Bugfix: Make `package_type="configuration"` packages independent of the `config_mode` for their `package_id`. `#18671 <https://github.com/conan-io/conan/pull/18671>`_
32+
- Bugfix: PremakeDeps: ensure correct linkage on dependent libraries. `#18631 <https://github.com/conan-io/conan/pull/18631>`_
33+
634
2.18.1 (04-Jul-2025)
735
--------------------
836

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666

6767

6868
# The short X.Y version.
69-
version = "2.18"
69+
version = "2.19"
7070
# The full version, including alpha/beta/rc tags.
71-
release = u'2.18.1'
71+
release = u'2.19.0'
7272

7373
dir_path = os.path.dirname(os.path.realpath(__file__))
7474
if not os.path.exists(os.path.join(dir_path, "versions.json")):

knowledge/faq.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,40 @@ The general best practices are:
222222
- Keep the versions aligned. If using a version range try to use the same version range everywhere.
223223
- Declare first dependencies that use fixed version, not version ranges
224224
- Use the ``conan graph info ... --format=html > graph.html`` graphical interactive output to understand and navigate conflicts.
225+
226+
.. _faq_stdout_stderr_redirects:
227+
228+
Conan is redirecting its output to stderr
229+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
230+
231+
As explained :ref:`in the commands reference<commands_output>`,
232+
by design Conan redirects its logging information to the standard error output (stderr),
233+
while the actual results of the commands are sent to the standard output (stdout).
234+
235+
This is done to allow users to easily redirect the output of Conan commands to files or other
236+
processes without having the logging information mixed with the actual results.
237+
238+
For example, running a command like:
239+
240+
.. code-block:: text
241+
242+
$ conan graph info --requires=zlib/1.3.1 --format=json > graph.json
243+
244+
...
245+
246+
======== Computing dependency graph ========
247+
Graph root
248+
cli
249+
Requirements
250+
zlib/1.3.1#b8bc2603263cf7eccbd6e17e66b0ed76 - Cache
251+
252+
======== Computing necessary packages ========
253+
Connecting to remote 'conancenter' anonymously
254+
Requirements
255+
zlib/1.3.1#b8bc2603263cf7eccbd6e17e66b0ed76:dbb40f41e6e9a5c4a9a1fd8d9e6ccf6d92676c92#8976086f07d37e3f6288e2fccf9650ae - Cache
256+
257+
will create a file named ``graph.json`` with the JSON output of the command, but it will not
258+
include any logging information, which will be printed to the console.
259+
260+
Note that this approach is common in many command-line tools such as ``git`` and ``curl``,
261+
and it is not specific to Conan.

reference/commands.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ common practices in many CLI tools and the `POSIX standard
101101
- ``stderr``: For diagnostic output, including logs, warnings, errors, and progress
102102
messages.
103103

104+
More info can be found more in the :ref:`FAQ section<faq_stdout_stderr_redirects>`.
105+
104106
**Redirecting Output to Files**
105107

106108
You can redirect Conan output to files using shell redirection:

0 commit comments

Comments
 (0)