For years, one of the longest-running frustrations we had with Mongoose wasn’t performance, or casting, or even types. It was stack traces.

The stack traces had a habit of pointing everywhere except the actual line in user code that caused the problem. Debugging validation errors often felt like a murder mystery with no detective. With Mongoose 9, that is finally over.

This release is a big step toward a more modern, predictable, and debuggable Mongoose. Below are the 3 most important changes, starting with the one we’re the most proud of.

1. True Async Stack Traces

We’ve been keeping a close eye on async stack traces since they were first introduced in 2018. Async stack traces mean, as long as you’re usi…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help