Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: module-federation/core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.15
Choose a base ref
...
head repository: module-federation/core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.16
Choose a head ref
  • 9 commits
  • 136 files changed
  • 6 contributors

Commits on Nov 1, 2024

  1. Release v0.6.15 (#3152)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    zhoushaw and github-actions[bot] authored Nov 1, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5524bf3 View commit details

Commits on Nov 2, 2024

  1. fix(sdk): update rslog to fix type error (#3158)

    ScriptedAlchemy authored Nov 2, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f779188 View commit details

Commits on Nov 4, 2024

  1. build: disable hoistTransitiveImports for better tree shake (#3146)

    ScriptedAlchemy authored Nov 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    024df60 View commit details
  2. chore: unify error code (#3156)

    2heal1 authored Nov 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8d34aa8 View commit details
  3. chore: re export preset path for rsbuild (#3155)

    nyqykk authored Nov 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3ba956d View commit details
  4. chore(deps-dev): bump @babel/plugin-transform-react-jsx from 7.25.7 t…

    …o 7.25.9 (#3166)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5f74579 View commit details
  5. chore(deps): bump @swc/helpers from 0.5.12 to 0.5.13 (#3169)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ce76792 View commit details
  6. chore: deprecation notice of nextjs-mf (#3160)

    ScriptedAlchemy authored Nov 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3b3c488 View commit details
  7. Release v0.6.16

    github-actions[bot] committed Nov 4, 2024
    Copy the full SHA
    2709080 View commit details
Showing with 2,450 additions and 2,067 deletions.
  1. +0 −6 .changeset/blue-poets-play.md
  2. +0 −4 .changeset/mean-jokes-remember.md
  3. +0 −5 .changeset/sixty-camels-ring.md
  4. +0 −4 .changeset/tasty-birds-dress.md
  5. +0 −6 .changeset/violet-fans-sleep.md
  6. +12 −0 apps/modernjs/CHANGELOG.md
  7. +1 −1 apps/modernjs/package.json
  8. +1 −1 apps/rslib-module/.storybook/main.ts
  9. +9 −1 apps/rslib-module/README.md
  10. +6 −0 apps/website-new/CHANGELOG.md
  11. +5 −0 apps/website-new/docs/en/guide/_meta.json
  12. +1 −1 apps/website-new/docs/en/guide/basic/_meta.json
  13. +0 −195 apps/website-new/docs/en/guide/basic/error-catalog.mdx
  14. +4 −0 apps/website-new/docs/en/guide/framework/nextjs.mdx
  15. +16 −0 apps/website-new/docs/en/guide/troubleshooting/_meta.json
  16. +74 −0 apps/website-new/docs/en/guide/troubleshooting/other.mdx
  17. +12 −0 apps/website-new/docs/en/guide/troubleshooting/overview.md
  18. +24 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-001.mdx
  19. +18 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-002.mdx
  20. +12 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-003.mdx
  21. +18 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-004.mdx
  22. +19 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-005.mdx
  23. +14 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-006.mdx
  24. +11 −0 apps/website-new/docs/en/guide/troubleshooting/runtime/RUNTIME-007.mdx
  25. +22 −0 apps/website-new/docs/en/guide/troubleshooting/type/TYPE-001.mdx
  26. +1 −1 apps/website-new/docs/en/practice/_meta.json
  27. +3 −0 apps/website-new/docs/en/practice/frameworks/next/index.mdx
  28. +160 −0 apps/website-new/docs/public/words-map.json
  29. +5 −0 apps/website-new/docs/zh/guide/_meta.json
  30. +16 −0 apps/website-new/docs/zh/guide/troubleshooting/_meta.json
  31. +48 −0 apps/website-new/docs/zh/guide/troubleshooting/other.mdx
  32. +12 −0 apps/website-new/docs/zh/guide/troubleshooting/overview.md
  33. +22 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-001.mdx
  34. +16 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-002.mdx
  35. +12 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-003.mdx
  36. +18 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-004.mdx
  37. +19 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-005.mdx
  38. +14 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-006.mdx
  39. +12 −0 apps/website-new/docs/zh/guide/troubleshooting/runtime/RUNTIME-007.mdx
  40. +22 −0 apps/website-new/docs/zh/guide/troubleshooting/type/TYPE-001.mdx
  41. +1 −1 apps/website-new/docs/zh/practice/_meta.json
  42. +5 −3 apps/website-new/package.json
  43. +6 −0 apps/website-new/rspress.config.ts
  44. +20 −0 apps/website-new/src/components/ErrorCodeTitle.tsx
  45. +60 −0 apps/website-new/src/components/Table.tsx
  46. +24 −0 apps/website-new/src/components/en/EnableAsyncEntry.mdx
  47. +24 −0 apps/website-new/src/components/zh/EnableAsyncEntry.mdx
  48. +1 −1 package.json
  49. +14 −0 packages/bridge/bridge-react-webpack-plugin/CHANGELOG.md
  50. +1 −1 packages/bridge/bridge-react-webpack-plugin/package.json
  51. +16 −0 packages/bridge/bridge-react/CHANGELOG.md
  52. +1 −1 packages/bridge/bridge-react/package.json
  53. +4 −0 packages/bridge/bridge-shared/CHANGELOG.md
  54. +1 −1 packages/bridge/bridge-shared/package.json
  55. +16 −0 packages/bridge/vue3-bridge/CHANGELOG.md
  56. +1 −1 packages/bridge/vue3-bridge/package.json
  57. +14 −0 packages/chrome-devtools/CHANGELOG.md
  58. +1 −1 packages/chrome-devtools/package.json
  59. +18 −0 packages/data-prefetch/CHANGELOG.md
  60. +1 −1 packages/data-prefetch/package.json
  61. +2 −0 packages/data-prefetch/rollup.config.js
  62. +18 −0 packages/dts-plugin/CHANGELOG.md
  63. +2 −1 packages/dts-plugin/package.json
  64. +0 −1 packages/dts-plugin/src/core/lib/archiveHandler.ts
  65. +10 −1 packages/dts-plugin/src/core/lib/typeScriptCompiler.ts
  66. +28 −0 packages/enhanced/CHANGELOG.md
  67. +1 −1 packages/enhanced/package.json
  68. +1 −1 packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/index.js
  69. +1 −1 packages/enhanced/test/configCases/sharing/consume-multiple-versions/index.js
  70. +29 −0 packages/error-codes/.swcrc
  71. 0 packages/error-codes/CHANGELOG.md
  72. +1 −0 packages/error-codes/README.md
  73. +27 −0 packages/error-codes/jest.config.js
  74. +36 −0 packages/error-codes/package.json
  75. +69 −0 packages/error-codes/project.json
  76. +29 −0 packages/error-codes/src/desc.ts
  77. +9 −0 packages/error-codes/src/error-codes.ts
  78. +17 −0 packages/error-codes/src/getShortErrorMsg.ts
  79. +3 −0 packages/error-codes/src/index.ts
  80. +28 −0 packages/error-codes/tsconfig.json
  81. +10 −0 packages/error-codes/tsconfig.lib.json
  82. 0 packages/{runtime → error-codes}/tsconfig.spec.json
  83. +14 −0 packages/esbuild/CHANGELOG.md
  84. +1 −1 packages/esbuild/package.json
  85. +15 −0 packages/managers/CHANGELOG.md
  86. +1 −1 packages/managers/package.json
  87. +10 −0 packages/managers/rollup.config.js
  88. +19 −0 packages/manifest/CHANGELOG.md
  89. +1 −1 packages/manifest/package.json
  90. +10 −0 packages/manifest/rollup.config.js
  91. +19 −0 packages/modernjs/CHANGELOG.md
  92. +2 −2 packages/modernjs/package.json
  93. +24 −0 packages/nextjs-mf/CHANGELOG.md
  94. +3 −378 packages/nextjs-mf/README.md
  95. +4 −1 packages/nextjs-mf/package.json
  96. +21 −0 packages/node/CHANGELOG.md
  97. +1 −1 packages/node/package.json
  98. +16 −0 packages/retry-plugin/CHANGELOG.md
  99. +1 −1 packages/retry-plugin/package.json
  100. +16 −0 packages/rsbuild-plugin/CHANGELOG.md
  101. +1 −1 packages/rsbuild-plugin/package.json
  102. +24 −0 packages/rspack/CHANGELOG.md
  103. +1 −1 packages/rspack/package.json
  104. +17 −0 packages/runtime-tools/CHANGELOG.md
  105. +1 −1 packages/runtime-tools/package.json
  106. +13 −0 packages/runtime-tools/rollup.config.js
  107. +16 −0 packages/runtime/CHANGELOG.md
  108. +1 −1 packages/runtime/__tests__/shares.spec.ts
  109. +3 −2 packages/runtime/package.json
  110. +3 −1 packages/runtime/rollup.config.js
  111. +1 −0 packages/runtime/src/core.ts
  112. +12 −7 packages/runtime/src/module/index.ts
  113. +23 −20 packages/runtime/src/plugins/snapshot/SnapshotHandler.ts
  114. +9 −15 packages/runtime/src/remote/index.ts
  115. +19 −12 packages/runtime/src/shared/index.ts
  116. +15 −12 packages/runtime/src/utils/load.ts
  117. +0 −3 packages/runtime/tsconfig.json
  118. +9 −0 packages/sdk/CHANGELOG.md
  119. +2 −2 packages/sdk/package.json
  120. +2 −0 packages/sdk/rollup.config.js
  121. +19 −0 packages/storybook-addon/CHANGELOG.md
  122. +1 −1 packages/storybook-addon/README.md
  123. +15 −5 packages/storybook-addon/package.json
  124. +0 −16 packages/storybook-addon/preset.js
  125. +20 −0 packages/storybook-addon/preset.ts
  126. +1 −4 packages/storybook-addon/project.json
  127. +1 −1 packages/storybook-addon/tsconfig.lib.json
  128. +4 −0 packages/third-party-dts-extractor/CHANGELOG.md
  129. +1 −1 packages/third-party-dts-extractor/package.json
  130. +14 −0 packages/utilities/CHANGELOG.md
  131. +1 −1 packages/utilities/package.json
  132. +18 −0 packages/webpack-bundler-runtime/CHANGELOG.md
  133. +1 −1 packages/webpack-bundler-runtime/package.json
  134. +30 −12 packages/webpack-bundler-runtime/rollup.config.js
  135. +0 −23 packages/webpack-bundler-runtime/src/readme.md
  136. +765 −1,296 pnpm-lock.yaml
6 changes: 0 additions & 6 deletions .changeset/blue-poets-play.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/mean-jokes-remember.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sixty-camels-ring.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/tasty-birds-dress.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/violet-fans-sleep.md

This file was deleted.

12 changes: 12 additions & 0 deletions apps/modernjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @module-federation/modernjsapp

## 0.1.62

### Patch Changes

- @module-federation/enhanced@0.6.16

## 0.1.61

### Patch Changes

- @module-federation/enhanced@0.6.15

## 0.1.60

### Patch Changes
2 changes: 1 addition & 1 deletion apps/modernjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@module-federation/modernjsapp",
"private": true,
"version": "0.1.60",
"version": "0.1.62",
"scripts": {
"reset": "npx rimraf ./**/node_modules",
"dev": "modern dev",
2 changes: 1 addition & 1 deletion apps/rslib-module/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ const config: StorybookConfig = {
},
addons: [
{
name: '@module-federation/storybook-addon/preset.js',
name: '@module-federation/storybook-addon/preset',
options: {
remotes: {
'rslib-module':
10 changes: 9 additions & 1 deletion apps/rslib-module/README.md
Original file line number Diff line number Diff line change
@@ -18,8 +18,16 @@ nx serve rslib-module

Dev package

1.

```
nx serve rslib-module
```

2.

```
nx serve rslib-module & nx storybook rslib-module
nx storybook rslib-module
```

visit http://localhost:6006
6 changes: 6 additions & 0 deletions apps/website-new/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# website-new

## 1.0.4

### Patch Changes

- 283574b: feat(retry-plugin): allow fallback function to receive failed URL

## 1.0.3

### Patch Changes
5 changes: 5 additions & 0 deletions apps/website-new/docs/en/guide/_meta.json
Original file line number Diff line number Diff line change
@@ -13,5 +13,10 @@
"type": "dir",
"name": "framework",
"label": "Frameworks"
},
{
"type":"dir",
"name":"troubleshooting",
"label":"Troubleshooting"
}
]
2 changes: 1 addition & 1 deletion apps/website-new/docs/en/guide/basic/_meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["runtime", "rspack", "webpack", "rsbuild", "vite", "chrome-devtool", "type-prompt", "error-catalog"]
["runtime", "rspack", "webpack", "rsbuild", "vite", "chrome-devtool", "type-prompt"]
195 changes: 0 additions & 195 deletions apps/website-new/docs/en/guide/basic/error-catalog.mdx

This file was deleted.

4 changes: 4 additions & 0 deletions apps/website-new/docs/en/guide/framework/nextjs.mdx
Original file line number Diff line number Diff line change
@@ -4,6 +4,10 @@ import { Badge } from '@theme';

# Next.js

:::danger Project Deprecation
Support for Next.js is ending [read more](https://github.com/module-federation/core/issues/3153)
:::

This plugin enables Module Federation on Next.js

## Supports
16 changes: 16 additions & 0 deletions apps/website-new/docs/en/guide/troubleshooting/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
"overview",
{
"type": "dir",
"name": "runtime",
"label": "Runtime",
"collapsed":true
},
{
"type": "dir",
"name": "type",
"label": "Type",
"collapsed":true
},
"other"
]
Loading