Today's update (4920618) brings with it the following changes:
firstname lastnameafter a recent update. This has now been fixed.
Today's update (0b662f0) brings with it the following changes:
Today's update (ce51eda) brings with it the following changes:
Today's update (7601a42) brings with it the following changes:
explain()was added, used to dump the contents of variables used in templates with proper color and indentation. The use of
Dumper.dump()caused sensitive data to be made available. The old
Dumper.dump()method will still work, but restricted attribute values will be trimmed, just like
@importstatements are supported, and resolve relative to the object that is being rendered. The prefix
_and the extension (.sass/.scss) is automatically appended if not specified to support the same behavior as the Ruby implementation.
resolve_path()template function is finally available. It works just like the resolve_path request handler, and must start with a container identifier. They both just verify permission on the final object/container in the path, just like before.
current_sitetemplate function can now be used. Some of the other site_XXX template variables are now redundant. Using
current_site.container_data.resolve_path("path/to/file")is a good way of getting access to content below the site root without resorting to hard-coded container identifiers.
enable_timing_reportconfiguration variable is set. The report will also include how much time is spent in each template function, each template and the total time spent on generating the HTML.
embed()template function. You can set the value to either
readrequest handler, enabling proper filename when downloading content in more situations.
page_timertemplate function no longer returns the timer value for the entire page. It now returns a timer instance you can use to start, stop and report timing information. This changes the API, so documentation has been updated to match the new behavior.