Skip to content

3.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mattolson mattolson released this 24 Jan 20:27
· 301 commits to master since this release
5c374b9

Refactor rendering functionality into paper-handlebars #130 to allow for alternate template engines.

v3.0 Contains several breaking changes:

  • Removed the direct access of contentServiceContext for setting page content. From now on, use addContent() and getContent().
  • Removed getTemplateProcessor(). This is an internal concern of paper-handlebars and is used by loadTemplates.
  • Removed loadTemplatesSync(). This was only used by helper tests and is no longer needed.
  • Removed handlebars instance variable. Hopefully nobody is accessing that directly. Any helpers that were accessing it have been updated in paper-handlebars to use the global context they are given rather than accessing Paper directly at all.
  • The translator attribute has been moved to paper-handlebars and is no longer accessible directly on Paper.
  • The decorators attribute has been moved to paper-handlebars and is no longer accessible directly on Paper.
  • The settings attribute has been renamed to siteSettings. This should only be accessed by paper-handlebars.
  • The cdnify() function has been moved into a helper library in paper-handlebars.
  • The inject attribute has been removed. This is storage used by two of the helpers, and the implementation has moved to paper-handlebars.