@harikt harikt released this Jul 21, 2017 · 2 commits to 2.x since this release

Assets 2
  • Added ability to set map and path in ViewFactory. #73
  • Removed CHANGES.md file.
  • Added CHANGELOG.md

@pmjones pmjones released this Oct 3, 2016 · 8 commits to 2.x since this release

Assets 2

Hygiene release to update docs.

@pmjones pmjones released this Jan 21, 2016 · 12 commits to 2.x since this release

Assets 2
  • Added ability to customize template extension. Thank you Josh Butts.
  • Added documentation how to customize template extension.

@pmjones pmjones released this Mar 27, 2015

Assets 2

This release modifies the testing structure and updates other support files.

@pmjones pmjones released this Mar 16, 2015

Assets 2

This release has one feature addition, in addition to doucmentation and support file updates.

Per @harikt, we have brought back the "finder" functionality from Aura.View v1. This means the TemplateRegistry can now search through directory paths to find templates implicitly, in addition to the existing explicitly registered templates. (Explicit mappings take precedence over search paths.)

Thanks also to @iansltx for his HHVM-related testing work.

@pmjones pmjones released this Nov 7, 2014

Assets 2
  • TST: Update testing structure, and disable auto-resolve for container tests
  • DOC: Update README and docblocks
  • FIX: TemplateRegistry map now passes the array via set to make the file
    inside a closure

@pmjones pmjones released this Aug 30, 2014

Assets 2

First stable 2.0 release.

  • DOC: Update docblocks and README.
  • CHG: View::render() now takes a second param, $data, for an array of vars to be extract()ed into the template scope. Closure-based templates will need to extract this on their own. (The previous technique of placing partial vars in the main template object still works.)
May 31, 2014

@pmjones pmjones released this May 22, 2014

Assets 2
  • [BRK] Stop using a "content variable" and begin using setContent()/getContent() instead. In your layouts, replace echo $this->content_var_name with echo $this->getContent(). (This also removes the setContentVar() and getContentVar() methods.)
  • [ADD] Add support for sections per strong desire from @harikt, which fixes #46. The new methods are setSection(), hasSection(), and getSection(), along with beginSection() and endSection().