chore(deps): update dependency @modern-js/runtime to v2.60.2 #137
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.48.3
->2.60.2
Release Notes
web-infra-dev/modern.js (@modern-js/runtime)
v2.60.2
Compare Source
Patch Changes
8a709bc
: feat(router): router plugin should use the App Component from other plugins & export the markRoutes methodfeat(router): router plugin 应该使用 App Component from other plugins & 导出 markRoutes 方法
b36bf9f
: fix(runtime): fix the alias problem on windowsfix(runtime): 修复 windows 下 alias 的问题
d4e32bf
: fix(runtime): alias @meta/runtime should be configured correctlyfix(runtime): @meta/runtime 别名应该被正确地配置
0a31d31
: feat: support Component, only use ssr.mode='string'feat: 支持 组件, 仅在 ssr.mode 为 'string'的时候生效
Updated dependencies [
8a709bc
]v2.60.1
Compare Source
Patch Changes
4cfe425
: fix: html minify error when tools.htmlPlugin false80825c4
: fix: the problem of NoSSR with Suspensefix: 修复 NoSSR 在 suspense 下 的问题
3f968e1
: fix: router plugin baseUrl not workfix: router 插件 baseUrl 不生效
v2.60.0
Compare Source
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 failedfix: react's hook useId 导致 ssr hydrate 失败
v2.59.0
Compare Source
Patch Changes
553924c
: fix: move parse window ssr data to createRootfix: 移动解析 window ssr data 到 createRoot 方法
6c084da
: feat: add WithRouterProps params typeUpdated dependencies [
539d72b
]v2.58.3
Compare Source
Patch Changes
6b0a5c4
: fix: should remove extensions for entry file in real entry file, cause developer may use [.server] for ssr bundle entryfix: 需要移除入口文件的扩展名,因为开发者可能使用 [.server] 作为 ssr 产物的入口文件
59fba90
: fix(data-loader): compatible with asyncEntry for data loaderfix(data-loader): data loader 的导出兼容 asyncEntry
f624878
: fix: modern-entry build rules not use arrayfix: modern-entry 构建规则不使用数组
e0cb246
: fix(runtime): status code should be controlled by data loaderfix(runtime): 状态码应该能被 data loader 控制
v2.58.2
Compare Source
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 esmfeat(server): support esm
81829b0
: fix: add sideEffect rules for.modern-js
dirfix: 对
.modern-js
目录添加 sideEffects 配置Updated dependencies [
7715b6d
]Updated dependencies [
44c1bc4
]Updated dependencies [
a1a9373
]v2.58.1
Compare Source
Patch Changes
ec01bad
: feat(runtime): adapt to some features for async entriesfeat(runtime): 为异步入口适配某些功能
2482a6b
: fix: ssr context in runtime should get host from X-Forwarded-Host firstfix: ssr context 应该优先从 X-Forwarded-Host 获取
7a88ae9
: fix: ssrData should get request.url from ssrContextfix: ssrData 应该从 ssrContext 获取 url
c904ee2
: fix: ssrContext get protocal from x-forwarded-proto first, then new server middleware support rewrite requestfix: ssrContext 优先从 x-forwarded-proto 取协议, 另外新 server middleware 支持重写 request
9db73d7
: fix: garfish config name when use app.configfix: 修复 garfish 配置名称
Updated dependencies [
2482a6b
]v2.58.0
Compare Source
Patch Changes
7188385
: fix: we should get ssr data from HTMLElement when set ssr.inlineScript = falsefix: 当 ssr.inlineScript = false 时,我们应该从 HTMLElement 获取 SSR Data
cc74dba
: feat: move wrap runtime context provider to render functionfeat: 将包裹 runtime context provider 的逻辑移动到 render 函数中
v2.57.1
Compare Source
Patch Changes
v2.57.0
Compare Source
Minor Changes
dc736ef
: feat: refactor runtime plugin hooksfeat: 重构 runtime 插件钩子函数
Patch Changes
2515b00
: feat(ssr): support server.ssrByRouteIdsfeat(ssr): 支持 server.ssrByRouteIds
abad541
: fix: more runtime plugin add alias not workfix: 多个 runtime 插件添加 runtime 路径别名时不符合预期
223d63b
: fix: add deferedDataScripts only streaming ssrfix: 只有在 streaming ssr 时才添加 deferedDataScripts
a9807e5
: feat(ssg): support ssg with bff.enableHandleWebfeat(ssg): 支持 ssg 和 bff.enableHandleWeb 一起使用
916559a
: fix: mergeConfig function to return an object when the first configuration is not an objectfix: 修复 mergeConfig 函数,使其在第一个配置非对象时返回对象
db43d8e
: fix: react 17 ssr context errorfix: 修复 react 17 ssr 找不到 runtimeReactContext 报错
dc736ef
: feat: Support Runtime Plugin Communicationfeat: 支持 Runtime 插件通信
Updated dependencies [
2515b00
]Updated dependencies [
ce9c43a
]Updated dependencies [
6cec127
]Updated dependencies [
916559a
]Updated dependencies [
dc736ef
]v2.56.2
Compare Source
Patch Changes
e9c724c
: feat: set async entry for data loader entry if enable source.enableAsyncEntry9626370
: fix: exports more server typesfix: 导出更多的 server 类型
89e1df0
: fix: ssrContext.request maybe a undefinedfix: ssrContext.request 可能是 undefined
c441e14
: fix: enableAsyncEntry = true, we should generate bootstrap.server.jsx when ssr modefix: enableAsyncEntry 为 true, 我们应该生成 bootstrap.server.jsx 在 ssr 模式下
v2.56.1
Compare Source
Patch Changes
ad9e984
: fix(ssr): Avoid the compilation problem with renderToPipeableStream and react 17fix(ssr): 避免 react 17 下,使用 renderToPipeableStream 的编译问题
137d387
: fix: style assets should be add to cssChunkfix: style 应该被添加到 cssChunks
1696694
: fix: remove unused @loadable/webpack-plugin dependencyv2.56.0
Compare Source
Patch Changes
ced7039
: fix(prefetch): chunkId may be string or numberfix(prefetch): chunkId 可能是 sstring 或 number
6fda6a2
: feat: remove lodash dep from runtime mergeConfig functionfeat: mergeConfig 函数移除 lodash 依赖
0f0a31e
: fix(plugin-runtime): failed to resolve @rsbuild/coref27eaab
: feat: garfish plugin support custom behavior before renderfeat: garfish 插件支持在 render 前自定义行为
32d31c3
: fix: router plugin should receive request that method is GETfix: router 插件应该获得请求方法为 GET 的请求
9eee52a
: fix: server runtime should get config.disablePrerender from ssr configfix: server runtime 应该从 ssrconfig 获取 config.disablePrerender
1e85b76
: feat: refactor the logic of the system file router entryfeat: 重构文件系统路由入口逻辑
d36f095
: fix: ssrContext in browser should add document informationfix: 在浏览器中的 ssrContext 应该添加 document 的信息
Updated dependencies [
bedbbb3
]Updated dependencies [
1e85b76
]v2.55.0
Compare Source
Minor Changes
1515ea9
: feat: refactor runtime brower entryfeat: 重构客户端入口
Patch Changes
1430c5d
: fix: isbot v4.x require nodev18, so we downgrade it into v3.xfix: isbot v4.x 需要 nodev18, 所以我们把他降级为 v3.x
bbcf55a
: fix: runtime template windows pathfix: 修复 runtime 模板 windows 路径不正确
a38bb04
: feat: generator support runtime config filefeat: 生成器支持 modern.runtime 配置文件
59e46ad
: fix: ssr use-loader should set _internal_context.ssr = falsefix: ssr use-loader 应该将 _internal_context.ssr 为 false
283ac69
: fix: re-export runtime serverfix: 重导出 runtime server
Updated dependencies [
bbcf55a
]Updated dependencies [
e0c2384
]v2.54.6
Compare Source
Patch Changes
v2.54.5
Compare Source
Patch Changes
5510104
: fix: fix router info error when use custom file system routes entryfix: 修复当使用自定义约定式路由入口时生成 router 信息问题
v2.54.4
Compare Source
Patch Changes
v2.54.3
Compare Source
Patch Changes
v2.54.2
Compare Source
Patch Changes
8c71964
: fix: Fix the failure of App entry recognition when there are pages and routes paths.fix: 修复当存在 pages 和 routes 路径时,App 入口识别失败
v2.54.1
Compare Source
Patch Changes
v2.54.0
Compare Source
Minor Changes
09798ac
: feat: refactor runtime pluginfeat: 重构 runtime 插件
9da873c
: feat(ssr): support for loaderFailureMode configurefeat(ssr): 支持 loaderFailureMode 配置
Patch Changes
15a090c
: feat: refactor app-tools command and analyze check entry pointfeat: 重构 app-tools 命令和 analyze 插件识别入口逻辑
413b27f
: fix: entrypoint error when use custom index entryfix: 修复当使用自定义 index 入口时入口路径错误
Updated dependencies [
15a090c
]Updated dependencies [
a8d8f0c
]Updated dependencies [
09798ac
]Updated dependencies [
9da873c
]v2.53.0
Compare Source
Patch Changes
v2.52.0
Compare Source
Minor Changes
85ac453
: feat: support control status code by data loaderfeat: 支持通过 data loader 控制页面状态码
Patch Changes
85ac453
]v2.51.0
Compare Source
Patch Changes
4c09d57
: fix: streaming ssr should set renderLevel correctly when render occur errorfix: streaming ssr 当渲染遇到错误,应该设置正确的 renderLevel
08d9466
: feat: support stream to string & support server ender styled componentsfeat: 支持 stream 模式转 string ,并且支持服务端渲染 styled compoents
7834d4b
: fix: default types should beRecord<string, unknown>
fix: 默认 types 应该是
Record<string, unknown>
v2.50.0
Compare Source
Patch Changes
4a9c0c7
: feat: add typings for Body、Root、Style componentsfeat: 为 Body、Root、Style 组件添加类型
v2.49.4
Compare Source
Patch Changes
a5fdc8d
: fix: useLoader should run normally in csr when webpack buildfix: useLoader 当使用 webpack 构建是,在 csr 下应该需要正常跑
v2.49.3
Compare Source
Patch Changes
644a226
: fix: should add props typesfix: 组件 Html 应该添加上 html 标签属性的类型
6d980e4
: fix: helmet can't replace when streaming ssrfix: 使用 streaming ssr 时, helmet 无法替换
b57ca76
: fix: add originalBaseUrl paramfix: 添加 originalBaseUrl 参数
v2.49.2
Compare Source
Patch Changes
v2.49.1
Patch Changes
b45da78
: fix: should not print error level log when in prod envfix: 生产环境不应该打印 error 级日志
06bff92
: fix: should not include babel-loader in streaming ssr projectfix: 在 streaming ssr 项目中,不应该引入 babel-loader
v2.49.0
Minor Changes
e8c8c5d
: refactor: refactor serverrefactor: 重构 server
Patch Changes
e8c8c5d
]6a543df
]v2.48.6
Patch Changes
v2.48.5
Compare Source
Patch Changes
4ca9f4c
]v2.48.4
Compare Source
Patch Changes
d3e028b
: fix: should not be more than one title tagfix: 只能出现一个 title 标签
78b889f
: fix: when router does't exist, no pathname detectionfix: 当 router 不存在时,不再做 pathname 检测
Updated dependencies [
7d2d433
]Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.