@paulhiggs in expressjs/express#6479 reported that express.text() is missing from 5.x docs.
express.text() and express.raw() were added in Express 4.17.0. The 4.x documentation reflects that (18dfac1, 958e581, b49ab1b), but 5.x documentation has not been updated after changes from 4.17.0/4.17.1 were merged into 5.0/5.x branches (expressjs/express@121fe99).
TODO:
Other differences include:
@paulhiggs in expressjs/express#6479 reported that
express.text()is missing from 5.x docs.express.text()andexpress.raw()were added in Express 4.17.0. The 4.x documentation reflects that (18dfac1, 958e581, b49ab1b), but 5.x documentation has not been updated after changes from 4.17.0/4.17.1 were merged into 5.0/5.x branches (expressjs/express@121fe99).TODO:
express.text()to 5.x API docs (Reflect body-parser changes in 5.x API docs and include those that where missing #1883)express.raw()to 5.x API docs (Reflect body-parser changes in 5.x API docs and include those that where missing #1883)priorityoption tores.cookie()androotoption tores.download()(5c98ee4) (Update 5x API docs with missing 4x changes #1886)req.acceptsLanguages()docs, but only the 4.x version (Update 5x API docs with missing 4x changes #1886)res.render()andapp.render()(Update 5x API docs with missing 4x changes #1886)locals(Update 5x API docs with missing 4x changes #1886)partitionedoption ofres.cookie()(Update 5x API docs with missing 4x changes #1886)router.param(fn), which doesn't even exist in Express 5 (Remove router.param(fn) from 5.x docs #1884)req.bodydocumentation (4.x), removing references tomulterandbody-parserand presenting built-in middleware. (Update 5x API docs with missing 4x changes #1886)res.cookie()docs, showing how to set multiple cookies (Update 5x API docs with missing 4x changes #1886)Other differences include:
express.static(), but not in 5.x; there are still many.doc-box<div>s)res.location()in docs: add deprecation note for 'back' redirect in res-redirect.md and res-location.md v4 #1835res.type()has a typo)