The new syntax is using MeshTags, which is a sparse representation of a MesFunction, combining the benifits is MeshFunction and MeshValueCollection. See these tests or this demo for a he new syntax.