Download Latest Version v3.8.0 source code.zip (5.7 MB)
Email in envelope

Get an email when there's a new version of Modern.js

Home / v3.8.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-06 5.4 kB
v3.8.0 source code.tar.gz 2026-08-06 3.7 MB
v3.8.0 source code.zip 2026-08-06 5.7 MB
Totals: 3 Items   9.4 MB 0

What's Changed

New Features 🎉

  • feat: bundle version-matched docs into @modern-js/app-tools and generate AGENTS.md / CLAUDE.md pointing at them, so AI coding agents read docs matching the installed version in https://github.com/web-infra-dev/modern.js/pull/8781
  • feat: agent knowledge supply — bundle version-matched English docs into the app-tools tarball (docs/) on publish, and generate AGENTS.md / CLAUDE.md in new projects created by @modern-js/create (skip with --no-agents-md). Existing projects can run npx @modern-js/create --agents-md-only to add or idempotently refresh these files after an upgrade (managed marker block is updated in place, user content is preserved). Also fixes boolean flags swallowing the following positional argument (e.g. create --sub my-app). in https://github.com/web-infra-dev/modern.js/pull/8781
  • feat: support configuring the Mock directory through dev.mockDir in https://github.com/web-infra-dev/modern.js/pull/8780

Bug Fixes 🐞

Other Changes ✨

更新内容

新特性 🎉

  • feat: 随包分发与安装版本一致的文档,并生成指向它的 AGENTS.md / CLAUDE.md,让 AI 编码助手读到与所装版本匹配的文档, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8781
  • feat: Agent 知识供给 —— 发布时将版本匹配的英文文档打进 app-tools tarball(docs/),并在 @modern-js/create 新建项目时默认生成 AGENTS.md / CLAUDE.md--no-agents-md 可跳过)。已有项目可运行 npx @modern-js/create --agents-md-only 在升级后补齐或幂等更新这两个文件(就地更新托管标记块,保留用户自定义内容)。同时修复布尔参数吞掉后续位置参数的问题(如 create --sub my-app)。, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8781
  • feat: 支持通过 dev.mockDir 配置 Mock 目录, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8780

Bug 修复 🐞

其他变更 ✨

Source: README.md, updated 2026-08-06