Enhance documentation on Node.js API compatibility and polyfills, add… - #2272
Merged
Conversation
…ing status legends and deployment instructions for Azion functions.
egermano
approved these changes
Jul 21, 2026
VitorAEltz
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ing status legends and deployment instructions for Azion functions.
Related issue: EDU-6567
docs: fix polyfill compatibility and add deploy section
Summary
This PR addresses two documentation accuracy issues and adds missing deployment guidance for the polyfills guide.
Changes
use-polyfills.mdx(PT-BR + EN)azion dev). The guide previously ended without explaining how to publish the function to the Azion Platform.azion deploycommand.--auto,--workers,--dry-run) with descriptions sourced directly from the CLI source code.--autoand--workers.:::notecallout reminding users to configure thepolyfillsproperty inazion.config.jsbefore deploying.node.mdx/cells-node.mdx(PT-BR + EN)dns,dns/promises, andosmodules:🟢 Supported(EN) /🟢 Suportada(PT-BR)🔴 Build-only(EN) /🔴 Somente para build(PT-BR):::note[About the Azion Cells runtime environment]) explaining that functions run inside V8 Isolate-based Cells, which block OS property access, native DNS resolution, and low-level socket syscalls for multi-tenant security reasons.Motivation
dns,dns/promises, andosmodules were incorrectly documented as fully supported, which could lead developers to ship broken code expecting runtime DNS resolution or OS information.osmodule does not work at runtime due to Cells' isolation model (no access to underlying OS properties).Files changed
src/content/docs/pt-br/pages/devtools/azion-edge-runtime/compatibilidade/use-polyfills.mdxsrc/content/docs/pt-br/pages/devtools/azion-edge-runtime/compatibilidade/node-polyfills/node.mdxsrc/content/docs/en/pages/devtools/azion-edge-runtime/compatibility/use-polyfills.mdxsrc/content/docs/en/pages/devtools/azion-edge-runtime/compatibility/node-polyfills/cells-node.mdx