4.18.3
expressjs/express4.18.3Feb 29, 2024by UlisesGascon
AI Summary
Express.js 4.18.3 is a patch release focusing on bug fixes and dependency updates. The main changes include fixing routing requests without method and updating body-parser to 1.20.2 which resolves strict JSON error messages on Node.js 19+. This release also includes various maintenance improvements like updating Node.js version support, CI updates, and code cleanup.
Key Highlights
- Fixed routing requests without method
- Updated body-parser to 1.20.2 fixing strict JSON error on Node.js 19+
- Added support for Node.js 19.7 in build
- Updated to use https:// protocol instead of deprecated git: protocol
- Fixed favicon-related bug in cookie-sessions example
New Features
- Routing fix for requests without method
- Body-parser 1.20.2 with improved error handling for Node.js 19+
Full Release Notes
## Main Changes
* Fix routing requests without method
* deps: body-parser@1.20.2
- Fix strict json error message on Node.js 19+
- deps: content-type@~1.0.5
- deps: raw-body@2.5.2
## Other Changes
* Use https: protocol instead of deprecated git: protocol by @vcsjones in https://github.com/expressjs/express/pull/5032
* build: Node.js@16.18 and Node.js@18.12 by @abenhamdine in https://github.com/expressjs/express/pull/5034
* ci: update actions/checkout to v3 by @armujahid in https://github.com/expressjs/express/pull/5027
* test: remove unused function arguments in params by @raksbisht in https://github.com/expressjs/express/pull/5124
* Remove unused originalIndex from acceptParams by @raksbisht in https://github.com/expressjs/express/pull/5119
* Fixed typos by @raksbisht in https://github.com/expressjs/express/pull/5117
* examples: remove unused params by @raksbisht in https://github.com/expressjs/express/pull/5113
* fix: parameter str is not described in JSDoc by @raksbisht in https://github.com/expressjs/express/pull/5130
* fix: typos in History.md by @raksbisht in https://github.com/expressjs/express/pull/5131
* build : add Node.js@19.7 by @abenhamdine in https://github.com/expressjs/express/pull/5028
* test: remove unused function arguments in params by @raksbisht in https://github.com/expressjs/express/pull/5137
* use random port in test so it won't fail on already listening by @rluvaton in https://github.com/expressjs/express/pull/5162
* tests: use cb() instead of done() by @kristof-low in https://github.com/expressjs/express/pull/5233
* examples: remove multipart example by @riddlew in https://github.com/expressjs/express/pull/5195
* Update support Node.js@18 in the CI by @UlisesGascon in https://github.com/expressjs/express/pull/5490
* Fix favicon-related bug in cookie-sessions example by @DmytroKondrashov in https://github.com/expressjs/express/pull/5414
* Release 4.18.3 by @UlisesGascon in https://github.com/expressjs/express/pull/5505
## New Contributors
* @vcsjones made their first contribution in https://github.com/expressjs/express/pull/5032
* @abenhamdine made their first contribution in https://github.com/expressjs/express/pull/5034
* @armujahid made their first contribution in https://github.com/expressjs/express/pull/5027
* @raksbisht made their first contribution in https://github.com/expressjs/express/pull/5124
* @rluvaton made their first contribution in https://github.com/expressjs/express/pull/5162
* @kristof-low made their first contribution in https://github.com/expressjs/express/pull/5233
* @riddlew made their first contribution in https://github.com/expressjs/express/pull/5195
* @DmytroKondrashov made their first contribution in https://github.com/expressjs/express/pull/5414
**Full Changelog**: https://github.com/expressjs/express/compare/4.18.2...4.18.3