Skip to content

Releases: mrmeku/rules_playwright

v0.4.0

03 May 14:54
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

Add to your MODULE.bazel file:

bazel_dep(name = "rules_playwright", version = "0.4.0")

playwright = use_extension("@rules_playwright//playwright:extensions.bzl", "playwright")
playwright.repo(
    name = "playwright",
    playwright_version = "", # Match the exact version from your pnpm lock file of playwright-core
    browser_json = "", # Or vendor the browsers.json file from playwright core into your repo
)
use_repo(playwright, "playwright")

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

06 Apr 18:32
f7708d8
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

Add to your MODULE.bazel file:

bazel_dep(name = "rules_playwright", version = "0.3.0")

playwright = use_extension("@rules_playwright//playwright:extensions.bzl", "playwright")
playwright.repo(
    name = "playwright",
    playwright_version = "", # Match the exact version from your pnpm lock file of playwright-core
    browser_json = "", # Or vendor the browsers.json file from playwright core into your repo
)
use_repo(playwright, "playwright")

What's Changed

  • feat: Add playwright_integrity_map rule by @mrmeku in #12
  • fix: Allow names other than rules_playwright by @mrmeku in #13

Full Changelog: v0.2.1...v0.3.0

v0.2.1

21 Mar 19:49
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

Add to your MODULE.bazel file:

bazel_dep(name = "rules_playwright", version = "0.2.1")

playwright = use_extension("@rules_playwright//playwright:extensions.bzl", "playwright")
playwright.repo(
    name = "playwright",
    playwright_version = "", # Match the exact version from your pnpm lock file of playwright-core
    browser_json = "", # Or vendor the browsers.json file from playwright core into your repo
)
use_repo(playwright, "playwright")

Full Changelog: v0.2.0...v0.2.1

v0.2.0

21 Mar 16:39
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

Add to your MODULE.bazel file:

bazel_dep(name = "rules_playwright", version = "0.2.0")

playwright = use_extension("@rules_playwright//playwright:extensions.bzl", "playwright")
playwright.repo(
    name = "playwright",
    playwright_version = "", # Match the exact version from your pnpm lock file of playwright-core
    browser_json = "", # Or vendor the browsers.json file from playwright core into your repo
)
use_repo(playwright, "playwright")

What's Changed

  • feat: demonstrate usage with WORKSPACE file by @alexeagle in #2
  • feat(playwright_repository): allow reading playwright version from package.json file by @tyler-french in #3
  • feat(workspace): add CI and fix test examples by @tyler-french in #5
  • fix(get_cli_path): fix executable loading on Intel Macs by @tyler-french in #6
  • feat(extensions.bzl): add known integrity and use path maps by @tyler-french in #7
  • feat(workspace): allow users to provide browser_integrity by @tyler-french in #4
  • fix(playwright_repository): don't require version if JSON is specified by @tyler-french in #9

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

16 Feb 21:13
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6 or greater

Add to your MODULE.bazel file:

bazel_dep(name = "rules_playwright", version = "0.1.0")

playwright = use_extension("@rules_playwright//playwright:extensions.bzl", "playwright")
playwright.repo(
    name = "playwright",
    playwright_version = "", # Match the exact version from your pnpm lock file of playwright-core
    browser_json = "", # Or vendor the browsers.json file from playwright core into your repo
)
use_repo(playwright, "playwright")

What's Changed

  • fix: CI should actually work now by @mrmeku in #1

New Contributors

  • @mrmeku made their first contribution in #1

Full Changelog: https://github.com/mrmeku/rules_playwright/commits/v0.1.0