-
Notifications
You must be signed in to change notification settings - Fork 260
chore: update readme playwright dependency version #1760
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
chore: update readme playwright dependency version #1760
Conversation
Add UpdatePlaywrightVersion.java execution to update playwright dependencies in README.md
@microsoft-github-policy-service agree |
| ); | ||
| private static final Pattern MAVEN_PATTERN = Pattern.compile( | ||
| "(<dependency>\\s*<groupId>com.microsoft.playwright</groupId>\\s*<artifactId>playwright</artifactId>\\s*)<version>\\d+\\.\\d+\\.\\d+</version>(\\s*</dependency>)" | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it much multiline by default (without MULTILINE flag) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (!versionMatcher.find()) { | ||
| throw new NoSuchElementException("Project version was not found"); | ||
| } | ||
| String version = versionMatcher.group(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version in pom.xml usually refers to the next development version, which hasn't been published yet. Let's set it to major.(minor-1).0 similar to what we did in #1748.
Also would be nice to unify this two places, sot that the versions are patched at the same place with the same deps version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can move it to JS like its done in https://github.com/microsoft/playwright-java/pull/1748/files - then the actual PR should be much smaller.
yury-s
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussing this offline, we decided to align the readme file with our other language ports and redirect to the main documentation site playwright.dev. We already have infra that keeps the versions in the examples up to date, and it's mote comprehensive than this README. After #1766 there will be no mentions of package versions in the readme.
|
Closing per the comment above. There is no version in the readme any more. |

No description provided.