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

Update dependency msw to v0.49.3 #22

Open
wants to merge 1 commit into
base: base
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
msw (source) 0.36.8 -> 0.49.3 age adoption passing confidence

Release Notes

mswjs/msw (msw)

v0.49.3

Compare Source

v0.49.3 (2023-01-19)

Bug Fixes

v0.49.2

Compare Source

v0.49.2 (2022-12-13)
Bug Fixes

v0.49.1

Compare Source

v0.49.1 (2022-11-28)

Bug Fixes

v0.49.0

Compare Source

v0.49.0 (2022-11-19)

Features

v0.48.3

Compare Source

v0.48.3 (2022-11-15)

Bug Fixes

v0.48.2

Compare Source

v0.48.2 (2022-11-13)

Bug Fixes

v0.48.1

Compare Source

v0.48.1 (2022-11-10)

Bug Fixes

v0.48.0

Compare Source

v0.48.0 (2022-11-08)

Features

v0.47.4

Compare Source

v0.47.4 (2022-10-04)

Bug Fixes

v0.47.3

Compare Source

v0.47.3 (2022-09-15)

Bug Fixes

v0.47.2

Compare Source

v0.47.2 (2022-09-13)

Bug Fixes

v0.47.1

Compare Source

v0.47.1 (2022-09-10)

Bug Fixes

v0.47.0

Compare Source

v0.47.0 (2022-09-04)

Features

v0.46.1

Compare Source

v0.46.1 (2022-09-01)

Bug Fixes

v0.46.0

Compare Source

v0.46.0 (2022-08-31)

Features
server.listHandlers()
worker.listHandlers()

v0.45.0

Compare Source

v0.45.0 (2022-08-22)

Features
  • make GraphQL a peer dependency, support GraphQL v15.0 (#​1356) (ca0e2e0)

v0.44.2

Compare Source

v0.44.2 (2022-07-19)

Bug Fixes
  • transfer mocked response as ArrayBuffer to the worker (#​1337) (95be5f8)

v0.44.1

Compare Source

v0.44.1 (2022-07-14)

Bug Fixes

v0.44.0

Compare Source

v0.44.0 (2022-07-13)

Breaking changes
  • req.destination default value is now "" (empty string), previously "document".
  • req.redirect default value is now ""follow", previously "manual".
  • The library no longer exports the parseIsomorphicRequest() function (#​1316). Please use MockedRequest class instead.
Features
Deprecations
  • req.body is deprecated. Please use explicit request body reading methods: req.text(), req.json(), req.arrayBuffer() (other methods, like req.formData() are currently not supported).
rest.post('/user', async (req, res, ctx) => {
  const newUser = await req.json()
})

req.body is still present for compatibility reasons but will be removed in the next releases.

v0.43.1

Compare Source

v0.43.1 (2022-07-07)

Bug Fixes
  • support multiple response cookies using "ctx.cookie()" (#​1311) (66c3ad8)

v0.43.0

Compare Source

v0.43.0 (2022-07-04)

Features
  • send mocked response body as ReadableStream to the worker (#​1288) (78c7d7e)

v0.42.3

Compare Source

v0.42.3 (2022-06-22)

Bug Fixes

v0.42.2

Compare Source

v0.42.2 (2022-06-22)

Bug Fixes
  • setupServer: reference interceptors to support fast refresh (#​1299) (72f0b25)

v0.42.1

Compare Source

v0.42.1 (2022-06-07)

Bug Fixes

v0.42.0

Compare Source

v0.42.0 (2022-05-30)

Features
Bug Fixes

v0.41.1

Compare Source

v0.41.1 (2022-05-27)

Bug Fixes

v0.41.0

Compare Source

v0.41.0 (2022-05-22)

Features

v0.40.2

Compare Source

v0.40.2 (2022-05-20)

Bug Fixes

v0.40.1

Compare Source

v0.40.1 (2022-05-19)

Bug Fixes

v0.40.0

Compare Source

v0.40.0 (2022-05-17)

Breaking changes
  • Returning undefined, or early returns, from response resolvers, now does not perform request as-is, and is instead treated as a handler that didn't do anything. Please return req.passthrough() if you wish to bypass a request.
rest.get('/resource', (req, res, ctx) => {
// I want to perform this intercepted request as-is.
-  return
+  return req.passthrough()
})
Features
Bug Fixes
  • setupWorker: warn on multiple "worker.start" and "worker.stop" calls (#​1238) (cfe0709)
  • remove console.log from "setRequestCookies" (6f7ed98)
  • set "credentials" to "same-origin" for "ClientRequest" (#​1159) (c3cd80a)

v0.39.2

Compare Source

Bug Fixes

v0.39.1

Compare Source

Bug Fixes

v0.39.0

Compare Source

Breaking changes
Bug Fixes
  • setupWorker: resolve the "start" promise after the worker has activated (#​1146) (f6e709c)

v0.38.2

Compare Source

Bug Fixes

v0.38.1

Compare Source

Bug Fixes
  • handleRequest: bypass request only if "x-msw-bypass" header equals "true" (#​1110) (1a7bc36)

v0.38.0

Compare Source

Features
worker.start({
  onUnhandledRequest(request, print) {
    // Ignore unhandled warnings/errors from asset requests.
    if (request.url.href.includes('/assets/') {
      return
    }

    // Otherwise, execute the default warning/error/ strategy.
   print.warning() // or "print.error()" 
  }
})

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/msw-0.x branch from 3f66a95 to 0145cae Compare November 8, 2022 14:08
@renovate renovate bot changed the title Update dependency msw to v0.47.4 Update dependency msw to v0.48.0 Nov 8, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from 0145cae to 0b3ea16 Compare November 10, 2022 01:00
@renovate renovate bot changed the title Update dependency msw to v0.48.0 Update dependency msw to v0.48.1 Nov 10, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from 0b3ea16 to 0e56df5 Compare November 13, 2022 01:15
@renovate renovate bot changed the title Update dependency msw to v0.48.1 Update dependency msw to v0.48.2 Nov 13, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from 0e56df5 to 95c4e23 Compare November 16, 2022 01:39
@renovate renovate bot changed the title Update dependency msw to v0.48.2 Update dependency msw to v0.48.3 Nov 16, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from 95c4e23 to e89b509 Compare November 19, 2022 01:06
@renovate renovate bot changed the title Update dependency msw to v0.48.3 Update dependency msw to v0.49.0 Nov 19, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from e89b509 to 1e06dda Compare November 28, 2022 00:53
@renovate renovate bot changed the title Update dependency msw to v0.49.0 Update dependency msw to v0.49.1 Nov 28, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from 1e06dda to eef647d Compare December 13, 2022 01:59
@renovate renovate bot changed the title Update dependency msw to v0.49.1 Update dependency msw to v0.49.2 Dec 13, 2022
@renovate renovate bot force-pushed the renovate/msw-0.x branch from eef647d to 5581b59 Compare March 18, 2023 14:01
@renovate renovate bot changed the title Update dependency msw to v0.49.2 Update dependency msw to v0.49.3 Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants