From ef07e583e4fa742b9764275f0122eae2c38d2667 Mon Sep 17 00:00:00 2001 From: Mohammad Saddam Hossain Date: Sat, 18 Jul 2026 22:42:42 +0530 Subject: [PATCH] =?UTF-8?q?release:=20v3.2.0=20=E2=80=94=20WaitEngine=20at?= =?UTF-8?q?tributeToBe,=20urlMatches,=20textMatches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump the version everywhere the release checklist in CLAUDE.md names it (pom.xml, README, CHANGELOG, docs-site getting-started/junit5/changelog/ index.js) plus one stale reference the checklist table misses (docs-site/docs/migration/from-selenium-testng.md) and the bug-report issue template's version placeholder. Adds the 3.2.0 CHANGELOG entries for the three new WaitEngine conditions shipped in #21 (ee05c68): waitForAttribute, waitForUrlMatches, waitForTextMatches — purely additive to @SeleniumBootApi, no breaking changes. The website LATEST_VERSION bump (seleniumboot-website/src/data/content.ts) is intentionally NOT included — checklist step 7 requires that to happen only after the artifact is live on Maven Central. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- docs-site/docs/changelog.md | 11 +++++++++++ docs-site/docs/getting-started.md | 6 +++--- docs-site/docs/junit5.md | 2 +- docs-site/docs/migration/from-selenium-testng.md | 2 +- docs-site/src/pages/index.js | 2 +- pom.xml | 2 +- 9 files changed, 29 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f65bb8c..38ed7c0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -32,7 +32,7 @@ body: id: sb-version attributes: label: Selenium Boot version - placeholder: "3.1.1" + placeholder: "3.2.0" validations: required: true - type: input diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ca5fa7..d7e8f58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/). --- +### v3.2.0 — 2026-07-18 + +- **Three new `WaitEngine` conditions**, consistent with the existing `waitFor*` naming: + - `waitForAttribute(By, attribute, value)` — waits for an exact attribute match (use the existing `waitForAttributeContains` for a substring match) + - `waitForUrlMatches(String regex)` — waits for the current URL to match a regular expression (use the existing `waitForUrlContains` for a substring match) + - `waitForTextMatches(By, String regex)` — waits for an element's visible text to match a regular expression + - Purely additive to the `@SeleniumBootApi` surface — no breaking changes. (Closes #12) + ### v3.1.1 — 2026-06-26 - **Per-engine report output directory** — the metrics JSON, HTML report, and metrics history now honor the `seleniumboot.reports.dir` system property (the same switch already used for the JUnit XML report), defaulting to `target` as before. This fixes the HTML report being **overwritten** when two test engines run in one build — e.g. a TestNG suite (Surefire) and JUnit 5 tests (Failsafe): point each engine's run at its own directory (`-Dseleniumboot.reports.dir=target/junit5`) and each produces a self-contained report instead of the last one clobbering the first. diff --git a/README.md b/README.md index 10b6b81..e832913 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Add to your `pom.xml`: io.github.seleniumboot selenium-boot - 3.1.1 + 3.2.0 ``` @@ -652,7 +652,7 @@ ci: ## Project Status -**Current release: v3.1.1** — per-engine report output dir (`seleniumboot.reports.dir`), fixing report overwrites when TestNG + JUnit 5 run in one build. +**Current release: v3.2.0** — three new `WaitEngine` conditions: `waitForAttribute` (exact-match attribute), `waitForUrlMatches`, and `waitForTextMatches` (regex). See the full version history in **[CHANGELOG.md](CHANGELOG.md)**. diff --git a/docs-site/docs/changelog.md b/docs-site/docs/changelog.md index a93e13e..89699a2 100644 --- a/docs-site/docs/changelog.md +++ b/docs-site/docs/changelog.md @@ -11,6 +11,17 @@ All notable changes to Selenium Boot are documented here. --- +## [3.2.0] — 2026-07-18 + +### Added +- **Three new `WaitEngine` conditions**, consistent with the existing `waitFor*` naming: + - `waitForAttribute(By, attribute, value)` — waits for an exact attribute match (see `waitForAttributeContains` for a substring match). + - `waitForUrlMatches(String regex)` — waits for the current URL to match a regular expression (see `waitForUrlContains` for a substring match). + - `waitForTextMatches(By, String regex)` — waits for an element's visible text to match a regular expression. + - Purely additive to the `@SeleniumBootApi` surface — no breaking changes. + +--- + ## [3.1.1] — 2026-06-26 ### Fixed diff --git a/docs-site/docs/getting-started.md b/docs-site/docs/getting-started.md index 22b6011..11ccf3c 100644 --- a/docs-site/docs/getting-started.md +++ b/docs-site/docs/getting-started.md @@ -35,7 +35,7 @@ No WebDriver binaries required — Selenium Manager handles browser driver downl io.github.seleniumboot selenium-boot - 3.1.1 + 3.2.0 ``` @@ -44,7 +44,7 @@ No WebDriver binaries required — Selenium Manager handles browser driver downl ```groovy title="build.gradle" dependencies { - testImplementation 'io.github.seleniumboot:selenium-boot:3.1.1' + testImplementation 'io.github.seleniumboot:selenium-boot:3.2.0' } test { @@ -58,7 +58,7 @@ test { ```kotlin title="build.gradle.kts" dependencies { - testImplementation("io.github.seleniumboot:selenium-boot:3.1.1") + testImplementation("io.github.seleniumboot:selenium-boot:3.2.0") } tasks.test { diff --git a/docs-site/docs/junit5.md b/docs-site/docs/junit5.md index 9f0b930..f0f6330 100644 --- a/docs-site/docs/junit5.md +++ b/docs-site/docs/junit5.md @@ -17,7 +17,7 @@ Selenium Boot supports both **TestNG** (built-in) and **JUnit 5** (opt-in). The io.github.seleniumboot selenium-boot - 3.1.1 + 3.2.0 diff --git a/docs-site/docs/migration/from-selenium-testng.md b/docs-site/docs/migration/from-selenium-testng.md index d4f2839..9bd83a9 100644 --- a/docs-site/docs/migration/from-selenium-testng.md +++ b/docs-site/docs/migration/from-selenium-testng.md @@ -26,7 +26,7 @@ Remove your Selenium, WebDriverManager, and reporting dependencies and add one: io.github.seleniumboot selenium-boot - 3.1.1 + 3.2.0 ``` diff --git a/docs-site/src/pages/index.js b/docs-site/src/pages/index.js index 4448a57..94a8214 100644 --- a/docs-site/src/pages/index.js +++ b/docs-site/src/pages/index.js @@ -241,7 +241,7 @@ export default function Home() { code={` io.github.seleniumboot selenium-boot - 3.1.1 + 3.2.0 `} /> diff --git a/pom.xml b/pom.xml index 97a0999..1b15645 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.seleniumboot selenium-boot - 3.1.1 + 3.2.0 jar Selenium Boot