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: Patch 8.1.3 #27230

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 8.1.3

- Angular: Support v18 - [#27237](https://github.com/storybookjs/storybook/pull/27237), thanks @valentinpalkovic!
- Telemetry: Add test packages - [#27226](https://github.com/storybookjs/storybook/pull/27226), thanks @shilman!

## 8.1.2

- Angular: Fix filtering of workspace config styles - [#27108](https://github.com/storybookjs/storybook/pull/27108), thanks @valentinpalkovic!
Expand Down
22 changes: 11 additions & 11 deletions code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@
"zone.js": "^0.14.2"
},
"peerDependencies": {
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0",
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0",
"@angular-devkit/core": ">=15.0.0 < 18.0.0",
"@angular/cli": ">=15.0.0 < 18.0.0",
"@angular/common": ">=15.0.0 < 18.0.0",
"@angular/compiler": ">=15.0.0 < 18.0.0",
"@angular/compiler-cli": ">=15.0.0 < 18.0.0",
"@angular/core": ">=15.0.0 < 18.0.0",
"@angular/forms": ">=15.0.0 < 18.0.0",
"@angular/platform-browser": ">=15.0.0 < 18.0.0",
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0",
"@angular-devkit/architect": ">=0.1500.0 < 0.1900.0",
"@angular-devkit/build-angular": ">=15.0.0 < 19.0.0",
"@angular-devkit/core": ">=15.0.0 < 19.0.0",
"@angular/cli": ">=15.0.0 < 19.0.0",
"@angular/common": ">=15.0.0 < 19.0.0",
"@angular/compiler": ">=15.0.0 < 19.0.0",
"@angular/compiler-cli": ">=15.0.0 < 19.0.0",
"@angular/core": ">=15.0.0 < 19.0.0",
"@angular/forms": ">=15.0.0 < 19.0.0",
"@angular/platform-browser": ">=15.0.0 < 19.0.0",
"@angular/platform-browser-dynamic": ">=15.0.0 < 19.0.0",
"rxjs": "^6.0.0 || ^7.4.0",
"typescript": "^4.0.0 || ^5.0.0",
"zone.js": ">= 0.11.1 < 1.0.0"
Expand Down
28 changes: 28 additions & 0 deletions code/lib/telemetry/src/storybook-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,34 @@ export const computeStorybookMetadata = async ({
};
}

const testPackages = [
'playwright',
'vitest',
'jest',
'cypress',
'nightwatch',
'webdriver',
'@web/test-runner',
'puppeteer',
'karma',
'jasmine',
'chai',
'testing-library',
'@ngneat/spectator',
'wdio',
'msw',
'miragejs',
'sinon',
];
const testPackageDeps = Object.keys(allDependencies).filter((dep) =>
testPackages.find((pkg) => dep.includes(pkg))
);
metadata.testPackages = Object.fromEntries(
await Promise.all(
testPackageDeps.map(async (dep) => [dep, (await getActualPackageVersion(dep))?.version])
)
);

const monorepoType = getMonorepoType();
if (monorepoType) {
metadata.monorepo = monorepoType;
Expand Down
1 change: 1 addition & 0 deletions code/lib/telemetry/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export type StorybookMetadata = {
packageName: string;
version: string;
};
testPackages?: Record<string, string | undefined>;
hasStorybookEslint?: boolean;
hasStaticDirs?: boolean;
hasCustomWebpack?: boolean;
Expand Down
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,5 +299,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "8.1.3"
}
22 changes: 11 additions & 11 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5537,17 +5537,17 @@ __metadata:
webpack: "npm:5"
zone.js: "npm:^0.14.2"
peerDependencies:
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0"
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0"
"@angular-devkit/core": ">=15.0.0 < 18.0.0"
"@angular/cli": ">=15.0.0 < 18.0.0"
"@angular/common": ">=15.0.0 < 18.0.0"
"@angular/compiler": ">=15.0.0 < 18.0.0"
"@angular/compiler-cli": ">=15.0.0 < 18.0.0"
"@angular/core": ">=15.0.0 < 18.0.0"
"@angular/forms": ">=15.0.0 < 18.0.0"
"@angular/platform-browser": ">=15.0.0 < 18.0.0"
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0"
"@angular-devkit/architect": ">=0.1500.0 < 0.1900.0"
"@angular-devkit/build-angular": ">=15.0.0 < 19.0.0"
"@angular-devkit/core": ">=15.0.0 < 19.0.0"
"@angular/cli": ">=15.0.0 < 19.0.0"
"@angular/common": ">=15.0.0 < 19.0.0"
"@angular/compiler": ">=15.0.0 < 19.0.0"
"@angular/compiler-cli": ">=15.0.0 < 19.0.0"
"@angular/core": ">=15.0.0 < 19.0.0"
"@angular/forms": ">=15.0.0 < 19.0.0"
"@angular/platform-browser": ">=15.0.0 < 19.0.0"
"@angular/platform-browser-dynamic": ">=15.0.0 < 19.0.0"
rxjs: ^6.0.0 || ^7.4.0
typescript: ^4.0.0 || ^5.0.0
zone.js: ">= 0.11.1 < 1.0.0"
Expand Down
1 change: 1 addition & 0 deletions docs/configure/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Specifically, we track the following information in our telemetry events:
- Builder (e.g., Webpack5, Vite).
- Meta framework (e.g., [Next](https://nextjs.org/), [Gatsby](https://www.gatsbyjs.com/), [CRA](https://create-react-app.dev/)).
- [Addons](https://storybook.js.org/integrations) (e.g., [Essentials](../essentials/index.md), [Accessibility](https://storybook.js.org/addons/@storybook/addon-a11y/)).
- Testing tools (e.g. [Jest](https://jestjs.io/), [Vitest](https://vitest.dev/), [Playwright](https://playwright.dev/)).
- Package manager information (e.g., `npm`, `yarn`).
- Monorepo information (e.g., [NX](https://nx.dev/), [Turborepo](https://turborepo.org/)).
- In-app events (e.g., [Storybook guided tour](https://github.com/storybookjs/addon-onboarding)).
Expand Down
2 changes: 1 addition & 1 deletion docs/versions/latest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"8.1.2","info":{"plain":"- Angular: Fix filtering of workspace config styles - [#27108](https://github.com/storybookjs/storybook/pull/27108), thanks @valentinpalkovic!\n- Next.js: Avoid interfering with the svgr loader - [#27198](https://github.com/storybookjs/storybook/pull/27198), thanks @seanparmelee!"}}
{"version":"8.1.3","info":{"plain":"- Angular: Support v18 - [#27237](https://github.com/storybookjs/storybook/pull/27237), thanks @valentinpalkovic!\n- Telemetry: Add test packages - [#27226](https://github.com/storybookjs/storybook/pull/27226), thanks @shilman!"}}