Skip to content

refactor: remove remote ip strategy feature#4476

Merged
2heal1 merged 3 commits intomainfrom
refactor/remove-remote-ip-strategy
Feb 26, 2026
Merged

refactor: remove remote ip strategy feature#4476
2heal1 merged 3 commits intomainfrom
refactor/remove-remote-ip-strategy

Conversation

@2heal1
Copy link
Copy Markdown
Member

@2heal1 2heal1 commented Feb 25, 2026

Description

Since modern.js minimal node version become 20 , remove the remote ip strategy feature

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 25, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 25d05dc
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69a027f7b910a000086ab27f
😎 Deploy Preview https://deploy-preview-4476--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 25, 2026

🦋 Changeset detected

Latest commit: 25d05dc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 43 packages
Name Type
@module-federation/modern-js-v3 Patch
@module-federation/modern-js Patch
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
@module-federation/runtime Patch
@module-federation/enhanced Patch
@module-federation/rspack Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/sdk Patch
@module-federation/runtime-tools Patch
@module-federation/managers Patch
@module-federation/manifest Patch
@module-federation/dts-plugin Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/devtools Patch
@module-federation/bridge-react Patch
@module-federation/bridge-vue3 Patch
@module-federation/bridge-shared Patch
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/retry-plugin Patch
@module-federation/data-prefetch Patch
@module-federation/rsbuild-plugin Patch
@module-federation/error-codes Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/runtime-core Patch
create-module-federation Patch
@module-federation/cli Patch
@module-federation/rspress-plugin Patch
@module-federation/treeshake-server Patch
@module-federation/treeshake-frontend Patch
@module-federation/metro Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/storybook-addon Patch
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
@module-federation/esbuild Patch
@module-federation/utilities Patch
remote5 Patch
remote6 Patch
website-new Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 919909c2ec

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +2 to +3
'@module-federation/modern-js-v3': patch
'@module-federation/modern-js': patch
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Release removed runtime plugin APIs as a breaking change

This change removes public APIs by deleting the ./resolve-entry-ipv4 export from both package export maps (packages/modernjs/package.json and packages/modernjs-v3/package.json) and dropping remoteIpStrategy from the public option types (packages/*/src/types/index.ts), so existing consumers can fail with ERR_PACKAGE_PATH_NOT_EXPORTED at runtime or TypeScript errors after upgrade. Because this changeset tags both packages as patch, these breaking removals would be published as non-breaking updates; please publish as a breaking release (or keep compatibility shims/deprecated typings).

Useful? React with 👍 / 👎.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 25, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/devtools@25d05dc

@module-federation/cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/cli@25d05dc

create-module-federation

pnpm add https://pkg.pr.new/module-federation/core/create-module-federation@25d05dc

@module-federation/data-prefetch

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/data-prefetch@25d05dc

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/dts-plugin@25d05dc

@module-federation/enhanced

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/enhanced@25d05dc

@module-federation/error-codes

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/error-codes@25d05dc

@module-federation/managers

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/managers@25d05dc

@module-federation/manifest

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/manifest@25d05dc

@module-federation/metro

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro@25d05dc

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro-plugin-rnc-cli@25d05dc

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro-plugin-rnef@25d05dc

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/modern-js-v3@25d05dc

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/retry-plugin@25d05dc

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rsbuild-plugin@25d05dc

@module-federation/rspack

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspack@25d05dc

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspress-plugin@25d05dc

@module-federation/runtime

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime@25d05dc

@module-federation/runtime-core

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-core@25d05dc

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-tools@25d05dc

@module-federation/sdk

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/sdk@25d05dc

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/third-party-dts-extractor@25d05dc

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-frontend@25d05dc

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-server@25d05dc

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/webpack-bundler-runtime@25d05dc

@module-federation/bridge-react

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react@25d05dc

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react-webpack-plugin@25d05dc

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-shared@25d05dc

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-vue3@25d05dc

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/inject-external-runtime-core-plugin@25d05dc

commit: 25d05dc

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

2 package(s) changed, 39 unchanged.

Package Total dist Delta ESM gzip Delta
modern-js-plugin-v3 172.3 kB -14232 B (-7.5%) 872 B -28 B (-3.1%)
modern-js-plugin 180.8 kB -14223 B (-7.1%) 1.2 kB -23 B (-1.8%)

Total dist: 6.86 MB (-28455 B (-0.4%))
Total ESM gzip: 138.6 kB (-51 B (-0.0%))

@2heal1 2heal1 merged commit 6caee05 into main Feb 26, 2026
23 checks passed
@2heal1 2heal1 deleted the refactor/remove-remote-ip-strategy branch February 26, 2026 11:07
@2heal1 2heal1 mentioned this pull request Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants