aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-08-16 13:06:13 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-08-26 17:23:39 +0100
commit7fff8318f537400249f191eda373c716e5ba2bee (patch)
treeac6adbd21c5d1234770ee7ace937e391785717b1 /docs/markdown/snippets
parentdadf6e2233f15beff6b544850fee7bfa765e951e (diff)
downloadmeson-7fff8318f537400249f191eda373c716e5ba2bee.zip
meson-7fff8318f537400249f191eda373c716e5ba2bee.tar.gz
meson-7fff8318f537400249f191eda373c716e5ba2bee.tar.bz2
Add a release note snippet
Also adjust relevant documentation
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/dependency_version.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/snippets/dependency_version.md b/docs/markdown/snippets/dependency_version.md
new file mode 100644
index 0000000..4bbf346
--- /dev/null
+++ b/docs/markdown/snippets/dependency_version.md
@@ -0,0 +1,14 @@
+## `dependency(version:)` now applies to all dependency types
+
+Previously, version constraints were only enforced for dependencies found using
+the pkg-config dependency provider. These constraints now apply to dependencies
+found using any dependency provider.
+
+Some combinations of dependency, host and method do not currently support
+discovery of the version. In these cases, the dependency will not be found if a
+version constraint is applied, otherwise the `version()` method for the
+dependency object will return `'unknown'`.
+
+(If discovering the version in one of these combinations is important to you,
+and a method exists to determine the version in that case, please file an issue
+with as much information as possible.)