core

Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications

MIT License

Downloads
4.5M
Stars
1.1K
Committers
119

Bot releases are visible (Hide)

core - typescript-3.1.1

Published by github-actions[bot] 11 months ago

3.1.1 (2023-11-24)

Bug Fixes

  • deps: update dependency antd to v4.24.15 (de857c4)
  • deps: update dependency axios to v1.6.0 [security] (71bd7be)
  • deps: update dependency core-js to v3.33.3 (6100431)
  • deps: update dependency typedoc to v0.25.3 (10477bf)
  • deps: update dependency unplugin to v1.5.1 (e2ea98b)
core - runtime-1.0.0-canary.5

Published by github-actions[bot] 11 months ago

1.0.0-canary.5 (2023-11-23)

Bug Fixes

  • runtime: correct runtime package.json exports (849e1e2)
core - webpack-bundler-runtime-1.0.0-canary.3

Published by github-actions[bot] 11 months ago

1.0.0-canary.3 (2023-11-23)

Bug Fixes

  • runtime: Repeated requests to repair css preload failure (062b4f5)
core - runtime-1.0.0-canary.4

Published by github-actions[bot] 11 months ago

1.0.0-canary.4 (2023-11-23)

Bug Fixes

  • runtime: Repeated requests to repair css preload failure (062b4f5)
core - webpack-bundler-runtime-1.0.0-canary.2

Published by github-actions[bot] 11 months ago

1.0.0-canary.2 (2023-11-22)

Bug Fixes

  • deps: update dependency axios to v1.6.0 [security] (71bd7be)
  • runtime: fix type definition (ec932b9)
  • runtime: runtime type should not be commonjs (b20c195)
core - runtime-1.0.0-canary.3

Published by github-actions[bot] 11 months ago

1.0.0-canary.3 (2023-11-22)

Bug Fixes

  • runtime: runtime type should not be commonjs (b20c195)
core - runtime-1.0.0-canary.2

Published by github-actions[bot] 11 months ago

1.0.0-canary.2 (2023-11-22)

Bug Fixes

  • deps: update dependency axios to v1.6.0 [security] (71bd7be)
  • runtime: fix type definition (ec932b9)
core - webpack-bundler-runtime-1.0.0-canary.1

Published by github-actions[bot] 11 months ago

1.0.0-canary.1 (2023-11-21)

Bug Fixes

  • bad package reference to sdk (74f44b0)
  • cannot convert undefined object (#406) (f049bc9)
  • deps (#855) (51fd134)
  • deps: update dependency @swc/helpers to ~0.4.0 (#348) (36ee624)
  • deps: update dependency antd to v4.24.10 (#849) (6daf946)
  • deps: update dependency antd to v4.24.11 (#1004) (e372fc1)
  • deps: update dependency antd to v4.24.11 (#1029) (f9e64c0)
  • deps: update dependency antd to v4.24.12 (#1074) (46c25e0)
  • deps: update dependency antd to v4.24.14 (#1309) (d0a2314)
  • deps: update dependency antd to v4.24.7 (#426) (fbd3faa)
  • deps: update dependency antd to v4.24.8 (#586) (5099896)
  • deps: update dependency antd to v4.24.9 (#765) (eabe2ec)
  • deps: update dependency antd to v4.24.9 (#779) (7b6de1b)
  • deps: update dependency axios to v1 (#534) (ae5b885)
  • deps: update dependency axios to v1.3.5 (#736) (ad9a463)
  • deps: update dependency axios to v1.3.6 (#762) (b72d2c7)
  • deps: update dependency axios to v1.4.0 (#821) (c5e1546)
  • deps: update dependency axios to v1.5.0 (#1275) (f163df1)
  • deps: update dependency axios to v1.5.1 (ae9a06a)
  • deps: update dependency core-js to v3.29.1 (#643) (cf4dada)
  • deps: update dependency core-js to v3.30.1 (#754) (252549a)
  • deps: update dependency core-js to v3.31.0 (#1048) (96a99f2)
  • deps: update dependency core-js to v3.32.2 (18d2746)
  • deps: update dependency core-js to v3.33.0 (30894ca)
  • deps: update dependency fast-glob to v3.3.0 (#1078) (14bb0b5)
  • deps: update dependency fast-glob to v3.3.1 (#1197) (5743543)
  • deps: update dependency js-cookie to v3.0.4 (#773) (f26af6d)
  • deps: update dependency js-cookie to v3.0.5 (#1005) (345da70)
  • deps: update dependency react-router-dom to v6.10.0 (#755) (bd22cbe)
  • deps: update dependency react-router-dom to v6.11.0 (#830) (d9366bf)
  • deps: update dependency react-router-dom to v6.11.1 (#846) (299cb0d)
  • deps: update dependency react-router-dom to v6.11.2 (#889) (a191608)
  • deps: update dependency react-router-dom to v6.14.0 (#1049) (ada4160)
  • deps: update dependency react-router-dom to v6.14.1 (#1081) (8515c31)
  • deps: update dependency react-router-dom to v6.15.0 (#1276) (850e2fa)
  • deps: update dependency react-router-dom to v6.16.0 (0618339)
  • deps: update dependency react-router-dom to v6.8.0 (#428) (274e713)
  • deps: update dependency react-router-dom to v6.9.0 (#663) (1a934f5)
  • deps: update dependency tsup to v7 (#1042) (f319c8a)
  • deps: update dependency typedoc to ^0.25.0 (#1277) (8d6a72e)
  • deps: update dependency typedoc to v0.25.1 (#1304) (abf84fe)
  • deps: update dependency typedoc to v0.25.2 (46c6524)
  • deps: update dependency undici to v5.24.0 (573e644)
  • deps: update dependency undici to v5.25.2 (da3e539)
  • deps: update dependency undici to v5.25.4 (1d4f91e)
  • deps: update dependency undici to v5.26.2 [security] (410a8b8)
  • deps: update dependency unplugin to v1.5.0 (936b3f8)
  • federatedtypesplugin: modify remote url used to import remote types (#496) (e91a68a), closes #495
  • federation-boundary: make custom boundary optional (#570) (e43a387)
  • Fix call undefined delegate (#1149) (87a5896), closes #1151
  • flush CSS chunks, cache bust remote entry on render (#269) (85a216a)
  • Improve logic (#387) (0eb7f1b)
  • native federation in readme (710e685)
  • nx build dep sync (38c0902)
  • override semantic-release-plugin-decorators (18675de)
  • package.json: fix package export fields for utils (#285) (99d6b77)
  • remove unused dependencies nx added to typescript package (#690) (c87e7d7)
  • resolve NX build version issues (#578) (84d3dde)
  • safely build url to download type files (#694) (ee5429d)
  • set peer dependencies (#341) (fec9608)
  • support dynamic import of esm modules (#296) (cf28356)
  • switch to @goestav/nx-semantic-release (63a3350)
  • typescript: use node-fetch to download TS types (#565) (f668b1f)
  • update publish config (b5e04ff)
  • Utilities - Remove module side effect (#488) (3554de7), closes #487 #500 #496 #495 #492 #455 #491 #496 #495

Features

Reverts

  • Revert "chore: upgrade nx" (#1064) (3eadaf6), closes #1064

BREAKING CHANGES

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • chore: fix project.json

  • debugging

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • ci: fix install step with npm and NX

  • test: remove tests for now

  • chore(utils): release version 1.7.3-beta.0

  • chore(utils): release version 1.7.3

  • chore(node): release version 0.14.4-beta.0

  • chore(node): release version 0.14.4

  • chore(nextjs-mf): release version 6.4.1-beta.4

  • fix: remove debugging runtime variable

  • chore(nextjs-mf): release version 6.4.1-beta.5

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • chore: fix project.json

  • debugging

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • ci: fix install step with npm and NX

  • test: remove tests for now

  • chore(utils): release version 1.7.3-beta.0

  • chore(utils): release version 1.7.3

  • chore(node): release version 0.14.4-beta.0

  • chore(node): release version 0.14.4

  • chore(nextjs-mf): release version 6.4.1-beta.4

  • fix: remove debugging runtime variable

  • chore(nextjs-mf): release version 6.4.1-beta.5

  • Previously, we used to "rekey" all shared packages used in a host in order to prevent eager consumption issues. However, this caused unforeseen issues when trying to share a singleton package, as the package would end up being bundled multiple times per page.

As a result, we have had to stop rekeying shared modules in userland and only do so on internal Next packages themselves.

If you need to dangerously share a package using the old method, you can do so by using the following code:

             const shared = {
               fakeLodash: {
                 import: "lodash",
                 shareKey: "lodash",
               }
             }

Please note that this method is now considered dangerous and should be used with caution.

  • update build release

  • update build release

  • typescript: Reimplemented the whole plugin from round-up to enhance performance, prevent excessive recompilation and other issues.

Some key changes to the plugin includes:

  • Downloading remote types before compilation starts.
  • Caching remote types for better performance.
  • Ability to provide Plugin options.

Please go through plugin readme.md file to understand what's changed and how to use the plugin.

core - runtime-1.0.0-canary.1

Published by github-actions[bot] 11 months ago

1.0.0-canary.1 (2023-11-21)

Bug Fixes

  • bad package reference to sdk (74f44b0)
  • cannot convert undefined object (#406) (f049bc9)
  • deps (#855) (51fd134)
  • deps: update dependency @swc/helpers to ~0.4.0 (#348) (36ee624)
  • deps: update dependency antd to v4.24.10 (#849) (6daf946)
  • deps: update dependency antd to v4.24.11 (#1004) (e372fc1)
  • deps: update dependency antd to v4.24.11 (#1029) (f9e64c0)
  • deps: update dependency antd to v4.24.12 (#1074) (46c25e0)
  • deps: update dependency antd to v4.24.14 (#1309) (d0a2314)
  • deps: update dependency antd to v4.24.7 (#426) (fbd3faa)
  • deps: update dependency antd to v4.24.8 (#586) (5099896)
  • deps: update dependency antd to v4.24.9 (#765) (eabe2ec)
  • deps: update dependency antd to v4.24.9 (#779) (7b6de1b)
  • deps: update dependency axios to v1 (#534) (ae5b885)
  • deps: update dependency axios to v1.3.5 (#736) (ad9a463)
  • deps: update dependency axios to v1.3.6 (#762) (b72d2c7)
  • deps: update dependency axios to v1.4.0 (#821) (c5e1546)
  • deps: update dependency axios to v1.5.0 (#1275) (f163df1)
  • deps: update dependency axios to v1.5.1 (ae9a06a)
  • deps: update dependency core-js to v3.29.1 (#643) (cf4dada)
  • deps: update dependency core-js to v3.30.1 (#754) (252549a)
  • deps: update dependency core-js to v3.31.0 (#1048) (96a99f2)
  • deps: update dependency core-js to v3.32.2 (18d2746)
  • deps: update dependency core-js to v3.33.0 (30894ca)
  • deps: update dependency fast-glob to v3.3.0 (#1078) (14bb0b5)
  • deps: update dependency fast-glob to v3.3.1 (#1197) (5743543)
  • deps: update dependency js-cookie to v3.0.4 (#773) (f26af6d)
  • deps: update dependency js-cookie to v3.0.5 (#1005) (345da70)
  • deps: update dependency react-router-dom to v6.10.0 (#755) (bd22cbe)
  • deps: update dependency react-router-dom to v6.11.0 (#830) (d9366bf)
  • deps: update dependency react-router-dom to v6.11.1 (#846) (299cb0d)
  • deps: update dependency react-router-dom to v6.11.2 (#889) (a191608)
  • deps: update dependency react-router-dom to v6.14.0 (#1049) (ada4160)
  • deps: update dependency react-router-dom to v6.14.1 (#1081) (8515c31)
  • deps: update dependency react-router-dom to v6.15.0 (#1276) (850e2fa)
  • deps: update dependency react-router-dom to v6.16.0 (0618339)
  • deps: update dependency react-router-dom to v6.8.0 (#428) (274e713)
  • deps: update dependency react-router-dom to v6.9.0 (#663) (1a934f5)
  • deps: update dependency tsup to v7 (#1042) (f319c8a)
  • deps: update dependency typedoc to ^0.25.0 (#1277) (8d6a72e)
  • deps: update dependency typedoc to v0.25.1 (#1304) (abf84fe)
  • deps: update dependency typedoc to v0.25.2 (46c6524)
  • deps: update dependency undici to v5.24.0 (573e644)
  • deps: update dependency undici to v5.25.2 (da3e539)
  • deps: update dependency undici to v5.25.4 (1d4f91e)
  • deps: update dependency undici to v5.26.2 [security] (410a8b8)
  • deps: update dependency unplugin to v1.5.0 (936b3f8)
  • federatedtypesplugin: modify remote url used to import remote types (#496) (e91a68a), closes #495
  • federation-boundary: make custom boundary optional (#570) (e43a387)
  • Fix call undefined delegate (#1149) (87a5896), closes #1151
  • flush CSS chunks, cache bust remote entry on render (#269) (85a216a)
  • Improve logic (#387) (0eb7f1b)
  • native federation in readme (710e685)
  • nx build dep sync (38c0902)
  • override semantic-release-plugin-decorators (18675de)
  • package.json: fix package export fields for utils (#285) (99d6b77)
  • remove unused dependencies nx added to typescript package (#690) (c87e7d7)
  • resolve NX build version issues (#578) (84d3dde)
  • safely build url to download type files (#694) (ee5429d)
  • set peer dependencies (#341) (fec9608)
  • support dynamic import of esm modules (#296) (cf28356)
  • switch to @goestav/nx-semantic-release (63a3350)
  • typescript: use node-fetch to download TS types (#565) (f668b1f)
  • update publish config (b5e04ff)
  • Utilities - Remove module side effect (#488) (3554de7), closes #487 #500 #496 #495 #492 #455 #491 #496 #495

Features

Reverts

  • Revert "chore: upgrade nx" (#1064) (3eadaf6), closes #1064

BREAKING CHANGES

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • chore: fix project.json

  • debugging

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • ci: fix install step with npm and NX

  • test: remove tests for now

  • chore(utils): release version 1.7.3-beta.0

  • chore(utils): release version 1.7.3

  • chore(node): release version 0.14.4-beta.0

  • chore(node): release version 0.14.4

  • chore(nextjs-mf): release version 6.4.1-beta.4

  • fix: remove debugging runtime variable

  • chore(nextjs-mf): release version 6.4.1-beta.5

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • chore: fix project.json

  • debugging

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • automaticAsyncBoundary option has been removed

  • fix: exclude specific pages from page map automatically

  • refactor: conslidate codebase

  • fix: improve hot reload share recovery

  • refactor: remove server jsonp template

  • chore: remove dead code from runtime modules

  • fix: clean up jsonp getCustomJsonpCode

getting chunk loading global from compiler output options

  • feat: adding cleanInitArrays runtime helper

  • chore: remove share scope hoist and module hoisting system

  • chore: cleanup code

  • chore: remove dead code from add module runtime plugin

likely can remove whole plugin in future

  • chore: remove logs from delegate modules

  • chore: remove old utils

  • fix: add warning on auto page stitch

  • fix: remove commented out code from InvertedContainerPlugin.ts

  • chore: improve logging to see if its local load or remote load

  • chore: clean up old custom promises factories

  • fix: remove container proxy code

  • fix: remove container proxy code

  • fix: resolve backmerge issues with build

  • Merge branch 'kill_child_compilers' into fix_backmerge_issues

Conflicts:

package-lock.json

package.json

packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerPlugin.ts

packages/nextjs-mf/src/plugins/container/InvertedContainerRuntimeModule.ts

  • feat: enable eager sharing

  • refactor: improve module hooks for eager loading and search

  • refactor: cleanup custom jsonp and make es5

  • refactor: cleanup inverted container code

  • refactor: cleanup inverted container code

  • ci: fix install step with npm and NX

  • test: remove tests for now

  • chore(utils): release version 1.7.3-beta.0

  • chore(utils): release version 1.7.3

  • chore(node): release version 0.14.4-beta.0

  • chore(node): release version 0.14.4

  • chore(nextjs-mf): release version 6.4.1-beta.4

  • fix: remove debugging runtime variable

  • chore(nextjs-mf): release version 6.4.1-beta.5

  • Previously, we used to "rekey" all shared packages used in a host in order to prevent eager consumption issues. However, this caused unforeseen issues when trying to share a singleton package, as the package would end up being bundled multiple times per page.

As a result, we have had to stop rekeying shared modules in userland and only do so on internal Next packages themselves.

If you need to dangerously share a package using the old method, you can do so by using the following code:

             const shared = {
               fakeLodash: {
                 import: "lodash",
                 shareKey: "lodash",
               }
             }

Please note that this method is now considered dangerous and should be used with caution.

  • update build release

  • update build release

  • typescript: Reimplemented the whole plugin from round-up to enhance performance, prevent excessive recompilation and other issues.

Some key changes to the plugin includes:

  • Downloading remote types before compilation starts.
  • Caching remote types for better performance.
  • Ability to provide Plugin options.

Please go through plugin readme.md file to understand what's changed and how to use the plugin.

core - sdk-1.0.0-canary.3

Published by github-actions[bot] 11 months ago

1.0.0-canary.3 (2023-11-21)

Bug Fixes

core - nextjs-mf-8.1.0-canary.7

Published by github-actions[bot] 11 months ago

8.1.0-canary.7 (2023-11-21)

Bug Fixes

  • align with bytedance linting (8000055)
  • enhanced: refactory async boundary plugin (230a105)
core - node-2.1.0-canary.6

Published by github-actions[bot] 11 months ago

2.1.0-canary.6 (2023-11-21)

Bug Fixes

  • align with bytedance linting (8000055)
  • enhanced: refactory async boundary plugin (230a105)
core - enhanced-0.2.0-canary.5

Published by github-actions[bot] 11 months ago

0.2.0-canary.5 (2023-11-20)

Bug Fixes

  • align with bytedance linting (8000055)
  • enhanced: refactory async boundary plugin (230a105)
  • nx build dep sync (38c0902)
core - nextjs-mf-8.1.0-canary.6

Published by github-actions[bot] 11 months ago

8.1.0-canary.6 (2023-11-20)

Bug Fixes

  • enhanced: use getAllReferencedChunks api for federation indexing (b8846be)
  • nextjs-mf: Improved async startup dep track (839e47b)
  • nextjs-mf: shared module proxies (0929029)
  • nextjs-mf: update share scope rules (39d69ba)
  • nx build dep sync (38c0902)
  • rename plugin took tap (b1e0f58)

Features

  • enhanced: ✨ Reference Hoisting (6ab3e72)
  • enhanced: HoistContainerReferencesPlugin (adc00e7)
  • nextjs-mf: Use HoistReferencePlugin over DelegatePlugin (e8f1e43)
core - node-2.1.0-canary.5

Published by github-actions[bot] 11 months ago

2.1.0-canary.5 (2023-11-20)

Bug Fixes

  • enhanced: use getAllReferencedChunks api for federation indexing (b8846be)
  • nextjs-mf: Improved async startup dep track (839e47b)
  • nx build dep sync (38c0902)
  • rename plugin took tap (b1e0f58)

Features

  • enhanced: ✨ Reference Hoisting (6ab3e72)
  • enhanced: HoistContainerReferencesPlugin (adc00e7)
  • nextjs-mf: Use HoistReferencePlugin over DelegatePlugin (e8f1e43)
core - enhanced-0.2.0-canary.4

Published by github-actions[bot] 11 months ago

0.2.0-canary.4 (2023-11-20)

Bug Fixes

  • enhanced: use getAllReferencedChunks api for federation indexing (b8846be)
  • nextjs-mf: Improved async startup dep track (839e47b)
  • rename plugin took tap (b1e0f58)

Features

  • enhanced: ✨ Reference Hoisting (6ab3e72)
  • enhanced: HoistContainerReferencesPlugin (adc00e7)
  • nextjs-mf: Use HoistReferencePlugin over DelegatePlugin (e8f1e43)
core - typescript-3.1.0

Published by github-actions[bot] 11 months ago

3.1.0 (2023-11-13)

Bug Fixes

  • add missing comma (541dd28)
  • deps: update dependency typedoc to v0.25.2 (46c6524)
  • deps: update dependency undici to v5.26.2 [security] (410a8b8)
  • override semantic-release-plugin-decorators (18675de)
  • switch to @goestav/nx-semantic-release (63a3350)

Features

  • add test setup to typescript package (bccb789)
  • new actions, remove gpt integration (370229e)
core - nextjs-mf-8.1.0-canary.5

Published by github-actions[bot] 12 months ago

8.1.0-canary.5 (2023-11-08)

Bug Fixes

  • enhanced: correct schema validation issues (5a04a81)
core - node-2.1.0-canary.4

Published by github-actions[bot] 12 months ago

2.1.0-canary.4 (2023-11-08)

Bug Fixes

  • enhanced: correct schema validation issues (5a04a81)
core - enhanced-0.2.0-canary.3

Published by github-actions[bot] 12 months ago

0.2.0-canary.3 (2023-11-08)

Bug Fixes

  • enhanced: correct schema validation issues (5a04a81)