Skip to content

Commit

Permalink
chore(main): release 2.1.0 (#364)
Browse files Browse the repository at this point in the history
* chore(main): release 2.1.0

* chore: generate docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
  • Loading branch information
release-please[bot] authored Nov 2, 2022
1 parent 3c4ece0 commit c88514d
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.0.2"
".": "2.1.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.1.0](https://github.com/puppeteer/replay/compare/v2.0.2...v2.1.0) (2022-11-02)


### Features

* allow the runner to run beforeAll/afterAll hooks ([#360](https://github.com/puppeteer/replay/issues/360)) ([3c4ece0](https://github.com/puppeteer/replay/commit/3c4ece03079a0dbc4f6f44f74e3b25fbff1e2034))

## [2.0.2](https://github.com/puppeteer/replay/compare/v2.0.1...v2.0.2) (2022-10-27)


Expand Down
8 changes: 4 additions & 4 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ limitations under the License.

#### Defined in

[Runner.ts:94](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L94)
[Runner.ts:102](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L102)

**createRunner**(`flow`): `Promise`<[`Runner`](classes/Runner.md)\>

Expand All @@ -336,7 +336,7 @@ limitations under the License.

#### Defined in

[Runner.ts:95](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L95)
[Runner.ts:103](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L103)

**createRunner**(`extension`): `Promise`<[`Runner`](classes/Runner.md)\>

Expand All @@ -352,7 +352,7 @@ limitations under the License.

#### Defined in

[Runner.ts:96](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L96)
[Runner.ts:104](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L104)

**createRunner**(`flow`, `extension`): `Promise`<[`Runner`](classes/Runner.md)\>

Expand All @@ -369,7 +369,7 @@ limitations under the License.

#### Defined in

[Runner.ts:97](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L97)
[Runner.ts:105](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L105)

---

Expand Down
46 changes: 44 additions & 2 deletions docs/api/classes/Runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

- [abort](Runner.md#abort)
- [run](Runner.md#run)
- [runAfterAllSteps](Runner.md#runafterallsteps)
- [runBeforeAllSteps](Runner.md#runbeforeallsteps)
- [runStep](Runner.md#runstep)

## Accessors
Expand Down Expand Up @@ -64,7 +66,47 @@ whether all the steps are run or the execution is aborted

#### Defined in

[Runner.ts:63](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L63)
[Runner.ts:71](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L71)

---

### runAfterAllSteps

**runAfterAllSteps**(`flow?`): `Promise`<`void`\>

#### Parameters

| Name | Type |
| :------ | :--------------------------------------------- |
| `flow?` | [`UserFlow`](../interfaces/Schema.UserFlow.md) |

#### Returns

`Promise`<`void`\>

#### Defined in

[Runner.ts:55](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L55)

---

### runBeforeAllSteps

**runBeforeAllSteps**(`flow?`): `Promise`<`void`\>

#### Parameters

| Name | Type |
| :------ | :--------------------------------------------- |
| `flow?` | [`UserFlow`](../interfaces/Schema.UserFlow.md) |

#### Returns

`Promise`<`void`\>

#### Defined in

[Runner.ts:51](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L51)

---

Expand All @@ -87,4 +129,4 @@ Parameters from the `flow` apply if the `flow` is set.

#### Defined in

[Runner.ts:55](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L55)
[Runner.ts:63](https://github.com/puppeteer/replay/blob/main/src/Runner.ts#L63)
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@puppeteer/replay",
"version": "2.0.2",
"version": "2.1.0",
"description": "Replay is a library which provides an API to replay and stringify recordings created using Chrome DevTools Recorder](https://developer.chrome.com/docs/devtools/recorder/)",
"main": "lib/cjs/main.cjs",
"types": "lib/main.d.ts",
Expand Down

0 comments on commit c88514d

Please sign in to comment.