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:
- Deprecating In-Memory DocPad Importers & Exporters
- Abstract out Server functionality into pluginland
- Operation Disassemble & Diversify
- To maintain static server functionality, install the
serve
plugin
- Changes:
- Added
runBefore
andrunAfter
events - DocPad is now verbose about when it has to perform an mtime change
- Added
- Migrations / Removals:
- Progress on issue #691 and issue #391
- Abstracted out base plugin into docpad-baseplugin
- Abstracted out testers into docpad-plugintester
- 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 thedocpad server
action- Use
docpad run
with theserve
plugin instead
- Use
- 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
- Removes the properties:
- Removed the deprecated
docpad-compile
executable, no one used it - Removed leftover
hashKey
property
- Progress on issue #691 and issue #391
- ๐ New Deprecations:
-
require('docpad').require('testers')
will be removed in an upcoming release- Use
require('docpad-plugintester')
instead - A warning will be outputted
- Use
-
require('docpad').BasePlugin
will be removed in an upcoming release- Use
require('docpad-baseplugin')
instead - No warning will be outputted
- Use
-
- ๐ This release accomplishes the removal of some long standing deprecations, for background reading refer to: