Skip to content

Release v3.8.0 - #8796

Merged
caohuilin merged 1 commit into
mainfrom
release-v3.8.0
Aug 7, 2026
Merged

Release v3.8.0#8796
caohuilin merged 1 commit into
mainfrom
release-v3.8.0

Conversation

@caohuilin

Copy link
Copy Markdown
Member

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 feat: make the bundled docs agent-readable #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 feat: make the bundled docs agent-readable #8781
  • feat: support configuring the Mock directory through dev.mockDir in feat(app-tools): support dev.mockDir #8780

Bug Fixes 🐞

Other Changes ✨

更新内容

新特性 🎉

  • feat: 随包分发与安装版本一致的文档,并生成指向它的 AGENTS.md / CLAUDE.md,让 AI 编码助手读到与所装版本匹配的文档, 详情可查看 feat: make the bundled docs agent-readable #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)。, 详情可查看 feat: make the bundled docs agent-readable #8781
  • feat: 支持通过 dev.mockDir 配置 Mock 目录, 详情可查看 feat(app-tools): support dev.mockDir #8780

Bug 修复 🐞

其他变更 ✨

@changeset-bot

changeset-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 20ac7ad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for modernjs-byted ready!

Name Link
🔨 Latest commit 20ac7ad
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-byted/deploys/6a74102950893c0008ffd09f
😎 Deploy Preview https://deploy-preview-8796--modernjs-byted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🟢 up 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

📊 Quick Summary
Project Total Size Change
bundle-diff 471.8 KB 0

Generated by Rsdoctor GitHub Action

@caohuilin
caohuilin enabled auto-merge (squash) August 6, 2026 06:23
@caohuilin
caohuilin merged commit abf27f3 into main Aug 7, 2026
10 checks passed
@caohuilin
caohuilin deleted the release-v3.8.0 branch August 7, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants