Skip to content

Releases: auraphp/Aura.View

2.4.0

05 Feb 09:37
fadbb9d
Compare
Choose a tag to compare
  • Added namespace support to TemplateRegistry by @jakejohns via #83.
  • Updated CI to support php versions from 5.4 to 8.1 by @harikt via #85

2.3.0

21 Jul 05:19
Compare
Choose a tag to compare
  • Added ability to set map and path in ViewFactory. #73
  • Removed CHANGES.md file.
  • Added CHANGELOG.md

2.2.1

03 Oct 21:23
Compare
Choose a tag to compare

Hygiene release to update docs.

2.2.0

21 Jan 18:35
Compare
Choose a tag to compare
  • Added ability to customize template extension. Thank you Josh Butts.
  • Added documentation how to customize template extension.

2.1.1

27 Mar 18:50
Compare
Choose a tag to compare

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

2.1.0

16 Mar 14:01
Compare
Choose a tag to compare

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.

2.0.1

07 Nov 16:32
Compare
Choose a tag to compare
  • 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

2.0.0

30 Aug 16:45
Compare
Choose a tag to compare

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.)

2.0.0-beta2

22 May 16:30
Compare
Choose a tag to compare
  • [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().

2.0.0-beta1

14 May 22:30
Compare
Choose a tag to compare

First 2.0.0-beta1 release.