This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 9135df52b495 CAMEL-28020: camel-salesforce - upgrade guide notes for
4.22.4 and 4.18.7 (#31323)
9135df52b495 is described below
commit 9135df52b495b911f3f61b66fbfa553efc07cd1b
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Dec 3 20:23:07 2026 +0100
CAMEL-28020: camel-salesforce - upgrade guide notes for 4.22.4 and 4.18.7
(#31323)
The upgrade guides of every release line live on main. The change of
CAMEL-28020 (#31250) is backported to camel-4.22.x and camel-4.18.x, so add
the camel-salesforce note about the REST and raw request URLs and the
URL-encoded record id segment to the "Upgrading from 4.22.3 to 4.22.4"
section of the 4.22 guide and to the "Upgrading from 4.18.6 to 4.18.7"
section of the 4.18 guide.
The text is the one of the 4.25 note: the REST client, the raw client and
the processors behave the same on the three lines for these operations.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
---
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 11 +++++++++++
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
index 521f745feb9f..e45965531faa 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
@@ -60,6 +60,17 @@ in such a header resolves it before the `fop` endpoint, for
example with the Sim
and a WARN is logged. Set other FOP user agent settings in the FOP
configuration file (`userConfigURL`) or on a
custom `FopFactory`.
+=== camel-salesforce - REST and raw request URLs must stay on the configured
instance
+
+The REST client `queryMore` operation and the raw client `makeRequest`
operation now validate the request URL they
+build before sending it. The `nextRecordsUrl` passed to `queryMore` and the
`path` passed to `makeRequest` must be an
+absolute path (they have to begin with a single `/`), and the fully resolved
URL must keep the scheme, host and port of
+the configured Salesforce instance URL. A value that does not meet these rules
now fails fast with a
+`SalesforceException` instead of being sent. Legitimate `nextRecordsUrl`
values returned by Salesforce and raw paths
+that begin with `/` are unaffected. In addition, the record `id` segment of
the `getSObject`, `updateSObject`,
+`updateSObjectMultipart`, `deleteSObject` and `getBlobField` operations is now
URL-encoded, matching the operations
+that already encode their path values.
+
=== camel-azure-eventgrid, camel-azure-servicebus, camel-azure-eventhubs - a
DefaultAzureCredential set as tokenCredential is used
With `credentialType` `AZURE_IDENTITY`, which these components also choose
when the `tokenCredential` option is a
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
index 94f61dbfd491..771364c46415 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc
@@ -73,6 +73,17 @@ in such a header resolves it before the `fop` endpoint, for
example with the Sim
and a WARN is logged. Set other FOP user agent settings in the FOP
configuration file (`userConfigURL`) or on a
custom `FopFactory`.
+=== camel-salesforce - REST and raw request URLs must stay on the configured
instance
+
+The REST client `queryMore` operation and the raw client `makeRequest`
operation now validate the request URL they
+build before sending it. The `nextRecordsUrl` passed to `queryMore` and the
`path` passed to `makeRequest` must be an
+absolute path (they have to begin with a single `/`), and the fully resolved
URL must keep the scheme, host and port of
+the configured Salesforce instance URL. A value that does not meet these rules
now fails fast with a
+`SalesforceException` instead of being sent. Legitimate `nextRecordsUrl`
values returned by Salesforce and raw paths
+that begin with `/` are unaffected. In addition, the record `id` segment of
the `getSObject`, `updateSObject`,
+`updateSObjectMultipart`, `deleteSObject` and `getBlobField` operations is now
URL-encoded, matching the operations
+that already encode their path values.
+
=== camel-ibm-watsonx-data - the OAuth token of oauthProfile is sent as a
Bearer token
With `oauthProfile`, the endpoint used to obtain an access token once at
startup and use it as `apiKey`, so the token