Express v5 Is HERE

Published: 19 September 2024
on channel: Coding Garden
21,701
612

In this video CJ shows all the changes in the latest version of express js v5.0.0

See the v5 migration guide here: https://expressjs.com/en/guide/migrat...

Get the express api starter here: https://github.com/w3cj/express-api-s...

v5 types PR: https://github.com/DefinitelyTyped/De...

This is an excerpt from a live stream. View the full stream VOD here:    • CODE Q&A & Dev Talk | How to use AI E...  

0:00 - express v5 Released
0:25 - express v5 docs still in beta
0:49 - express v5 changelog / migrating guide
0:56 - rejected promised automatically handled
1:05 - setting up local example api
1:35 - api code tour
1:51 - add broken router
2:34 - throw error in handler without try / catch
3:19 - express error handler setup
4:00 - throw error in handler in async handler without try / catch
5:05 - Installing v5
5:16 - express types not updated yet
5:41 - sendfile removed / renamed to sendFile
5:56 - using express v5
6:31 - send method status argument removed
7:03 - path route matching syntax change
7:16 - req.query not writable
7:20 - async handlers are now caught
7:57 - deprecated methods from v4 are removed in v5
9:01 - pluralized accepts method names
9:09 - app.param leading colon ignored
9:14 - res.send no long accepts just status code - use res.sendStatus
9:47 - v5 upgrades not that bad
9:59 - v5 type updates waiting to be merged
10:21 - Thanks!

📖 Learn React + TypeScript: https://www.reactroots.com/
📩 Sign up for my mailing list: https://list.coding.garden/
💖 Donate: https://coding.garden/donate
😍 Pledge: https://coding.garden/pledge
💬 Discord: https://coding.garden/discord
🎉 Stickers: https://coding.garden/stickers
💻 Gear List: https://coding.garden/gear
🔎 Search for more Coding Garden videos here: https://coding.garden/videos
🗣 View the Coding Garden FAQ here: https://github.com/CodingGarden/faqs


Watch video Express v5 Is HERE online without registration, duration hours minute second in high quality. This video was added by user Coding Garden 19 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 21,70 once and liked it 61 people.