Skip to content

Add migration guide for handler patterns in Functions#2250

Open
GabrielAzion wants to merge 1 commit into
mainfrom
EDU-6638-migrating-handler-patterns
Open

Add migration guide for handler patterns in Functions#2250
GabrielAzion wants to merge 1 commit into
mainfrom
EDU-6638-migrating-handler-patterns

Conversation

@GabrielAzion

@GabrielAzion GabrielAzion commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Related issue: EDU-6638

Summary

New guide — Migrating handler patterns in Functions

Added a new guide explaining the two handler patterns supported by Azion Functions (ES Modules and Service Worker) and how to migrate from the legacy Service Worker pattern to the recommended ES Modules pattern.

Files added:

  • src/content/docs/en/pages/guides/edge-functions/migrate-handler-patterns.mdx
  • src/content/docs/pt-br/pages/guias/edge-functions/migrate-handler-patterns.mdx

Files changed (index links):

  • src/content/docs/en/pages/guides/index.mdx — added link under Functions Demonstrations
  • src/content/docs/pt-br/pages/guias/guides.mdx — added link under Demonstrações de Functions

Files deleted:

  • src/content/docs/en/pages/guides/edge-application/handler-patterns.md — temporary knowledge base file used as source reference

Key corrections applied to the source content:

  • Replaced Cloudflare-specific header CF-Connecting-IP with X-Forwarded-For
  • Updated nomenclature: Edge FunctionsFunctions
  • Removed bundler-specific troubleshooting (not applicable to Azion Runtime)

@GabrielAzion GabrielAzion requested a review from a team as a code owner July 10, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants