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

[camel] branch master updated: CAMEL-15587: Optimize simple language for numeric values.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 32671c8  CAMEL-15587: Optimize simple language for numeric values.
32671c8 is described below

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