Skip to content

Conversation

@jcbsfilho
Copy link
Collaborator

This pull request introduces a bug fix release (v2.2.2-stage.1) focused on improving Nuxt content API request handling and ensuring better Node.js compatibility in edge environments. The two main themes are routing enhancements for Nuxt content APIs and the addition of a polyfill for Node.js console timing functions.

Nuxt content API routing improvements:

  • Added a new routing rule in config.ts to handle requests starting with /api/_content, ensuring that Nuxt function execution and correct cookie forwarding/delivery occur for @nuxt/content API endpoints.

Node.js compatibility/polyfills:

  • Added a polyfill for the Node.js console object, specifically supporting console.time and console.timeEnd, to the Unenv preset by introducing console.js and updating the exports in index.ts. [1] [2]

jcbsfilho and others added 2 commits October 29, 2025 10:27
…olyfill for the Node.js console (#300)

* fix: add console.time and console.timeEnd polyfills for node globals

* fix: add rule to handle @nuxt/content API requests in function
[skip ci]
### [2.2.2-stage.1](v2.2.1...v2.2.2-stage.1) (2025-10-29)

### Bug Fixes

* routing rule for handling Nuxt content API requests and adds a polyfill for the Node.js console (#300) ([356198b](356198b))
@jcbsfilho jcbsfilho requested a review from a team as a code owner October 29, 2025 13:33
@jcbsfilho jcbsfilho merged commit 4f6b1bd into main Oct 29, 2025
5 checks passed
@pablodiehl
Copy link
Collaborator

🎉 This PR is included in version 2.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

5 participants