diff --git a/CHANGELOG.md b/CHANGELOG.md index 963687d7..9668acf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +# [5.0.0-rc.2](https://github.com/docsifyjs/docsify/compare/v5.0.0-rc.1...v5.0.0-rc.2) (2025-09-05) + + +### Bug Fixes + +* enhance focus handling ([#2595](https://github.com/docsifyjs/docsify/issues/2595)) ([22ac7e8](https://github.com/docsifyjs/docsify/commit/22ac7e855de24b13280e9904930e58af58dbd6a7)) +* enhance focus handling by adding smooth scroll to content area ([#2569](https://github.com/docsifyjs/docsify/issues/2569)) ([20d095b](https://github.com/docsifyjs/docsify/commit/20d095b53c827c4d0590dee5fd377ba21560d7fb)) +* escape HTML in search keywords ([#2586](https://github.com/docsifyjs/docsify/issues/2586)) ([743e9cb](https://github.com/docsifyjs/docsify/commit/743e9cb484cc70859a582fb74d78ea1f52ef2c2a)) +* exclude app-name-link from sidebar text overflow styling ([#2564](https://github.com/docsifyjs/docsify/issues/2564)) ([375c058](https://github.com/docsifyjs/docsify/commit/375c058e3e1b12f3507d97a41b3fd8d6c4e904b0)) +* handle hash navigation to prevent duplicate callbacks ([#2575](https://github.com/docsifyjs/docsify/issues/2575)) ([72569de](https://github.com/docsifyjs/docsify/commit/72569dee8db92a01e8de5448e05c32afbd090fb2)) +* heading link overflow style ([#2568](https://github.com/docsifyjs/docsify/issues/2568)) ([be21637](https://github.com/docsifyjs/docsify/commit/be2163725ae314de3aa9a56c1216ce8c774cfcc6)) +* improve slug generation ([#2581](https://github.com/docsifyjs/docsify/issues/2581)) ([9bc58c9](https://github.com/docsifyjs/docsify/commit/9bc58c9ca24db513a90a06752181954aab0628ca)) +* remove block display from anchor links to prevent layout issues ([#2576](https://github.com/docsifyjs/docsify/issues/2576)) ([6e45024](https://github.com/docsifyjs/docsify/commit/6e4502416886b9494cd7b510968c351c7e6fc3cd)) +* **sidebar:** remove ignored headings and children ([#2580](https://github.com/docsifyjs/docsify/issues/2580)) ([2a49bd0](https://github.com/docsifyjs/docsify/commit/2a49bd0aa4bb17eeb3d9f363c6f2b01e61e778ac)) +* update relative link handling ([#2579](https://github.com/docsifyjs/docsify/issues/2579)) ([eeacfcc](https://github.com/docsifyjs/docsify/commit/eeacfcce2a3df4e4146b5b54275553452b317352)) + + +### Features + +* GitHub style callouts ([#2487](https://github.com/docsifyjs/docsify/issues/2487)) ([2e59b0f](https://github.com/docsifyjs/docsify/commit/2e59b0f50cf8123b98e4c97c3053aa6985ae13a2)) +* support config helper multi keys if supported ([#2571](https://github.com/docsifyjs/docsify/issues/2571)) ([a2f734f](https://github.com/docsifyjs/docsify/commit/a2f734f223cae475aefe7d41995a2030a1f9c0a2)) +* support extract content between fragment markers from Markdown ([#2582](https://github.com/docsifyjs/docsify/issues/2582)) ([32aa74e](https://github.com/docsifyjs/docsify/commit/32aa74e0d2fcd89705e5c30fc8b8e2562e7b774e)) + + + # Changelog ## [5.0.0-rc.1](https://github.com/docsifyjs/docsify/compare/v4.13.1...v5.0.0-rc.1) (2025-05-27) diff --git a/build/release.sh b/build/release.sh index c1bef574..ed6ab730 100755 --- a/build/release.sh +++ b/build/release.sh @@ -7,13 +7,21 @@ else VERSION=$1 fi +RELEASE_TAG=${RELEASE_TAG:-""} + +if [[ -n "$RELEASE_TAG" && "$VERSION" != *"$RELEASE_TAG"* ]]; then + RELEASE_MSG="$VERSION ($RELEASE_TAG)" +else + RELEASE_MSG="$VERSION" +fi + read -p "Releasing $VERSION $RELEASE_TAG - are you sure? (y/n) " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then echo "Releasing $VERSION ..." # Update version (don't commit or tag yet) - npm --no-git-tag-version version "$VERSION" --message "[release] $VERSION $RELEASE_TAG" + npm --no-git-tag-version version "$VERSION" # Build and test npm run build @@ -25,7 +33,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then # Commit all changes git add -A - git commit -m "[release] $VERSION $RELEASE_TAG" + git commit -m "[release] $RELEASE_MSG" # Tag and push git tag "v$VERSION" diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 654bda62..c7d8200f 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -2,7 +2,7 @@ ![logo](_media/icon.svg) -# docsify 5.0.0-rc.1 :id=docsify +# docsify 5.0.0-rc.2 :id=docsify > A magical documentation site generator diff --git a/package-lock.json b/package-lock.json index 0cf0c482..02771fc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "docsify", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "docsify", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index aae8bba9..cb6d0f81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docsify", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "description": "A magical documentation generator.", "homepage": "https://docsify.js.org", "repository": "github:docsifyjs/docsify", diff --git a/test/integration/__snapshots__/docs.test.js.snap b/test/integration/__snapshots__/docs.test.js.snap index e45872c1..80246342 100644 --- a/test/integration/__snapshots__/docs.test.js.snap +++ b/test/integration/__snapshots__/docs.test.js.snap @@ -1,11 +1,11 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Docs Site coverpage renders and is unchanged 1`] = ` "