DocPad v6.81.0 Release Notes

Release Date: 2018-08-21 // almost 6 years ago
    • ๐Ÿš€ This release accomplishes the removal of some long standing deprecations, for background reading refer to:
    • Changes:
      • Added runBefore and runAfter events
      • DocPad is now verbose about when it has to perform an mtime change
    • Migrations / Removals:
      • Progress on issue #691 and issue #391
      • Close issue #1081
        • Removed the deprecated dynamic server abilities
        • Abstracted out the static server abilities into the new serve plugin
        • Removes the properties: serverExpress, serverHttp, filesByUrl, filesBySelector, filesByOutPath
        • Removes the methods: getServer, setServer, destroyServer, getFileByUrl, getFileByRoute, getPort, getHostname, getServerUrl, getSimpleServerUrl, serverDocument, serverMiddlewareHeader, serverMiddlewareRouter, serverMiddleware404, serverMiddleware500, server
        • Removes the events: serverBefore, serverExtend, serverAfter
        • Removes the options: databaseCachePath, port, hostname, maxAge, serverHttp, serverExpress, extendServer, middlewareStandard, middlewareBodyParser, middlewareMethodOverride, middlewareExpressRouter, middleware404, middleware500
        • Removes the document properties: dynamic
        • templateData.site.url will now default to an empty string
        • Removes the docpad-server executable, and the docpad server action
      • Removed the deprecated ability to load uncompiled plugins
      • Removed the deprecated DocPad database cache, it never worked well
        • Removes the properties: databaseTempCache
        • Removes the methods: getDatabaseSafe
        • Removes the generate event properties: cache
      • Removed the deprecated docpad-compile executable, no one used it
      • Removed leftover hashKey property
    • ๐Ÿ—„ New Deprecations:
      • require('docpad').require('testers') will be removed in an upcoming release
        • Use require('docpad-plugintester') instead
        • A warning will be outputted
      • require('docpad').BasePlugin will be removed in an upcoming release
        • Use require('docpad-baseplugin') instead
        • No warning will be outputted