DocPad v2.0 Release Notes

Release Date: 2011-11-08 // over 12 years ago
    • โฌ†๏ธ Upgrade guide for 1.x users
    • โœ… Tested and working on Node 0.4, 0.5, and 0.6
    • ๐Ÿ”ง Configurable via package.json
      • DocPad is now configurable via its and your website's package.json file
    • ๐Ÿ”Œ New plugin architecture
      • Plugins must now be isolated in their own directory
      • Plugins can now have their own package.json file
        • Use this for specifying plugin configuration, dependencies, etc
      • Plugin events have been renamed to before/after
        • New before/after events have been added
      • docpad and logger are now local variables, rather than passed arguments
        • Arguments are still kept for backwards compatibility - this may change
    • Generation changes
      • Rendering is now a 2-pass process
      • Contextualize is now a sub-step of parse, instead of it's own main step
        • Better simplicity, less complexity
      • Documents can now have multiple urls
        • These are customisable via the document's urls array property
    • ๐Ÿ”Œ Plugin Changes
      • REST plugin supports saving document data via POST (disabled by default)
      • Administration plugin adds front-end admin functionality (disabled by default)
      • SASS plugin
      • Coffee Plugin
        • Removed CoffeeCSS support as it had problems