Migrating from Old Syntax to New Syntax

The recipe containing old syntax of invoking directives will automagically get transformed into new directives syntax. But, any new directives or custom directives have to specify and use new syntax.

What's Difference in New Syntax

There are some major difference in new syntax for invoking directives, all are listed below.

  • Semicolon(;) denotes a terminator for a single directive. E.g. Old : parse-as-csv body , true New : parse-as-csv :body ',' true ;

  • Column names are represented with a prefixed-colon. E.g. Old : body, New : :body

  • Text arguments are represented within quotes, single or double. E.g. Old: ;, New : ';'

  • Expressions or conditions are now enclosed with a construct exp: { condition or expression }

  • Optional arguments are truly optional now.

Created in 2020 by Google Inc.