You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2026/03/12 12:23:33 UTC
(camel) branch main updated: Document deprecation conventions in AGENTS.md
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a0937e1e50a3 Document deprecation conventions in AGENTS.md
a0937e1e50a3 is described below
commit a0937e1e50a3fda426f718c6ab9e09c7ac640b5d
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Mar 12 13:23:22 2026 +0100
Document deprecation conventions in AGENTS.md
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
AGENTS.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
index 632f852c8382..75fde182c323 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -77,6 +77,12 @@ Packages:
- Components: `org.apache.camel.component.<name>`
- Core: `org.apache.camel.<module>`
+Deprecation:
+- Add `(deprecated)` suffix to `<name>` in `pom.xml`: `<name>Camel :: MyComponent (deprecated)</name>`
+- Add `(deprecated)` suffix to the doc page title in `src/main/docs/*.adoc`
+- Add `@Deprecated` to Java classes
+- Document in the upgrade guide (`docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_XX.adoc`)
+
Annotations:
- `@UriPath` for path params
- `@UriParam` for query params