# @modern-js/runtime

## 2.63.3

### Patch Changes

- @modern-js/plugin-data-loader@2.63.3
- @modern-js/plugin@2.63.3
- @modern-js/runtime-utils@2.63.3
- @modern-js/types@2.63.3
- @modern-js/utils@2.63.3

## 2.63.2

### Patch Changes

- 524d6af: feat: add server.useJsonScript , for instead ssr.inlineScript
  feat: 添加 server.useJsonScript 配置，代替 ssr.inlineScript
- Updated dependencies [5fc95f7]
- Updated dependencies [53e3ae0]
- Updated dependencies [3d2bf55]
  - @modern-js/utils@2.63.2
  - @modern-js/types@2.63.2
  - @modern-js/plugin-data-loader@2.63.2
  - @modern-js/plugin@2.63.2
  - @modern-js/runtime-utils@2.63.2

## 2.63.1

### Patch Changes

- 8ffaedb: fix(entry): compatible with jsx
  fix(entry): 兼容 jsx
  - @modern-js/plugin-data-loader@2.63.1
  - @modern-js/plugin@2.63.1
  - @modern-js/runtime-utils@2.63.1
  - @modern-js/types@2.63.1
  - @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- 192f82e: fix: 只需要在 SSR 模式下才调用 hydrateRoot 函数，修复必定进入 hydrateRoot 函数的问题
  fix: only call hydrateRoot in ssr mode, fix bug that always call hydrateRoot
  - @modern-js/plugin-data-loader@2.63.0
  - @modern-js/plugin@2.63.0
  - @modern-js/runtime-utils@2.63.0
  - @modern-js/types@2.63.0
  - @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- Updated dependencies [86213ae]
  - @modern-js/plugin-data-loader@2.62.1
  - @modern-js/runtime-utils@2.62.1
  - @modern-js/plugin@2.62.1
  - @modern-js/types@2.62.1
  - @modern-js/utils@2.62.1

## 2.62.0

### Minor Changes

- ed32577: feat: stream ssr support inlineScript config
  feat: Stream SSR 支持 inlineScript 配置

### Patch Changes

- 99469d6: feat: support script properties with Script

  feat: 支持 script 原生属性

  - @modern-js/plugin-data-loader@2.62.0
  - @modern-js/plugin@2.62.0
  - @modern-js/runtime-utils@2.62.0
  - @modern-js/types@2.62.0
  - @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes

- d8d5679: fix: parse `routerDataFnArgs` in `mergeLoaderData` function
  fix: 在 `mergeLoaderData` 函数中解析 routerDataFnArgs
- 4b8b957: feat: splitting the code for \_ROUTER_DATA initialisation
  feat: 拆分 \_ROUTER_DATA 初始化的代码
- Updated dependencies [45230e2]
  - @modern-js/utils@2.61.0
  - @modern-js/plugin-data-loader@2.61.0
  - @modern-js/plugin@2.61.0
  - @modern-js/runtime-utils@2.61.0
  - @modern-js/types@2.61.0

## 2.60.6

### Patch Changes

- 2492002: feat(router): support v7_startTransition configuration
  feat(router): 支持 v7_startTransition 配置
- Updated dependencies [c4894e6]
  - @modern-js/runtime-utils@2.60.6
  - @modern-js/plugin-data-loader@2.60.6
  - @modern-js/plugin@2.60.6
  - @modern-js/types@2.60.6
  - @modern-js/utils@2.60.6

## 2.60.5

### Patch Changes

- 03625a8: feat: router plugin add beforeCreateRoutes hook

  feat: router 插件添加 beforeCreateRoutes 钩子

  - @modern-js/plugin-data-loader@2.60.5
  - @modern-js/plugin@2.60.5
  - @modern-js/runtime-utils@2.60.5
  - @modern-js/types@2.60.5
  - @modern-js/utils@2.60.5

## 2.60.4

### Patch Changes

- df1bed5: fix(ssr): we match all asset directly, it can be more faster
  fix(ssr): 我们一次性匹配出所有资源，这样性能更快
- Updated dependencies [a9e3eb7]
- Updated dependencies [c87813e]
  - @modern-js/plugin-data-loader@2.60.4
  - @modern-js/runtime-utils@2.60.4
  - @modern-js/plugin@2.60.4
  - @modern-js/types@2.60.4
  - @modern-js/utils@2.60.4

## 2.60.3

### Patch Changes

- Updated dependencies [303331c]
  - @modern-js/utils@2.60.3
  - @modern-js/plugin-data-loader@2.60.3
  - @modern-js/plugin@2.60.3
  - @modern-js/runtime-utils@2.60.3
  - @modern-js/types@2.60.3

## 2.60.2

### Patch Changes

- 8a709bc: feat(router): router plugin should use the App Component from other plugins & export the markRoutes method
  feat(router): router plugin 应该使用 App Component from other plugins & 导出 markRoutes 方法
- b36bf9f: fix(runtime): fix the alias problem on windows
  fix(runtime): 修复 windows 下 alias 的问题
- d4e32bf: fix(runtime): alias @meta/runtime should be configured correctly
  fix(runtime): @meta/runtime 别名应该被正确地配置
- 0a31d31: feat: support <NoSSRCache> Component, only use ssr.mode='string'

  feat: 支持 <NoSSRCache> 组件, 仅在 ssr.mode 为 'string'的时候生效

- Updated dependencies [8a709bc]
  - @modern-js/utils@2.60.2
  - @modern-js/plugin-data-loader@2.60.2
  - @modern-js/plugin@2.60.2
  - @modern-js/runtime-utils@2.60.2
  - @modern-js/types@2.60.2

## 2.60.1

### Patch Changes

- 4cfe425: fix: html minify error when tools.htmlPlugin false
- 80825c4: fix: the problem of NoSSR with Suspense
  fix: 修复 NoSSR 在 suspense 下 的问题
- 3f968e1: fix: router plugin baseUrl not work

  fix: router 插件 baseUrl 不生效

  - @modern-js/plugin-data-loader@2.60.1
  - @modern-js/plugin@2.60.1
  - @modern-js/runtime-utils@2.60.1
  - @modern-js/types@2.60.1
  - @modern-js/utils@2.60.1

## 2.60.0

### Patch Changes

- d6e0118: fix: we should not cache the html, if we can match the html is downgrading.
  fix: 在 ssr 降级时，我们不应该缓存 html
- e27b46a: fix: react's hook useId cause ssr hydrate failed
  fix: react's hook useId 导致 ssr hydrate 失败
  - @modern-js/plugin-data-loader@2.60.0
  - @modern-js/plugin@2.60.0
  - @modern-js/runtime-utils@2.60.0
  - @modern-js/types@2.60.0
  - @modern-js/utils@2.60.0

## 2.59.0

### Patch Changes

- 553924c: fix: move parse window ssr data to createRoot

  fix: 移动解析 window ssr data 到 createRoot 方法

- 6c084da: feat: add WithRouterProps params type
- Updated dependencies [539d72b]
  - @modern-js/types@2.59.0
  - @modern-js/plugin-data-loader@2.59.0
  - @modern-js/runtime-utils@2.59.0
  - @modern-js/utils@2.59.0
  - @modern-js/plugin@2.59.0

## 2.58.3

### Patch Changes

- 6b0a5c4: fix: should remove extensions for entry file in real entry file, cause developer may use [.server] for ssr bundle entry
  fix: 需要移除入口文件的扩展名，因为开发者可能使用 [.server] 作为 ssr 产物的入口文件
- 59fba90: fix(data-loader): compatible with asyncEntry for data loader
  fix(data-loader): data loader 的导出兼容 asyncEntry
- f624878: fix: modern-entry build rules not use array

  fix: modern-entry 构建规则不使用数组

- e0cb246: fix(runtime): status code should be controlled by data loader
  fix(runtime): 状态码应该能被 data loader 控制
  - @modern-js/plugin-data-loader@2.58.3
  - @modern-js/plugin@2.58.3
  - @modern-js/runtime-utils@2.58.3
  - @modern-js/types@2.58.3
  - @modern-js/utils@2.58.3

## 2.58.2

### Patch Changes

- 9bbb0a0: fix: we should inject ssrData & window's data when ssr failed,
  fix: 当 ssr 降级时，我们应该注入 ssrData 和 window's data 给 runtimeContext.ssrContext
- 44c1bc4: feat(server): support esm
  feat(server): support esm
- 81829b0: fix: add sideEffect rules for `.modern-js` dir

  fix: 对 `.modern-js` 目录添加 sideEffects 配置

- Updated dependencies [7715b6d]
- Updated dependencies [44c1bc4]
- Updated dependencies [a1a9373]
  - @modern-js/runtime-utils@2.58.2
  - @modern-js/utils@2.58.2
  - @modern-js/plugin-data-loader@2.58.2
  - @modern-js/plugin@2.58.2
  - @modern-js/types@2.58.2

## 2.58.1

### Patch Changes

- ec01bad: feat(runtime): adapt to some features for async entries
  feat(runtime): 为异步入口适配某些功能
- 2482a6b: fix: ssr context in runtime should get host from X-Forwarded-Host first
  fix: ssr context 应该优先从 X-Forwarded-Host 获取
- 7a88ae9: fix: ssrData should get request.url from ssrContext
  fix: ssrData 应该从 ssrContext 获取 url
- c904ee2: fix: ssrContext get protocal from x-forwarded-proto first, then new server middleware support rewrite request
  fix: ssrContext 优先从 x-forwarded-proto 取协议, 另外新 server middleware 支持重写 request
- 9db73d7: fix: garfish config name when use app.config

  fix: 修复 garfish 配置名称

- Updated dependencies [2482a6b]
  - @modern-js/types@2.58.1
  - @modern-js/plugin-data-loader@2.58.1
  - @modern-js/runtime-utils@2.58.1
  - @modern-js/utils@2.58.1
  - @modern-js/plugin@2.58.1

## 2.58.0

### Patch Changes

- 7188385: fix: we should get ssr data from HTMLElement when set ssr.inlineScript = false
  fix: 当 ssr.inlineScript = false 时，我们应该从 HTMLElement 获取 SSR Data
- cc74dba: feat: move wrap runtime context provider to render function

  feat: 将包裹 runtime context provider 的逻辑移动到 render 函数中

  - @modern-js/plugin-data-loader@2.58.0
  - @modern-js/plugin@2.58.0
  - @modern-js/runtime-utils@2.58.0
  - @modern-js/types@2.58.0
  - @modern-js/utils@2.58.0

## 2.57.1

### Patch Changes

- @modern-js/plugin-data-loader@2.57.1
- @modern-js/plugin@2.57.1
- @modern-js/runtime-utils@2.57.1
- @modern-js/types@2.57.1
- @modern-js/utils@2.57.1

## 2.57.0

### Minor Changes

- dc736ef: feat: refactor runtime plugin hooks

  feat: 重构 runtime 插件钩子函数

### Patch Changes

- 2515b00: feat(ssr): support server.ssrByRouteIds
  feat(ssr): 支持 server.ssrByRouteIds
- abad541: fix: more runtime plugin add alias not work

  fix: 多个 runtime 插件添加 runtime 路径别名时不符合预期

- 223d63b: fix: add deferedDataScripts only streaming ssr
  fix: 只有在 streaming ssr 时才添加 deferedDataScripts
- a9807e5: feat(ssg): support ssg with bff.enableHandleWeb
  feat(ssg): 支持 ssg 和 bff.enableHandleWeb 一起使用
- 916559a: fix: mergeConfig function to return an object when the first configuration is not an object

  fix: 修复 mergeConfig 函数，使其在第一个配置非对象时返回对象

- db43d8e: fix: react 17 ssr context error

  fix: 修复 react 17 ssr 找不到 runtimeReactContext 报错

- dc736ef: feat: Support Runtime Plugin Communication

  feat: 支持 Runtime 插件通信

- Updated dependencies [2515b00]
- Updated dependencies [ce9c43a]
- Updated dependencies [6cec127]
- Updated dependencies [916559a]
- Updated dependencies [dc736ef]
  - @modern-js/plugin-data-loader@2.57.0
  - @modern-js/types@2.57.0
  - @modern-js/utils@2.57.0
  - @modern-js/runtime-utils@2.57.0
  - @modern-js/plugin@2.57.0

## 2.56.2

### Patch Changes

- e9c724c: feat: set async entry for data loader entry if enable source.enableAsyncEntry
- 9626370: fix: exports more server types
  fix: 导出更多的 server 类型
- 89e1df0: fix: ssrContext.request maybe a undefined
  fix: ssrContext.request 可能是 undefined
- c441e14: fix: enableAsyncEntry = true, we should generate bootstrap.server.jsx when ssr mode
  fix: enableAsyncEntry 为 true, 我们应该生成 bootstrap.server.jsx 在 ssr 模式下
  - @modern-js/plugin-data-loader@2.56.2
  - @modern-js/plugin@2.56.2
  - @modern-js/runtime-utils@2.56.2
  - @modern-js/types@2.56.2
  - @modern-js/utils@2.56.2

## 2.56.1

### Patch Changes

- ad9e984: fix(ssr): Avoid the compilation problem with renderToPipeableStream and react 17
  fix(ssr): 避免 react 17 下，使用 renderToPipeableStream 的编译问题
- 137d387: fix: style assets should be add to cssChunk
  fix: style 应该被添加到 cssChunks
- 1696694: fix: remove unused @loadable/webpack-plugin dependency
  - @modern-js/plugin-data-loader@2.56.1
  - @modern-js/plugin@2.56.1
  - @modern-js/runtime-utils@2.56.1
  - @modern-js/types@2.56.1
  - @modern-js/utils@2.56.1

## 2.56.0

### Patch Changes

- ced7039: fix(prefetch): chunkId may be string or number
  fix(prefetch): chunkId 可能是 sstring 或 number
- 6fda6a2: feat: remove lodash dep from runtime mergeConfig function

  feat: mergeConfig 函数移除 lodash 依赖

- 0f0a31e: fix(plugin-runtime): failed to resolve @rsbuild/core
- f27eaab: feat: garfish plugin support custom behavior before render

  feat: garfish 插件支持在 render 前自定义行为

- 32d31c3: fix: router plugin should receive request that method is GET
  fix: router 插件应该获得请求方法为 GET 的请求
- 9eee52a: fix: server runtime should get config.disablePrerender from ssr config
  fix: server runtime 应该从 ssrconfig 获取 config.disablePrerender
- 1e85b76: feat: refactor the logic of the system file router entry

  feat: 重构文件系统路由入口逻辑

- d36f095: fix: ssrContext in browser should add document information
  fix: 在浏览器中的 ssrContext 应该添加 document 的信息
- Updated dependencies [bedbbb3]
- Updated dependencies [1e85b76]
  - @modern-js/types@2.56.0
  - @modern-js/plugin-data-loader@2.56.0
  - @modern-js/runtime-utils@2.56.0
  - @modern-js/utils@2.56.0
  - @modern-js/plugin@2.56.0

## 2.55.0

### Minor Changes

- 1515ea9: feat: refactor runtime brower entry

  feat: 重构客户端入口

### Patch Changes

- 1430c5d: fix: isbot v4.x require nodev18, so we downgrade it into v3.x
  fix: isbot v4.x 需要 nodev18, 所以我们把他降级为 v3.x
- bbcf55a: fix: runtime template windows path

  fix: 修复 runtime 模板 windows 路径不正确

- a38bb04: feat: generator support runtime config file

  feat: 生成器支持 modern.runtime 配置文件

- 59e46ad: fix: ssr use-loader should set \_internal_context.ssr = false
  fix: ssr use-loader 应该将 \_internal_context.ssr 为 false
- 283ac69: fix: re-export runtime server
  fix: 重导出 runtime server
- Updated dependencies [bbcf55a]
- Updated dependencies [e0c2384]
  - @modern-js/utils@2.55.0
  - @modern-js/types@2.55.0
  - @modern-js/plugin-data-loader@2.55.0
  - @modern-js/plugin@2.55.0
  - @modern-js/runtime-utils@2.55.0

## 2.54.6

### Patch Changes

- @modern-js/plugin-data-loader@2.54.6
- @modern-js/plugin@2.54.6
- @modern-js/runtime-utils@2.54.6
- @modern-js/types@2.54.6
- @modern-js/utils@2.54.6

## 2.54.5

### Patch Changes

- 5510104: fix: fix router info error when use custom file system routes entry

  fix: 修复当使用自定义约定式路由入口时生成 router 信息问题

  - @modern-js/plugin-data-loader@2.54.5
  - @modern-js/plugin@2.54.5
  - @modern-js/runtime-utils@2.54.5
  - @modern-js/types@2.54.5
  - @modern-js/utils@2.54.5

## 2.54.4

### Patch Changes

- @modern-js/plugin-data-loader@2.54.4
- @modern-js/plugin@2.54.4
- @modern-js/runtime-utils@2.54.4
- @modern-js/types@2.54.4
- @modern-js/utils@2.54.4

## 2.54.3

### Patch Changes

- @modern-js/plugin-data-loader@2.54.3
- @modern-js/plugin@2.54.3
- @modern-js/runtime-utils@2.54.3
- @modern-js/types@2.54.3
- @modern-js/utils@2.54.3

## 2.54.2

### Patch Changes

- 8c71964: fix: Fix the failure of App entry recognition when there are pages and routes paths.

  fix: 修复当存在 pages 和 routes 路径时，App 入口识别失败

  - @modern-js/plugin-data-loader@2.54.2
  - @modern-js/plugin@2.54.2
  - @modern-js/runtime-utils@2.54.2
  - @modern-js/types@2.54.2
  - @modern-js/utils@2.54.2

## 2.54.1

### Patch Changes

- @modern-js/plugin-data-loader@2.54.1
- @modern-js/plugin@2.54.1
- @modern-js/runtime-utils@2.54.1
- @modern-js/types@2.54.1
- @modern-js/utils@2.54.1

## 2.54.0

### Minor Changes

- 09798ac: feat: refactor runtime plugin

  feat: 重构 runtime 插件

- 9da873c: feat(ssr): support for loaderFailureMode configure
  feat(ssr): 支持 loaderFailureMode 配置

### Patch Changes

- 15a090c: feat: refactor app-tools command and analyze check entry point

  feat: 重构 app-tools 命令和 analyze 插件识别入口逻辑

- 413b27f: fix: entrypoint error when use custom index entry

  fix: 修复当使用自定义 index 入口时入口路径错误

- Updated dependencies [15a090c]
- Updated dependencies [a8d8f0c]
- Updated dependencies [09798ac]
- Updated dependencies [9da873c]
  - @modern-js/utils@2.54.0
  - @modern-js/plugin-data-loader@2.54.0
  - @modern-js/types@2.54.0
  - @modern-js/plugin@2.54.0
  - @modern-js/runtime-utils@2.54.0

## 2.53.0

### Patch Changes

- @modern-js/plugin@2.53.0
- @modern-js/runtime-utils@2.53.0
- @modern-js/types@2.53.0
- @modern-js/utils@2.53.0

## 2.52.0

### Minor Changes

- 85ac453: feat: support control status code by data loader
  feat: 支持通过 data loader 控制页面状态码

### Patch Changes

- Updated dependencies [85ac453]
  - @modern-js/runtime-utils@2.52.0
  - @modern-js/plugin@2.52.0
  - @modern-js/types@2.52.0
  - @modern-js/utils@2.52.0

## 2.51.0

### Patch Changes

- 4c09d57: fix: streaming ssr should set renderLevel correctly when render occur error
  fix: streaming ssr 当渲染遇到错误，应该设置正确的 renderLevel
- 08d9466: feat: support stream to string & support server ender styled components
  feat: 支持 stream 模式转 string ，并且支持服务端渲染 styled compoents
- 7834d4b: fix: default types should be `Record<string, unknown>`
  fix: 默认 types 应该是 `Record<string, unknown>`
  - @modern-js/plugin@2.51.0
  - @modern-js/runtime-utils@2.51.0
  - @modern-js/types@2.51.0
  - @modern-js/utils@2.51.0

## 2.50.0

### Patch Changes

- 4a9c0c7: feat: add typings for Body、Root、Style components

  feat: 为 Body、Root、Style 组件添加类型

  - @modern-js/plugin@2.50.0
  - @modern-js/runtime-utils@2.50.0
  - @modern-js/types@2.50.0
  - @modern-js/utils@2.50.0

## 2.49.4

### Patch Changes

- a5fdc8d: fix: useLoader should run normally in csr when webpack build
  fix: useLoader 当使用 webpack 构建是，在 csr 下应该需要正常跑
  - @modern-js/plugin@2.49.4
  - @modern-js/runtime-utils@2.49.4
  - @modern-js/types@2.49.4
  - @modern-js/utils@2.49.4

## 2.49.3

### Patch Changes

- 644a226: fix: <Html> should add <html> props types
  fix: 组件 Html 应该添加上 html 标签属性的类型
- 6d980e4: fix: helmet can't replace <html> when streaming ssr
  fix: 使用 streaming ssr 时, helmet 无法替换 <html>
- b57ca76: fix: add originalBaseUrl param
  fix: 添加 originalBaseUrl 参数
  - @modern-js/plugin@2.49.3
  - @modern-js/runtime-utils@2.49.3
  - @modern-js/types@2.49.3
  - @modern-js/utils@2.49.3

## 2.49.2

### Patch Changes

- @modern-js/plugin@2.49.2
- @modern-js/runtime-utils@2.49.2
- @modern-js/types@2.49.2
- @modern-js/utils@2.49.2

## 2.49.1

### Patch Changes

- b45da78: fix: should not print error level log when in prod env

  fix: 生产环境不应该打印 error 级日志

- 06bff92: fix: should not include babel-loader in streaming ssr project
  fix: 在 streaming ssr 项目中，不应该引入 babel-loader
  - @modern-js/plugin@2.49.1
  - @modern-js/runtime-utils@2.49.1
  - @modern-js/types@2.49.1
  - @modern-js/utils@2.49.1

## 2.49.0

### Minor Changes

- e8c8c5d: refactor: refactor server
  refactor: 重构 server

### Patch Changes

- Updated dependencies [e8c8c5d]
- Updated dependencies [6a543df]
  - @modern-js/runtime-utils@2.49.0
  - @modern-js/types@2.49.0
  - @modern-js/utils@2.49.0
  - @modern-js/plugin@2.49.0

## 2.48.6

### Patch Changes

- @modern-js/plugin@2.48.6
- @modern-js/runtime-utils@2.48.6
- @modern-js/types@2.48.6
- @modern-js/utils@2.48.6

## 2.48.5

### Patch Changes

- Updated dependencies [4ca9f4c]
  - @modern-js/utils@2.48.5
  - @modern-js/plugin@2.48.5
  - @modern-js/runtime-utils@2.48.5
  - @modern-js/types@2.48.5

## 2.48.4

### Patch Changes

- d3e028b: fix: should not be more than one title tag

  fix: 只能出现一个 title 标签

- 78b889f: fix: when router does't exist, no pathname detection
  fix: 当 router 不存在时，不再做 pathname 检测
- Updated dependencies [7d2d433]
  - @modern-js/utils@2.48.4
  - @modern-js/plugin@2.48.4
  - @modern-js/runtime-utils@2.48.4
  - @modern-js/types@2.48.4

## 2.48.3

### Patch Changes

- @modern-js/plugin@2.48.3
- @modern-js/runtime-utils@2.48.3
- @modern-js/types@2.48.3
- @modern-js/utils@2.48.3

## 2.48.2

### Patch Changes

- 8eccb3b: fix: helmet.renderStatic must be sync action
  fix: helmet.renderStatic 必须是同步的行为
- 08e062f: fix: ssr reload infinite
  fix: ssr 无限刷新问题
  - @modern-js/plugin@2.48.2
  - @modern-js/runtime-utils@2.48.2
  - @modern-js/types@2.48.2
  - @modern-js/utils@2.48.2

## 2.48.1

### Patch Changes

- 74749ae: fix: sometime the url '/a/' shoud be equal '/a'
  fix: 有时 url '/a/' 应该等于 '/a'
- Updated dependencies [8942b90]
- Updated dependencies [ce426f7]
- Updated dependencies [74749ae]
  - @modern-js/utils@2.48.1
  - @modern-js/runtime-utils@2.48.1
  - @modern-js/plugin@2.48.1
  - @modern-js/types@2.48.1

## 2.48.0

### Patch Changes

- Updated dependencies [c323a23]
  - @modern-js/utils@2.48.0
  - @modern-js/plugin@2.48.0
  - @modern-js/runtime-utils@2.48.0
  - @modern-js/types@2.48.0

## 2.47.1

### Patch Changes

- cee9184: fix: `ssr.inlineScript` shouldn't works in streaming ssr
  fix: `ssr.inlineScript` 不应该在 streaming ssr 模式下工作
  - @modern-js/plugin@2.47.1
  - @modern-js/runtime-utils@2.47.1
  - @modern-js/types@2.47.1
  - @modern-js/utils@2.47.1

## 2.47.0

### Patch Changes

- 2ed7a8c: chore: add useHref to context.router
- 9464c9c: chore: upgrade react-router and export all react-router APIs
  chore: 升级 react-router 相关依赖，并导出所有 react-router API
- 19ee61f: feat: reexport unstable_useviewtransitionstate
  feat: 导出 unstable_useviewtransitionstate
- 2ed7a8c: fix(plugin-garfish): refactor the basename calculation
- Updated dependencies [a5386ab]
- Updated dependencies [9464c9c]
  - @modern-js/utils@2.47.0
  - @modern-js/runtime-utils@2.47.0
  - @modern-js/plugin@2.47.0
  - @modern-js/types@2.47.0

## 2.46.1

### Patch Changes

- @modern-js/plugin@2.46.1
- @modern-js/runtime-utils@2.46.1
- @modern-js/types@2.46.1
- @modern-js/utils@2.46.1

## 2.46.0

### Patch Changes

- 494b290: feat: Waiting for all content to load for spiders in streaming ssr
  feat: 在 streaming ssr 时，为爬虫等待所有内容加载完毕
- Updated dependencies [78e2722]
- Updated dependencies [494b290]
  - @modern-js/runtime-utils@2.46.0
  - @modern-js/types@2.46.0
  - @modern-js/utils@2.46.0
  - @modern-js/plugin@2.46.0

## 2.45.0

### Minor Changes

- 10d8203: feat: support ssr.scriptLoading set `async`
  feat: 支持 ssr.scriptLoading 设置为 `async`

### Patch Changes

- f50ad3e: fix: adjust logger code
  fix: 调整 logger 冗余代码
- Updated dependencies [19c8687]
  - @modern-js/types@2.45.0
  - @modern-js/runtime-utils@2.45.0
  - @modern-js/utils@2.45.0
  - @modern-js/plugin@2.45.0

## 2.44.0

### Patch Changes

- e25a5e3: fix(ssr): support stream ssr inline asserts
  fix(ssr): 支持 stream ssr 内链静态文件
- Updated dependencies [0ed968c]
- Updated dependencies [56d7f9a]
  - @modern-js/runtime-utils@2.44.0
  - @modern-js/types@2.44.0
  - @modern-js/utils@2.44.0
  - @modern-js/plugin@2.44.0

## 2.43.0

### Minor Changes

- d959200: feat: support ssr cache, and global storer
  feat: 支持 ssr 缓存, 以及全局存储器

### Patch Changes

- 2006851: fix: unsafeReplace fn fix
  fix: unsafeReplace 函数修复, 处理找不到 searchValue 的边界 case
- 563c286: fix: the Helment replace may meets special char
  fix: the Helment 替换可能会遇到特殊字符，导致替换出问题
- bb75155: fix: whether it is react18 should not rely on internalDirectory
  fix: 判断是不是 react18 不应该依赖内部目录
- ae22b74: feat: support ssr pass more context
  feat: 支持传递更多的 ssr context
- 5e9a6a9: fix: handle the quick navigation issue in ssr
  fix: 修复 ssr 场景下 quick navigation 的问题
- 4b4d08a: chore: remove Rsbuild unsupported CHAIN_ID

  chore: 移除在 Rsbuild 中不支持的 CHAIN_ID

- Updated dependencies [9e749d8]
- Updated dependencies [d959200]
  - @modern-js/runtime-utils@2.43.0
  - @modern-js/types@2.43.0
  - @modern-js/utils@2.43.0
  - @modern-js/plugin@2.43.0

## 2.42.2

### Patch Changes

- e05e496: fix: if the second args of string.replace is a string, it would as RegExp. so we use function to replace
  fix: 如果 string.replace 第二个参数是字符串,他若有特殊字符将会被当作正则处理，所以我们用函数去替换他
- Updated dependencies [2dfc891]
  - @modern-js/types@2.42.2
  - @modern-js/runtime-utils@2.42.2
  - @modern-js/utils@2.42.2
  - @modern-js/plugin@2.42.2

## 2.42.1

### Patch Changes

- @modern-js/plugin@2.42.1
- @modern-js/runtime-utils@2.42.1
- @modern-js/types@2.42.1
- @modern-js/utils@2.42.1

## 2.42.0

### Patch Changes

- 103cf92: feat(runtime-utils): split parsed from browser
  feat(runtime-utils): 从 browser 中拆分 parsed 方法
- ecc57b6: fix(plugin-runtime): `Document.tsx` should work fine when user config `html.title` or `html.titleByEntries`
  fix(plugin-runtime): `Document.tsx` 正常工作当用户配置 `html.title` or `html.titleByEntries` 的时候
- d6596cb: fix: catch the error of import route module
  fix: 捕获导入 route module 的错误
- e2c899b: fix: add more ssr metrics logger
  fix: 增加更多 ssr metrics 日志信息
- Updated dependencies [103cf92]
  - @modern-js/runtime-utils@2.42.0
  - @modern-js/plugin@2.42.0
  - @modern-js/types@2.42.0
  - @modern-js/utils@2.42.0

## 2.41.0

### Patch Changes

- c4d396a: chore(swc): bump swc and helpers
  chore(swc): 升级 swc 以及 helpers
- 7640d4d: fix: import('node:xx') would compile failed when target = webworker
  fix: import('node:xx') 将在 target = webworker 时构建失败
- Updated dependencies [c4d396a]
  - @modern-js/runtime-utils@2.41.0
  - @modern-js/plugin@2.41.0
  - @modern-js/utils@2.41.0
  - @modern-js/types@2.41.0

## 2.40.0

### Minor Changes

- 95f15d2: chore: remove ajv schema verification of configuration
  chore: 移除 ajv 对项目配置的校验

### Patch Changes

- 96ede9e: fix: remake server ssr logger msg
  fix: 重写 ssr server 日志信息
- dac1564: fix(ssr): ssr enable inline assets in production env
  fix(ssr): ssr 能够在开发环境 inline 静态文件
- Updated dependencies [95f15d2]
  - @modern-js/utils@2.40.0
  - @modern-js/plugin@2.40.0
  - @modern-js/runtime-utils@2.40.0
  - @modern-js/types@2.40.0

## 2.39.2

### Patch Changes

- @modern-js/plugin@2.39.2
- @modern-js/runtime-utils@2.39.2
- @modern-js/types@2.39.2
- @modern-js/utils@2.39.2

## 2.39.1

### Patch Changes

- f397649: chore: upgrade react-router and remix
  chore: 更新 react-router 和 remix
- d4d942c: fix(ssr): loadable import node:fs, handle if we can't read file
  fix(ssr): loadable collector 引用 node:fs, 处理我们可能无法读取文件的情况
- e93fac9: fix(ssr): only node runtime read assets from fs.
  fix(ssr): 只有在 node 运行时才从文件系统中读取资源
- Updated dependencies [f397649]
  - @modern-js/runtime-utils@2.39.1
  - @modern-js/plugin@2.39.1
  - @modern-js/types@2.39.1
  - @modern-js/utils@2.39.1

## 2.39.0

### Patch Changes

- @modern-js/plugin@2.39.0
- @modern-js/runtime-utils@2.39.0
- @modern-js/types@2.39.0
- @modern-js/utils@2.39.0

## 2.38.0

### Minor Changes

- ce967bb: feat(plugin-runtime): support ssr inline assets
  feat(plugin-runtime): 支持 SSR 内联 css, scripts 资源

### Patch Changes

- 3304d33: chore(deps): bump @babel/core to v7.23.2

  chore(deps): 升级 @babel/core 至 v7.23.2

- 623c6c8: fix(ssr): routerManifest may be a undefined
  fix(ssr): routerManifest 可能是个 undefined
  - @modern-js/plugin@2.38.0
  - @modern-js/runtime-utils@2.38.0
  - @modern-js/types@2.38.0
  - @modern-js/utils@2.38.0

## 2.37.2

### Patch Changes

- @modern-js/plugin@2.37.2
- @modern-js/runtime-utils@2.37.2
- @modern-js/types@2.37.2
- @modern-js/utils@2.37.2

## 2.37.1

### Patch Changes

- @modern-js/plugin@2.37.1
- @modern-js/runtime-utils@2.37.1
- @modern-js/types@2.37.1
- @modern-js/utils@2.37.1

## 2.37.0

### Minor Changes

- ce0a14e: feat: support shouldRevalidate
  feat: 支持 shouldRevalidate

### Patch Changes

- Updated dependencies [383b636]
- Updated dependencies [ce0a14e]
- Updated dependencies [708f248]
  - @modern-js/utils@2.37.0
  - @modern-js/plugin@2.37.0
  - @modern-js/runtime-utils@2.37.0
  - @modern-js/types@2.37.0

## 2.36.0

### Patch Changes

- 4e3310b: chore(runtime): remove unused redux-logger dependencies

  chore(runtime): 移除未使用的 redux-logger 依赖

- Updated dependencies [3473bee]
- Updated dependencies [b98f8aa]
- Updated dependencies [eb602d2]
  - @modern-js/utils@2.36.0
  - @modern-js/plugin@2.36.0
  - @modern-js/runtime-utils@2.36.0
  - @modern-js/types@2.36.0

## 2.35.1

### Patch Changes

- 85f877b: fix: ssr style link should not add scriptLoading attrributes
  fix: ssr style link 标签 不应该添加 scriptLoading 属性
- 7bc7e9c: fix: ssr loadable-component inject repeat css link tag
  fix: ssr loadable-component 注入重复的 css link 标签
- 6a1d46e: refactor: split runtime utils into a seperate package
  refactor: runtime utils 单独拆分成一个包
- Updated dependencies [ea3fe18]
- Updated dependencies [14f95cf]
- Updated dependencies [9dd3151]
- Updated dependencies [4980480]
- Updated dependencies [6a1d46e]
  - @modern-js/utils@2.35.1
  - @modern-js/plugin@2.35.1
  - @modern-js/runtime-utils@2.35.1
  - @modern-js/types@2.35.1

## 2.35.0

### Minor Changes

- d87a426: feat: reporter adapter streaming ssr
  feat: reporter 适配 streaming ssr

### Patch Changes

- Updated dependencies [15b834f]
  - @modern-js/utils@2.35.0
  - @modern-js/plugin@2.35.0
  - @modern-js/types@2.35.0

## 2.34.0

### Minor Changes

- dcdeea5: feat: support disable pre-render
  feat: 支持禁用 pre-render

### Patch Changes

- eca24a2: fix: runtimeContext.request.query should merge query got in client and got in server
  fix: runtimeContext 中的 query 对象应该合并从客户端和服务端获取的数据
- Updated dependencies [a77b82a]
- Updated dependencies [c8b448b]
  - @modern-js/utils@2.34.0
  - @modern-js/plugin@2.34.0
  - @modern-js/types@2.34.0

## 2.33.1

### Patch Changes

- @modern-js/plugin@2.33.1
- @modern-js/types@2.33.1
- @modern-js/utils@2.33.1

## 2.33.0

### Minor Changes

- 2bcff4f: feat(plugin-runtime): support ssr html modifiers
  feat(plugin-runtime): 支持 ssr html 修改者

### Patch Changes

- 6ea89ab: fix: html has placeholder when not set partials
  fix: html 在没有设置 partials 的时候,会多出占位符
- ae35c65: fix: ssr htmlModifiers
  fix: ssr htmlModifiers 赋值问题
- 44da57b: refactor: runtime server ssr
  refactor: 重构 runtime server ssr
- Updated dependencies [fd82137]
- Updated dependencies [bc1f8da]
  - @modern-js/utils@2.33.0
  - @modern-js/plugin@2.33.0
  - @modern-js/types@2.33.0

## 2.32.1

### Patch Changes

- 90e053a: feat(app-tools): add comments for configurations and functions

  feat(app-tools): 为配置和函数添加 comments 说明

- Updated dependencies [90e053a]
  - @modern-js/types@2.32.1
  - @modern-js/utils@2.32.1
  - @modern-js/plugin@2.32.1

## 2.32.0

### Minor Changes

- a030aff: feat: support loader context
  feat: 支持 loader context

### Patch Changes

- e5a3fb4: fix: integration test, and export LoaderContext from utils
  fix: 集成测试，然后导出 LoaderContext
- 6076166: fix: packaging errors found by publint

  fix: 修复 publint 检测到的 packaging 问题

- 92591c6: fix: component Style render error content
  fix: component Style 渲染了错误的内容
- 5255eba: feat: report time for server loader
  feat: 上报 server loader 执行的时间
- Updated dependencies [e5a3fb4]
- Updated dependencies [6076166]
- Updated dependencies [a030aff]
- Updated dependencies [4323e68]
- Updated dependencies [3c91100]
- Updated dependencies [5255eba]
  - @modern-js/utils@2.32.0
  - @modern-js/plugin@2.32.0
  - @modern-js/types@2.32.0

## 2.31.2

### Patch Changes

- Updated dependencies [15d30abdc66]
  - @modern-js/utils@2.31.2
  - @modern-js/plugin@2.31.2
  - @modern-js/types@2.31.2

## 2.31.1

### Patch Changes

- 99ffd10: fix: fix redefining the remixRouter issue
  fix: 修复 remixRouter 重定义问题
  - @modern-js/plugin@2.31.1
  - @modern-js/types@2.31.1
  - @modern-js/utils@2.31.1

## 2.31.0

### Patch Changes

- 4a87c07: feat: memo creating router
  feat: 缓存 router 创建
- 2361ce8: feat: support partials html in Document
  feat: 支持 partials html 在 Document 中也生效
- cd39c6f: fix: use [\s\S]_ to replace ._ for \n\r char regex
  fix: 使用 [\s\X]_ 替换 ._ 匹配 \n\r 字符
- Updated dependencies [1882366]
  - @modern-js/utils@2.31.0
  - @modern-js/plugin@2.31.0
  - @modern-js/types@2.31.0

## 2.30.0

### Minor Changes

- 855a61e: feat(plugin-runtime): add ssr tracker
  feat(plugin-runtime): 新增 ssr tracker

### Patch Changes

- a8a4fd3: fix: ssr plugin use wrong config params
  fix: ssr 插件使用了错误的 config 参数
- 276ace3: chore: remove noscript tag in html template
  chore: 移除 HTML 模板中的 noscript 标签
- c731bf3: fix(plugin-runtime): the output maybe undefined;
  fix(plugin-runtime): output 可能是个 undefined
- 8219d55: fix(plugin-runtime): ssg need use String SSR, so we should inject loadable-component babel plugin when enable ssg
  fix(plugin-runtime): ssg 需要使用 String SSR, 我们需要在开启 SSG 得时候注入 loadbale-compnent babel 插件
- Updated dependencies [a5ee81a]
- Updated dependencies [b6ab299]
  - @modern-js/types@2.30.0
  - @modern-js/utils@2.30.0
  - @modern-js/plugin@2.30.0

## 2.29.0

### Minor Changes

- cba7675: feat: add a server reporter that report server cost, logger about error, info etc.
  feat: 添加一个 server 端 reporter，来报告 server 端耗时，报错等

### Patch Changes

- 600bb0a: fix: fix remixRouter not existed in conventional routes
  fix: 修复 remixRouter 在约定式路由下不存在问题
- fd3e71c: fix: if a route dont has component, should be as a no-layout route
  fix: 如果路由对象没有组件属性，应该被看做无布局路由
- 9a81e31: fix(plugin-runtime): ssr reporter some problems
  fix(plugin-runtime): ssr reporter 小问题
- Updated dependencies [e6b5355]
- Updated dependencies [93db783]
- Updated dependencies [cba7675]
- Updated dependencies [99052ea]
- Updated dependencies [1d71d2e]
  - @modern-js/utils@2.29.0
  - @modern-js/types@2.29.0
  - @modern-js/plugin@2.29.0

## 2.28.0

### Patch Changes

- Updated dependencies [4e3ce96]
- Updated dependencies [00b58a7]
  - @modern-js/types@2.28.0
  - @modern-js/utils@2.28.0
  - @modern-js/plugin@2.28.0

## 2.27.0

### Patch Changes

- 21be212: fix: add support for nodenext moduleResolution
  fix: TS 类型支持 moduleResolution 为 nodenext
- 8322a51: chore: migrate packages from tsc to module-lib build

  chore: 将使用 tsc 的包迁移到 module-lib 构建

- fb51b98: fix: fix remixRouter not existed in conventional routes
  fix: 修复 remixRouter 在约定式路由下不存在问题
- b591092: fix: fix `modifyRoutes` in SSR
  fix: 修复 SSR 时, `modifyRoutes` 执行时机
- Updated dependencies [91d14b8]
- Updated dependencies [6d7104d]
  - @modern-js/utils@2.27.0
  - @modern-js/plugin@2.27.0
  - @modern-js/types@2.27.0

## 2.26.0

### Minor Changes

- 22acfda: feat: support unstable_getBlockNavState
  feat: 支持 unstable_getBlockNavState

### Patch Changes

- 64a51c4: fix(plugin-runtime): we should not repeatly registe the script, if template has it.
  fix(plugin-runtime): 如果模版中已经有了,我们不应该重复添加 script 链接
- 1586774: feat: add support for origin properties in document
  feat: 为 document 增加原始属性透传
- 73c592d: fix: should define remixRouter property when the property does not exist
  fix: 应该仅当属性不存在时，定义 remixRouter
- 5c2dbb3: refactor: use import syntax for reduck plugin types
  refactor: 使用 import 语法加载 reduck 插件的类型文件
  - @modern-js/plugin@2.26.0
  - @modern-js/types@2.26.0
  - @modern-js/utils@2.26.0

## 2.25.2

### Patch Changes

- 272646c: feat(builder): bump webpack v5.88, support top level await

  feat(builder): 升级 webpack v5.88, 支持 top level await

- e8a90f3: fix(ssr-plugin): worker streaming ssr douable enqueue the value so that ssr error
  fix(ssr-plugin): worker streaming ssr 重复 enqueue chunk 值导致 ssr 错误
- Updated dependencies [63d8247]
- Updated dependencies [6651684]
- Updated dependencies [272646c]
- Updated dependencies [358ed24]
  - @modern-js/utils@2.25.2
  - @modern-js/plugin@2.25.2
  - @modern-js/types@2.25.2

## 2.25.1

### Patch Changes

- 85366bc: chore(deps): bump esbuild from v15/v16 to v17

  chore(deps): 将 esbuild 从 v15/v16 升级到 v17

- Updated dependencies [9f78d0c]
  - @modern-js/utils@2.25.1
  - @modern-js/plugin@2.25.1
  - @modern-js/types@2.25.1

## 2.25.0

### Patch Changes

- 09521e0: fix(runtime): ssr link tag add attrs error
  fix(runtime): ssr link 标签添加错误的属性
- Updated dependencies [2491875]
- Updated dependencies [5732c6a]
  - @modern-js/types@2.25.0
  - @modern-js/utils@2.25.0
  - @modern-js/plugin@2.25.0

## 2.24.0

### Patch Changes

- c882fbd: feat: support config main entry name

  feat: 支持配置主入口名称

- 56693a3: fix(plugin-ssr): ssr script、link should add some attrs, like ["defer", "crossorigin"]
  fix(plugin-ssr): ssr script,link 标签应该添加像 ["defer", "crossorigin"] 属性
- Updated dependencies [c882fbd]
- Updated dependencies [4a82c3b]
  - @modern-js/types@2.24.0
  - @modern-js/utils@2.24.0
  - @modern-js/plugin@2.24.0

## 2.23.1

### Patch Changes

- Updated dependencies [f08bbfc]
- Updated dependencies [a6b313a]
- Updated dependencies [8f2cab0]
  - @modern-js/utils@2.23.1
  - @modern-js/plugin@2.23.1
  - @modern-js/types@2.23.1

## 2.23.0

### Patch Changes

- 7e6fb5f: chore: publishConfig add provenance config

  chore: publishConfig 增加 provenance 配置

- a7a7ad7: chore: move some public code to the utils package
  chore: 移动一些公共的代码到 utils 包
- c3216b5: chore: split the scheme into the plugin

  chore: 拆分 scheme 到插件内部

- Updated dependencies [7e6fb5f]
- Updated dependencies [a7a7ad7]
- Updated dependencies [6dec7c2]
- Updated dependencies [c3216b5]
  - @modern-js/plugin@2.23.0
  - @modern-js/types@2.23.0
  - @modern-js/utils@2.23.0

## 2.22.1

### Patch Changes

- e2848a2: fix: support nonce in streaming SSR
  fix: 在 streaming SSR 中支持 nonce
- 9b69987: feat: support Style component to use style with some <> special chartset
  feat: 支持 Style 组件,用于渲染含 <> 等特殊字符
- Updated dependencies [25b490a]
- Updated dependencies [e2848a2]
- Updated dependencies [d4045ed]
  - @modern-js/types@2.22.1
  - @modern-js/utils@2.22.1
  - @modern-js/plugin@2.22.1

## 2.22.0

### Minor Changes

- 63cdea1: feat: ssr runtime need webpack.output.chunkLoadingGlobal pass to loadableReady
  feat: ssr runtime 需要传递 webpack.output.chunnkLoadingGlobal 给 loadableReady

### Patch Changes

- 3d48836: chore(deps): fix all missing peer dependencies

  chore(deps): 修复缺少的 peer dependencies

- 8f1141c: fix: refactor the mock logic of BFF testing plugin
  fix: 修改 BFF 测试插件的 mock 逻辑
- dc45896: fix(runtime): babel-plugin-styled-components not work

  fix(runtime): 修复 babel-plugin-styled-components 不生效的问题

- 79180c2: feat: export only partial common router API for better stability
  feat: 只导出 Router 实例的常用 API, 保证更好的稳定性
- c271c5d: feat: export react-router instance
  feat: 导出 react-router 路由实例
- Updated dependencies [3d48836]
- Updated dependencies [5050e8e]
  - @modern-js/utils@2.22.0
  - @modern-js/plugin@2.22.0
  - @modern-js/types@2.22.0

## 2.21.1

### Patch Changes

- @modern-js/plugin@2.21.1
- @modern-js/types@2.21.1
- @modern-js/utils@2.21.1

## 2.21.0

### Minor Changes

- 0a1aa3b: feat: the runtime package export `loadable_bundler_plugin`
  feat: runtime 包导出 `loadable_bundler_plugin`

### Patch Changes

- e81eeaf: refactor: guard react-router version consistency
  refactor: 保证 react-router 相关包的版本一致性
- 26dcf3a: chore: bump typescript to v5 in devDependencies

  chore: 升级 devDependencies 中的 typescript 版本到 v5

- 8b7c6d4: chore: update reduck
  chore: 更新 reduck
- 807f04a: fix(plugin-runtime): streaming ssr split chunk so that can't match `SHELL_STREAM_END_MARK`
  fix(plugin-runtime): streaming ssr chunk 进行分割导致无法匹配 `SHELL_STREAM_END_MARK`
- 0fc15ca: fix: fix `@modern-js/utils` subpath exports
  fix: 修复 `@modern-js/utils` 子路径导出
- 43b4e83: feat: support security.nonce for add nonce attribute on script tag
  feat: 支持 security.nonce 配置，为 script 标签添加 nonce 属性
- ad78387: chore(deps): bump babel-related dependencies to latest version

  chore(deps): 升级 babel 相关依赖到最新版本

- Updated dependencies [e81eeaf]
- Updated dependencies [26dcf3a]
- Updated dependencies [1ef03dc]
- Updated dependencies [056627f]
- Updated dependencies [0fc15ca]
- Updated dependencies [43b4e83]
- Updated dependencies [ad78387]
  - @modern-js/utils@2.21.0
  - @modern-js/plugin@2.21.0
  - @modern-js/types@2.21.0

## 2.20.0

### Patch Changes

- 6b9d90a: chore: remove @babel/runtime. add @swc/helper and enable `externalHelper` config.
  chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 `externalHelpers` 配置
- Updated dependencies [3c4e0a5]
- Updated dependencies [6b9d90a]
- Updated dependencies [5f055ab]
  - @modern-js/utils@2.20.0
  - @modern-js/plugin@2.20.0
  - @modern-js/types@2.20.0

## 2.19.1

### Patch Changes

- @modern-js/plugin@2.19.1
- @modern-js/types@2.19.1
- @modern-js/utils@2.19.1

## 2.19.0

### Minor Changes

- 8a3a2e5: feat: support modifyRoutes hook for router v5
  feat: 为 router v5 支持 modifyRoutes hook

### Patch Changes

- 579d3d5: fix: config hook can't get nomarlized config
  fix: config hook 不能拿到固定后的 config
- Updated dependencies [1134fe2]
  - @modern-js/utils@2.19.0
  - @modern-js/plugin@2.19.0
  - @modern-js/types@2.19.0

## 2.18.1

### Patch Changes

- 8fb93d1: fix: replace route id correctly
  fix: 正确地替换 route id
  - @modern-js/plugin@2.18.1
  - @modern-js/types@2.18.1
  - @modern-js/utils@2.18.1

## 2.18.0

### Minor Changes

- 7de6599: feat: rspack-provider support modern.js ssr mode
  feat: rspack-provider 支持 modern.js ssr 模式

### Patch Changes

- @modern-js/plugin@2.18.0
- @modern-js/types@2.18.0
- @modern-js/utils@2.18.0

## 2.17.1

### Patch Changes

- @modern-js/plugin@2.17.1
- @modern-js/types@2.17.1
- @modern-js/utils@2.17.1

## 2.17.0

### Patch Changes

- 3810930: fix: optimize alias for plugin-express & export useBlocker
  fix: 优化 plugin-express 的 alias 的实现 & 导出 useBlocker
  - @modern-js/plugin@2.17.0
  - @modern-js/types@2.17.0
  - @modern-js/utils@2.17.0

## 2.16.0

### Patch Changes

- 02e9c5d: fix: fix storybook runtime addon
  fix: 修复 storybook runtime addon
- 5954330: fix: route id should not include [ or ]
  fix: 路由 id 不应该包含 [ 或 ]
- 4e876ab: chore: package.json include the monorepo-relative directory

  chore: 在 package.json 中声明 monorepo 的子路径

- Updated dependencies [5954330]
- Updated dependencies [7596520]
- Updated dependencies [4e876ab]
  - @modern-js/utils@2.16.0
  - @modern-js/plugin@2.16.0
  - @modern-js/types@2.16.0

## 2.15.0

### Patch Changes

- 09a3e57: chore(runtime): remove unused @testing-library/react-hooks

  chore(runtime): 移除多余的 @testing-library/react-hooks

  - @modern-js/plugin@2.15.0
  - @modern-js/types@2.15.0
  - @modern-js/utils@2.15.0

## 2.14.0

### Patch Changes

- c921f30: fix: the streaming ssr may add repeated css assets, because the route-manifets would product all css link
  fix: 因为 route-manifets 会生成所有 css link 信息，导致 streaming ssr 可能添加重复的 css 资源，
- ead58c8: feat: support Comment component in Document.tsx
  feat: 支持 Comment 组件,可以保留用户的注释到最终的 html 上
- afe5d35: feat: add hook `modifyRoutes`
  feat: 增加 hook `modifyRoutes`
- 4c74ea7: fix: ssr and document integration test error
  fix: 修复 ssr 和 document 的集测错误
- 76ad173: feat: re-export `createPath` from react-router
  feat: 从 react-router 导出 `createPath`
- 394470c: fix: router missing App static property
  fix: router 确实 App 的静态属性
- 8b634f9: fix: 更新集测 snapshot，修复 document 功能在 node 14 下的错误
  fix: update test snapshot, fix document error in node 14
- 1b3afa0: fix: ssr stream test case
  fix: 修复 ssr stream 测试用例
- 28721cb: fix(runtime): MODERN_TARGET is not injected when using Rspack

  fix(runtime): 修复 Rspack 模式未注入 MODERN_TARGET 的问题

- 60a81d0: feat: add ssr.inlineScript for use inline json instead inline script when ssr
  feat: 添加 ssr.inlineScript 用于在 ssr 模式下使用内联 json 而不是内联脚本
- Updated dependencies [4779152]
- Updated dependencies [9321bef]
- Updated dependencies [9b45c58]
- Updated dependencies [52d0cb1]
- Updated dependencies [60a81d0]
- Updated dependencies [dacef96]
- Updated dependencies [16399fd]
  - @modern-js/utils@2.14.0
  - @modern-js/types@2.14.0
  - @modern-js/plugin@2.14.0

## 2.13.4

### Patch Changes

- @modern-js/plugin@2.13.4
- @modern-js/types@2.13.4
- @modern-js/utils@2.13.4

## 2.13.3

### Patch Changes

- @modern-js/plugin@2.13.3
- @modern-js/types@2.13.3
- @modern-js/utils@2.13.3

## 2.13.2

### Patch Changes

- @modern-js/plugin@2.13.2
- @modern-js/types@2.13.2
- @modern-js/utils@2.13.2

## 2.13.1

### Patch Changes

- @modern-js/plugin@2.13.1
- @modern-js/types@2.13.1
- @modern-js/utils@2.13.1

## 2.13.0

### Patch Changes

- cad9676: fix(runtime): compile react-router to ensure the compatibility

  fix(runtime): 通过编译 react-router 来保证对低版本浏览器的兼容性

- e9b1656: fix: plugin config hook can not get bundlerType, so we can't set babelConfig correctly in ssr plugin
  fix: 插件的 config 钩子不能获得 bundlerType，所以我们在 ssr 插件不能正确的设置 babelConfig
- 4d413c4: docs: add prefetch docs
  docs: 添加 prefetch 的文档
- 4220c0e: feat: support global props in createApp and pass garfish props in
  feat: createApp 支持全局属性，garfish 通过这个方式透传 garfish props
- Updated dependencies [78431f4]
  - @modern-js/plugin@2.13.0
  - @modern-js/types@2.13.0
  - @modern-js/utils@2.13.0

## 2.12.0

### Patch Changes

- 0b05ec3: fix: the SSR plugin will product some effects, disable the ssr plugin when user doesn't use ssr
  fix: SSR 插件将会尝试一些副作用，如果用户没有使用它时禁用这个插件。
- 1aa0cb7: fix: beforeCreateRouter should be false after render router
  fix: 在渲染 router 后，beforeCreateRouter 应该为 false
- Updated dependencies [c2ca6c8]
- Updated dependencies [6d86e34]
  - @modern-js/utils@2.12.0
  - @modern-js/plugin@2.12.0
  - @modern-js/types@2.12.0

## 2.11.0

### Patch Changes

- 5d624fd: feat: assets and data prefetching is supported
  feat: 支持资源和数据预加载
- e2466a1: fix: remove nestedRoutes file from @modern-js/utils
  fix: 将 nestedRoutes 从 @modern-js/utils 中移除
- 02bb383: fix: fix lost props when using nested route in micro-front-end mode
  修复嵌套路由在微前端场景下主子应用传递 props 丢失问题
- 381a3b9: feat(utils): move universal utils to the universal folder

  feat(utils): 将运行时使用的 utils 移动到 universal 目录

- Updated dependencies [cfb058f]
- Updated dependencies [0bd018b]
- Updated dependencies [5d624fd]
- Updated dependencies [e2466a1]
- Updated dependencies [02bb383]
- Updated dependencies [381a3b9]
- Updated dependencies [7a60f10]
- Updated dependencies [274b2e5]
- Updated dependencies [b9e1c54]
  - @modern-js/utils@2.11.0
  - @modern-js/plugin@2.11.0
  - @modern-js/types@2.11.0

## 2.10.0

### Patch Changes

- 0da32d0: chore: upgrade jest and puppeteer
  chore: 升级 jest 和 puppeteer 到 latest
- 5766414: fix: fix typos
  fix: 修复拼写错误
- 950e138: fix: inject i18n placeholder in streaming ssr
  fix: 流式 SSR 中,注入 i18n 数据占位字段
- Updated dependencies [3e0bd50]
- Updated dependencies [92d247f]
- Updated dependencies [0da32d0]
- Updated dependencies [0d9962b]
- Updated dependencies [fbefa7e]
- Updated dependencies [4d54233]
- Updated dependencies [6db4864]
  - @modern-js/types@2.10.0
  - @modern-js/plugin@2.10.0
  - @modern-js/utils@2.10.0

## 2.9.0

### Patch Changes

- e8c580125d: fix: remove `serialze-javascript` from client bundle
  fix: 移除客户端构建产物中的 `serialze-javascript`
- 7035d5c22f: feat: support streaming ssr in worker

  feat: worker 支持 streaming ssr

- 49bb8cd0ef: fix: move chunkmap.css comment to bottom of head
  fix: 将 chunkmap.css 标记移动到 head 底部
- 755a053579: fix: export missing react-router types
  fix: 导出缺少的 react-router 类型
  - @modern-js/plugin@2.9.0
  - @modern-js/types@2.9.0
  - @modern-js/utils@2.9.0

## 2.8.0

### Patch Changes

- 3ef832741b: fix: fix types pathname for model field
  fix: 修复 model 字段对应的 types 路径
- 9330022f4e: fix: add missing react-router type
  fix: 添加丢失的 react-router 导出类型
- 40747e6fdd: fix: fix the order of runtime plugins
  fix: 修复 runtime plugin 执行顺序
- 58a1fc64da: fix: pass basename to `matchRoutes`
  fix: 修复 `matchRoutes` 未传入 basename 参数
- 4cfea8ce49: fix: remove esbuild from bff-core
  fix: 从 bff-core 移除 esbuild
- 1f6ca2c7fb: fix: nested routes in ssg
  fix: 修复嵌套路由在 SSG 中的问题
- 9c9ebba6f2: fix: fix duplicate re-exports of reduck
  fix: 修复从 reduck 重复导出的 API
- Updated dependencies [1104a9f18b]
- Updated dependencies [70d82e1408]
- Updated dependencies [1f6ca2c7fb]
  - @modern-js/utils@2.8.0
  - @modern-js/types@2.8.0
  - @modern-js/plugin@2.8.0

## 2.7.0

### Minor Changes

- dcad887024: feat: support deferred data for streaming ssr
  feat: 流式渲染支持 deferred data

### Patch Changes

- a4672f7c16: fix: lock @modern-js/utils/ssr by webpack alias
  fix: 通过 webpack 别名将 @modern-js/utils/ssr 锁到同一版本
- 7fff9020e1: chore: make file naming consistent

  chore: 统一文件命名为小驼峰格式

- 1eea234fdd: chore: make test files naming consistent

  chore: 统一测试文件命名为小驼峰格式

- Updated dependencies [0f15fc597c]
- Updated dependencies [dcad887024]
- Updated dependencies [a4672f7c16]
- Updated dependencies [7fff9020e1]
- Updated dependencies [84bfb439b8]
  - @modern-js/utils@2.7.0
  - @modern-js/types@2.7.0
  - @modern-js/plugin@2.7.0

## 2.6.0

### Patch Changes

- 671477d: chore(CI): make CI faster

  chore(CI): 提升 CI 执行速度

- 7915ab3: fix: should not assign nestedRoutesEntry to entrypoint if use v5 router
  fix: 使用 v5 路由的时候，不应该在 entrypoint 上挂载 nestedRoutesEntry 属性
- a909ad1: feat: revert worker use async_hooks

  feat: 还原 worker 使用 async_hooks 代码

- 49fa0b1: fix: remove header info from SSR ctx to avoid security issues, reserved a switch
  fix: 移除 SSR 上下文中的 header 信息，避免造成安全问题，预留一个字段开启
- 1906d7b: fix: document param output get undefined in default template
  fix: 修复 Document param 中 output 参数取值问题
- Updated dependencies [e1f799e]
- Updated dependencies [7915ab3]
- Updated dependencies [49fa0b1]
- Updated dependencies [0fe658a]
- Updated dependencies [62930b9]
  - @modern-js/utils@2.6.0
  - @modern-js/types@2.6.0
  - @modern-js/plugin@2.6.0

## 2.5.0

### Patch Changes

- 89ca6cc: refactor: merge build-config into scripts/build

  refactor: 把 build-config 合并进 scripts/build

- 7cb8bb4: fix: use a more correctly params to cal document file

  fix: 使用更准确的参数去获取 docuemnt 文件

- 30614fa: chore: modify package.json entry fields and build config
  chore: 更改 package.json entry 字段以及构建配置
- 7a25271: feat: support NoSSR component fallback UI
  feat: 支持 NoSSR 组件 fallback UI
- 8871bb8: fix: add types field for @modern-js/runtime
  fix: 为 @modern0js/runtime 添加 types 字段
- 0d75c27: chore: serialize react-router-dom ssr data, avoid the syntax conflict with HTML. Such as when json data contains `</script>` will be stringify to `\u003c/script\u003e`

  chore: 序列化 react-router-dom ssr 的数据，避免 html 标签语义冲突。例如当 json 数据中包含`</script>`的时候会被转换成`\u003c/script\u003e`

- 11c053b: feat: ssr support deploy worker

  feat: ssr 支持边缘部署

- a0f2ab1: fix: ssg new Headers() error

  fix: 修复 ssg 渲染是 new Headers() 报错问题

- Updated dependencies [89ca6cc]
- Updated dependencies [7cb8bb4]
- Updated dependencies [30614fa]
- Updated dependencies [1b0ce87]
- Updated dependencies [11c053b]
  - @modern-js/plugin@2.5.0
  - @modern-js/types@2.5.0
  - @modern-js/utils@2.5.0

## 2.4.0

### Patch Changes

- 9e907ec: chore: catch react-dom/server require for react 17
  chore: 捕获引入 react-dom/server 的逻辑，避免在 react 17 下报错
- Updated dependencies [98a2733]
- Updated dependencies [8c2db5f]
  - @modern-js/utils@2.4.0
  - @modern-js/plugin@2.4.0
  - @modern-js/types@2.4.0

## 2.3.0

### Patch Changes

- b4dd017: feat: runtime package use treeshaking production for ssr bundle
  feat: runtime 包使用 treeshaking 产物作为 ssr bundle 打包入口
- Updated dependencies [fd5a3ed]
- Updated dependencies [6ca1c0b]
- Updated dependencies [89b6739]
  - @modern-js/utils@2.3.0
  - @modern-js/plugin@2.3.0
  - @modern-js/types@2.3.0

## 2.2.0

### Patch Changes

- f7a1c1f: fix: fix the router/server export
  fix: 修复 router/server 的导出
- Updated dependencies [49eff0c]
- Updated dependencies [19bb384]
  - @modern-js/utils@2.2.0
  - @modern-js/types@2.2.0
  - @modern-js/plugin@2.2.0

## 2.1.0

### Patch Changes

- f3237db: fix: loadable component should not be wrapped in suspense
  fix: loadable component 不应该被 suspense 包裹
- 776cc27: chore: hard code MODER_TARGET
  chore: 硬编码 MODER_TARGET
- 35d3e84: fix: add missing esbuild
  fix: 添加缺失的 esbuild
- Updated dependencies [837620c]
- Updated dependencies [8a9482c]
  - @modern-js/utils@2.1.0
  - @modern-js/plugin@2.1.0
  - @modern-js/types@2.1.0

## 2.0.2

### Patch Changes

- 39988b2: feat: advance the timing of static assets loading
  feat: 将嵌套路由下静态资源加载时机提前
- Updated dependencies [39988b2]
  - @modern-js/types@2.0.2
  - @modern-js/utils@2.0.2
  - @modern-js/plugin@2.0.2

## 2.0.1

### Patch Changes

- @modern-js/plugin@2.0.1
- @modern-js/types@2.0.1
- @modern-js/utils@2.0.1

## 2.0.0

### Major Changes

- dda38c9c3e: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR

### Patch Changes

- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- ffb2ed4: feat:

  1. change storybook runtime logic
  2. export runtime api define from runtime module
  3. refactor defineConfig in module-tools

  feat:

  1. 更改 Storybook 对于 Runtime API 的处理逻辑
  2. 从 @modern-js/runtime 导出 Runtime API 的用户配置
  3. 重构 module-tools 的 defineConfig

- Updated dependencies [edd1cfb1af]
- Updated dependencies [6bda14ed71]
- Updated dependencies [dda38c9c3e]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [ffb2ed4]
- Updated dependencies [bbe4c4ab64]
  - @modern-js/utils@2.0.0
  - @modern-js/types@2.0.0
  - @modern-js/plugin@2.0.0

## 2.0.0-beta.7

### Major Changes

- dda38c9c3e: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR

### Patch Changes

- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- Updated dependencies [edd1cfb1af]
- Updated dependencies [6bda14ed71]
- Updated dependencies [dda38c9c3e]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [bbe4c4ab64]
  - @modern-js/utils@2.0.0-beta.7
  - @modern-js/types@2.0.0-beta.7
  - @modern-js/plugin@2.0.0-beta.7

## 2.0.0-beta.6

### Major Changes

- dda38c9c3e: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR
- df7ee2d: feat: runtime user config types extends
  feat: runtime 用户配置类型扩展
- 543be9558e: feat: compile server loader and support handle loader request
  feat: 编译 server loader 并支持处理 loader 的请求

### Patch Changes

- 2344eb26ed: fix: bootstrap function params type define

  fix: 修复 bootstrap 函数参数类型定义

- a11fcf8b50: feat: fallback logic of streaming ssr
  feat: streaming ssr 降级逻辑
- a93159440e: feat: support modify routes for csr app
  feat: 支持 modifyRoutes API
- e7ce0636d1: fix: root layout css chunks should't be loaded
  fix: 不应该加载 root layout 的 css chunks
- b18fa8f3ed: feat: remove @loadable/component in streaming ssr
  feat: 移除 streaming ssr 中的 @loadable/component 逻辑
- 50d4675e5b: fix: add document cli export

  fix: 增加 document cli 插件的导出

- 6604f1b8b3: feat: support router basename
  feat: router 插件支持设置 basename
- fda836fe8a: feat: support `models`,`initialState` config for state plugin
  feat: state 插件支持`model`,`initialState` 配置
- d6bc321747: fix: the Document.tsx missed hmr

  fix: Document.tsx 未能引发 hmr

- 3e57f2bd58: feat: add document feature with plugin

  feat: 增加 document 功能插件

- 2e6031955e: fix: some optimizations for router and loader
  fix: 一些 router 和 loader 的优化
  q
- c5798d284f: fix(runtime): apply babel-plugin-ssr-loader-id when SSR is not used

  fix(runtime): 在未启动 SSR 时需要注册 babel-plugin-ssr-loader-id

- fbf5eed5aa: fix: fix ssg failure due to lack of Web Response API
  fix: 修复因为缺少 Web Response API 而导致 ssg 失败
- a2509bfbdb: feat: bump esbuild from 0.14.38 to 0.15.7

  feat: 将 esbuild 从 0.14.38 版本升级至 0.15.7 版本

- a7c68832b3: fix: only register babel-plugin-ssr-loader-id when SSR is enabled

  fix: 仅在开启 SSR 的场景下注册 babel-plugin-ssr-loader-id

- 425e57092d: feat: export react-router-dom/server staticRouter
  feat: 导出 react-router-dom/server 的 staticRouter 组件
- e4357f1856: fix: change default document file and name

  fix: 重置默认的 document 文件和文件名

- 4369648ae2: fix: fix html template of streaming ssr
  fix: 修复流式渲染的 html 模版
- 92c0994468: chore: remove `registerPrefetch`
  chore: 移除 `registerPrefetch`
- 2cc2eb35ba: fix: fix state plugin config
  fix: 修复 state 插件 config 参数
- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 92004d1906: feat: support load chunks parallelly
  feat: 支持并行加载 chunks
- 40ed5874c6: feat: inject css chunk into html for streaming ssr
  feat: streaming ssr 返回的 html 注入 css chunk
- 60d5378632: fix: function extname should not return array
  fix: 函数 extname 不应该返回一个数组
- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- 3bbea92b2a: feat: support Hook、Middleware new API
  feat: 支持 Hook、Middleware 的新 API
- 21d7521: fix: the Body not use Root jsx

  fix: 修复 Body 里的 Root 引用格式

- 9144c21d27: fix: esbuild config use file

  fix: 更改 esbuild 读取指定 ts 配置

- 18aaf42249: fix: fix server loader redirects
  fix: 修复 server loader 重定向错误
- 34702d5d47: feat: support internal env vars: metaName_TARGET
  feat: 支持内置环境变量 metaName_TARGET
- fcace5b5b9: fix: remove overmuch `@modernjs/utils` dependency import in ssr runtime & SSR hydrate error
  fix: 去除 ssr 运行时过多的 `@modernjs/utils` 依赖引入 & SSR hydrate 错误
- Updated dependencies [7879e8f711]
- Updated dependencies [6aca875011]
- Updated dependencies [2e6031955e]
- Updated dependencies [7b7d12cf8f]
- Updated dependencies [7efeed4]
- Updated dependencies [92f0eade39]
- Updated dependencies [edd1cfb1af]
- Updated dependencies [cc971eabfc]
- Updated dependencies [5b9049f2e9]
- Updated dependencies [6bda14ed71]
- Updated dependencies [92004d1906]
- Updated dependencies [b8bbe036c7]
- Updated dependencies [40ed5874c6]
- Updated dependencies [87c1ff86b9]
- Updated dependencies [d5a31df781]
- Updated dependencies [dda38c9c3e]
- Updated dependencies [102d32e4ba]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [3bbea92b2a]
- Updated dependencies [b710adb843]
- Updated dependencies [f179749375]
- Updated dependencies [ea7cf06257]
- Updated dependencies [bbe4c4ab64]
- Updated dependencies [e4558a0bc4]
- Updated dependencies [abf3421a75]
- Updated dependencies [543be9558e]
- Updated dependencies [14b712da84]
  - @modern-js/types@2.0.0-beta.6
  - @modern-js/utils@2.0.0-beta.6
  - @modern-js/plugin@2.0.0-beta.6

## 2.0.0-beta.4

### Major Changes

- dda38c9c3e: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR
- 543be9558e: feat: compile server loader and support handle loader request
  feat: 编译 server loader 并支持处理 loader 的请求

### Patch Changes

- 2344eb26ed: fix: bootstrap function params type define

  fix: 修复 bootstrap 函数参数类型定义

- a11fcf8b50: feat: fallback logic of streaming ssr
  feat: streaming ssr 降级逻辑
- a931594: feat: support modify routes for csr app
  feat: 支持 modifyRoutes API
- e7ce063: fix: root layout css chunks should't be loaded
  fix: 不应该加载 root layout 的 css chunks
- b18fa8f3ed: feat: remove @loadable/component in streaming ssr
  feat: 移除 streaming ssr 中的 @loadable/component 逻辑
- 50d4675: fix: add document cli export

  fix: 增加 document cli 插件的导出

- 6604f1b: feat: support router basename
  feat: router 插件支持设置 basename
- fda836f: feat: support `models`,`initialState` config for state plugin
  feat: state 插件支持`model`,`initialState` 配置
- d6bc321: fix: the Document.tsx missed hmr

  fix: Document.tsx 未能引发 hmr

- 3e57f2bd58: feat: add document feature with plugin

  feat: 增加 document 功能插件

- 2e6031955e: fix: some optimizations for router and loader
  fix: 一些 router 和 loader 的优化
  q
- c5798d2: fix(runtime): apply babel-plugin-ssr-loader-id when SSR is not used

  fix(runtime): 在未启动 SSR 时需要注册 babel-plugin-ssr-loader-id

- fbf5eed5aa: fix: fix ssg failure due to lack of Web Response API
  fix: 修复因为缺少 Web Response API 而导致 ssg 失败
- a2509bfbdb: feat: bump esbuild from 0.14.38 to 0.15.7

  feat: 将 esbuild 从 0.14.38 版本升级至 0.15.7 版本

- a7c6883: fix: only register babel-plugin-ssr-loader-id when SSR is enabled

  fix: 仅在开启 SSR 的场景下注册 babel-plugin-ssr-loader-id

- 425e57092d: feat: export react-router-dom/server staticRouter
  feat: 导出 react-router-dom/server 的 staticRouter 组件
- e4357f1856: fix: change default document file and name

  fix: 重置默认的 document 文件和文件名

- 4369648ae2: fix: fix html template of streaming ssr
  fix: 修复流式渲染的 html 模版
- 92c0994468: chore: remove `registerPrefetch`
  chore: 移除 `registerPrefetch`
- 2cc2eb3: fix: fix state plugin config
  fix: 修复 state 插件 config 参数
- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 92004d1906: feat: support load chunks parallelly
  feat: 支持并行加载 chunks
- 40ed5874c6: feat: inject css chunk into html for streaming ssr
  feat: streaming ssr 返回的 html 注入 css chunk
- 60d5378632: fix: function extname should not return array
  fix: 函数 extname 不应该返回一个数组
- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- 3bbea92b2a: feat: support Hook、Middleware new API
  feat: 支持 Hook、Middleware 的新 API
- 9144c21: fix: esbuild config use file

  fix: 更改 esbuild 读取指定 ts 配置

- 18aaf42249: fix: fix server loader redirects
  fix: 修复 server loader 重定向错误
- 34702d5: feat: support internal env vars: metaName_TARGET
  feat: 支持内置环境变量 metaName_TARGET
- fcace5b5b9: fix: remove overmuch `@modernjs/utils` dependency import in ssr runtime & SSR hydrate error
  fix: 去除 ssr 运行时过多的 `@modernjs/utils` 依赖引入 & SSR hydrate 错误
- Updated dependencies [7879e8f]
- Updated dependencies [6aca875]
- Updated dependencies [2e6031955e]
- Updated dependencies [7b7d12c]
- Updated dependencies [92f0eade39]
- Updated dependencies [edd1cfb1af]
- Updated dependencies [cc971eabfc]
- Updated dependencies [5b9049f2e9]
- Updated dependencies [6bda14ed71]
- Updated dependencies [92004d1906]
- Updated dependencies [b8bbe036c7]
- Updated dependencies [40ed5874c6]
- Updated dependencies [87c1ff86b9]
- Updated dependencies [d5a31df781]
- Updated dependencies [dda38c9c3e]
- Updated dependencies [102d32e4ba]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [3bbea92b2a]
- Updated dependencies [b710adb843]
- Updated dependencies [f179749375]
- Updated dependencies [ea7cf06]
- Updated dependencies [bbe4c4a]
- Updated dependencies [e4558a0]
- Updated dependencies [abf3421a75]
- Updated dependencies [543be9558e]
- Updated dependencies [14b712da84]
  - @modern-js/types@2.0.0-beta.4
  - @modern-js/utils@2.0.0-beta.4
  - @modern-js/plugin@2.0.0-beta.4

## 2.0.0-beta.3

### Major Changes

- dda38c9c3e: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR
- 543be9558e: feat: compile server loader and support handle loader request
  feat: 编译 server loader 并支持处理 loader 的请求

### Patch Changes

- 2344eb26ed: fix: bootstrap function params type define

  fix: 修复 bootstrap 函数参数类型定义

- a11fcf8b50: feat: fallback logic of streaming ssr
  feat: streaming ssr 降级逻辑
- e7ce063: fix: root layout css chunks should't be loaded
  fix: 不应该加载 root layout 的 css chunks
- b18fa8f3ed: feat: remove @loadable/component in streaming ssr
  feat: 移除 streaming ssr 中的 @loadable/component 逻辑
- 6604f1b: feat: support router basename
  feat: router 插件支持设置 basename
- fda836f: feat: support `models`,`initialState` config for state plugin
  feat: state 插件支持`model`,`initialState` 配置
- 3e57f2bd58: feat: add document feature with plugin

  feat: 增加 document 功能插件

- 2e60319: fix: some optimizations for router and loader
  fix: 一些 router 和 loader 的优化
  q
- fbf5eed5aa: fix: fix ssg failure due to lack of Web Response API
  fix: 修复因为缺少 Web Response API 而导致 ssg 失败
- a2509bfbdb: feat: bump esbuild from 0.14.38 to 0.15.7

  feat: 将 esbuild 从 0.14.38 版本升级至 0.15.7 版本

- 425e570: feat: export react-router-dom/server staticRouter
  feat: 导出 react-router-dom/server 的 staticRouter 组件
- e4357f1: fix: change default document file and name

  fix: 重置默认的 document 文件和文件名

- 4369648ae2: fix: fix html template of streaming ssr
  fix: 修复流式渲染的 html 模版
- 92c0994468: chore: remove `registerPrefetch`
  chore: 移除 `registerPrefetch`
- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 92004d1906: feat: support load chunks parallelly
  feat: 支持并行加载 chunks
- 40ed5874c6: feat: inject css chunk into html for streaming ssr
  feat: streaming ssr 返回的 html 注入 css chunk
- 60d5378632: fix: function extname should not return array
  fix: 函数 extname 不应该返回一个数组
- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- 3bbea92b2a: feat: support Hook、Middleware new API
  feat: 支持 Hook、Middleware 的新 API
- 18aaf42249: fix: fix server loader redirects
  fix: 修复 server loader 重定向错误
- 34702d5: feat: support internal env vars: metaName_TARGET
  feat: 支持内置环境变量 metaName_TARGET
- fcace5b5b9: fix: remove overmuch `@modernjs/utils` dependency import in ssr runtime & SSR hydrate error
  fix: 去除 ssr 运行时过多的 `@modernjs/utils` 依赖引入 & SSR hydrate 错误
- Updated dependencies [6aca875]
- Updated dependencies [2e60319]
- Updated dependencies [92f0eade39]
- Updated dependencies [edd1cfb1af]
- Updated dependencies [cc971eabfc]
- Updated dependencies [5b9049f2e9]
- Updated dependencies [6bda14ed71]
- Updated dependencies [92004d1906]
- Updated dependencies [b8bbe036c7]
- Updated dependencies [40ed5874c6]
- Updated dependencies [87c1ff86b9]
- Updated dependencies [d5a31df781]
- Updated dependencies [dda38c9c3e]
- Updated dependencies [102d32e4ba]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [3bbea92b2a]
- Updated dependencies [b710adb]
- Updated dependencies [f179749375]
- Updated dependencies [ea7cf06]
- Updated dependencies [bbe4c4a]
- Updated dependencies [e4558a0]
- Updated dependencies [abf3421a75]
- Updated dependencies [543be9558e]
- Updated dependencies [14b712da84]
  - @modern-js/utils@2.0.0-beta.3
  - @modern-js/types@2.0.0-beta.3
  - @modern-js/plugin@2.0.0-beta.3

## 2.0.0-beta.2

### Major Changes

- dda38c9c3e: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR
- 543be9558e: feat: compile server loader and support handle loader request
  feat: 编译 server loader 并支持处理 loader 的请求

### Patch Changes

- 2344eb2: fix: bootstrap function params type define

  fix: 修复 bootstrap 函数参数类型定义

- a11fcf8: feat: fallback logic of streaming ssr
  feat: streaming ssr 降级逻辑
- b18fa8f3ed: feat: remove @loadable/component in streaming ssr
  feat: 移除 streaming ssr 中的 @loadable/component 逻辑
- 3e57f2b: feat: add document feature with plugin

  feat: 增加 document 功能插件

- fbf5eed: fix: fix ssg failure due to lack of Web Response API
  fix: 修复因为缺少 Web Response API 而导致 ssg 失败
- a2509bfbdb: feat: bump esbuild from 0.14.38 to 0.15.7

  feat: 将 esbuild 从 0.14.38 版本升级至 0.15.7 版本

- e4357f1: fix: change default document file and name

  fix: 重置默认的 document 文件和文件名

- 4369648ae2: fix: fix html template of streaming ssr
  fix: 修复流式渲染的 html 模版
- 92c0994: chore: remove `registerPrefetch`
  chore: 移除 `registerPrefetch`
- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 92004d1: feat: support load chunks parallelly
  feat: 支持并行加载 chunks
- 40ed587: feat: inject css chunk into html for streaming ssr
  feat: streaming ssr 返回的 html 注入 css chunk
- 60d5378632: fix: function extname should not return array
  fix: 函数 extname 不应该返回一个数组
- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- 3bbea92b2a: feat: support Hook、Middleware new API
  feat: 支持 Hook、Middleware 的新 API
- 18aaf42: fix: fix server loader redirects
  fix: 修复 server loader 重定向错误
- fcace5b5b9: fix: remove overmuch `@modernjs/utils` dependency import in ssr runtime & SSR hydrate error
  fix: 去除 ssr 运行时过多的 `@modernjs/utils` 依赖引入 & SSR hydrate 错误
- Updated dependencies [92f0ead]
- Updated dependencies [edd1cfb1af]
- Updated dependencies [cc971eabfc]
- Updated dependencies [5b9049f2e9]
- Updated dependencies [6bda14ed71]
- Updated dependencies [92004d1]
- Updated dependencies [b8bbe036c7]
- Updated dependencies [40ed587]
- Updated dependencies [87c1ff8]
- Updated dependencies [d5a31df781]
- Updated dependencies [dda38c9c3e]
- Updated dependencies [102d32e4ba]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [3bbea92b2a]
- Updated dependencies [f179749]
- Updated dependencies [abf3421a75]
- Updated dependencies [543be9558e]
- Updated dependencies [14b712da84]
  - @modern-js/utils@2.0.0-beta.2
  - @modern-js/types@2.0.0-beta.2
  - @modern-js/plugin@2.0.0-beta.2

## 2.0.0-beta.1

### Major Changes

- dda38c9: chore: v2

### Minor Changes

- c9e800d39a: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR
- 543be9558e: feat: compile server loader and support handle loader request
  feat: 编译 server loader 并支持处理 loader 的请求

### Patch Changes

- 2344eb2: fix: bootstrap function params type define

  fix: 修复 bootstrap 函数参数类型定义

- a11fcf8: feat: fallback logic of streaming ssr
  feat: streaming ssr 降级逻辑
- b18fa8f: feat: remove @loadable/component in streaming ssr
  feat: 移除 streaming ssr 中的 @loadable/component 逻辑
- 3e57f2b: feat: add document feature with plugin

  feat: 增加 document 功能插件

- fbf5eed: fix: fix ssg failure due to lack of Web Response API
  fix: 修复因为缺少 Web Response API 而导致 ssg 失败
- a2509bfbdb: feat: bump esbuild from 0.14.38 to 0.15.7

  feat: 将 esbuild 从 0.14.38 版本升级至 0.15.7 版本

- 4369648ae2: fix: fix html template of streaming ssr
  fix: 修复流式渲染的 html 模版
- 92c0994: chore: remove `registerPrefetch`
  chore: 移除 `registerPrefetch`
- 6bda14ed71: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 92004d1: feat: support load chunks parallelly
  feat: 支持并行加载 chunks
- 40ed587: feat: inject css chunk into html for streaming ssr
  feat: streaming ssr 返回的 html 注入 css chunk
- 60d5378632: fix: function extname should not return array
  fix: 函数 extname 不应该返回一个数组
- 8b8e1bb571: feat: support nested routes
  feat: 支持嵌套路由
- 3bbea92b2a: feat: support Hook、Middleware new API
  feat: 支持 Hook、Middleware 的新 API
- 18aaf42: fix: fix server loader redirects
  fix: 修复 server loader 重定向错误
- fcace5b5b9: fix: remove overmuch `@modernjs/utils` dependency import in ssr runtime & SSR hydrate error
  fix: 去除 ssr 运行时过多的 `@modernjs/utils` 依赖引入 & SSR hydrate 错误
- Updated dependencies [92f0ead]
- Updated dependencies [edd1cfb1af]
- Updated dependencies [cc971eabfc]
- Updated dependencies [5b9049f]
- Updated dependencies [6bda14ed71]
- Updated dependencies [92004d1]
- Updated dependencies [b8bbe036c7]
- Updated dependencies [40ed587]
- Updated dependencies [87c1ff8]
- Updated dependencies [d5a31df781]
- Updated dependencies [dda38c9]
- Updated dependencies [102d32e4ba]
- Updated dependencies [8b8e1bb571]
- Updated dependencies [3bbea92b2a]
- Updated dependencies [f179749]
- Updated dependencies [abf3421]
- Updated dependencies [543be9558e]
- Updated dependencies [14b712d]
  - @modern-js/utils@2.0.0-beta.1
  - @modern-js/types@2.0.0-beta.1
  - @modern-js/plugin@2.0.0-beta.1

## 2.0.0-beta.0

### Major Changes

- dda38c9: chore: v2

### Minor Changes

- c9e800d39: feat: support React18 streaming SSR
  feat: 支持 React18 流式 SSR
- 543be95: feat: compile server loader and support handle loader request
  feat: 编译 server loader 并支持处理 loader 的请求

### Patch Changes

- b18fa8f: feat: remove @loadable/component in streaming ssr
  feat: 移除 streaming ssr 中的 @loadable/component 逻辑
- a2509bf: feat: bump esbuild from 0.14.38 to 0.15.7

  feat: 将 esbuild 从 0.14.38 版本升级至 0.15.7 版本

- 4369648ae: fix: fix html template of streaming ssr
  fix: 修复流式渲染的 html 模版
- 6bda14ed7: feat: refactor router with react-router@6.4

  feat: 使用 react-router@6.4 重构路由模块

- 60d5378: fix: function extname should not return array
  fix: 函数 extname 不应该返回一个数组
- 8b8e1bb57: feat: support nested routes
  feat: 支持嵌套路由
- 3bbea92b2: feat: support Hook、Middleware new API
  feat: 支持 Hook、Middleware 的新 API
- fcace5b5b: fix: remove overmuch `@modernjs/utils` dependency import in ssr runtime & SSR hydrate error
  fix: 去除 ssr 运行时过多的 `@modernjs/utils` 依赖引入 & SSR hydrate 错误
- Updated dependencies [edd1cfb1a]
- Updated dependencies [cc971eabf]
- Updated dependencies [5b9049f]
- Updated dependencies [6bda14ed7]
- Updated dependencies [b8bbe036c]
- Updated dependencies [d5a31df78]
- Updated dependencies [dda38c9]
- Updated dependencies [102d32e4b]
- Updated dependencies [8b8e1bb57]
- Updated dependencies [3bbea92b2]
- Updated dependencies [abf3421]
- Updated dependencies [543be95]
- Updated dependencies [14b712d]
  - @modern-js/utils@2.0.0-beta.0
  - @modern-js/types@2.0.0-beta.0
  - @modern-js/plugin@2.0.0-beta.0

## 1.21.2

### Patch Changes

- Updated dependencies [9d4c0ba]
  - @modern-js/plugin@1.21.2
  - @modern-js/webpack@1.21.2
  - @modern-js/utils@1.21.2

## 1.21.1

### Patch Changes

- @modern-js/webpack@1.21.1
- @modern-js/plugin@1.21.1
- @modern-js/utils@1.21.1

## 1.21.0

### Patch Changes

- f51c59a: feat: remove node internal package like fs or path which import by ssr runtime
  feat: 删除在 ssr runtime 中引用的 node 内部包
- 4c1f3a4: fix: runtime export field

  fix: 修复 runtime 包导出字段

- 4c1f3a4: fix: state runtime plugin params

  fix: state 插件参数格式

- c40fc4b: fix: add missing ssr exports from runtime ssr plugin
  fix: 补充 runtime ssr 插件中丢失的 ssr 导出
- Updated dependencies [17d1672]
- Updated dependencies [28f0a4f]
- Updated dependencies [b0597e3]
  - @modern-js/webpack@1.21.0
  - @modern-js/plugin@1.21.0
  - @modern-js/utils@1.21.0

## 1.20.1

### Patch Changes

- Updated dependencies [49515c5]
  - @modern-js/utils@1.20.1
  - @modern-js/webpack@1.20.1
  - @modern-js/plugin@1.20.1

## 1.20.0

### Patch Changes

- b57d5ff: fix: ssr runtime plugin need default config
  fix: ssr 运行时插件需要传入默认配置
- 715df7a: feat: support loadable scripts add crossorigin attribute
  feat: SSR 支持 loadable 脚本添加 crossorigin 属性
- Updated dependencies [d5d570b]
- Updated dependencies [4ddc185]
- Updated dependencies [df8ee7e]
- Updated dependencies [077aef8]
- Updated dependencies [8c05089]
  - @modern-js/utils@1.20.0
  - @modern-js/webpack@1.20.0
  - @modern-js/plugin@1.20.0

## 1.19.0

### Patch Changes

- @modern-js/webpack@1.19.0
- @modern-js/plugin@1.19.0
- @modern-js/utils@1.19.0

## 1.18.1

### Patch Changes

- Updated dependencies [c1a4d9b]
- Updated dependencies [9fcfbd4]
- Updated dependencies [6c2c745]
  - @modern-js/plugin@1.18.1
  - @modern-js/utils@1.18.1
  - @modern-js/webpack@1.18.1

## 1.18.0

### Patch Changes

- Updated dependencies [8280920]
- Updated dependencies [5227370]
- Updated dependencies [7928bae]
  - @modern-js/utils@1.18.0
  - @modern-js/webpack@1.18.0
  - @modern-js/plugin@1.18.0

## 1.17.0

### Patch Changes

- 77d3a38: feat: remove `.runtime-exports/index.js` export

  feat: 移除 `.runtime-exports/index.js` 导出

- 492437f: fix: runtime type

  fix: 修复 runtime 类型定义

- c3d4a6a: feat: support react 18 ssr
  feat: 支持 React 18 下使用 SSR
- Updated dependencies [1b9176f]
- Updated dependencies [77d3a38]
- Updated dependencies [151329d]
- Updated dependencies [5af9472]
- Updated dependencies [6b6a534]
- Updated dependencies [6b43a2b]
- Updated dependencies [a7be124]
- Updated dependencies [31547b4]
  - @modern-js/utils@1.17.0
  - @modern-js/webpack@1.17.0
  - @modern-js/plugin@1.17.0

## 1.16.1

### Patch Changes

- fix: runtime type

  fix: 修复 runtime 类型定义

## 1.16.0

### Minor Changes

- 1100dd58c: chore: support react 18

  chore: 支持 React 18

### Patch Changes

- a480d6ad0: fix: remove helmet regexp's global tag
  fix: 删除 helmet 中正则匹配的全局标记
- Updated dependencies [641592f52]
- Updated dependencies [3904b30a5]
- Updated dependencies [1100dd58c]
- Updated dependencies [e04e6e76a]
- Updated dependencies [81c66e4a4]
- Updated dependencies [2c305b6f5]
  - @modern-js/utils@1.16.0
  - @modern-js/webpack@1.16.0
  - @modern-js/plugin@1.16.0

## 1.15.0

### Patch Changes

- 335c97c: fix: fix runtime context format bug
  fix: 修复 runtimeContext 数据格式化时的问题
- a04a11b: fix: 修复 SSR 物理降级时，获取不到请求上下文的问题
  fix: should get ssrContext anyway if entry is ssr enable
- Updated dependencies [8658a78]
- Updated dependencies [0df4970]
- Updated dependencies [05d4a4f]
- Updated dependencies [ad05af9]
- Updated dependencies [5d53d1c]
- Updated dependencies [37cd159]
  - @modern-js/utils@1.15.0
  - @modern-js/webpack@1.15.0
  - @modern-js/plugin@1.15.0

## 1.5.0

### Minor Changes

- 59c941a: chore(runtime): merge `@modern-js/runtime-core` to `@modern-js/runtime`

  chore(runtime): 合并 `@modern-js/runtime-core` 到 `@modern-js/runtime`

### Patch Changes

- e0cd14a: feat: support runtime router and state type

  feat: 支持在 `modern.config.ts` 中提示 `runtime.router` and `runtime.state` 类型

- 287ac8b: fix(runtime): router plugin replace error

  fix(runtime): router 插件 replace 报错

- Updated dependencies [79e83ef]
- Updated dependencies [5f1a231]
- Updated dependencies [22f4dca]
- Updated dependencies [7b9067f]
  - @modern-js/utils@1.9.0
  - @modern-js/webpack@1.12.4

## 1.4.3

### Patch Changes

- b27d299: fix: runtime plugin module path

  fix: 修复内置 runtime 插件模块导入路径

- Updated dependencies [4f1889d]
  - @modern-js/utils@1.8.1
  - @modern-js/webpack@1.12.3
  - @modern-js/runtime-core@1.5.4

## 1.4.2

### Patch Changes

- b28372c: fix(runtime): fix model types for effects

  fix(runtime): 修复因为 runtime 包合并导致的 model effects 类型不生效问题

- Updated dependencies [9a173a7]
  - @modern-js/webpack@1.12.3
  - @modern-js/runtime-core@1.5.4
  - @modern-js/utils@1.8.0

## 1.4.1

### Patch Changes

- 132812542: fix: plugin runtime dependencies

  fix: 修复 runtime 插件依赖

## 1.4.0

### Minor Changes

- 4fc801f: chore(runtime): merge `@modern-js/plugin-state` to `@modern-js/runtime`

  chore(runtime): 合并 `@modern-js/plugin-state` 到 `@modern-js/runtime`

- 4fc801f: chore(runtime): merge `@modern-js/plugin-router` to `@modern-js/runtime`

  chore(runtime): 合并 `@modern-js/plugin-router` 到 `@modern-js/runtime`

- 4fc801f: chore(runtime): merge `@modern-js/plugin-ssr` to `@modern-js/runtime`

  chore(runtime): 合并 `@modern-js/plugin-ssr` 到 `@modern-js/runtime`

- 4fc801f: chore(runtime): remove `@modern-js/create-request` from `@modern-js/runtime`

  chore(runtime): `@modern-js/runtime` 中移除 `@modern-js/create-request` 依赖

- 16eaebd: fix: package exports field

  fix: 修复包导出字段

- 8f046e8: chore(bff): remove `@modern-js/bff-runtime` from `@modern-js/runtime` dependence

  chore(bff): `@modern-js/runtime` 中移除 `@modern-js/bff-runtime` 依赖

### Patch Changes

- 1421965: fix: ssg build error when multi entries
  fix: 修复多入口下 SSG 构建错误
- b8ea9cd: fix runtime ssr exports
- c8614b8: fix: using typeof window to determine the browser environment is not accurate
  fix: 使用 typeof windows 判断浏览器环境不够准确
- Updated dependencies [1421965]
- Updated dependencies [02647d2]
- Updated dependencies [4fc801f]
- Updated dependencies [9d60891]
- Updated dependencies [e4b73b2]
- Updated dependencies [c8614b8]
- Updated dependencies [df73691]
  - @modern-js/webpack@1.12.2
  - @modern-js/utils@1.8.0
  - @modern-js/runtime-core@1.5.4

## 1.3.5

### Patch Changes

- 8d0f1b9: feat: rumtime config types
  feat: 补充 runtime 配置类型
- Updated dependencies [33cebd2]
  - @modern-js/plugin-ssr@1.5.0
  - @modern-js/plugin-router@1.2.16
  - @modern-js/plugin-state@1.2.10
  - @modern-js/runtime-core@1.5.3
  - @modern-js/utils@1.7.12

## 1.3.4

### Patch Changes

- 3050acc: add styled-components alias
- Updated dependencies [77a8e9e]
- Updated dependencies [43b2224]
- Updated dependencies [dc37349]
- Updated dependencies [77a8e9e]
- Updated dependencies [f29e9ba]
- Updated dependencies [2dacc89]
- Updated dependencies [a90bc96]
  - @modern-js/bff-runtime@1.3.0
  - @modern-js/plugin-ssr@1.4.6
  - @modern-js/runtime-core@1.5.2
  - @modern-js/plugin-router@1.2.16
  - @modern-js/create-request@1.3.0
  - @modern-js/utils@1.7.9
  - @modern-js/plugin-state@1.2.10

## 1.3.3

### Patch Changes

- 8d0eb81f5: add styled-components alias

## 1.3.2

### Patch Changes

- a1198d509: feat: bump babel 7.18.0
- Updated dependencies [a1198d509]
  - @modern-js/plugin-router@1.2.15
  - @modern-js/plugin-ssr@1.4.5
  - @modern-js/plugin-state@1.2.10
  - @modern-js/runtime-core@1.4.9
  - @modern-js/bff-runtime@1.2.4
  - @modern-js/create-request@1.2.11

## 1.3.1

### Patch Changes

- 37250cb8f: feat: supply `AppConfig` types
- Updated dependencies [6c8ab42dd]
- Updated dependencies [808baede3]
- Updated dependencies [37250cb8f]
- Updated dependencies [fc43fef39]
- Updated dependencies [a204922e8]
  - @modern-js/plugin-ssr@1.4.4
  - @modern-js/runtime-core@1.4.8
  - @modern-js/plugin-state@1.2.9
  - @modern-js/plugin-router@1.2.14

## 1.3.0

### Minor Changes

- a9f5d170c: fix: @modern-js/runtime/model effects type error

### Patch Changes

- d32f35134: chore: add modern/jest/eslint/ts config files to .npmignore
- Updated dependencies [d32f35134]
- Updated dependencies [6ae4a34ae]
- Updated dependencies [97086dde8]
- Updated dependencies [97086dde8]
- Updated dependencies [b80229c79]
- Updated dependencies [5bfb57321]
- Updated dependencies [948cc4436]
  - @modern-js/plugin-router@1.2.14
  - @modern-js/plugin-state@1.2.7
  - @modern-js/runtime-core@1.4.6
  - @modern-js/bff-runtime@1.2.3
  - @modern-js/create-request@1.2.8
  - @modern-js/utils@1.7.3
  - @modern-js/plugin-ssr@1.3.2

## 1.2.9

### Patch Changes

- 69a728375: fix: remove exports.jsnext:source after publish
- Updated dependencies [cd7346b0d]
- Updated dependencies [0e0537005]
- Updated dependencies [69a728375]
- Updated dependencies [0f86e133b]
- Updated dependencies [b5943b029]
  - @modern-js/runtime-core@1.4.5
  - @modern-js/utils@1.7.2
  - @modern-js/plugin-ssr@1.3.1
  - @modern-js/plugin-router@1.2.13
  - @modern-js/create-request@1.2.7
  - @modern-js/plugin-state@1.2.6

## 1.2.7

### Patch Changes

- 6c1438d2: fix: missing peer deps warnings
- 123e432d: uglify ssr bundle for treeshaking
- Updated dependencies [2d155c4c]
- Updated dependencies [a0475f1a]
- Updated dependencies [123e432d]
- Updated dependencies [6c1438d2]
- Updated dependencies [e5a9b26d]
- Updated dependencies [0b26b93b]
- Updated dependencies [123e432d]
- Updated dependencies [f9f66ef9]
- Updated dependencies [592edabc]
- Updated dependencies [895fa0ff]
- Updated dependencies [3578913e]
- Updated dependencies [0fccff68]
- Updated dependencies [1c3beab3]
  - @modern-js/utils@1.6.0
  - @modern-js/plugin-ssr@1.2.8
  - @modern-js/plugin-state@1.2.5
  - @modern-js/plugin-router@1.2.11
  - @modern-js/runtime-core@1.4.3
  - @modern-js/create-request@1.2.5

## 1.2.6

### Patch Changes

- 6cffe99d: chore:
  remove react eslint rules for `modern-js` rule set.
  add .eslintrc for each package to speed up linting
- 04ae5262: chore: bump @modern-js/utils to v1.4.1 in dependencies
- 60f7d8bf: feat: add tests dir to npmignore
- Updated dependencies [b8599d09]
- Updated dependencies [6cffe99d]
- Updated dependencies [04ae5262]
- Updated dependencies [60f7d8bf]
- Updated dependencies [e4cec1ce]
- Updated dependencies [3bf4f8b0]
  - @modern-js/utils@1.5.0
  - @modern-js/plugin-router@1.2.10
  - @modern-js/plugin-state@1.2.4
  - @modern-js/runtime-core@1.4.2
  - @modern-js/bff-runtime@1.2.2
  - @modern-js/create-request@1.2.4
  - @modern-js/plugin-ssr@1.2.7

## 1.2.5

### Patch Changes

- bebb39b6: chore: improve devDependencies and peerDependencies
- ff73a5cc: fix style-component bugs
- Updated dependencies [bebb39b6]
- Updated dependencies [132f7b53]
- Updated dependencies [c4a7e4a3]
- Updated dependencies [ff73a5cc]
- Updated dependencies [9d4a005b]
  - @modern-js/plugin-router@1.2.8
  - @modern-js/plugin-ssr@1.2.5
  - @modern-js/plugin-state@1.2.3
  - @modern-js/utils@1.3.7

## 1.2.4

### Patch Changes

- 94d02b35: feat(plugin-runtime): convert to new plugin
- 808cec13: fix(plugin-runtime): fix usePlugins error
- 681a1ff9: feat: remove unnecessary peerDependencies
- Updated dependencies [c2046f37]
- Updated dependencies [a2261fed]
- Updated dependencies [cee0efcc]
- Updated dependencies [94d02b35]
- Updated dependencies [57e8ce98]
- Updated dependencies [e31ce644]
- Updated dependencies [681a1ff9]
- Updated dependencies [e8bbc315]
  - @modern-js/utils@1.3.6
  - @modern-js/runtime-core@1.4.0
  - @modern-js/plugin-router@1.2.6
  - @modern-js/plugin-state@1.2.2
  - @modern-js/plugin-ssr@1.2.4

## 1.2.3

### Patch Changes

- 6891e4c2: add theme token some config logic
- 0cd8b592: fix: runtime head and loadable type not found
- Updated dependencies [b376c8d6]
- Updated dependencies [735b2a81]
- Updated dependencies [e62c4efd]
- Updated dependencies [5ed05e65]
- Updated dependencies [735b2a81]
- Updated dependencies [e2a8233f]
  - @modern-js/core@1.4.2
  - @modern-js/plugin-ssr@1.2.2
  - @modern-js/runtime-core@1.2.3

## 1.2.2

### Patch Changes

- d099e5c5: fix error when modify modern.config.js
- 24f616ca: feat: support custom meta info
- Updated dependencies [816fd721]
- Updated dependencies [d9cc5ea9]
- Updated dependencies [bfbea9a7]
- Updated dependencies [bd819a8d]
- Updated dependencies [ec4dbffb]
- Updated dependencies [d099e5c5]
- Updated dependencies [bada2879]
- Updated dependencies [24f616ca]
- Updated dependencies [bd819a8d]
- Updated dependencies [272cab15]
  - @modern-js/plugin-ssr@1.2.1
  - @modern-js/core@1.4.0
  - @modern-js/plugin-router@1.2.2
  - @modern-js/runtime-core@1.2.2
  - @modern-js/utils@1.3.0

## 1.2.1

### Patch Changes

- 83166714: change .npmignore
- Updated dependencies [83166714]
- Updated dependencies [c3de9882]
- Updated dependencies [33ff48af]
- Updated dependencies [c74597bd]
  - @modern-js/core@1.3.2
  - @modern-js/plugin-router@1.2.1
  - @modern-js/plugin-state@1.2.1
  - @modern-js/runtime-core@1.2.1
  - @modern-js/bff-runtime@1.2.1
  - @modern-js/create-request@1.2.1
  - @modern-js/utils@1.2.2

## 1.2.0

### Minor Changes

- cfe11628: Make Modern.js self bootstraping

### Patch Changes

- 146dcd85: modify server framework plugin hook types and hook context
- 146dcd85: modify server framework plugin hook types
- 146dcd85: fix test case in babel compiler
- Updated dependencies [2da09c69]
- Updated dependencies [5597289b]
- Updated dependencies [fc71e36f]
- Updated dependencies [146dcd85]
- Updated dependencies [a2cb9abc]
- Updated dependencies [c3d46ee4]
- Updated dependencies [cfe11628]
- Updated dependencies [146dcd85]
- Updated dependencies [146dcd85]
  - @modern-js/utils@1.2.0
  - @modern-js/plugin-ssr@1.2.0
  - @modern-js/create-request@1.2.0
  - @modern-js/core@1.3.0
  - @modern-js/bff-runtime@1.2.0
  - @modern-js/runtime-core@1.2.0
  - @modern-js/plugin-router@1.2.0
  - @modern-js/plugin-state@1.2.0

## 1.1.3

### Patch Changes

- b8deff8b: feat: add isBrowser in runtime context
- Updated dependencies [e63591cc]
  - @modern-js/plugin-router@1.1.3
  - @modern-js/runtime-core@1.1.4

## 1.1.2

### Patch Changes

- e51b1db3: feat: support custom sdk, interceptor, headers for bff request
- Updated dependencies [e51b1db3]
- Updated dependencies [4a281912]
- Updated dependencies [4a281912]
- Updated dependencies [b7fb82ec]
- Updated dependencies [eb026119]
  - @modern-js/plugin-ssr@1.1.3
  - @modern-js/create-request@1.1.2
  - @modern-js/runtime-core@1.1.3
  - @modern-js/plugin-router@1.1.2
  - @modern-js/plugin-state@1.1.4
  - @modern-js/utils@1.1.6

## 1.1.1

### Patch Changes

- 0fa83663: support more .env files
- Updated dependencies [6f7fe574]
- Updated dependencies [0fa83663]
- Updated dependencies [f594fbc8]
  - @modern-js/core@1.1.2
  - @modern-js/plugin-state@1.1.2
  - @modern-js/runtime-core@1.1.1
  - @modern-js/bff-runtime@1.1.1
  - @modern-js/utils@1.1.2
  - @modern-js/plugin-router@1.1.1
  - @modern-js/plugin-ssr@1.1.1

## 1.1.0

### Minor Changes

- 96119db2: Relese v1.1.0

### Patch Changes

- Updated dependencies [96119db2]
  - @modern-js/core@1.1.0
  - @modern-js/plugin-router@1.1.0
  - @modern-js/plugin-ssr@1.1.0
  - @modern-js/plugin-state@1.1.0
  - @modern-js/runtime-core@1.1.0
  - @modern-js/bff-runtime@1.1.0
  - @modern-js/utils@1.1.0

## 1.0.0

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 0fd196e: feat: fix bugs
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [0fd196e]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0
  - @modern-js/plugin-router@1.0.0
  - @modern-js/plugin-ssr@1.0.0
  - @modern-js/plugin-state@1.0.0
  - @modern-js/runtime-core@1.0.0
  - @modern-js/bff-runtime@1.0.0
  - @modern-js/utils@1.0.0

## 1.0.0-rc.23

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 0fd196e: feat: fix bugs
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [0fd196e]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0-rc.23
  - @modern-js/plugin-router@1.0.0-rc.23
  - @modern-js/plugin-ssr@1.0.0-rc.23
  - @modern-js/plugin-state@1.0.0-rc.23
  - @modern-js/runtime-core@1.0.0-rc.23
  - @modern-js/bff-runtime@1.0.0-rc.23
  - @modern-js/utils@1.0.0-rc.23

## 1.0.0-rc.22

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 0fd196e: feat: fix bugs
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [0fd196e]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0-rc.22
  - @modern-js/plugin-router@1.0.0-rc.22
  - @modern-js/plugin-ssr@1.0.0-rc.22
  - @modern-js/plugin-state@1.0.0-rc.22
  - @modern-js/runtime-core@1.0.0-rc.22
  - @modern-js/bff-runtime@1.0.0-rc.22
  - @modern-js/utils@1.0.0-rc.22

## 1.0.0-rc.21

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 0fd196e: feat: fix bugs
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [0fd196e]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0-rc.21
  - @modern-js/plugin-router@1.0.0-rc.21
  - @modern-js/plugin-ssr@1.0.0-rc.21
  - @modern-js/plugin-state@1.0.0-rc.21
  - @modern-js/runtime-core@1.0.0-rc.21
  - @modern-js/bff-runtime@1.0.0-rc.21
  - @modern-js/utils@1.0.0-rc.21

## 1.0.0-rc.20

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- feat: fix bugs
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [undefined]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0-rc.20
  - @modern-js/plugin-router@1.0.0-rc.20
  - @modern-js/plugin-ssr@1.0.0-rc.20
  - @modern-js/plugin-state@1.0.0-rc.20
  - @modern-js/runtime-core@1.0.0-rc.20
  - @modern-js/bff-runtime@1.0.0-rc.20
  - @modern-js/utils@1.0.0-rc.20

## 1.0.0-rc.19

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0-rc.19
  - @modern-js/plugin-router@1.0.0-rc.19
  - @modern-js/plugin-ssr@1.0.0-rc.19
  - @modern-js/plugin-state@1.0.0-rc.19
  - @modern-js/runtime-core@1.0.0-rc.19
  - @modern-js/bff-runtime@1.0.0-rc.19
  - @modern-js/utils@1.0.0-rc.19

## 1.0.0-rc.18

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 204c626: feat: initial
- 63be0a5: fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [204c626]
- Updated dependencies [63be0a5]
  - @modern-js/core@1.0.0-rc.18
  - @modern-js/plugin-router@1.0.0-rc.18
  - @modern-js/plugin-ssr@1.0.0-rc.18
  - @modern-js/plugin-state@1.0.0-rc.18
  - @modern-js/runtime-core@1.0.0-rc.18
  - @modern-js/bff-runtime@1.0.0-rc.18
  - @modern-js/utils@1.0.0-rc.18

## 1.0.0-rc.17

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 204c626: feat: initial
- fix: #118 #104
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [204c626]
- Updated dependencies [undefined]
  - @modern-js/core@1.0.0-rc.17
  - @modern-js/plugin-router@1.0.0-rc.17
  - @modern-js/plugin-ssr@1.0.0-rc.17
  - @modern-js/plugin-state@1.0.0-rc.17
  - @modern-js/runtime-core@1.0.0-rc.17
  - @modern-js/bff-runtime@1.0.0-rc.17
  - @modern-js/utils@1.0.0-rc.17

## 1.0.0-rc.16

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.16
  - @modern-js/plugin-router@1.0.0-rc.16
  - @modern-js/plugin-ssr@1.0.0-rc.16
  - @modern-js/plugin-state@1.0.0-rc.16
  - @modern-js/runtime-core@1.0.0-rc.16
  - @modern-js/bff-runtime@1.0.0-rc.16
  - @modern-js/utils@1.0.0-rc.16

## 1.0.0-rc.15

### Patch Changes

- 224f7fe: fix server route match
- 30ac27c: feat: add generator package description
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [30ac27c]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.15
  - @modern-js/plugin-router@1.0.0-rc.15
  - @modern-js/plugin-ssr@1.0.0-rc.15
  - @modern-js/plugin-state@1.0.0-rc.15
  - @modern-js/runtime-core@1.0.0-rc.15
  - @modern-js/bff-runtime@1.0.0-rc.15
  - @modern-js/utils@1.0.0-rc.15

## 1.0.0-rc.14

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.14
  - @modern-js/plugin-router@1.0.0-rc.14
  - @modern-js/plugin-ssr@1.0.0-rc.14
  - @modern-js/plugin-state@1.0.0-rc.14
  - @modern-js/runtime-core@1.0.0-rc.14
  - @modern-js/bff-runtime@1.0.0-rc.14
  - @modern-js/utils@1.0.0-rc.14

## 1.0.0-rc.13

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.13
  - @modern-js/plugin-router@1.0.0-rc.13
  - @modern-js/plugin-ssr@1.0.0-rc.13
  - @modern-js/plugin-state@1.0.0-rc.13
  - @modern-js/runtime-core@1.0.0-rc.13
  - @modern-js/bff-runtime@1.0.0-rc.13
  - @modern-js/utils@1.0.0-rc.13

## 1.0.0-rc.12

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.12
  - @modern-js/plugin-router@1.0.0-rc.12
  - @modern-js/plugin-ssr@1.0.0-rc.12
  - @modern-js/plugin-state@1.0.0-rc.12
  - @modern-js/runtime-core@1.0.0-rc.12
  - @modern-js/bff-runtime@1.0.0-rc.12
  - @modern-js/utils@1.0.0-rc.12

## 1.0.0-rc.11

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.11
  - @modern-js/plugin-router@1.0.0-rc.11
  - @modern-js/plugin-ssr@1.0.0-rc.11
  - @modern-js/plugin-state@1.0.0-rc.11
  - @modern-js/runtime-core@1.0.0-rc.11
  - @modern-js/bff-runtime@1.0.0-rc.11
  - @modern-js/utils@1.0.0-rc.11

## 1.0.0-rc.10

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.10
  - @modern-js/plugin-router@1.0.0-rc.10
  - @modern-js/plugin-ssr@1.0.0-rc.10
  - @modern-js/plugin-state@1.0.0-rc.10
  - @modern-js/runtime-core@1.0.0-rc.10
  - @modern-js/bff-runtime@1.0.0-rc.10
  - @modern-js/utils@1.0.0-rc.10

## 1.0.0-rc.9

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.9
  - @modern-js/plugin-router@1.0.0-rc.9
  - @modern-js/plugin-ssr@1.0.0-rc.9
  - @modern-js/plugin-state@1.0.0-rc.9
  - @modern-js/runtime-core@1.0.0-rc.9
  - @modern-js/bff-runtime@1.0.0-rc.9
  - @modern-js/utils@1.0.0-rc.9

## 1.0.0-rc.8

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.8
  - @modern-js/plugin-router@1.0.0-rc.8
  - @modern-js/plugin-ssr@1.0.0-rc.8
  - @modern-js/plugin-state@1.0.0-rc.8
  - @modern-js/runtime-core@1.0.0-rc.8
  - @modern-js/bff-runtime@1.0.0-rc.8
  - @modern-js/utils@1.0.0-rc.8

## 1.0.0-rc.7

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.7
  - @modern-js/plugin-router@1.0.0-rc.7
  - @modern-js/plugin-ssr@1.0.0-rc.7
  - @modern-js/plugin-state@1.0.0-rc.7
  - @modern-js/runtime-core@1.0.0-rc.7
  - @modern-js/bff-runtime@1.0.0-rc.7
  - @modern-js/utils@1.0.0-rc.7

## 1.0.0-rc.6

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.6
  - @modern-js/plugin-router@1.0.0-rc.6
  - @modern-js/plugin-ssr@1.0.0-rc.6
  - @modern-js/plugin-state@1.0.0-rc.6
  - @modern-js/runtime-core@1.0.0-rc.6
  - @modern-js/bff-runtime@1.0.0-rc.6
  - @modern-js/utils@1.0.0-rc.6

## 1.0.0-rc.5

### Patch Changes

- 224f7fe: fix server route match
- 204c626: feat: initial
- Updated dependencies [224f7fe]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.5
  - @modern-js/plugin-router@1.0.0-rc.5
  - @modern-js/plugin-ssr@1.0.0-rc.5
  - @modern-js/plugin-state@1.0.0-rc.5
  - @modern-js/runtime-core@1.0.0-rc.5
  - @modern-js/bff-runtime@1.0.0-rc.5
  - @modern-js/utils@1.0.0-rc.5

## 1.0.0-rc.4

### Patch Changes

- fix server route match
- 204c626: feat: initial
- Updated dependencies [undefined]
- Updated dependencies [204c626]
  - @modern-js/core@1.0.0-rc.4
  - @modern-js/plugin-router@1.0.0-rc.4
  - @modern-js/plugin-ssr@1.0.0-rc.4
  - @modern-js/plugin-state@1.0.0-rc.4
  - @modern-js/runtime-core@1.0.0-rc.4
  - @modern-js/bff-runtime@1.0.0-rc.4
  - @modern-js/utils@1.0.0-rc.4

## 1.0.0-rc.3

### Patch Changes

- feat: initial
- Updated dependencies [undefined]
  - @modern-js/core@1.0.0-rc.3
  - @modern-js/plugin-router@1.0.0-rc.3
  - @modern-js/plugin-ssr@1.0.0-rc.3
  - @modern-js/plugin-state@1.0.0-rc.3
  - @modern-js/bff-runtime@1.0.0-rc.3
  - @modern-js/utils@1.0.0-rc.3
  - @modern-js/runtime-core@1.0.0-rc.3
