Skip to content
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

♻️ Core server improvements #781

Merged
merged 5 commits into from
Feb 16, 2022
Merged

Conversation

wwilsman
Copy link
Contributor

@wwilsman wwilsman commented Feb 15, 2022

What is this?

This PR improves upon core's internal API server for future plans to incorporate cli-snapshot features into the core snapshot method. The most important feature is the static server, which is a concept used within several SDKs.

Currently, these SDKs use a third-party library to serve static directories while core's API server is a native Node server with basic routing built in. Initially, core's API server was adjusted to be able to stream files, including basic range support. Util functions from cli-snapshot were copied over to handle URL rewrites, and an additional helper function was created mirroring core's createPercyServer called createStaticServer. The additional helper created a server that rewrote request URLs, checked if a file existed, and served that static file.

While referencing Node docs, I noticed that the native http.createServer function accepts custom IncomingMessage and ServerResponse classes while the function itself was just a wrapper for new http.Server(). This inspired me to extend these classes for our desired features, and it actually ended up resulting in much more succinct server code!

Approach

http.IncomingMessage

This class is extended to automatically parse its own request URL and body. If the request content-type includes "json" the request body is parsed with JSON.parse.

http.ServerResponse

This class is extended to add express-like response methods.

#send([status][, headers], body) allows responding to requests with a status, headers, and a body.

#text([status], text) wraps send() with the text/plain content-type header.

#json([status], json) wraps send() with the application/json content-type header and stringifies provided json.

#file([status], filepath) streams file responses, including any requested ranges and appropriate file headers (content-type, disposition, etc).

http.Server

This class is extended to handle basic routing and middleware. Default middleware is pre-installed to handle CORS requests and CORS headers.

#route([method][, pathname], handler) installs a route handler/middleware. The handler function is called with IncomingMessage, ServerResponse, and a third argument next that can optionally be called to pass execution onto the next route handler (like middleware).

#serve([pathname], directory[, options]) installs middleware to serve the provided static directory's contents at the pathname. The options.cleanUrls option will strip index.html and .html from file URLs, and options.rewrites allows much finer control over rewrite rules.

#websocket([pathname], handler) installs a websocket handler for the specified route.

createPercyServer()

This function was moved into its own dedicated api.js file. The function utilizes the new server code from above to create the localhost:5338/percy API server, which works just as it did before. In the future, this file will also house a createStaticServer function which will handle creating static snapshot servers for SDKs in the same manner.

Tests

The core test server helper was updated to accept the old initialization and reply syntax. This way most tests can still remain as-is without having to undergo wider changes.

Existing API server tests were moved to an API specific test module. Server-specific tests were moved to and created in a new unit test module. Within this unit test a new package, quibble, is utilized for dependency mocking since our currently used dependency mocking library, mock-require, is now deprecated.

@wwilsman wwilsman added the ✨ enhancement New feature or request label Feb 15, 2022
@wwilsman wwilsman force-pushed the ww/core-server-improvements branch 2 times, most recently from 2ec31e1 to 860322e Compare February 15, 2022 23:43
Copy link
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏁 I dig quibble too!

@wwilsman wwilsman merged commit a0c0c9a into master Feb 16, 2022
@wwilsman wwilsman deleted the ww/core-server-improvements branch February 16, 2022 21:52
bors added a commit to rust-lang/crates.io that referenced this pull request Feb 28, 2022
Update dependency @percy/cli to v1.0.0-beta.76

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [`@percy/cli](https://togithub.com/percy/cli)` | [`1.0.0-beta.75` -> `1.0.0-beta.76`](https://renovatebot.com/diffs/npm/`@percy%2fcli/1.0.0-beta.75/1.0.0-beta.76)` | [![age](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/age-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![adoption](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![passing](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/compatibility-slim/1.0.0-beta.75)](https://docs.renovatebot.com/merge-confidence/)` | [![confidence](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/confidence-slim/1.0.0-beta.75)](https://docs.renovatebot.com/merge-confidence/)` |

---

### Release Notes

<details>
<summary>percy/cli</summary>

### [`v1.0.0-beta.76`](https://togithub.com/percy/cli/releases/v1.0.0-beta.76)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### ✨ Enhancements

-   ♻️ Core server improvements by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#781
-   ✨ Automatically handle json bodies in client request util by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#780
-   ✨ Serialize current video frame into a `poster` on the `<video>` by [`@&#8203;Robdel12](https://togithub.com/Robdel12)` in [percy/cli#794

#### 🐛 Bug Fixes

-   🐛 Add percy config mapping for cli-exec port flag by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#793

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump ws from 8.4.2 to 8.5.0 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#775
-   ⬆️ Bump karma from 6.3.15 to 6.3.16 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#777
-   ⬆️ Bump [`@&#8203;babel/core](https://togithub.com/babel/core)` from 7.17.0 to 7.17.2 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#776
-   ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#778
-   ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#779
-   ⬆️ Bump [`@&#8203;babel/cli](https://togithub.com/babel/cli)` from 7.17.0 to 7.17.3 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#789
-   ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#788

**Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76

</details>

---

### Configuration

📅 **Schedule**: "before 3am on Monday" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
kodiakhq bot pushed a commit to carbon-design-system/carbon-for-ibm-dotcom-nextjs-test that referenced this pull request Apr 28, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@percy/dom](https://togithub.com/percy/cli) | [`1.0.0-beta.74` -> `1.1.0`](https://renovatebot.com/diffs/npm/@percy%2fdom/1.0.0-beta.74/1.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/compatibility-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/confidence-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>percy/cli</summary>

### [`v1.1.0`](https://togithub.com/percy/cli/releases/v1.1.0)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.8...v1.1.0)

#### What's Changed

##### ✨ Enhancements

-   ✨ Update asset discovery browser to Chromium v96.0.4664.0 by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#896

##### 🐛 Bug Fixes

-   🐛 Fix Chrome Revision script by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#895

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump jasmine from 4.0.2 to 4.1.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#891
-   ⬆️ Bump karma from 6.3.17 to 6.3.18 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#888
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) from 21.0.3 to 21.1.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#889
-   ⬆️ Bump [@&#8203;rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) from 13.1.3 to 13.2.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#890
-   ⬆️ Bump rollup from 2.70.1 to 2.70.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#892
-   ⬆️ Bump karma-jasmine from 4.0.2 to 5.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#887
-   ⬆️ Bump yaml from 2.0.0 to 2.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#893

**Full Changelog**: percy/cli@v1.0.8...v1.1.0

### [`v1.0.8`](https://togithub.com/percy/cli/releases/v1.0.8)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.7...v1.0.8)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Make config normalize skip option behave as expected by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#885

**Full Changelog**: percy/cli@v1.0.7...v1.0.8

### [`v1.0.7`](https://togithub.com/percy/cli/releases/v1.0.7)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.6...v1.0.7)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Check for alternate casing when determining dom snapshot syntax by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#883

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump yaml from 1.10.2 to 2.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#871

**Full Changelog**: percy/cli@v1.0.6...v1.0.7

### [`v1.0.6`](https://togithub.com/percy/cli/releases/v1.0.6)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.5...v1.0.6)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### ✨ Enhancements

-   ✨[@&#8203;percy/config](https://togithub.com/percy/config) util improvements by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#877
-   ✨ Autoload CLI plugin from the current working directory by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#878

##### 🐛 Bug Fixes

-   🐛 Fix readme generation script by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#868

##### 🏗 Maintenance

-   🔨 Repo script fixups by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#879

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/stale from 4 to 5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#876
-   ⬆️ Bump karma-jasmine from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#873
-   ⬆️👷 Bump actions/download-artifact from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#875
-   ⬆️👷 Bump actions/upload-artifact from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#874
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.8 to 7.17.9 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#872
-   ⬆️ Bump eslint-plugin-import from 2.25.4 to 2.26.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#870

**Full Changelog**: percy/cli@v1.0.5...v1.0.6

### [`v1.0.5`](https://togithub.com/percy/cli/releases/v1.0.5)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.4...v1.0.5)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Core snapshot validation bug fixes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#866

**Full Changelog**: percy/cli@v1.0.4...v1.0.5

### [`v1.0.4`](https://togithub.com/percy/cli/releases/v1.0.4)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.3...v1.0.4)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ More test adjustments by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#865

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump tsd from 0.19.1 to 0.20.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#859
-   ⬆️ Bump ajv from 8.10.0 to 8.11.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#847
-   ⬆️ Bump minimist from 1.2.5 to 1.2.6 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#844
-   ⬆️ Bump globby from 11.0.4 to 13.1.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#758

**Full Changelog**: percy/cli@v1.0.3...v1.0.4

### [`v1.0.3`](https://togithub.com/percy/cli/releases/v1.0.3)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.2...v1.0.3)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Audit package file exports by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#863

**Full Changelog**: percy/cli@v1.0.2...v1.0.3

### [`v1.0.2`](https://togithub.com/percy/cli/releases/v1.0.2)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.1...v1.0.2)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ Include all core test helpers in packaged files by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#862

**Full Changelog**: percy/cli@v1.0.1...v1.0.2

### [`v1.0.1`](https://togithub.com/percy/cli/releases/v1.0.1)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0...v1.0.1)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Remove relative path from package files by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#858

**Full Changelog**: percy/cli@v1.0.0...v1.0.1

### [`v1.0.0`](https://togithub.com/percy/cli/releases/v1.0.0)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.76...v1.0.0)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 💥 Breaking Changes

-   ♻️ Move packages to ESM by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#852
-   💥 New minimum Node version of 14 to align with currently supported LTS releases

##### ✨ Enhancements

-   ✨ Use default widths instead of throwing an error when missing by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#808
-   ♻️ Improve build failure handling by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#805
-   ✨ Minor [@&#8203;percy/config](https://togithub.com/percy/config) improvements by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#804
-   ✨ Accept alternate core snapshot syntaxes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#809
-   ✨ Introduce the ability to abort requests from specificed hostnames (`disallowedHostnames`) by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#823
-   ♻️ Update package exports and refactor test helpers by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#830
-   ✨ Add sdk-utils waitForPercyIdle helper by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#831
-   ✨ Throw an error when a static server directory does not exist by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#832
-   ✨ Allow alternate snapshot syntaxes to be cancelable by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#833
-   ✨ Allow a function to gather snapshots using alternate syntaxes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#834
-   ✨ Automatically include package information with CLI commands by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#850

##### 🐛 Bug Fixes

-   🐛 Fix core snapshot method compatibility with cli-snapshot command by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#818
-   🐛 Insert serialized CSSOM `style` tag after CSSOM `ownerNode` by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#843
-   🐛 Fix duplicate resource URL issues with `snapshot` method by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#849
-   🐛 Wrap `serializeVideos` in try/catch to catch security errors by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#848
-   🐛 Fix supressed validation error causing options to not be scrubbed by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#853

##### 🏗 Maintenance

-   ✅ Update install unit tests to use mock filesystem by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#807
-   ♻️ Move browser timeout default to other launch option defaults by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#806
-   ♻️ Update cli-snapshot command to use new core snapshot syntaxes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#819

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/setup-node from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#799
-   ⬆️ Bump [@&#8203;rollup/plugin-babel](https://togithub.com/rollup/plugin-babel) from 5.3.0 to 5.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#797
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) from 21.0.1 to 21.0.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#798
-   ⬆️ Bump karma from 6.3.16 to 6.3.17 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#800
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.2 to 7.17.5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#787
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.17.3 to 7.17.6 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#801
-   ⬆️👷 Bump actions/checkout from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#813
-   ⬆️ Bump rollup from 2.67.3 to 2.70.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#811
-   ⬆️ Bump ajv from 8.9.0 to 8.10.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#764
-   ⬆️ Bump karma-chrome-launcher from 3.1.0 to 3.1.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#827
-   ⬆️ Bump rollup from 2.70.0 to 2.70.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#826
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#825
-   ⬆️👷 Bump actions/cache from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#838
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#837
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.5 to 7.17.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#835
-   ⬆️ Bump [@&#8203;babel/register](https://togithub.com/babel/register) from 7.17.0 to 7.17.7 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#836
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) from 21.0.2 to 21.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#846

**Full Changelog**: percy/cli@v1.0.0-beta.76...v1.0.0

### [`v1.0.0-beta.76`](https://togithub.com/percy/cli/releases/v1.0.0-beta.76)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### ✨ Enhancements

-   ♻️ Core server improvements by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#781
-   ✨ Automatically handle json bodies in client request util by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#780
-   ✨ Serialize current video frame into a `poster` on the `<video>` by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#794

#### 🐛 Bug Fixes

-   🐛 Add percy config mapping for cli-exec port flag by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#793

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump ws from 8.4.2 to 8.5.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#775
-   ⬆️ Bump karma from 6.3.15 to 6.3.16 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#777
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.0 to 7.17.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#776
-   ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#778
-   ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#779
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.17.0 to 7.17.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#789
-   ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#788

**Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76

### [`v1.0.0-beta.75`](https://togithub.com/percy/cli/releases/v1.0.0-beta.75)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.74...v1.0.0-beta.75)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### 🐛 Bug Fixes

-   🐛 Update `bin/run` to not use an esm dynamic import by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#769

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump image-size from 1.0.0 to 1.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#731
-   ⬆️ Bump karma from 6.3.10 to 6.3.12 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#741
-   ⬆️ Bump node-fetch from 2.6.1 to 2.6.7 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#740
-   ⬆️ Bump [@&#8203;babel/preset-env](https://togithub.com/babel/preset-env) from 7.16.8 to 7.16.11 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#747
-   ⬆️ Bump ajv from 8.8.2 to 8.9.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#749
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.16.7 to 7.16.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#750
-   ⬆️ Bump jasmine from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#751
-   ⬆️ Bump [@&#8203;babel/register](https://togithub.com/babel/register) from 7.16.7 to 7.16.9 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#730
-   ⬆️ Bump rollup from 2.63.0 to 2.67.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#759
-   ⬆️ Bump karma from 6.3.12 to 6.3.15 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#760
-   ⬆️ Bump trim-off-newlines from 1.0.1 to 1.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#737
-   ⬆️ Bump follow-redirects from 1.13.2 to 1.14.7 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#719
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.16.8 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#763
-   ⬆️ Bump karma-rollup-preprocessor from 7.0.7 to 7.0.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#762
-   ⬆️ Bump nock from 13.2.2 to 13.2.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#761
-   ⬆️ Bump [@&#8203;babel/register](https://togithub.com/babel/register) from 7.16.9 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#766
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.16.7 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#765
-   ⬆️ Bump [@&#8203;babel/eslint-parser](https://togithub.com/babel/eslint-parser) from 7.16.5 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#767

**Full Changelog**: percy/cli@v1.0.0-beta.74...v1.0.0-beta.75

</details>

---

### Configuration

📅 **Schedule**: "every weekend" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom-nextjs-test).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants