v2.3.0
🎉 See Announcing Rspack 2.3 for more details.
- feat: rename loader filter.code to codeFilter by @SyMind in https://github.com/web-infra-dev/rspack/pull/16184
- feat: integrate allocative snapshots and profiling skill into Rspack by @intellild in https://github.com/web-infra-dev/rspack/pull/16046
- feat: support module.parser.javascript.dynamicUrl by @HashemKhalifa in https://github.com/web-infra-dev/rspack/pull/15933
- feat(watcher): expose watchpack times API on native and node watch file systems by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15754
- feat(javascript): migrate parser to SWC Next by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16089
- feat: add loader codeFilter prefilter by @SyMind in https://github.com/web-infra-dev/rspack/pull/16073
- feat(create-rspack): display version in startup banner by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16167
- feat(rstest): add origin-aware import.meta.resolve hook by @9aoy in https://github.com/web-infra-dev/rspack/pull/16275
- feat(watch): support mixed ignored patterns by @Perfecto23 in https://github.com/web-infra-dev/rspack/pull/13795
- feat: support es2026 target by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16311
- feat(cache): expose newCache statistics in Stats JSON by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16282
- perf(size): box hot async entry futures to shrink binding size by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16085
- perf(sources): avoid retaining serialized source maps by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16072
- perf(loader): schedule loader chains as execution units by @intellild in https://github.com/web-infra-dev/rspack/pull/15401
- perf(loader-runner): read process.env.WASM once by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16127
- perf: avoid creating untouched loader buildInfo by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16077
- perf(resolver): prefer package directories in node_modules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16154
- perf(watch): lazily convert native watcher time info by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16187
- perf(watcher): reuse directory analysis for unchanged subscriptions by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16180
- perf(core): emit ESM export value descriptors when safe by @patrickkunka in https://github.com/web-infra-dev/rspack/pull/15936
- perf: reuse residual SplitChunks candidates in place by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16081
- perf(core): scan inline named exports linearly by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16224
- perf(core): skip substring search when path has no fragment marker by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16223
- perf(split-chunks): match built-in cache group conditions once per compilation by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16129
- perf(sources): use slice iteration when parsing string arrays by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16283
- perf(sources): read source map fields from the JSON tape by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16297
- perf: avoid VLQ accumulation for single-sextet mapping values by @kdy1 in https://github.com/web-infra-dev/rspack/pull/16298
- perf(binding): preserve native source graphs during asset updates by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16207
- fix: skip build dependency collection after fatal compilation errors by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16074
- fix(resolver): resolve tsconfig
extendsthrough the real path by @orgads in https://github.com/web-infra-dev/rspack/pull/15718 - fix(split-chunks): deduplicate remaining copies in named groups by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16075
- fix(css): align CSS Modules behavior with webpack css-loader fixtures by @intellild in https://github.com/web-infra-dev/rspack/pull/15816
- fix(tracing): convert JavaScript trace nanoseconds to microseconds by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16103
- fix: stabilize module rendering order across platforms by @hai-x in https://github.com/web-infra-dev/rspack/pull/16100
- fix(binding): avoid shared property leak warnings on process exit by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16117
- fix: use the module exports argument for the AMD exports dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16122
- fix: respect module arguments in AMD code generation by @hai-x in https://github.com/web-infra-dev/rspack/pull/16148
- fix(mf): make deterministic IDs independent of project paths by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16152
- fix(watch): make node watch time info entries deterministic by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16126
- fix(javascript): reuse parser source type by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16102
- fix: link import bindings inside define callbacks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16159
- fix(javascript): respect block function scope by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16162
- fix(css): localize type-first nested selectors by @intellild in https://github.com/web-infra-dev/rspack/pull/16011
- fix(javascript): preserve legacy parser behavior by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16164
- fix(lazy-compilation): avoid barrel reloads on activation by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16026
- fix(split-chunks): support minRemainingSize by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15594
- fix: release updated allocative crates to resolve napi feature mismatch by @intellild in https://github.com/web-infra-dev/rspack/pull/16171
- fix(HMR): correct hot updated chunk path resolution in Node.js HMR by @hai-x in https://github.com/web-infra-dev/rspack/pull/16174
- fix(release): synchronize workspace versions and CLI peer dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/16181
- fix: inherit splitChunks request limits in cache groups by @hai-x in https://github.com/web-infra-dev/rspack/pull/16191
- fix(css): calculate CSS module hashes from graph dependencies by @intellild in https://github.com/web-infra-dev/rspack/pull/16120
- fix(core): preserve shorthand assignment keys in concatenation by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16205
- fix(cache): unify snapshot path matching and package lookup by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16194
- fix(javascript): correct loose equality evaluation for nullish values by @NaamuKim in https://github.com/web-infra-dev/rspack/pull/16141
- fix(lazy-compilation): avoid reposting active ids on dispose by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16200
- fix: allocative crate package names by @intellild in https://github.com/web-infra-dev/rspack/pull/16212
- fix(mf): support consumes runtime without chunk loading by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16209
- fix(mf): normalize single-item container share scopes by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16251
- fix(css): localize animation names before !important by @dajiaohuang in https://github.com/web-infra-dev/rspack/pull/16204
- fix(watcher): keep watching when unwatching a stale path fails by @sarankumar1325 in https://github.com/web-infra-dev/rspack/pull/16199
- fix(sri): generate integrity hashes for chunks that only contain extracted css by @ojj1123 in https://github.com/web-infra-dev/rspack/pull/15711
- fix: inherit sideEffects through nested package metadata by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15336
- fix(types): narrow EvalSourceMapDevToolPlugin options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16265
- fix(css): keep media attribute of hot replaced stylesheets by @CyberAP in https://github.com/web-infra-dev/rspack/pull/16214
- fix(rsc): collect client components from all entry dependencies by @sarankumar1325 in https://github.com/web-infra-dev/rspack/pull/16254
- fix(watcher): invalidate on native watcher removals by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16284
- fix(watcher): report a removed file once when it stays a dependency by @guru-irl in https://github.com/web-infra-dev/rspack/pull/16305
- fix: raise inherited SWC target cap to ES2024 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16314
- fix(css): preserve stylesheet attributes and state during HMR by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16287
- fix: update named chunks when merging or removing chunks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16312
- fix(watcher): preserve native event delivery while JavaScript is blocked by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/16106
- fix: include module_id in chunk hashing by @hai-x in https://github.com/web-infra-dev/rspack/pull/16168
- fix(ci): update Dylint to 6.3.0 by @intellild in https://github.com/web-infra-dev/rspack/pull/16332
- refactor(binding): retain DependencyRef in JavaScript wrappers by @SyMind in https://github.com/web-infra-dev/rspack/pull/16061
- refactor(sources): use a source-wide UTF-16 index and remove object pool by @SyMind in https://github.com/web-infra-dev/rspack/pull/16083
- refactor(javascript): remove redundant ESTree AST wrappers by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16098
- refactor: reuse current module in dependency templates by @hai-x in https://github.com/web-infra-dev/rspack/pull/16149
- refactor(javascript): emit mangled destructuring keys as strings by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16147
- refactor(cache): reuse persistent cache options for newCache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16160
- refactor(css): share CSS module graph traversal by @intellild in https://github.com/web-infra-dev/rspack/pull/16119
- refactor(css): query placeholders from compiled templates by @intellild in https://github.com/web-infra-dev/rspack/pull/16169
- refactor: remove unused __rspack_esm_id export from module chunks by @hai-x in https://github.com/web-infra-dev/rspack/pull/16193
- refactor(binding): use registered symbols across Rust and JS by @SyMind in https://github.com/web-infra-dev/rspack/pull/16210
- refactor: remove dead code and unused parameters by @hai-x in https://github.com/web-infra-dev/rspack/pull/16217
- refactor: reuse modules and connections already in hand by @hai-x in https://github.com/web-infra-dev/rspack/pull/16197
- refactor: use SIMD UTF-16 length for dependency locations by @SyMind in https://github.com/web-infra-dev/rspack/pull/15585
- refactor: reuse data already in hand instead of looking it up again by @hai-x in https://github.com/web-infra-dev/rspack/pull/16218
- docs: update renamed crates in project architecture by @Jarvis636431 in https://github.com/web-infra-dev/rspack/pull/16087
- docs: add parallel loader section to loader guide by @intellild in https://github.com/web-infra-dev/rspack/pull/16092
- docs: add memory diagnostics guide by @intellild in https://github.com/web-infra-dev/rspack/pull/16080
- docs: explain hot update manifest fields by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16114
- docs: clarify Rsdoctor capabilities and simplify setup guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16125
- docs(resolve): explain resolve.tsConfig.references matching rules by @stormslowly in https://github.com/web-infra-dev/rspack/pull/16099
- docs: clarify Rsbuild and Rspack CLI in quick start by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16155
- docs: clarify loader code filters and add examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16182
- docs: clarify how to check tree shaking inputs by @MuslumYilmaz in https://github.com/web-infra-dev/rspack/pull/15830
- docs: clarify how loaders affect tree shaking by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16213
- docs: clarify project setup with Rsbuild, Rslib, and Rspack CLI by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16241
- docs: correct EvalSourceMapDevToolPlugin filters by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16243
- docs: clarify fully dynamic import behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16245
- docs: clarify optimization defaults in none mode by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16244
- docs: correct HMR error callback information by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16246
- docs: clarify stats loggingDebug filtering by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16250
- docs: correct stats sorting defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16247
- docs: correct stats detail defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16248
- docs: distinguish stats JSON and text defaults by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16249
- docs: invite @hai-x to Rspack core team by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16264
- docs: clarify CSS Modules class names for SSR by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16257
- docs: clarify how rule conditions combine by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16260
- docs: explain HMR update propagation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16261
- docs: explain transpiling modern dependencies by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16256
- docs: document compilation module graph queries by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16259
- docs: explain passing loader data to plugins by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16258
- docs: explain runtime public paths inside workers by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16262
- docs: document experiments.newCache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/16272
- docs: clarify asset processing before emit by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16269
- docs: clarify eager dynamic import behavior by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16267
- docs: correct asset module filenames and output conditions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16266
- docs: add runtime issues guide for chunk loading errors by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16270
- docs: demonstrate HMR cleanup and state preservation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16271
- docs: improve memory analysis and contribution guides by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16285
- docs: group built-in loaders in a dedicated section by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16286
- docs: correct publishing step in releasing guide by @hai-x in https://github.com/web-infra-dev/rspack/pull/16290
- docs: clarify HMR check and automatic application by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16299
- docs: clarify HMR invalidation and propagation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16300
- docs: troubleshoot automatic public path failures by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16301
- docs: explain chunk load errors after HTTP success by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16302
- docs: fix HMR examples and state descriptions by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16303
- docs: clarify CSS entries and external resources by @intellild in https://github.com/web-infra-dev/rspack/pull/16306
- docs: use Tailwind CSS webpack loader for v4 by @intellild in https://github.com/web-infra-dev/rspack/pull/16309
- docs: add community loaders to the ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16319
- docs: add community plugins to the ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16320
- docs: add NestJS to the ecosystem page by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16321
- docs: add Rstack CLI to toolchain listings by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/16322
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16029
- chore(deps): upgrade swc-next to 0.2.4 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16094
- chore(deps): upgrade Rspress to 2.1.0-beta.1 by @SoonIter in https://github.com/web-infra-dev/rspack/pull/16104
- chore(deps): update dependency acorn to ^8.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16030
- chore(docs): update Rsdoctor 2.0 usage guides by @yifancong in https://github.com/web-infra-dev/rspack/pull/16090
- chore(deps): upgrade swc-next to 0.3.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16113
- chore(deps): update dependency playwright to v1.64.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16031
- chore(deps): update swc by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16131
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16130
- chore(deps): update dependency ts-checker-rspack-plugin to ^1.7.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16137
- chore(deps): update dependency @swc/plugin-remove-console to v17 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16139
- chore(deps): update dependency happy-dom to v21 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16140
- chore(deps): update dependency cac to ^7.1.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16135
- chore(deps): update dependency mermaid to ^12.2.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16136
- chore(deps): update dependency watchpack to v2.6.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16138
- chore(deps): upgrade SWC Next to 0.3.1 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/16151
- Revert "fix(mf): make deterministic IDs independent of project paths" by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/16161
- test: stabilize lazy barrel cache restoration by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/16173
- chore(deps): update dependency @ast-grep/napi to ^0.51.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16227
- chore(deps): update rust crate either to 1.19.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16234
- chore(deps): update dependency cspell to ^10.4.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16229
- chore(deps): update dependency core-js to v3.51.0 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16228
- chore(deps): update rust crate wasmtime to v36.0.19 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16238
- chore(deps): update rust crate hashlink to 0.12.2 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16235
- chore(deps): update patch npm dependencies by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16226
- chore(deps): update rust crate ctor to 0.13.1 by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16232
- Revert "fix: inherit splitChunks request limits in cache group" by @hai-x in https://github.com/web-infra-dev/rspack/pull/16273
- chore: mark allocative driver as private by @intellild in https://github.com/web-infra-dev/rspack/pull/16308
- chore(deps): update patch crates by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/16225
- chore: refine webpack gap tracker workflow by @intellild in https://github.com/web-infra-dev/rspack/pull/15362
- @orgads made their first contribution in https://github.com/web-infra-dev/rspack/pull/15718
- @Jarvis636431 made their first contribution in https://github.com/web-infra-dev/rspack/pull/16087
- @dajiaohuang made their first contribution in https://github.com/web-infra-dev/rspack/pull/16205
- @MuslumYilmaz made their first contribution in https://github.com/web-infra-dev/rspack/pull/15830
- @NaamuKim made their first contribution in https://github.com/web-infra-dev/rspack/pull/16141
- @patrickkunka made their first contribution in https://github.com/web-infra-dev/rspack/pull/15936
- @sarankumar1325 made their first contribution in https://github.com/web-infra-dev/rspack/pull/16199
- @ojj1123 made their first contribution in https://github.com/web-infra-dev/rspack/pull/15711
- @CyberAP made their first contribution in https://github.com/web-infra-dev/rspack/pull/16214
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.9...v2.3.0
v3.10.4
- fix(app-tools): recognize
-eas an alias of--entrywhen selecting dev entries by @tmkx in https://github.com/web-infra-dev/modern.js/pull/9038 - fix(bff-core): accept unknown input during schema validation to support Zod 4 declaration generation. by @renovate[bot] in https://github.com/web-infra-dev/modern.js/pull/9059
- fix: compile server TypeScript files to CommonJS with swc when ts-node is not installed, so the dev server can reload them and syntax like enum and decorators works on every Node.js version by @keepview in https://github.com/web-infra-dev/modern.js/pull/9066
- fix(app-tools): 选择开发入口时,将
-e识别为--entry的别名 由 @tmkx 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/9038 - fix(bff-core):校验时接收未知输入,修复升级 Zod 4 后的类型声明构建失败。 由 @renovate[bot] 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/9059
- fix: 未安装 ts-node 时用 swc 把服务端 TypeScript 文件编译为 CommonJS,使 dev server 能热更新这些文件,并在所有 Node.js 版本下支持 enum、装饰器等语法 由 @keepview 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/9066
9.33.0
- Add render-pass command stream batching for native hosts - by matthargett (#19075)
- Clustered lighting: sheen uses the out-of-scope normalW (WGSL/GLSL compile error) - by increasinglyHuman (#19049)
- WebGPU: GPU frame time with timestamp writes, read after the frame's submit - by enriqxxx (#19066)
- Fix WGSL StandardMaterial fresnel blend and area light check - by RizgarOzan (#19074)
- RenderTargetTexture: a fresh render id before each pass - by enriqxxx (#19073)
- Temporal view data in the scene uniform buffer for WGSL: camera history and TAA jitter - by enriqxxx (#19038)
- Meshes: keep no Vector3 per vertex when a mesh's positions are its geometry's - by enriqxxx (#19065)
- KHR_materials_scatter import/export - [New Feature] by MiiBond (#18810)
- Materials: keep pipeline names and plugin declarations as flat strings - by enriqxxx (#19060)
- Fix solid particle winding for glTF model meshes - [Bug Fix] by Popov72 (#19058)
- Gaussian Splatting: fix WebGPU texture fetch performance and add opt-in GPU depth sort - [New Feature] by CedricGuillemet (#19013)
- Fix HtmlTexture rendering with current HTML-in-Canvas APIs - [Bug Fix] by Popov72 (#19052)
- Add Inspector Lite skeleton, morph, and particle inspection - by ryantrem (#19071)
- fix(inspector-v2): fall back to Unknown class name when getClassName is absent - by peda-cos (#18998)
cherry-markdown-vscode-plugin@0.3.11
- fix: #1918 修复vscode plugin 报错的问题 @sunsonliu(#1919)(
9da8900)
cherry-markdown@0.11.12
- fix: 表格地图统一使用调用方注入的 ECharts 实例读取和注册地图,修复注入实例与全局实例不同时地图无法正确渲染的问题。未注入实例时保留原有全局 ECharts 行为。 @RSS1102(#1891)(
2ebf8dc) - 修复构建迁移后 bash 等代码块高亮回退为 JavaScript 的问题,通过共享 Babel 适配层统一开发、测试和各发布产物的语言加载,恢复原有语言及别名支持,并补齐小程序独立构建及无浏览器全局变量环境的语言初始化,close #1912 @RSS1102(#1913)(
6857c4a) - 修复 UMD 构建最终转换后发布的 source map 未同步、源码定位错位的问题。 @RSS1102(#1914)(
0017dc0) - style: 优化图标,统一icon的尺寸 @sunsonliu(#1915)(
6f1bc3d)
@cherry-markdown/milkdown@0.0.1
-
feat: 新增独立的 Milkdown 所见即所得 Markdown 编辑器,支持 CommonMark/GFM 与 Cherry 扩展内容,沿用 Cherry 的主题与样式。
-
支持文本选区格式工具、链接编辑、图片属性编辑与文件上传,以及表格单元格实时编辑、撤销重做和中文输入。
-
普通代码块高亮跟随 Cherry 的语言清单与加载规则,支持 TypeScript、JSON、Python、语言别名及嵌入语法,保留实时编辑和现有控件。
-
支持 Mermaid、ECharts、表格图表、公式及自定义代码块渲染,提供源码编辑与预览更新。
-
提供 Markdown 读取与更新、只读模式、主题切换、内容变更与错误回调,支持附加 Milkdown 插件和自定义渲染器。
复杂扩展块使用整体源码编辑;未识别语法不承诺原样保留。表格图表参数遵循 Cherry 的标准 JSON 与旧 key/value 格式。 @RSS1102(#1891)(2ebf8dc)