Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Prerelease 7.1.0-alpha.37 #23117

Merged
merged 22 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
349f8c9
fix: nextjs next/navigation#useParams returns null
gitstart-storybook Jun 7, 2023
4aba214
Merge branch 'next' into fix/next-useParams-null
gitstart-storybook Jun 13, 2023
2099e32
label prerelease PRs, fix typo in patch release
JReinhold Jun 15, 2023
52c70dc
ignore new release titles
JReinhold Jun 15, 2023
444d6ba
change name for Prerelease PRs
JReinhold Jun 15, 2023
19b3201
simplify string formatting
JReinhold Jun 15, 2023
92885b3
Merge pull request #23099 from storybookjs/fix-release-workflow
JReinhold Jun 15, 2023
a3ed51d
Update viewport.md
smeagol74 Jun 16, 2023
26faec4
prebundle node-logger
ndelangen Jun 16, 2023
0a53e58
try to bust the bad nx remote cache
ndelangen Jun 16, 2023
4811425
Merge pull request #23104 from smeagol74/patch-1
kylegach Jun 16, 2023
d8e70e7
Merge branch 'next' into norbert/fix-prebundle-node-logger
ndelangen Jun 16, 2023
8cde3f3
bust the NX cache
ndelangen Jun 16, 2023
93d7993
Merge pull request #23109 from storybookjs/norbert/fix-prebundle-node…
ndelangen Jun 17, 2023
8c1e59e
NextJS: fix not loading fonts has 3 (or more) words name
ygkn Jun 18, 2023
0d7c3a8
Merge pull request #23121 from ygkn/next-font-fix-not-loading-fonts-h…
valentinpalkovic Jun 19, 2023
9d3b6f6
Merge branch 'next' into fix/next-useParams-null
valentinpalkovic Jun 19, 2023
8052a90
chore: update documentation
gitstart-storybook Jun 19, 2023
b2fb6c9
Merge pull request #22946 from storybookjs/fix/next-useParams-null
valentinpalkovic Jun 19, 2023
851d528
Do not wrap data on channel in an array
ndelangen Jun 19, 2023
63e9c52
Merge pull request #23139 from storybookjs/norbert/fix-23090
ndelangen Jun 19, 2023
dd869c2
Bump version from 7.1.0-alpha.36 to 7.1.0-alpha.37
github-actions[bot] Jun 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ jobs:
gh pr create \
--repo "${{github.repository }}" \
--title "Release: Patch ${{ steps.versions.outputs.next }}" \
--label "maintenance" \
--base latest-release \
--label "maintenance"
--head version-patch-from-${{ steps.versions.outputs.current }} \
--body "${{ steps.description.outputs.description }}"
fi
Expand All @@ -164,8 +164,8 @@ jobs:
gh pr create \
--repo "${{github.repository }}"\
--title "Release: Merge patches to \`main\` (without version bump)" \
--base latest-release \
--label "build" \
--base latest-release \
--head version-patch-from-${{ steps.versions.outputs.current }} \
--body "${{ steps.description.outputs.description }}"
fi
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/prepare-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,18 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
RELEASE_TYPE=${{ inputs.release-type || 'prerelease' }}
CAPITALIZED_RELEASE_TYPE=${RELEASE_TYPE^}
if PR_STATE=$(gh pr view --json state --jq .state 2>/dev/null) && [[ -n "$PR_STATE" && "$PR_STATE" == *"OPEN"* ]]; then
gh pr edit \
--repo "${{github.repository }}" \
--title "Bump version on \`next\`: ${{ inputs.release-type || 'prerelease' }} ${{ inputs.pre-id && format('({0})', inputs.pre-id) }} from ${{ steps.bump-version.outputs.current-version }} to ${{ steps.bump-version.outputs.next-version }}" \
--title "Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \
--body "${{ steps.description.outputs.description }}"
else
gh pr create \
--repo "${{github.repository }}"\
--title "Bump version on \`next\`: ${{ inputs.release-type || 'prerelease' }} ${{ inputs.pre-id && format('({0})', inputs.pre-id) }} from ${{ steps.bump-version.outputs.current-version }} to ${{ steps.bump-version.outputs.next-version }}" \
--title "Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \
--label "maintenance" \
--base next-release \
--head version-prerelease-from-${{ steps.bump-version.outputs.current-version }} \
--body "${{ steps.description.outputs.description }}"
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 7.1.0-alpha.37

- Ecosystem: Prebundle node-logger and make it CJS only - [#23109](https://github.com/storybookjs/storybook/pull/23109), thanks [@ndelangen](https://github.com/ndelangen)!
- NextJS: Fix `useParams` support - [#22946](https://github.com/storybookjs/storybook/pull/22946), thanks [@gitstart-storybook](https://github.com/gitstart-storybook)!
- NextJS: Fix fonts not loading with 3+ words in name - [#23121](https://github.com/storybookjs/storybook/pull/23121), thanks [@ygkn](https://github.com/ygkn)!
- Webpack: Fix channel format for loading status - [#23139](https://github.com/storybookjs/storybook/pull/23139), thanks [@ndelangen](https://github.com/ndelangen)!

## 7.1.0-alpha.36

- CLI: Fix "Invalid version null" issues by improved version detection - [#22642](https://github.com/storybookjs/storybook/pull/22642), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
Expand Down
22 changes: 11 additions & 11 deletions code/addons/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
Expand Down Expand Up @@ -63,16 +63,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "7.1.0-alpha.36",
"@storybook/channels": "7.1.0-alpha.36",
"@storybook/client-logger": "7.1.0-alpha.36",
"@storybook/components": "7.1.0-alpha.36",
"@storybook/core-events": "7.1.0-alpha.36",
"@storybook/addon-highlight": "7.1.0-alpha.37",
"@storybook/channels": "7.1.0-alpha.37",
"@storybook/client-logger": "7.1.0-alpha.37",
"@storybook/components": "7.1.0-alpha.37",
"@storybook/core-events": "7.1.0-alpha.37",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.1.0-alpha.36",
"@storybook/preview-api": "7.1.0-alpha.36",
"@storybook/theming": "7.1.0-alpha.36",
"@storybook/types": "7.1.0-alpha.36",
"@storybook/manager-api": "7.1.0-alpha.37",
"@storybook/preview-api": "7.1.0-alpha.37",
"@storybook/theming": "7.1.0-alpha.37",
"@storybook/types": "7.1.0-alpha.37",
"axe-core": "^4.2.0",
"lodash": "^4.17.21",
"react-resize-detector": "^7.1.2"
Expand Down Expand Up @@ -104,7 +104,7 @@
"./src/preview.tsx"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
"storybook": {
"displayName": "Accessibility",
"icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png",
Expand Down
18 changes: 9 additions & 9 deletions code/addons/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
Expand Down Expand Up @@ -80,14 +80,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.1.0-alpha.36",
"@storybook/components": "7.1.0-alpha.36",
"@storybook/core-events": "7.1.0-alpha.36",
"@storybook/client-logger": "7.1.0-alpha.37",
"@storybook/components": "7.1.0-alpha.37",
"@storybook/core-events": "7.1.0-alpha.37",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.1.0-alpha.36",
"@storybook/preview-api": "7.1.0-alpha.36",
"@storybook/theming": "7.1.0-alpha.36",
"@storybook/types": "7.1.0-alpha.36",
"@storybook/manager-api": "7.1.0-alpha.37",
"@storybook/preview-api": "7.1.0-alpha.37",
"@storybook/theming": "7.1.0-alpha.37",
"@storybook/types": "7.1.0-alpha.37",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"polished": "^4.2.2",
Expand Down Expand Up @@ -125,7 +125,7 @@
"./src/preview.ts"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
"storybook": {
"displayName": "Actions",
"unsupportedFrameworks": [
Expand Down
18 changes: 9 additions & 9 deletions code/addons/backgrounds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
Expand Down Expand Up @@ -76,14 +76,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.1.0-alpha.36",
"@storybook/components": "7.1.0-alpha.36",
"@storybook/core-events": "7.1.0-alpha.36",
"@storybook/client-logger": "7.1.0-alpha.37",
"@storybook/components": "7.1.0-alpha.37",
"@storybook/core-events": "7.1.0-alpha.37",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.1.0-alpha.36",
"@storybook/preview-api": "7.1.0-alpha.36",
"@storybook/theming": "7.1.0-alpha.36",
"@storybook/types": "7.1.0-alpha.36",
"@storybook/manager-api": "7.1.0-alpha.37",
"@storybook/preview-api": "7.1.0-alpha.37",
"@storybook/theming": "7.1.0-alpha.37",
"@storybook/types": "7.1.0-alpha.37",
"memoizerific": "^1.11.3",
"ts-dedent": "^2.0.0"
},
Expand Down Expand Up @@ -112,7 +112,7 @@
"./src/preview.tsx"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
"storybook": {
"displayName": "Backgrounds",
"icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png",
Expand Down
22 changes: 11 additions & 11 deletions code/addons/controls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
Expand Down Expand Up @@ -68,15 +68,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/blocks": "7.1.0-alpha.36",
"@storybook/client-logger": "7.1.0-alpha.36",
"@storybook/components": "7.1.0-alpha.36",
"@storybook/core-common": "7.1.0-alpha.36",
"@storybook/manager-api": "7.1.0-alpha.36",
"@storybook/node-logger": "7.1.0-alpha.36",
"@storybook/preview-api": "7.1.0-alpha.36",
"@storybook/theming": "7.1.0-alpha.36",
"@storybook/types": "7.1.0-alpha.36",
"@storybook/blocks": "7.1.0-alpha.37",
"@storybook/client-logger": "7.1.0-alpha.37",
"@storybook/components": "7.1.0-alpha.37",
"@storybook/core-common": "7.1.0-alpha.37",
"@storybook/manager-api": "7.1.0-alpha.37",
"@storybook/node-logger": "7.1.0-alpha.37",
"@storybook/preview-api": "7.1.0-alpha.37",
"@storybook/theming": "7.1.0-alpha.37",
"@storybook/types": "7.1.0-alpha.37",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
},
Expand All @@ -102,7 +102,7 @@
],
"platform": "browser"
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
"storybook": {
"displayName": "Controls",
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",
Expand Down
26 changes: 13 additions & 13 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
Expand Down Expand Up @@ -99,19 +99,19 @@
"dependencies": {
"@jest/transform": "^29.3.1",
"@mdx-js/react": "^2.1.5",
"@storybook/blocks": "7.1.0-alpha.36",
"@storybook/client-logger": "7.1.0-alpha.36",
"@storybook/components": "7.1.0-alpha.36",
"@storybook/csf-plugin": "7.1.0-alpha.36",
"@storybook/csf-tools": "7.1.0-alpha.36",
"@storybook/blocks": "7.1.0-alpha.37",
"@storybook/client-logger": "7.1.0-alpha.37",
"@storybook/components": "7.1.0-alpha.37",
"@storybook/csf-plugin": "7.1.0-alpha.37",
"@storybook/csf-tools": "7.1.0-alpha.37",
"@storybook/global": "^5.0.0",
"@storybook/mdx2-csf": "^1.0.0",
"@storybook/node-logger": "7.1.0-alpha.36",
"@storybook/postinstall": "7.1.0-alpha.36",
"@storybook/preview-api": "7.1.0-alpha.36",
"@storybook/react-dom-shim": "7.1.0-alpha.36",
"@storybook/theming": "7.1.0-alpha.36",
"@storybook/types": "7.1.0-alpha.36",
"@storybook/node-logger": "7.1.0-alpha.37",
"@storybook/postinstall": "7.1.0-alpha.37",
"@storybook/preview-api": "7.1.0-alpha.37",
"@storybook/react-dom-shim": "7.1.0-alpha.37",
"@storybook/theming": "7.1.0-alpha.37",
"@storybook/types": "7.1.0-alpha.37",
"fs-extra": "^11.1.0",
"remark-external-links": "^8.0.0",
"remark-slug": "^6.0.0",
Expand Down Expand Up @@ -141,7 +141,7 @@
"@storybook/mdx1-csf"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
"storybook": {
"displayName": "Docs",
"icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png",
Expand Down
32 changes: 16 additions & 16 deletions code/addons/essentials/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
Expand Down Expand Up @@ -119,23 +119,23 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-actions": "7.1.0-alpha.36",
"@storybook/addon-backgrounds": "7.1.0-alpha.36",
"@storybook/addon-controls": "7.1.0-alpha.36",
"@storybook/addon-docs": "7.1.0-alpha.36",
"@storybook/addon-highlight": "7.1.0-alpha.36",
"@storybook/addon-measure": "7.1.0-alpha.36",
"@storybook/addon-outline": "7.1.0-alpha.36",
"@storybook/addon-toolbars": "7.1.0-alpha.36",
"@storybook/addon-viewport": "7.1.0-alpha.36",
"@storybook/core-common": "7.1.0-alpha.36",
"@storybook/manager-api": "7.1.0-alpha.36",
"@storybook/node-logger": "7.1.0-alpha.36",
"@storybook/preview-api": "7.1.0-alpha.36",
"@storybook/addon-actions": "7.1.0-alpha.37",
"@storybook/addon-backgrounds": "7.1.0-alpha.37",
"@storybook/addon-controls": "7.1.0-alpha.37",
"@storybook/addon-docs": "7.1.0-alpha.37",
"@storybook/addon-highlight": "7.1.0-alpha.37",
"@storybook/addon-measure": "7.1.0-alpha.37",
"@storybook/addon-outline": "7.1.0-alpha.37",
"@storybook/addon-toolbars": "7.1.0-alpha.37",
"@storybook/addon-viewport": "7.1.0-alpha.37",
"@storybook/core-common": "7.1.0-alpha.37",
"@storybook/manager-api": "7.1.0-alpha.37",
"@storybook/node-logger": "7.1.0-alpha.37",
"@storybook/preview-api": "7.1.0-alpha.37",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@storybook/vue": "7.1.0-alpha.36",
"@storybook/vue": "7.1.0-alpha.37",
"typescript": "^4.9.3"
},
"peerDependencies": {
Expand Down Expand Up @@ -166,5 +166,5 @@
],
"platform": "node"
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17"
}
6 changes: 3 additions & 3 deletions code/addons/gfm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-mdx-gfm",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "GitHub Flavored Markdown in Storybook",
"keywords": [
"addon",
Expand Down Expand Up @@ -51,7 +51,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/node-logger": "7.1.0-alpha.36",
"@storybook/node-logger": "7.1.0-alpha.37",
"remark-gfm": "^3.0.1",
"ts-dedent": "^2.0.0"
},
Expand All @@ -69,5 +69,5 @@
"cjs"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17"
}
8 changes: 4 additions & 4 deletions code/addons/highlight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-highlight",
"version": "7.1.0-alpha.36",
"version": "7.1.0-alpha.37",
"description": "Highlight DOM nodes within your stories",
"keywords": [
"storybook-addons",
Expand Down Expand Up @@ -61,9 +61,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-events": "7.1.0-alpha.36",
"@storybook/core-events": "7.1.0-alpha.37",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.1.0-alpha.36"
"@storybook/preview-api": "7.1.0-alpha.37"
},
"devDependencies": {
"@types/webpack-env": "^1.16.0",
Expand All @@ -78,7 +78,7 @@
"./src/preview.ts"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Highlight",
Expand Down
Loading