Skip to content

[feature] Support status / statusText alongside deprecated statusCode / statusMessage (Nuxt v4.3+ & v5)Β #73

@XStarlink

Description

@XStarlink

Description

Hey @HugoRCD

First of all, thank you so much for this amazing library β€” and for the super fast PR adding logs to the wide event, really appreciated πŸ™

Just a small note: since Nuxt v4.3.0, statusCode and statusMessage are deprecated in favor of status and statusText (Web API naming alignment). The old properties still work for now but are marked as deprecated ahead of nuxt v5.

Release note:
https://github.com/nuxt/nuxt/releases/tag/v4.3.0

It might be worth adding support for status and statusText here as well, while keeping backward compatibility:
https://github.com/HugoRCD/evlog/blob/main/packages/evlog/src/logger.ts

Thanks again for your work β€” really admire what you're building.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions