Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All notable changes to this project will be documented in this file.

### Breaking Changes

- **Effect 4**: Upgraded the library to Effect 4. Consumers must migrate their applications and Effect dependencies to Effect 4 before upgrading.
- **Stable Effect 4**: Upgraded `effect` and `@effect/vitest` to `4.0.0`. The library now requires `effect@^4.0.0`; Effect 3 and Effect 4 prereleases are no longer supported. Consumers must migrate their applications and Effect dependencies to stable Effect 4 before upgrading.
- **Common wrappers are now services**: `Playwright.Request`, `Playwright.Response`, `Playwright.Worker`, `Playwright.Dialog`, `Playwright.FileChooser`, and `Playwright.Download` are now same-named `Context.Service` values and interfaces instead of `Data.TaggedClass` constructors.
- Replace static constructors such as `Playwright.Request.make(request)` with their named equivalents, such as `Playwright.makeRequest(request)`. The corresponding constructors are `makeRequest`, `makeResponse`, `makeWorker`, `makeDialog`, `makeFileChooser`, and `makeDownload`.
- Wrapped values no longer expose the `Data.TaggedClass` `_tag` field.
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ A Playwright wrapper for the Effect ecosystem. This library provides a set of se

[Playwright Test Integration](README.md#playwright-test-integration) is also supported.

> [!IMPORTANT]
> This branch and its documentation target Effect v4. The [`v3` branch can be found here](https://github.com/Jobflow-io/effect-playwright/tree/v3).

## Installation

```bash
pnpm add effect-playwright@next # Effect v4 use @latest for v3
pnpm add effect@^4.0.0 effect-playwright
pnpm effect-playwright install chromium
```

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"peerDependencies": {
"@playwright/test": "^1.63.0",
"effect": "^4.0.0-rc.115"
"effect": "^4.0.0"
},
"peerDependenciesMeta": {
"@playwright/test": {
Expand All @@ -61,10 +61,10 @@
"devDependencies": {
"@biomejs/biome": "2.5.13",
"@effect/language-service": "0.87.2",
"@effect/vitest": "^4.0.0-rc.115",
"@effect/vitest": "^4.0.0",
"@playwright/test": "^1.63.0",
"@types/node": "^24.13.4",
"effect": "^4.0.0-rc.115",
"effect": "^4.0.0",
"pkg-pr-new": "^0.0.88",
"playwright": "^1.63.0",
"ts-morph": "^28.0.0",
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ allowBuilds:
esbuild: false
msgpackr-extract: false
minimumReleaseAgeExclude:
- '@effect/vitest@4.0.0-rc.111'
- effect@4.0.0-rc.111
- '@effect/vitest@4.0.0'
- effect@4.0.0
Loading