From 73b257cd091c47e2e92dd748fcd409528fb8b969 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Wed, 22 Jul 2026 12:04:37 -0400 Subject: [PATCH 1/6] updated to do patch release --- .github/release.sh | 3 ++- .github/workflows/release.yml | 2 +- lerna.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/release.sh b/.github/release.sh index 506097c32a9..b5e6d1c5792 100755 --- a/.github/release.sh +++ b/.github/release.sh @@ -17,7 +17,8 @@ echo "Doing a release..." LOG=$(git log --format="%s" -1 | grep -Poe "#\d+") PR_NUM=${LOG:1} -yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt +#yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt +yarn run lerna publish patch --dist-tag=prerelease-patch --no-private --yes 2>&1 | tee lerna-output.txt # use lerna command below for dry run #yarn run lerna version prerelease --preid=prerelease --yes --no-git-tag-version --no-push | tee lerna-output.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66e9c84d2df..a62f0f6fada 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: branches: - - main + - 6.6.x concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/lerna.json b/lerna.json index c0c2c7cbe39..fd342d8359d 100644 --- a/lerna.json +++ b/lerna.json @@ -24,7 +24,7 @@ } }, "version": "independent", - "allowBranch": ["main", "v4", "5.0.x", "6.3.x", "v5"], + "allowBranch": ["main", "v4", "5.0.x", "6.3.x", "v5", "6.6.x"], "packages": ["packages/*", "packages/react-integration/demo-app-ts"], "$schema": "node_modules/lerna/schemas/lerna-schema.json" } From 1b31fca43dd19de9dcf9e1db4e9ed6186ba95f85 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Tue, 28 Jul 2026 14:06:29 -0400 Subject: [PATCH 2/6] fix: formatting by removing extra blank line Removed an extra blank line in the README file. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ad8857abff..87355ce9966 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![lerna](https://img.shields.io/badge/maintained%20with-lerna-green.svg?style=for-the-badge)](https://lernajs.io/) [![PatternFly npm badge](https://img.shields.io/npm/v/@patternfly/react-core.svg?label=PF%20Core&style=for-the-badge)](https://www.npmjs.com/package/@patternfly/react-core) - + This project provides a set of React components for the [PatternFly project](https://patternfly.org). **Community:** [PatternFly website](https://www.patternfly.org) | [Slack](https://slack.patternfly.org) | [Medium](https://medium.com/patternfly) | [Mailing list](https://www.redhat.com/mailman/listinfo/patternfly) From 1327f98008b5f52b5014442bcb0fa2333056a571 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Wed, 29 Jul 2026 09:27:48 -0400 Subject: [PATCH 3/6] chore(6.6.x): cherry-pick 6.6 patch checklist items (#12603) * chore: fix hero props table (#12562) * fix: update tree pattern expand icon direction (#12554) * fix(tree-view): update expand icon direction * fix: update dls tree and tree table icons, too * chore: bump to latest core * chore: fix yarn.lock * chore(deps): Bump docs framework (#12583) Andrew reports that the wrong Felt class is being added to the html tag. I bumped the docs framework to one that has the correct class. * fix(Popover): fixed focus trapped on hoverable trigger (#12591) * fix(Popover): fixed focus trapped on hoverable trigger * Added deprecation to hoverable --------- Co-authored-by: Michael Coker <35148959+mcoker@users.noreply.github.com> Co-authored-by: Rebecca Alpert Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com> --- .../DualListSelectorTreeItem.tsx | 4 ++-- .../react-core/src/components/Hero/Hero.tsx | 2 +- .../src/components/Popover/Popover.tsx | 8 +++++--- .../components/Popover/examples/Popover.md | 6 +++++- .../components/TreeView/TreeViewListItem.tsx | 4 ++-- .../TreeViewListItem.test.tsx.snap | 2 +- packages/react-docs/package.json | 2 +- .../Table/utils/decorators/treeRow.tsx | 4 ++-- yarn.lock | 20 +++++++++---------- 9 files changed, 29 insertions(+), 23 deletions(-) diff --git a/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx b/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx index 71c9f800d33..0478448e696 100644 --- a/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx +++ b/packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx @@ -3,7 +3,7 @@ import styles from '@patternfly/react-styles/css/components/DualListSelector/dua import { css } from '@patternfly/react-styles'; import { DualListSelectorTreeItemData } from './DualListSelectorTree'; import { Badge } from '../Badge'; -import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; +import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon'; import { flattenTree } from './treeUtils'; import { DualListSelectorListContext } from './DualListSelectorContext'; import { useHasAnimations } from '../../helpers'; @@ -136,7 +136,7 @@ const DualListSelectorTreeItemBase: React.FunctionComponent - + )} diff --git a/packages/react-core/src/components/Hero/Hero.tsx b/packages/react-core/src/components/Hero/Hero.tsx index 88946e29d47..f0cf81cbbf4 100644 --- a/packages/react-core/src/components/Hero/Hero.tsx +++ b/packages/react-core/src/components/Hero/Hero.tsx @@ -53,7 +53,7 @@ export const Hero: React.FunctionComponent = ({ bodyWidth, bodyMaxWidth, ...props -}) => { +}: HeroProps) => { const customStyles: { [key: string]: string } = {}; if (backgroundSrcLight) { customStyles[heroBackgroundImageLight.name] = `url(${backgroundSrcLight})`; diff --git a/packages/react-core/src/components/Popover/Popover.tsx b/packages/react-core/src/components/Popover/Popover.tsx index 9585a13bf7d..f43ac7f38b4 100644 --- a/packages/react-core/src/components/Popover/Popover.tsx +++ b/packages/react-core/src/components/Popover/Popover.tsx @@ -205,9 +205,11 @@ export interface PopoverProps { shouldOpen?: (event: MouseEvent | KeyboardEvent, showFunction?: () => void) => void; /** Flag indicating whether the close button should be shown. */ showClose?: boolean; - /** Sets an interaction to open popover, defaults to "click" */ + /** @deprecated Sets an interaction to open popover, defaults to "click" */ triggerAction?: 'click' | 'hover'; - /** Whether to trap focus in the popover. */ + /** Whether to trap focus in the popover. When using a triggerAction of "hover", this will be set to false + * by default and must remain false. + */ withFocusTrap?: boolean; /** The z-index of the popover. */ zIndex?: number; @@ -267,7 +269,7 @@ export const Popover: React.FunctionComponent = ({ ], animationDuration = 300, id, - withFocusTrap: propWithFocusTrap, + withFocusTrap: propWithFocusTrap = triggerAction === 'hover' ? false : undefined, triggerRef, hasNoPadding = false, hasAutoWidth = false, diff --git a/packages/react-core/src/components/Popover/examples/Popover.md b/packages/react-core/src/components/Popover/examples/Popover.md index 7755154fd84..a3017b4f971 100644 --- a/packages/react-core/src/components/Popover/examples/Popover.md +++ b/packages/react-core/src/components/Popover/examples/Popover.md @@ -25,7 +25,11 @@ By default, the `appendTo` prop of the popover will append to the document body ### Hoverable -```ts file="./PopoverHover.tsx" +Pass the `triggerAction="hover"` property to make a `` that is triggered via hover and focus rather than on click. When using a hoverable Popover, you **must not** include any interactive or semantic content (e.g. buttons, links, headings, lists, etc), as focus is not intended to enter a hoverable ``. Including such content may cause an inaccessible UI for users who are not able to reach the content when navigating via assistive tech. + +It is instead recommended to use our [tooltip component](/components/tooltip). + +```ts isDeprecated file="./PopoverHover.tsx" ``` diff --git a/packages/react-core/src/components/TreeView/TreeViewListItem.tsx b/packages/react-core/src/components/TreeView/TreeViewListItem.tsx index b2125e2763e..4ce5a4efeef 100644 --- a/packages/react-core/src/components/TreeView/TreeViewListItem.tsx +++ b/packages/react-core/src/components/TreeView/TreeViewListItem.tsx @@ -1,7 +1,7 @@ import { memo, useState, useEffect, Children, isValidElement, cloneElement } from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/TreeView/tree-view'; -import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; +import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon'; import { TreeViewDataItem } from './TreeView'; import { Badge } from '../Badge'; import { useSSRSafeId } from '../../helpers'; @@ -155,7 +155,7 @@ const TreeViewListItemBase: React.FunctionComponent = ({ tabIndex={-1} > - + ); diff --git a/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap b/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap index 018e0f12858..9844b00c562 100644 --- a/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap +++ b/packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap @@ -36,7 +36,7 @@ exports[`Matches snapshot with children 1`] = ` width="1em" > diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index efbe585f78d..3e21de2890e 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -37,7 +37,7 @@ "victory": "^37.3.6" }, "devDependencies": { - "@patternfly/documentation-framework": "^6.36.8", + "@patternfly/documentation-framework": "^6.40.0", "@patternfly/patternfly-a11y": "5.1.0" }, "keywords": [ diff --git a/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx b/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx index ada55534c74..c4269bb0c33 100644 --- a/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx +++ b/packages/react-table/src/components/Table/utils/decorators/treeRow.tsx @@ -4,7 +4,7 @@ import styles from '@patternfly/react-styles/css/components/Table/table'; import stylesTreeView from '@patternfly/react-styles/css/components/Table/table-tree-view'; import { Button } from '@patternfly/react-core/dist/esm/components/Button'; import { Checkbox } from '@patternfly/react-core/dist/esm/components/Checkbox'; -import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; +import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon'; import RhUiEllipsisHorizontalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-horizontal-fill-icon'; export const treeRow = @@ -54,7 +54,7 @@ export const treeRow = aria-label={toggleAriaLabel || `${isExpanded ? 'Collapse' : 'Expand'} row ${rowIndex}`} icon={
- +
} /> diff --git a/yarn.lock b/yarn.lock index 88a84b0b3ce..cae48017c82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4963,9 +4963,9 @@ __metadata: languageName: node linkType: hard -"@patternfly/documentation-framework@npm:^6.36.8": - version: 6.36.8 - resolution: "@patternfly/documentation-framework@npm:6.36.8" +"@patternfly/documentation-framework@npm:^6.40.0": + version: 6.49.2 + resolution: "@patternfly/documentation-framework@npm:6.49.2" dependencies: "@babel/core": "npm:^7.29.0" "@babel/preset-env": "npm:7.29.0" @@ -5026,16 +5026,16 @@ __metadata: webpack-dev-server: "npm:5.2.3" webpack-merge: "npm:5.10.0" peerDependencies: - "@patternfly/patternfly": ^6.5.0-prerelease.46 - "@patternfly/react-code-editor": ^6.5.0-prerelease.39 - "@patternfly/react-core": ^6.5.0-prerelease.36 - "@patternfly/react-icons": ^6.5.0-prerelease.15 - "@patternfly/react-table": ^6.5.0-prerelease.37 + "@patternfly/patternfly": ^6.6.0 + "@patternfly/react-code-editor": ^6.6.0 + "@patternfly/react-core": ^6.6.0 + "@patternfly/react-icons": ^6.6.0 + "@patternfly/react-table": ^6.6.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 bin: pf-docs-framework: scripts/cli/cli.js - checksum: 10c0/bf29256be06e32e130d6146a8d5cc9744e0b88463b69f9c2ef6bae98f0ffee15901760fb69c3737d7fdcf2d612511d034c7661568c92187ead143fe772f8d561 + checksum: 10c0/1d80d9d6078237d17b71deeb4ffa4b7ad6ed43c0d424c6044de4420d5ef8267eb913e281fc97ffa9fe6d6e70b0462557c22fdf50ecca9df555163eb48ab40ff5 languageName: node linkType: hard @@ -5191,7 +5191,7 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-docs@workspace:packages/react-docs" dependencies: - "@patternfly/documentation-framework": "npm:^6.36.8" + "@patternfly/documentation-framework": "npm:^6.40.0" "@patternfly/patternfly": "npm:^6.6.0" "@patternfly/patternfly-a11y": "npm:5.1.0" "@patternfly/react-charts": "workspace:^" From 222f0e64f33f138f9c08aea46ac21b2ab9faa432 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Mon, 3 Aug 2026 09:46:09 -0400 Subject: [PATCH 4/6] chore(deps): bump @patternfly/patternfly to 6.6.1 (#12604) Cherry-pick of the core bump from #12602 onto 6.6.x. Co-authored-by: Cursor --- packages/react-core/package.json | 2 +- packages/react-docs/package.json | 2 +- packages/react-icons/package.json | 2 +- packages/react-styles/package.json | 2 +- packages/react-tokens/package.json | 2 +- yarn.lock | 18 +++++++++--------- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 753ce88a5fa..799501fb55c 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -54,7 +54,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "case-anything": "^3.1.2", "css": "^3.0.0", "fs-extra": "^11.3.3" diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index 3e21de2890e..b091afa28a5 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -23,7 +23,7 @@ "test:a11y": "patternfly-a11y --config patternfly-a11y.config" }, "dependencies": { - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "@patternfly/react-charts": "workspace:^", "@patternfly/react-code-editor": "workspace:^", "@patternfly/react-core": "workspace:^", diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 5f6a32221db..11527f8bf09 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -38,7 +38,7 @@ "@fortawesome/free-brands-svg-icons": "^5.15.4", "@fortawesome/free-regular-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4", - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "@rhds/icons": "^2.2.0", "fs-extra": "^11.3.3" }, diff --git a/packages/react-styles/package.json b/packages/react-styles/package.json index aede2e96101..d430037b810 100644 --- a/packages/react-styles/package.json +++ b/packages/react-styles/package.json @@ -19,7 +19,7 @@ "clean": "rimraf dist css" }, "devDependencies": { - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "change-case": "^5.4.4", "fs-extra": "^11.3.3" }, diff --git a/packages/react-tokens/package.json b/packages/react-tokens/package.json index 0526d6ce91b..1365242da46 100644 --- a/packages/react-tokens/package.json +++ b/packages/react-tokens/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@adobe/css-tools": "^4.4.4", - "@patternfly/patternfly": "^6.6.0", + "@patternfly/patternfly": "6.6.1", "fs-extra": "^11.3.3" } } diff --git a/yarn.lock b/yarn.lock index cae48017c82..e007a438139 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5070,10 +5070,10 @@ __metadata: languageName: node linkType: hard -"@patternfly/patternfly@npm:^6.6.0": - version: 6.6.0 - resolution: "@patternfly/patternfly@npm:6.6.0" - checksum: 10c0/c7246baf490174e2fa04a3645452e1481a6fe37ab9bde1c7e9bad8326c398473d2fa707f015ca3b4226bf943b1e2855c15943bd95d1c3110d61ba44bbea368ee +"@patternfly/patternfly@npm:6.6.1": + version: 6.6.1 + resolution: "@patternfly/patternfly@npm:6.6.1" + checksum: 10c0/ff05fe2a75dde489e2b8643d4bcd59f9a23d20710c16178721718c77551b75a43aad43da43481f52ef9452c7b46fa6b9dbf15e620d476e70955727982412b053 languageName: node linkType: hard @@ -5171,7 +5171,7 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-core@workspace:packages/react-core" dependencies: - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" "@patternfly/react-icons": "workspace:^" "@patternfly/react-styles": "workspace:^" "@patternfly/react-tokens": "workspace:^" @@ -5192,7 +5192,7 @@ __metadata: resolution: "@patternfly/react-docs@workspace:packages/react-docs" dependencies: "@patternfly/documentation-framework": "npm:^6.40.0" - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" "@patternfly/patternfly-a11y": "npm:5.1.0" "@patternfly/react-charts": "workspace:^" "@patternfly/react-code-editor": "workspace:^" @@ -5232,7 +5232,7 @@ __metadata: "@fortawesome/free-brands-svg-icons": "npm:^5.15.4" "@fortawesome/free-regular-svg-icons": "npm:^5.15.4" "@fortawesome/free-solid-svg-icons": "npm:^5.15.4" - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" "@rhds/icons": "npm:^2.2.0" fs-extra: "npm:^11.3.3" tslib: "npm:^2.8.1" @@ -5319,7 +5319,7 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-styles@workspace:packages/react-styles" dependencies: - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" change-case: "npm:^5.4.4" fs-extra: "npm:^11.3.3" languageName: unknown @@ -5361,7 +5361,7 @@ __metadata: resolution: "@patternfly/react-tokens@workspace:packages/react-tokens" dependencies: "@adobe/css-tools": "npm:^4.4.4" - "@patternfly/patternfly": "npm:^6.6.0" + "@patternfly/patternfly": "npm:6.6.1" fs-extra: "npm:^11.3.3" languageName: unknown linkType: soft From a9477a0faacc1cd89ac4e65cec6b8b806c7ba2b3 Mon Sep 17 00:00:00 2001 From: patternfly-build Date: Mon, 3 Aug 2026 14:16:42 +0000 Subject: [PATCH 5/6] chore(release): releasing packages [ci skip] - @patternfly/react-charts@8.6.1 - @patternfly/react-code-editor@6.6.1 - @patternfly/react-core@6.6.1 - @patternfly/react-docs@7.6.1 - @patternfly/react-drag-drop@6.6.1 - @patternfly/react-icons@6.6.1 - @patternfly/react-styles@6.6.1 - @patternfly/react-table@6.6.1 - @patternfly/react-templates@6.6.1 - @patternfly/react-tokens@6.6.1 --- packages/react-charts/CHANGELOG.md | 4 ++++ packages/react-charts/package.json | 2 +- packages/react-code-editor/CHANGELOG.md | 4 ++++ packages/react-code-editor/package.json | 2 +- packages/react-core/CHANGELOG.md | 4 ++++ packages/react-core/package.json | 2 +- packages/react-docs/CHANGELOG.md | 4 ++++ packages/react-docs/package.json | 2 +- packages/react-drag-drop/CHANGELOG.md | 4 ++++ packages/react-drag-drop/package.json | 2 +- packages/react-icons/CHANGELOG.md | 4 ++++ packages/react-icons/package.json | 2 +- packages/react-styles/CHANGELOG.md | 4 ++++ packages/react-styles/package.json | 2 +- packages/react-table/CHANGELOG.md | 4 ++++ packages/react-table/package.json | 2 +- packages/react-templates/CHANGELOG.md | 4 ++++ packages/react-templates/package.json | 2 +- packages/react-tokens/CHANGELOG.md | 4 ++++ packages/react-tokens/package.json | 2 +- 20 files changed, 50 insertions(+), 10 deletions(-) diff --git a/packages/react-charts/CHANGELOG.md b/packages/react-charts/CHANGELOG.md index a4ea24f2477..89f1980dfc9 100644 --- a/packages/react-charts/CHANGELOG.md +++ b/packages/react-charts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-charts@8.6.0...@patternfly/react-charts@8.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-charts + # [8.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-charts@8.6.0-prerelease.4...@patternfly/react-charts@8.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-charts diff --git a/packages/react-charts/package.json b/packages/react-charts/package.json index 30d4296c990..cb08906078d 100644 --- a/packages/react-charts/package.json +++ b/packages/react-charts/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-charts", - "version": "8.6.0", + "version": "8.6.1", "description": "This library provides a set of React chart components for use with the PatternFly reference implementation.", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-code-editor/CHANGELOG.md b/packages/react-code-editor/CHANGELOG.md index fc5683c63ed..d4d83f0245b 100644 --- a/packages/react-code-editor/CHANGELOG.md +++ b/packages/react-code-editor/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.6.0...@patternfly/react-code-editor@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-code-editor + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.6.0-prerelease.10...@patternfly/react-code-editor@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-code-editor diff --git a/packages/react-code-editor/package.json b/packages/react-code-editor/package.json index 7b802388c3f..4c1d5c91792 100644 --- a/packages/react-code-editor/package.json +++ b/packages/react-code-editor/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-code-editor", - "version": "6.6.0", + "version": "6.6.1", "description": "This package provides a PatternFly wrapper for the Monaco code editor\n", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-core/CHANGELOG.md b/packages/react-core/CHANGELOG.md index ea55549b498..25289c17354 100644 --- a/packages/react-core/CHANGELOG.md +++ b/packages/react-core/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@6.6.0...@patternfly/react-core@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-core + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@6.6.0-prerelease.9...@patternfly/react-core@6.6.0) (2026-07-01) ### Bug Fixes diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 799501fb55c..a1c716ba003 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-core", - "version": "6.6.0", + "version": "6.6.1", "description": "This library provides a set of common React components for use with the PatternFly reference implementation.", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-docs/CHANGELOG.md b/packages/react-docs/CHANGELOG.md index fbb4e936844..41cbce1edb6 100644 --- a/packages/react-docs/CHANGELOG.md +++ b/packages/react-docs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.6.0...@patternfly/react-docs@7.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-docs + # [7.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-docs@7.6.0-prerelease.10...@patternfly/react-docs@7.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-docs diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index b091afa28a5..236db906a44 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -1,7 +1,7 @@ { "name": "@patternfly/react-docs", "description": "PatternFly React Docs", - "version": "7.6.0", + "version": "7.6.1", "publishConfig": { "access": "public", "tag": "prerelease" diff --git a/packages/react-drag-drop/CHANGELOG.md b/packages/react-drag-drop/CHANGELOG.md index 6918875494a..fbc81a5d7bd 100644 --- a/packages/react-drag-drop/CHANGELOG.md +++ b/packages/react-drag-drop/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-drag-drop@6.6.0...@patternfly/react-drag-drop@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-drag-drop + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-drag-drop@6.6.0-prerelease.9...@patternfly/react-drag-drop@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-drag-drop diff --git a/packages/react-drag-drop/package.json b/packages/react-drag-drop/package.json index 222134ef67c..9cbefca2ff8 100644 --- a/packages/react-drag-drop/package.json +++ b/packages/react-drag-drop/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-drag-drop", - "version": "6.6.0", + "version": "6.6.1", "description": "PatternFly drag and drop solution", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-icons/CHANGELOG.md b/packages/react-icons/CHANGELOG.md index abb6e01fd0c..87a0c3840f7 100644 --- a/packages/react-icons/CHANGELOG.md +++ b/packages/react-icons/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@6.6.0...@patternfly/react-icons@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-icons + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@6.6.0-prerelease.4...@patternfly/react-icons@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-icons diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 11527f8bf09..322b2265e8b 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-icons", - "version": "6.6.0", + "version": "6.6.1", "description": "PatternFly 4 Icons as React Components", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-styles/CHANGELOG.md b/packages/react-styles/CHANGELOG.md index c1f4c29c913..3dd6a376e74 100644 --- a/packages/react-styles/CHANGELOG.md +++ b/packages/react-styles/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.6.0...@patternfly/react-styles@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-styles + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@6.6.0-prerelease.4...@patternfly/react-styles@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-styles diff --git a/packages/react-styles/package.json b/packages/react-styles/package.json index d430037b810..ac80b0ce430 100644 --- a/packages/react-styles/package.json +++ b/packages/react-styles/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-styles", - "version": "6.6.0", + "version": "6.6.1", "main": "dist/js/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", diff --git a/packages/react-table/CHANGELOG.md b/packages/react-table/CHANGELOG.md index b704381c3ac..816933fbd0d 100644 --- a/packages/react-table/CHANGELOG.md +++ b/packages/react-table/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@6.6.0...@patternfly/react-table@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-table + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@6.6.0-prerelease.9...@patternfly/react-table@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-table diff --git a/packages/react-table/package.json b/packages/react-table/package.json index 86e1df6d94d..f04ea3325dd 100644 --- a/packages/react-table/package.json +++ b/packages/react-table/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-table", - "version": "6.6.0", + "version": "6.6.1", "description": "This library provides a set of React table components for use with the PatternFly 4", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-templates/CHANGELOG.md b/packages/react-templates/CHANGELOG.md index 5812f0743cc..054fa239f6b 100644 --- a/packages/react-templates/CHANGELOG.md +++ b/packages/react-templates/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-templates@6.6.0...@patternfly/react-templates@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-templates + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-templates@6.6.0-prerelease.9...@patternfly/react-templates@6.6.0) (2026-07-01) ### Bug Fixes diff --git a/packages/react-templates/package.json b/packages/react-templates/package.json index f4e931dbd12..f0590b9ada9 100644 --- a/packages/react-templates/package.json +++ b/packages/react-templates/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-templates", - "version": "6.6.0", + "version": "6.6.1", "description": "This package provides wrapped component demos for ease of use\n", "main": "dist/js/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-tokens/CHANGELOG.md b/packages/react-tokens/CHANGELOG.md index 18acf5b6e9f..b01e1e62fcb 100644 --- a/packages/react-tokens/CHANGELOG.md +++ b/packages/react-tokens/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.6.1](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-tokens@6.6.0...@patternfly/react-tokens@6.6.1) (2026-08-03) + +**Note:** Version bump only for package @patternfly/react-tokens + # [6.6.0](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-tokens@6.6.0-prerelease.4...@patternfly/react-tokens@6.6.0) (2026-07-01) **Note:** Version bump only for package @patternfly/react-tokens diff --git a/packages/react-tokens/package.json b/packages/react-tokens/package.json index 1365242da46..51aa5f0ca57 100644 --- a/packages/react-tokens/package.json +++ b/packages/react-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-tokens", - "version": "6.6.0", + "version": "6.6.1", "description": "This library provides access to the design tokens of PatternFly 4 from JavaScript", "main": "dist/js/index.js", "module": "dist/esm/index.js", From 227182ef725de94ffc80fd5141cf10bccd8f539f Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Fri, 14 Aug 2026 15:15:44 -0400 Subject: [PATCH 6/6] fix(CI): split documentation workflow to avoid pull_request_target checkout block GitHub's actions/checkout@v4 now refuses to check out fork PR code from a pull_request_target workflow. Split the documentation workflow so PRs use the pull_request event (build + artifact upload) and a new workflow_run-triggered workflow handles the Surge deployment with secrets. Closes #12601 Co-Authored-By: Claude Opus 4.6 --- .github/workflows/documentation-deploy.yml | 55 ++++++++++++++++++++++ .github/workflows/documentation.yml | 43 +++++++++++++---- 2 files changed, 89 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/documentation-deploy.yml diff --git a/.github/workflows/documentation-deploy.yml b/.github/workflows/documentation-deploy.yml new file mode 100644 index 00000000000..9238f485b91 --- /dev/null +++ b/.github/workflows/documentation-deploy.yml @@ -0,0 +1,55 @@ +name: Documentation deploy +on: + workflow_run: + workflows: [Documentation] + types: [completed] +jobs: + deploy: + name: Deploy + runs-on: ubuntu-latest + if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion != 'cancelled' + env: + SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} + SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} + GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }} + steps: + - name: Check out project + uses: actions/checkout@v4 + + - name: Set up project + uses: ./.github/actions/setup-project + with: + skip-build: true + + - name: Download PR number + uses: actions/download-artifact@v4 + with: + name: pr-number + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Set PR number + run: echo "GH_PR_NUM=$(cat pr-number.txt)" >> $GITHUB_ENV + + - name: Download documentation + uses: actions/download-artifact@v4 + with: + name: documentation + path: packages/react-docs/public + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Download a11y coverage + uses: actions/download-artifact@v4 + with: + name: a11y-coverage + path: packages/react-docs/coverage + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload documentation + run: node .github/upload-preview.mjs packages/react-docs/public + + - name: Upload accessibility results + if: always() + run: node .github/upload-preview.mjs packages/react-docs/coverage diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 279a8cd7f46..994e76d77d0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,6 +1,6 @@ name: Documentation on: - pull_request_target: + pull_request: issue_comment: types: [created] workflow_call: @@ -13,6 +13,7 @@ on: required: true jobs: check-permissions: + if: github.event_name == 'issue_comment' uses: patternfly/.github/.github/workflows/check-team-membership.yml@fdb52a63a2220ec8a3b6c2d43f312cda708ffa06 secrets: inherit @@ -23,7 +24,7 @@ jobs: if: >- always() && !cancelled() && - (github.event_name == 'workflow_call' || needs.check-permissions.outputs.allowed == 'true') + (github.event_name != 'issue_comment' || needs.check-permissions.outputs.allowed == 'true') env: SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} @@ -31,29 +32,53 @@ jobs: GH_PR_NUM: ${{ needs.check-permissions.outputs.pr-number }} steps: - name: Check out project from PR branch - if: github.event_name == 'pull_request_target' || github.event_name == 'issue_comment' + if: github.event_name == 'issue_comment' uses: actions/checkout@v4 with: - # Checkout the merge commit so that we can access the PR's changes. - # This is nessesary because `pull_request_target` checks out the base branch (e.g. `main`) by default. ref: refs/pull/${{ env.GH_PR_NUM }}/head - name: Check out project - if: github.event_name == 'workflow_call' + if: github.event_name != 'issue_comment' uses: actions/checkout@v4 + - name: Set up and build project uses: ./.github/actions/setup-project - name: Build documentation run: yarn build:docs - - name: Upload documentation - if: always() + - name: Upload documentation preview + if: always() && !cancelled() && github.event_name != 'pull_request' run: node .github/upload-preview.mjs packages/react-docs/public - name: Run accessibility tests run: yarn serve:docs & yarn test:a11y - name: Upload accessibility results - if: always() + if: always() && !cancelled() && github.event_name != 'pull_request' run: node .github/upload-preview.mjs packages/react-docs/coverage + + - name: Upload docs artifact + if: always() && !cancelled() && github.event_name == 'pull_request' + uses: actions/upload-artifact@v4 + with: + name: documentation + path: packages/react-docs/public + + - name: Upload a11y artifact + if: always() && !cancelled() && github.event_name == 'pull_request' + uses: actions/upload-artifact@v4 + with: + name: a11y-coverage + path: packages/react-docs/coverage + + - name: Save PR number + if: always() && !cancelled() && github.event_name == 'pull_request' + run: echo "${{ github.event.pull_request.number }}" > pr-number.txt + + - name: Upload PR number + if: always() && !cancelled() && github.event_name == 'pull_request' + uses: actions/upload-artifact@v4 + with: + name: pr-number + path: pr-number.txt