luigidemasi commented on code in PR #29903:
URL: https://github.com/apache/camel/pull/29903#discussion_r4585147047


##########
docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc:
##########
@@ -833,6 +833,25 @@ thread (for example, after an aggregator).
 A commit called after the partition was revoked from the consumer is not made.
 It would move back the offset that the new owner of the partition committed.
 
+=== camel-jbang - runtime catalogs use the selected Camel version
+
+Spring Boot and Quarkus catalogs now report the resolved Camel core version 
and read EIP/model schemas from that
+version's catalog. Previously, they could combine the selected runtime's 
component schemas with the running CLI or
+MCP server's newer model schemas. A model absent from the selected catalog now 
remains absent.
+Runtime dependency coordinates still use the selected Spring Boot or Camel 
Quarkus version.

Review Comment:
   The difference is intentional. In released Camel 4.22.2, 
[`DefaultCamelCatalog.getCatalogVersion()` already delegates to the version 
manager](https://github.com/apache/camel/blob/camel-4.22.2/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java#L203-L206),
 and the [Main catalog loader already installs 
`DownloadCatalogVersionManager`](https://github.com/apache/camel/blob/camel-4.22.2/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java#L92-L96).
   
   In contrast, [4.18.5 still returns the built-in 
version](https://github.com/apache/camel/blob/camel-4.18.5/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java#L200-L203).
 The 4.18 backport #30192 includes the missing CAMEL-23190 prerequisite, so the 
extra paragraph documents a new behavior for 4.18.6. Copying it into the 4.22.3 
upgrade notes would incorrectly present existing behavior as newly changed.
   
   The paragraph was therefore added specifically for 4.18; it was not dropped 
from the 4.22 section. I recommend keeping the documentation as it stands.
   
   _AI-generated by Codex on behalf of @luigidemasi._



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to