Releases: gsoft-inc/wl-squide
@squide/webpack-configs@3.0.0
Major Changes
- #170
119570f
Thanks @patricklafrance! - The host define function doesn't accept an "applicationName" anymore as it is now hardcoded to "host".
@squide/webpack-configs@2.0.0
Major Changes
-
#168
89ace29
Thanks @patricklafrance! - This release Migrates Squide from Webpack Module Federation to Module Federation 2.0.This release deprecates the following packages:
@squide/webpack-module-federation
, use@squide/module-federation
instead.@squide/firefly-configs
, use@squide/firefly-webpack-configs
instead.
And introduce a few changes to existing API:
- The
FireflyRuntime
nows accept auseMsw
option and expose a newisMswEnabled
getter:
// bootstrap.tsx import { FireflyRuntime } from "@squide/firefly"; const runtime = new FireflyRuntime({ useMsw: true, }); // Use the runtime to determine if MSW handlers should be registered. if (runtime.isMswEnabled) { // ... }
- The
registerRemoteModules
function doesn't accept the remotes URL anymore. The remotes URL should be configured in the webpack configuration files.
Previously:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", url: "http://localhost:8081", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; export default defineDevHostConfig(swcConfig, "host", 8080, { overlay: false, });
Now:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; /** * @typedef {import("@squide/firefly-webpack-configs").RemoteDefinition}[] */ export const Remotes = [ { name: "remote1", url: "http://localhost:8081", }, ]; export default defineDevHostConfig(swcConfig, "host", 8080, Remotes, { overlay: false, });
To migrate:
-
Replace the
@squide/webpack-module-federation
dependency by@squide/module-federation
. -
Replace the
@squide/firefly-configs
dependency by@squide/firefly-webpack-configs
. -
Move the remotes URL from the
bootstrap.tsx
file to thewebpack.*.js
files. -
Integrate the new
useMsw
andisMswEnabled
props.
@squide/react-router@5.0.0
Major Changes
-
#168
89ace29
Thanks @patricklafrance! - This release Migrates Squide from Webpack Module Federation to Module Federation 2.0.This release deprecates the following packages:
@squide/webpack-module-federation
, use@squide/module-federation
instead.@squide/firefly-configs
, use@squide/firefly-webpack-configs
instead.
And introduce a few changes to existing API:
- The
FireflyRuntime
nows accept auseMsw
option and expose a newisMswEnabled
getter:
// bootstrap.tsx import { FireflyRuntime } from "@squide/firefly"; const runtime = new FireflyRuntime({ useMsw: true, }); // Use the runtime to determine if MSW handlers should be registered. if (runtime.isMswEnabled) { // ... }
- The
registerRemoteModules
function doesn't accept the remotes URL anymore. The remotes URL should be configured in the webpack configuration files.
Previously:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", url: "http://localhost:8081", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; export default defineDevHostConfig(swcConfig, "host", 8080, { overlay: false, });
Now:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; /** * @typedef {import("@squide/firefly-webpack-configs").RemoteDefinition}[] */ export const Remotes = [ { name: "remote1", url: "http://localhost:8081", }, ]; export default defineDevHostConfig(swcConfig, "host", 8080, Remotes, { overlay: false, });
To migrate:
-
Replace the
@squide/webpack-module-federation
dependency by@squide/module-federation
. -
Replace the
@squide/firefly-configs
dependency by@squide/firefly-webpack-configs
. -
Move the remotes URL from the
bootstrap.tsx
file to thewebpack.*.js
files. -
Integrate the new
useMsw
andisMswEnabled
props.
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/core@4.0.0
@squide/msw@2.0.14
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/core@4.0.0
@squide/module-federation@5.0.0
Major Changes
-
#168
89ace29
Thanks @patricklafrance! - This release Migrates Squide from Webpack Module Federation to Module Federation 2.0.This release deprecates the following packages:
@squide/webpack-module-federation
, use@squide/module-federation
instead.@squide/firefly-configs
, use@squide/firefly-webpack-configs
instead.
And introduce a few changes to existing API:
- The
FireflyRuntime
nows accept auseMsw
option and expose a newisMswEnabled
getter:
// bootstrap.tsx import { FireflyRuntime } from "@squide/firefly"; const runtime = new FireflyRuntime({ useMsw: true, }); // Use the runtime to determine if MSW handlers should be registered. if (runtime.isMswEnabled) { // ... }
- The
registerRemoteModules
function doesn't accept the remotes URL anymore. The remotes URL should be configured in the webpack configuration files.
Previously:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", url: "http://localhost:8081", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; export default defineDevHostConfig(swcConfig, "host", 8080, { overlay: false, });
Now:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; /** * @typedef {import("@squide/firefly-webpack-configs").RemoteDefinition}[] */ export const Remotes = [ { name: "remote1", url: "http://localhost:8081", }, ]; export default defineDevHostConfig(swcConfig, "host", 8080, Remotes, { overlay: false, });
To migrate:
-
Replace the
@squide/webpack-module-federation
dependency by@squide/module-federation
. -
Replace the
@squide/firefly-configs
dependency by@squide/firefly-webpack-configs
. -
Move the remotes URL from the
bootstrap.tsx
file to thewebpack.*.js
files. -
Integrate the new
useMsw
andisMswEnabled
props.
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/core@4.0.0
@squide/i18next@1.1.5
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/core@4.0.0
@squide/firefly@8.0.0
Major Changes
-
#168
89ace29
Thanks @patricklafrance! - This release Migrates Squide from Webpack Module Federation to Module Federation 2.0.This release deprecates the following packages:
@squide/webpack-module-federation
, use@squide/module-federation
instead.@squide/firefly-configs
, use@squide/firefly-webpack-configs
instead.
And introduce a few changes to existing API:
- The
FireflyRuntime
nows accept auseMsw
option and expose a newisMswEnabled
getter:
// bootstrap.tsx import { FireflyRuntime } from "@squide/firefly"; const runtime = new FireflyRuntime({ useMsw: true, }); // Use the runtime to determine if MSW handlers should be registered. if (runtime.isMswEnabled) { // ... }
- The
registerRemoteModules
function doesn't accept the remotes URL anymore. The remotes URL should be configured in the webpack configuration files.
Previously:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", url: "http://localhost:8081", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; export default defineDevHostConfig(swcConfig, "host", 8080, { overlay: false, });
Now:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; /** * @typedef {import("@squide/firefly-webpack-configs").RemoteDefinition}[] */ export const Remotes = [ { name: "remote1", url: "http://localhost:8081", }, ]; export default defineDevHostConfig(swcConfig, "host", 8080, Remotes, { overlay: false, });
To migrate:
-
Replace the
@squide/webpack-module-federation
dependency by@squide/module-federation
. -
Replace the
@squide/firefly-configs
dependency by@squide/firefly-webpack-configs
. -
Move the remotes URL from the
bootstrap.tsx
file to thewebpack.*.js
files. -
Integrate the new
useMsw
andisMswEnabled
props.
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/module-federation@5.0.0
- @squide/react-router@5.0.0
- @squide/core@4.0.0
- @squide/msw@2.0.14
@squide/firefly-webpack-configs@3.0.0
Major Changes
- #170
119570f
Thanks @patricklafrance! - The host define function doesn't accept an "applicationName" anymore as it is now hardcoded to "host".
Patch Changes
- Updated dependencies [
119570f
]:- @squide/webpack-configs@3.0.0
@squide/firefly-webpack-configs@2.0.0
Major Changes
-
#168
89ace29
Thanks @patricklafrance! - This release Migrates Squide from Webpack Module Federation to Module Federation 2.0.This release deprecates the following packages:
@squide/webpack-module-federation
, use@squide/module-federation
instead.@squide/firefly-configs
, use@squide/firefly-webpack-configs
instead.
And introduce a few changes to existing API:
- The
FireflyRuntime
nows accept auseMsw
option and expose a newisMswEnabled
getter:
// bootstrap.tsx import { FireflyRuntime } from "@squide/firefly"; const runtime = new FireflyRuntime({ useMsw: true, }); // Use the runtime to determine if MSW handlers should be registered. if (runtime.isMswEnabled) { // ... }
- The
registerRemoteModules
function doesn't accept the remotes URL anymore. The remotes URL should be configured in the webpack configuration files.
Previously:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", url: "http://localhost:8081", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; export default defineDevHostConfig(swcConfig, "host", 8080, { overlay: false, });
Now:
// bootstrap.tsx import { registerRemoteModules, type RemoteDefinition, } from "@squide/firefly"; const Remotes: RemoteDefinition = [ { name: "remote1", }, ]; await registerRemoteModules(Remotes, runtime);
// webpack.dev.js import { defineDevHostConfig } from "@squide/firefly-webpack-configs"; import { swcConfig } from "./swc.dev.js"; /** * @typedef {import("@squide/firefly-webpack-configs").RemoteDefinition}[] */ export const Remotes = [ { name: "remote1", url: "http://localhost:8081", }, ]; export default defineDevHostConfig(swcConfig, "host", 8080, Remotes, { overlay: false, });
To migrate:
-
Replace the
@squide/webpack-module-federation
dependency by@squide/module-federation
. -
Replace the
@squide/firefly-configs
dependency by@squide/firefly-webpack-configs
. -
Move the remotes URL from the
bootstrap.tsx
file to thewebpack.*.js
files. -
Integrate the new
useMsw
andisMswEnabled
props.
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/webpack-configs@2.0.0
@squide/fakes@1.0.18
Patch Changes
- Updated dependencies [
89ace29
]:- @squide/core@4.0.0