diff --git a/.github/workflows/auto-labeling.yml b/.github/workflows/auto-labeling.yml index 46ff3f44d9c..3f9e702f0e5 100644 --- a/.github/workflows/auto-labeling.yml +++ b/.github/workflows/auto-labeling.yml @@ -20,7 +20,8 @@ jobs: runs-on: ubuntu-latest if: | - !contains(github.event.pull_request.labels.*.name, 'flag/exclude-from-changelog') + (!contains( github.event.pull_request.labels.*.name, 'flag/exclude-from-changelog' ) + && !startsWith( github.head_ref, 'changeset-release/' )) steps: - uses: release-drafter/release-drafter@v5 @@ -33,8 +34,9 @@ jobs: runs-on: ubuntu-latest if: | - (!contains( github.event.pull_request.labels.*.name, 'flag/exclude-from-changelog' ) && - !startsWith( github.head_ref, 'dependabot/' )) + (!contains( github.event.pull_request.labels.*.name, 'flag/exclude-from-changelog' ) + && !startsWith( github.head_ref, 'changeset-release/' ) + && !startsWith( github.head_ref, 'dependabot/' )) steps: - uses: amannn/action-semantic-pull-request@v5 diff --git a/.github/workflows/ci-app.yml b/.github/workflows/ci-app.yml index 851793d14b2..b9c48e50eed 100644 --- a/.github/workflows/ci-app.yml +++ b/.github/workflows/ci-app.yml @@ -5,6 +5,7 @@ on: branches-ignore: - release/** - rc/** + - changeset-release/** paths: - .github/workflows/ci-app.yml - .eslint* diff --git a/CHANGELOG.md b/CHANGELOG.md index d9d7aecc3a3..7619e947e21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,31 @@ # Changelog -## [Unreleased](https://github.com/weseek/growi/compare/v7.0.15...HEAD) +## [Unreleased](https://github.com/weseek/growi/compare/v7.0.16...HEAD) *Please do not manually update this file. We've automated the process.* +## [v7.0.16](https://github.com/weseek/growi/compare/v7.0.15...v7.0.16) - 2024-07-31 + +### 💎 Features + +* feat: Automatically repair corrupted data, at least for the latest revision (#9002) @yuki-takei + +### 🚀 Improvement + +* imprv: User group link in admin page (#8855) @kazutoweseek +* imprv: Sidebar header text size (#8986) @satof3 +* imprv: Replace possition usericon (#8991) @satof3 + +### 🐛 Bug Fixes + +* fix: Undo in the comment editor (#9005) @yuki-takei +* fix: Some OIDC authentication settings not being applied (#9000) @WNomunomu +* fix: font-family for monospace (#9004) @yuki-takei +* fix: Pointer cursor for the create button in the installer (#9003) @yuki-takei +* fix: Migration script (20211227060705-revision-path-to-page-id-schema-migration--fixed-7549.js) (#8998) @miya +* fix: Non-admin user gets 500 error when opening history modal (#9001) @miya +* fix: Enable page creation under GRANT_RESTRICTED pages (#8996) @arafubeatbox + ## [v7.0.15](https://github.com/weseek/growi/compare/v7.0.14...v7.0.15) - 2024-07-23 ### 🐛 Bug Fixes diff --git a/apps/app/docker/README.md b/apps/app/docker/README.md index 4668373bade..bbd51ab692c 100644 --- a/apps/app/docker/README.md +++ b/apps/app/docker/README.md @@ -10,7 +10,7 @@ GROWI Official docker image Supported tags and respective Dockerfile links ------------------------------------------------ -* [`7.0.15`, `7.0`, `7`, `latest` (Dockerfile)](https://github.com/weseek/growi/blob/v7.0.15/apps/app/docker/Dockerfile) +* [`7.0.16`, `7.0`, `7`, `latest` (Dockerfile)](https://github.com/weseek/growi/blob/v7.0.16/apps/app/docker/Dockerfile) * [`6.3.2`, `6.3`, `6` (Dockerfile)](https://github.com/weseek/growi/blob/v6.3.2/apps/app/docker/Dockerfile) * [`6.2.4`, `6.2` (Dockerfile)](https://github.com/weseek/growi/blob/v6.2.4/apps/app/docker/Dockerfile) * [`6.1.15`, `6.1` (Dockerfile)](https://github.com/weseek/growi/blob/v6.1.15/apps/app/docker/Dockerfile) diff --git a/apps/app/package.json b/apps/app/package.json index 781f4170a07..cb9e73a8a30 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -1,6 +1,6 @@ { "name": "@growi/app", - "version": "7.0.16-RC.0", + "version": "7.0.17-RC.0", "license": "MIT", "private": "true", "scripts": { @@ -44,7 +44,8 @@ "vitest:run:components": "vitest run -c vitest.config.components.ts src --coverage", "previtest:run:integ": "vitest run -c test-with-vite/download-mongo-binary/vitest.config.ts test-with-vite/download-mongo-binary", "//// misc": "", - "console": "yarn cross-env NODE_ENV=development yarn ts-node --experimental-repl-await src/server/console.js", + "console": "yarn repl", + "repl": "yarn cross-env NODE_ENV=development yarn ts-node src/server/repl.ts", "swagger-jsdoc": "swagger-jsdoc -o tmp/swagger.json -d config/swagger-definition.js", "openapi:v3": "yarn cross-env API_VERSION=3 yarn swagger-jsdoc -- \"src/server/routes/apiv3/**/*.js\" \"src/server/models/**/*.js\"", "openapi:v1": "yarn cross-env API_VERSION=1 yarn swagger-jsdoc -- \"src/server/*/*.js\" \"src/server/models/**/*.js\"", diff --git a/apps/app/src/client/components/Admin/UserGroup/UserGroupDeleteModal.tsx b/apps/app/src/client/components/Admin/UserGroup/UserGroupDeleteModal.tsx index 3cf95858b47..c05254ebd6f 100644 --- a/apps/app/src/client/components/Admin/UserGroup/UserGroupDeleteModal.tsx +++ b/apps/app/src/client/components/Admin/UserGroup/UserGroupDeleteModal.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react'; import React, { useCallback, useState, useMemo } from 'react'; import { - getIdForRef, isPopulated, type IGrantedGroup, type IUserGroupHasId, + getIdStringForRef, isPopulated, type IGrantedGroup, type IUserGroupHasId, } from '@growi/core'; import { useTranslation } from 'next-i18next'; import { @@ -90,8 +90,8 @@ export const UserGroupDeleteModal: FC = (props: Props) => { }, [setActionName]); const handleGroupChange = useCallback((e) => { - const transferToUserGroupId = e.target.value; - const selectedGroup = userGroups.find(group => getIdForRef(group.item) === transferToUserGroupId) ?? null; + const transferToUserGroupId: string = e.target.value; + const selectedGroup = userGroups.find(group => getIdStringForRef(group.item) === transferToUserGroupId) ?? null; setTransferToUserGroup(selectedGroup); }, [userGroups]); @@ -136,11 +136,11 @@ export const UserGroupDeleteModal: FC = (props: Props) => { } const groups = userGroups.filter((group) => { - return getIdForRef(group.item) !== deleteUserGroup._id; + return getIdStringForRef(group.item) !== deleteUserGroup._id; }); const options = groups.map((group) => { - const groupId = getIdForRef(group.item); + const groupId = getIdStringForRef(group.item); const groupName = isPopulated(group.item) ? group.item.name : null; return { id: groupId, name: groupName }; }).filter(obj => obj.name != null) @@ -153,7 +153,7 @@ export const UserGroupDeleteModal: FC = (props: Props) => {