You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/29 11:33:02 UTC

[camel] branch master created (now 32671c8)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


      at 32671c8  CAMEL-15587: Optimize simple language for numeric values.

This branch includes the following new commits:

     new 32671c8  CAMEL-15587: Optimize simple language for numeric values.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel] 01/01: CAMEL-15587: Optimize simple language for numeric values.

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 32671c846c0a64df0b6d8c50a0df5acebdb3b125
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Sep 29 13:28:09 2020 +0200

    CAMEL-15587: Optimize simple language for numeric values.
---
 .../modules/ROOT/pages/camel-3x-upgrade-guide-3_6.adoc         | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_6.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_6.adoc
index d2daddb..3149baa 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_6.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_6.adoc
@@ -6,6 +6,16 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
 
 == Upgrading Camel 3.5 to 3.6
 
+=== Simple language
+
+The simple language have been optimized to handle numeric and boolean values more naturally.
+We have also optimized for unneeded type conversions in predicates such as comparing left and right hand side in operators
+with their given type as-is, or the least amount of conversion when possible.
+
+The `contains` and `not contains` operator now handles numerics naturally. For example `${header.numbers} contains '123,456'`
+would return `false` if the numbers header has the value `-123`, as the operator now compares numerically. Previously it
+would compare with String based values.
+
 === API components upgrade
 
 The `camel-braintree`, `camel-twilio` and `camel-zendesk` has updated to newer versions and regenerated their API