From c8f93ff3fc1093a3f46073bfbb2bc45e227f0a5e Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Wed, 11 Mar 2026 11:44:14 +0800 Subject: [PATCH] [release] 5.0.0-rc.4 --- CHANGELOG.md | 22 +++++++++++++++++++ build/release.sh | 2 ++ docs/_coverpage.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- .../__snapshots__/docs.test.js.snap | 2 +- 6 files changed, 29 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93e541a76..4d90963eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +# [5.0.0-rc.4](https://github.com/docsifyjs/docsify/compare/v5.0.0-rc.3...v5.0.0-rc.4) (2026-03-11) + + +### Bug Fixes + +* adjust intersection observer threshold for sticky class toggle ([#2637](https://github.com/docsifyjs/docsify/issues/2637)) ([4e8be38](https://github.com/docsifyjs/docsify/commit/4e8be38304ad5fcf64c585f42afef46c72adabb7)) +* enhance accessibility for sidebar toggle button ([#2604](https://github.com/docsifyjs/docsify/issues/2604)) ([3014945](https://github.com/docsifyjs/docsify/commit/3014945e4d677d24124a3a01fe88ec82951ebfa7)) +* improve word breaking for code blocks in markdown ([#2636](https://github.com/docsifyjs/docsify/issues/2636)) ([73d41e9](https://github.com/docsifyjs/docsify/commit/73d41e9e48ab7effae4c5dffd4aec4bd4e1b9168)) +* include h6 headings in heading element selection ([#2649](https://github.com/docsifyjs/docsify/issues/2649)) ([44326ca](https://github.com/docsifyjs/docsify/commit/44326ca423b25ddbb12b172ab7180edd553c61f4)) +* strip HTML tags from config.name when setting page title ([#2690](https://github.com/docsifyjs/docsify/issues/2690)) ([0cfee34](https://github.com/docsifyjs/docsify/commit/0cfee34dbc0d511a272070e4124eb2f3102d988e)), closes [#2610](https://github.com/docsifyjs/docsify/issues/2610) +* typo ([#2632](https://github.com/docsifyjs/docsify/issues/2632)) ([2d45376](https://github.com/docsifyjs/docsify/commit/2d45376bb8dc3f7a07c633a7be4d38af3a56501b)) + + +### Features + +* add fallback default language support ([#2607](https://github.com/docsifyjs/docsify/issues/2607)) ([1abe3a9](https://github.com/docsifyjs/docsify/commit/1abe3a9ea48cd3a96ee65cd958090bf2936de3c9)) +* enhance embed handling for table cells ([#2606](https://github.com/docsifyjs/docsify/issues/2606)) ([422a745](https://github.com/docsifyjs/docsify/commit/422a745acc4783c325d55413c5349ca70c42c67c)) +* Fragment identifier full line ignore ([#2626](https://github.com/docsifyjs/docsify/issues/2626)) ([e811756](https://github.com/docsifyjs/docsify/commit/e8117563eae4aa9468c36b76fe83c5ce3f7423ea)) +* output type definitions, and allow `new Docsify(opts)` to accept options for ESM usage ([#2392](https://github.com/docsifyjs/docsify/issues/2392)) ([b960519](https://github.com/docsifyjs/docsify/commit/b960519608747015d1ab974c9ed809c21f3b1bda)) + + + # [5.0.0-rc.3](https://github.com/docsifyjs/docsify/compare/v5.0.0-rc.1...v5.0.0-rc.3) (2025-09-05) diff --git a/build/release.sh b/build/release.sh index 0c53153fe..85a8bb5d7 100755 --- a/build/release.sh +++ b/build/release.sh @@ -27,7 +27,9 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then npm run build npm run test:update:snapshot npm run test + git stash npm run build:v4 # builds legacy v4 lib/ and themes/ folders for backwards compat while people transition to v5. + git stash pop # Changelog npx conventional-changelog -p angular -i CHANGELOG.md -s diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 1f431cb71..959186395 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -2,7 +2,7 @@ ![logo](_media/icon.svg) -# docsify 5.0.0-rc.3 :id=docsify +# docsify 5.0.0-rc.4 :id=docsify > A magical documentation site generator diff --git a/package-lock.json b/package-lock.json index 9aec6bdb7..53cc82228 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "docsify", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "docsify", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 817d47244..5c190f3d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docsify", - "version": "5.0.0-rc.3", + "version": "5.0.0-rc.4", "description": "A magical documentation generator.", "homepage": "https://docsify.js.org", "repository": { diff --git a/test/integration/__snapshots__/docs.test.js.snap b/test/integration/__snapshots__/docs.test.js.snap index 7f6203290..3e1dca875 100644 --- a/test/integration/__snapshots__/docs.test.js.snap +++ b/test/integration/__snapshots__/docs.test.js.snap @@ -5,7 +5,7 @@ exports[`Docs Site coverpage renders and is unchanged 1`] = `
-

logo

docsify 5.0.0-rc.3

A magical documentation site generator

Get Started +

logo

docsify 5.0.0-rc.4

A magical documentation site generator

Get Started GitHub