[master] 1440a4a Boolean automatic conversions

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Sep 14 18:00:27 CEST 2016


commit 1440a4a518024b585ba7765f1891c479a0ab628b
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Sep 14 17:59:13 2016 +0200

    Boolean automatic conversions

diff --git a/doc/sphinx/whats-new/upgrading-5.0.rst b/doc/sphinx/whats-new/upgrading-5.0.rst
index dd68e1b..993d400 100644
--- a/doc/sphinx/whats-new/upgrading-5.0.rst
+++ b/doc/sphinx/whats-new/upgrading-5.0.rst
@@ -18,6 +18,9 @@ Changes to VCL
   underscores (_).  In addition, the first character should be alphabetic.
   That is, the name should match "[A-Za-z][A-Za-z0-9\_-]*".
 
+* Like strings, backends and integers can now be used as boolean expressions
+  in if statements.
+
 backends
 ~~~~~~~~
 



More information about the varnish-commit mailing list