Update all non-major dependencies (minor) - autoclosed
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @typescript-eslint/eslint-plugin | devDependencies | minor | 5.29.0 -> 5.30.4 |
| @typescript-eslint/parser | devDependencies | minor | 5.29.0 -> 5.30.4 |
| eslint (source) | devDependencies | minor | 8.18.0 -> 8.19.0 |
| playwright-core (source) | devDependencies | minor | 1.22.2 -> 1.23.1 |
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.30.4
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.3
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.2
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.30.1
Bug Fixes
v5.30.0
Features
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.30.4
Note: Version bump only for package @typescript-eslint/parser
v5.30.3
Note: Version bump only for package @typescript-eslint/parser
v5.30.2
Note: Version bump only for package @typescript-eslint/parser
v5.30.1
Note: Version bump only for package @typescript-eslint/parser
v5.30.0
Note: Version bump only for package @typescript-eslint/parser
eslint/eslint
v8.19.0
Features
-
7023628feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott) -
472c368feat: fix handling of blocklesswithstatements in indent rule (#16068) (Milos Djermanovic)
Bug Fixes
Documentation
-
3ae0574docs: Remove duplicate rule descriptions (#16052) (Amaresh S M) -
f50cf43docs: Add base href to each page to fix relative URLs (#16046) (Nicholas C. Zakas) -
ae4b449docs: make logo link clickable on small width screens (#16058) (Milos Djermanovic) -
280f898docs: use only fenced code blocks (#16044) (Milos Djermanovic) -
f5d63b9docs: add listener only if element exists (#16045) (Amaresh S M) -
8b639ccdocs: add missing migrating-to-8.0.0 in the user guide (#16048) (唯然) -
b8e68c1docs: Update release process (#16036) (Nicholas C. Zakas) -
6d0cb11docs: remove table of contents from markdown text (#15999) (Nitin Kumar)
Chores
-
e884933chore: usegithub-sluggerfor markdown anchors (#16067) (Strek) -
02e9cb0chore: revamp carbon ad style (#16078) (Amaresh S M) -
b6aee95chore: remove unwanted comments from rules markdown (#16054) (Strek) -
6840940chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin) -
48904fbchore: add missing images (#16017) (Amaresh S M) -
910f741chore: add architecture to nav (#16039) (Strek) -
9bb24c1chore: add correct incorrect in all rules doc (#16021) (Deepshika S) -
5a96af8chore: prepare versions data file (#16035) (Nicholas C. Zakas) -
50afe6fchore: Included githubactions in the dependabot config (#15985) (Naveen) -
473411echore: add deploy workflow for playground (#16034) (Milos Djermanovic) -
a30b66cchore: fix print style (#16025) (Amaresh S M) -
f4dad59chore: add noindex meta tag (#16016) (Milos Djermanovic) -
db387a8chore: fix sitemap (#16026) (Milos Djermanovic) -
285fbc5chore: remove TOC from printable (#16020) (Strek) -
8e84c21chore: remove ligatures from fonts (#16019) (Strek)
Microsoft/playwright
v1.23.1
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/15219 - [REGRESSION]: playwright-core 1.23.0 issue with 'TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument'
Browser Versions
- Chromium 104.0.5112.20
- Mozilla Firefox 100.0.2
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 103
- Microsoft Edge 103
v1.23.0
Network Replay
Now you can record network traffic into a HAR file and re-use the data in your tests.
To record network into HAR file:
npx playwright open --save-har=github.har.zip https://github.com/microsoft
Alternatively, you can record HAR programmatically:
const context = await browser.newContext({
recordHar: { path: 'github.har.zip' }
});
// ... do stuff ...
await context.close();
Use the new methods page.routeFromHAR() or browserContext.routeFromHAR() to serve matching responses from the HAR file:
await context.routeFromHAR('github.har.zip');
Read more in our documentation.
Advanced Routing
You can now use route.fallback() to defer routing to other handlers.
Consider the following example:
// Remove a header from all requests.
test.beforeEach(async ({ page }) => {
await page.route('**/*', route => {
const headers = route.request().headers();
delete headers['if-none-match'];
route.fallback({ headers });
});
});
test('should work', async ({ page }) => {
await page.route('**/*', route => {
if (route.request().resourceType() === 'image')
route.abort();
else
route.fallback();
});
});
Note that the new methods page.routeFromHAR() and browserContext.routeFromHAR() also participate in routing and could be deferred to.
Web-First Assertions Update
- New method
expect(locator).toHaveValues()that asserts all selected values of<select multiple>element. - Methods
expect(locator).toContainText()andexpect(locator).toHaveText()now acceptignoreCaseoption.
Component Tests Update
- Support for Vue2 via the
@playwright/experimental-ct-vue2package. - Support for component tests for create-react-app with components in
.jsfiles.
Read more about component testing with Playwright.
Miscellaneous
- If there's a service worker that's in your way, you can now easily disable it with a new context option
serviceWorkers:// playwright.config.ts export default { use: { serviceWorkers: 'block', } } - Using
.zippath forrecordHarcontext option automatically zips the resulting HAR:const context = await browser.newContext({ recordHar: { path: 'github.har.zip', } }); - If you intend to edit HAR by hand, consider using the
"minimal"HAR recording mode that only records information that is essential for replaying:const context = await browser.newContext({ recordHar: { path: 'github.har.zip', mode: 'minimal', } }); - Playwright now runs on Ubuntu 22 amd64 and Ubuntu 22 arm64. We also publish new docker image
mcr.microsoft.com/playwright:v1.23.0-focal.
⚠ ️ Breaking Changes ⚠ ️
WebServer is now considered "ready" if request to the specified port has any of the following HTTP status codes:
200-299-
300-399(new) -
400,401,402,403(new)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.