[4.1] 3415e80 Add notice about casting/converting data types.

Lasse Karstensen lkarsten at varnish-software.com
Fri Sep 11 10:38:57 CEST 2015

commit 3415e805bedf1cc4cc67599371cbb24623212597
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Fri Sep 11 10:37:26 2015 +0200

    Add notice about casting/converting data types.

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index b6d7702..6e55cdf 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -400,6 +400,10 @@ regsuball(str, regex, sub)
 .. regsub* is in vcc_expr.c
+For converting or casting VCL values between data types use the functions
+available in the std VMOD.
diff --git a/doc/sphinx/whats-new/upgrading.rst b/doc/sphinx/whats-new/upgrading.rst
index 2921d10..e23c96d 100644
--- a/doc/sphinx/whats-new/upgrading.rst
+++ b/doc/sphinx/whats-new/upgrading.rst
@@ -7,7 +7,12 @@ Upgrading to Varnish 4.1 (unreleased)
 Changes to VCL
-Not documented yet.
+Data type conversion functions now take a fallback
+Data type conversion functions in the std vmod now takes an additional
+argument *fallback*, which is returned if the conversion does not succeed.
 Version statement is kept
@@ -32,11 +37,11 @@ preamble. On normal HTTP listeners the behaviour is unchanged.
 Management interface
-The management interface enabled with ``-M`` used to support the telnet
+The management interface enabled with ``-M`` previously supported the telnet
-Support for telnet control sequences have been retired. Replacements are netcat
-or (preferred) ``varnishadm``.
+Support for telnet control sequences have been retired. Replacement clients
+like netcat or (preferred) ``varnishadm`` should be used instead.
 Runtime users and groups
@@ -65,4 +70,3 @@ The following parameters have been retired:
 * `user` (security revamp)
 Minor changes of default values on `workspace_session` and `vsl_mask`.

More information about the varnish-commit mailing list