aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.asciidoc6
-rw-r--r--core/deps.mk4
2 files changed, 9 insertions, 1 deletions
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 863780e..83cdf68 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -34,10 +34,14 @@
as well as Cowboy, Ranch, Gun and Cowlib remain
in the index.
-2024/11/19: The deprecated defines `dep_fetch`, `dep_name`,
+2024/11/19: The deprecated defines `dep_fetch`,
`dep_repo` and `dep_commit` have been removed
in favor of their `query_*` equivalents.
+
+ The deprecated define `dep_name` will be
+ removed at a later date to give time to
+ users to upgrade.
++
The deprecated legacy fetch method has also
been removed (`dep_cowboy = https://... ref`
without an explicit fetch method). Adding "git"
diff --git a/core/deps.mk b/core/deps.mk
index 310db80..7819f90 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -111,6 +111,10 @@ query_extra_fail = -
query_absolute_path = $(addprefix $(DEPS_DIR)/,$(call query_name,$1))
+# Deprecated legacy query function. Used by RabbitMQ and its third party plugins.
+# Can be removed once RabbitMQ has been updated and enough time has passed.
+dep_name = $(call query_name,$(1))
+
# Application directories.
LOCAL_DEPS_DIRS = $(foreach a,$(LOCAL_DEPS),$(if $(wildcard $(APPS_DIR)/$a),$(APPS_DIR)/$a))