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

chore(deps): update all dependencies #2318

Merged
merged 6 commits into from
Aug 4, 2021
Merged

chore(deps): update all dependencies #2318

merged 6 commits into from
Aug 4, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 2, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.3.21 -> 3.4.4 age adoption passing confidence
@babel/plugin-transform-classes (source) 7.14.5 -> 7.14.9 age adoption passing confidence
@babel/preset-env (source) 7.14.8 -> 7.14.9 age adoption passing confidence
@babel/runtime-corejs3 7.14.8 -> 7.14.9 age adoption passing confidence
@graphql-cli/codegen 1.17.26 -> 1.17.27 age adoption passing confidence
@graphql-codegen/cli 1.21.7 -> 1.21.8 age adoption passing confidence
@percy/cli 1.0.0-beta.60 -> 1.0.0-beta.62 age adoption passing confidence
@typescript-eslint/eslint-plugin 4.28.5 -> 4.29.0 age adoption passing confidence
@typescript-eslint/parser 4.28.5 -> 4.29.0 age adoption passing confidence
browserslist 4.16.6 -> 4.16.7 age adoption passing confidence
chalk 4.1.1 -> 4.1.2 age adoption passing confidence
core-js 3.15.2 -> 3.16.0 age adoption passing confidence
downshift (source) 6.1.3 -> 6.1.5 age adoption passing confidence
eslint (source) 7.31.0 -> 7.32.0 age adoption passing confidence
msw (source) 0.33.0 -> 0.33.2 age adoption passing confidence
redux (source) 4.1.0 -> 4.1.1 age adoption passing confidence
webpack 5.46.0 -> 5.48.0 age adoption passing confidence

Release Notes

apollographql/apollo-client

v3.4.4

Compare Source

Bug Fixes
  • Revert accidental addition of engines.npm section to published version of @apollo/client/package.json.

    @​benjamn in #​8578

v3.4.3

Compare Source

Bug Fixes

v3.4.2

Compare Source

Bug Fixes
  • Use more default type parameters for mutation-related types in react/types/types.ts, to provide smoother backwards compatibility for code using those types explicitly.

    @​benjamn in #​8573

v3.4.1

Compare Source

Bug Fixes
  • Initialize stringifyCanon lazily, when canonicalStringify is first called, fixing Uncaught ReferenceError: __DEV__ is not defined errors due to usage of __DEV__ before declaration.

    @​benjamn in #​8557

v3.4.0

Compare Source

New documentation
Improvements
  • InMemoryCache now guarantees that any two result objects returned by the cache (from readQuery, readFragment, etc.) will be referentially equal (===) if they are deeply equal. Previously, === equality was often achievable for results for the same query, on a best-effort basis. Now, equivalent result objects will be automatically shared among the result trees of completely different queries. This guarantee is important for taking full advantage of optimistic updates that correctly guess the final data, and for "pure" UI components that can skip re-rendering when their input data are unchanged.

    @​benjamn in #​7439

  • Mutations now accept an optional callback function called onQueryUpdated, which will be passed the ObservableQuery and Cache.DiffResult objects for any queries invalidated by cache writes performed by the mutation's final update function. Using onQueryUpdated, you can override the default FetchPolicy of the query, by (for example) calling ObservableQuery methods like refetch to force a network request. This automatic detection of invalidated queries provides an alternative to manually enumerating queries using the refetchQueries mutation option. Also, if you return a Promise from onQueryUpdated, the mutation will automatically await that Promise, rendering the awaitRefetchQueries option unnecessary.

    @​benjamn in #​7827

  • Support client.refetchQueries as an imperative way to refetch queries, without having to pass options.refetchQueries to client.mutate.

    @​dannycochran in #​7431

  • Improve standalone client.refetchQueries method to support automatic detection of queries needing to be refetched.

    @​benjamn in #​8000

  • Fix remaining barriers to loading @apollo/client/core as native ECMAScript modules from a CDN like esm.run. Importing @apollo/client from a CDN will become possible once we move all React-related dependencies into @apollo/client/react in Apollo Client 4.

    @​benjamn in #​8266

  • InMemoryCache supports a new method called batch, which is similar to performTransaction but takes named options rather than positional parameters. One of these named options is an onDirty(watch, diff) callback, which can be used to determine which watched queries were invalidated by the batch operation.

    @​benjamn in #​7819

  • Allow merge: true field policy to merge Reference objects with non-normalized objects, and vice-versa.

    @​benjamn in #​7778

  • Allow identical subscriptions to be deduplicated by default, like queries.

    @​jkossis in #​6910

  • Always use POST request when falling back to sending full query with @apollo/client/link/persisted-queries.

    @​rieset in #​7456

  • The FetchMoreQueryOptions type now takes two instead of three type parameters (<TVariables, TData>), thanks to using Partial<TVariables> instead of K extends typeof TVariables and Pick<TVariables, K>.

    @​ArnaudBarre in #​7476

  • Pass variables and context to a mutation's update function. Note: The type of the update function is now named MutationUpdaterFunction rather than MutationUpdaterFn, since the older type was broken beyond repair. If you are using MutationUpdaterFn in your own code, please use MutationUpdaterFunction instead.

    @​jcreighton in #​7902

  • A resultCacheMaxSize option may be passed to the InMemoryCache constructor to limit the number of result objects that will be retained in memory (to speed up repeated reads), and calling cache.reset() now releases all such memory.

    @​SofianHn in #​8701

  • Fully remove result cache entries from LRU dependency system when the corresponding entities are removed from InMemoryCache by eviction, or by any other means.

    @​sofianhn and @​benjamn in #​8147

  • Expose missing field errors in results.

    @​brainkim in #​8262

  • Add expected/received variables to No more mocked responses... error messages generated by MockLink.

    @​markneub in #​8340

  • The InMemoryCache version of the cache.gc method now supports additional options for removing non-essential (recomputable) result caching data.

    @​benjamn in #​8421

  • Suppress noisy Missing cache result fields... warnings by default unless setLogVerbosity("debug") called.

    @​benjamn in #​8489

  • Improve interaction between React hooks and React Fast Refresh in development.

    @​andreialecu in #​7952

Potentially disruptive changes
  • To avoid retaining sensitive information from mutation root field arguments, Apollo Client v3.4 automatically clears any ROOT_MUTATION fields from the cache after each mutation finishes. If you need this information to remain in the cache, you can prevent the removal by passing the keepRootFields: true option to client.mutate. ROOT_MUTATION result data are also passed to the mutation update function, so we recommend obtaining the results that way, rather than using keepRootFields: true, if possible.

    @​benjamn in #​8280

  • Internally, Apollo Client now controls the execution of development-only code using the __DEV__ global variable, rather than process.env.NODE_ENV. While this change should not cause any visible differences in behavior, it will increase your minified+gzip bundle size by more than 3.5kB, unless you configure your minifier to replace __DEV__ with a true or false constant, the same way you already replace process.env.NODE_ENV with a string literal like "development" or "production". For an example of configuring a Create React App project without ejecting, see this pull request for our React Apollo reproduction template.

    @​benjamn in #​8347

  • Internally, Apollo Client now uses namespace syntax (e.g. import * as React from "react") for imports whose types are re-exported (and thus may appear in .d.ts files). This change should remove any need to configure esModuleInterop or allowSyntheticDefaultImports in tsconfig.json, but might require updating bundler configurations that specify named exports of the react and prop-types packages, to include exports like createContext and createElement (example).

    @​devrelm in #​7742

  • Respect no-cache fetch policy (by not reading any data from the cache) for loading: true results triggered by notifyOnNetworkStatusChange: true.

    @​jcreighton in #​7761

  • The TypeScript return types of the getLastResult and getLastError methods of ObservableQuery now correctly include the possibility of returning undefined. If you happen to be calling either of these methods directly, you may need to adjust how the calling code handles the methods' possibly-undefined results.

    @​benjamn in #​8394

  • Log non-fatal invariant.error message when fields are missing from result objects written into InMemoryCache, rather than throwing an exception. While this change relaxes an exception to be merely an error message, which is usually a backwards-compatible change, the error messages are logged in more cases now than the exception was previously thrown, and those new error messages may be worth investigating to discover potential problems in your application. The errors are not displayed for @client-only fields, so adding @client is one way to handle/hide the errors for local-only fields. Another general strategy is to use a more precise query to write specific subsets of data into the cache, rather than reusing a larger query that contains fields not present in the written data.

    @​benjamn in #​8416

  • The nextFetchPolicy option for client.watchQuery and useQuery will no longer be removed from the options object after it has been applied, and instead will continue to be applied any time options.fetchPolicy is reset to another value, until/unless the options.nextFetchPolicy property is removed from options.

    @​benjamn in #​8465

  • The fetchMore, subscribeToMore, and updateQuery functions returned from the useQuery hook may now return undefined in edge cases where the functions are called when the component is unmounted
    @​noghartt in #​7980.

Bug fixes
  • In Apollo Client 2.x, a refetch operation would always replace existing data in the cache. With the introduction of field policy merge functions in Apollo Client 3, existing field values could be inappropriately combined with incoming field values by a custom merge function that does not realize a refetch has happened.

    To give you more control over this behavior, we have introduced an overwrite?: boolean = false option for cache.writeQuery and cache.writeFragment, and an option called refetchWritePolicy?: "merge" | "overwrite" for client.watchQuery, useQuery, and other functions that accept WatchQueryOptions. You can use these options to make sure any merge functions involved in cache writes for refetch operations get invoked with undefined as their first argument, which simulates the absence of any existing data, while still giving the merge function a chance to determine the internal representation of the incoming data.

    The default behaviors are overwrite: true and refetchWritePolicy: "overwrite", which restores the Apollo Client 2.x behavior, but (if this change causes any problems for your application) you can easily recover the previous merging behavior by setting a default value for refetchWritePolicy in defaultOptions.watchQuery:

    new ApolloClient({
      defaultOptions: {
        watchQuery: {
          refetchWritePolicy: "merge",
        },
      },
    })

    @​benjamn in #​7810

  • Make sure the MockedResponse ResultFunction type is re-exported.

    @​hwillson in #​8315

  • Fix polling when used with skip.

    @​brainkim in #​8346

  • InMemoryCache now coalesces EntityStore updates to guarantee only one store.merge(id, fields) call per id per cache write.

    @​benjamn in #​8372

  • Fix polling when used with <React.StrictMode>.

    @​brainkim in #​8414

  • Fix the React integration logging Warning: Can't perform a React state update on an unmounted component.

    @​wuarmin in #​7745

  • Make ObservableQuery#getCurrentResult always call queryInfo.getDiff().

    @​benjamn in #​8422

  • Make readField default to reading from current object only when the from option/argument is actually omitted, not when from is passed to readField with an undefined value. A warning will be printed when this situation occurs.

    @​benjamn in #​8508

  • The fetchMore, subscribeToMore, and updateQuery functions no longer throw undefined errors
    @​noghartt in #​7980.

babel/babel

v7.14.9

Compare Source

🐛 Bug Fix
  • babel-traverse
  • babel-plugin-proposal-class-properties, babel-plugin-transform-classes
  • babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx
  • babel-parser
  • babel-generator, babel-traverse, babel-types
  • babel-plugin-proposal-async-generator-functions
🏠 Internal
🏃‍♀️ Performance
dotansimha/graphql-code-generator

v1.17.27

Compare Source

Patch Changes
percy/cli

v1.0.0-beta.62

Compare Source

✨ Enhancements

🏗 Maintenance

⬆️⬇️ Dependency Updates

v1.0.0-beta.61

Compare Source

✨ Enhancements

🐛 Bug Fixes

🏗 Maintenance

⬆️⬇️ Dependency Updates

typescript-eslint/typescript-eslint

v4.29.0

Compare Source

Features
  • eslint-plugin: Catch unused React import with new JSX transform (#​3577) (02998ea)
  • typescript-estree: add support for custom module resolution (#​3516) (d48429d)

4.28.5 (2021-07-26)

Note: Version bump only for package @​typescript-eslint/parser

4.28.4 (2021-07-19)

Note: Version bump only for package @​typescript-eslint/parser

4.28.3 (2021-07-12)

Note: Version bump only for package @​typescript-eslint/parser

4.28.2 (2021-07-05)

Note: Version bump only for package @​typescript-eslint/parser

4.28.1 (2021-06-28)

Note: Version bump only for package @​typescript-eslint/parser

browserslist/browserslist

v4.16.7

Compare Source

  • Fixed oudated caniuse-lite warning text (by Paul Verest).
  • Fixed docs (by Alexander Belov).
chalk/chalk

v4.1.2

Compare Source

  • Readme updates
zloirock/core-js

v3.16.0

Compare Source

  • Array find from last proposal moved to the stage 3, July 2021 TC39 meeting
  • Array filtering stage 1 proposal:
    • Array.prototype.filterReject replaces Array.prototype.filterOut
    • %TypedArray%.prototype.filterReject replaces %TypedArray%.prototype.filterOut
  • Added Array grouping stage 1 proposal:
    • Array.prototype.groupBy
    • %TypedArray%.prototype.groupBy
  • Work with symbols made stricter: some missed before cases of methods that should throw an error on symbols now works as they should
  • Handling @@&#8203;toPrimitive in some cases of ToPrimitive internal logic made stricter
  • Fixed work of Request with polyfilled URLSearchParams, #​965
  • Fixed possible exposing of collections elements metadata in some cases, #​427
  • Fixed crashing of Object.create(null) on WSH, #​966
  • Fixed some cases of typed arrays subclassing logic
  • Fixed a minor bug related to string conversion in RegExp#exec
  • Fixed Date.prototype.getYear feature detection
  • Fixed content of some entry points
  • Some minor optimizations and refactoring
  • Deno:
    • Added Deno support (sure, after bundling since Deno does not support CommonJS)
    • Allowed deno target in core-js-compat / core-js-builder
    • A bundle for Deno published on deno.land/x/corejs
  • Added / updated compat data / mapping:
    • Deno 1.0-1.13
    • NodeJS up to 16.6
    • iOS Safari up to 15.0
    • Samsung Internet up to 15.0
    • Opera Android up to 64
    • Object.hasOwn marked as supported from V8 9.3 and FF92
    • Date.prototype.getYear marked as not supported in IE8-
  • Added summary option to core-js-builder, see more info in the README, #​910
downshift-js/downshift

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
eslint/eslint

v7.32.0

Compare Source

mswjs/msw

v0.33.2

Compare Source

Bug fixes

  • Fixes an issue that resulted in the "color: inherit" being present in each request log in the browser's console (#​842, #​843).

v0.33.1

Compare Source

Bug fixes

  • Fixes an issue that resulted in the NextJS development server becoming unresponsive due to cancelled SSR from webpack HMR (#​834, #​837).
reduxjs/redux

v4.1.1

Compare Source

Just a small fix for Safari users in development mode.

Changes

webpack/webpack

v5.48.0

Compare Source

Features

  • enable import assertions again

Bugfixes

  • upgrade webpack-sources for fixes regarding source maps
  • fix infinite loop in HMR runtime code

v5.47.1

Compare Source

Bugfixes

  • upgrade webpack-sources for a bunch of bugfixes regarding source maps and missing chars in output

v5.47.0

Compare Source

Performance
  • improve source-map performance
Bugfixes
  • avoid unnecessary "use strict"s in module mode

Configuration

📅 Schedule: "before 3am on Monday" (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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

@vercel vercel bot temporarily deployed to Preview August 2, 2021 01:47 Inactive
@renovate renovate bot added the 🤖 Type: Dependencies Dependency updates or something similar label Aug 2, 2021
@vercel
Copy link

vercel bot commented Aug 2, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/55Ynbg8ePwU7xHRgZRPmitcQsvA9
✅ Preview: https://merchant-center-application-kit-git-renovate-all-commercetools.vercel.app

@changeset-bot
Copy link

changeset-bot bot commented Aug 2, 2021

🦋 Changeset detected

Latest commit: 3fcf402

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
merchant-center-application-template-starter Patch
@commercetools-backend/express Patch
@commercetools-backend/loggers Patch
@commercetools-frontend/actions-global Patch
@commercetools-frontend/application-components Patch
@commercetools-frontend/application-config Patch
@commercetools-frontend/application-shell Patch
@commercetools-frontend/application-shell-connectors Patch
@commercetools-frontend/babel-preset-mc-app Patch
@commercetools-frontend/browser-history Patch
@commercetools-frontend/constants Patch
@commercetools-frontend/cypress Patch
@commercetools-frontend/eslint-config-mc-app Patch
@commercetools-frontend/i18n Patch
@commercetools-frontend/l10n Patch
@commercetools-frontend/mc-html-template Patch
@commercetools-frontend/mc-scripts Patch
@commercetools-frontend/notifications Patch
@commercetools-frontend/permissions Patch
@commercetools-frontend/react-notifications Patch
@commercetools-frontend/sdk Patch
@commercetools-frontend/sentry Patch
@commercetools-frontend/url-utils Patch
playground Patch
@commercetools-website/components-playground Patch
@commercetools-local/visual-testing-app Patch
@commercetools-frontend/jest-preset-mc-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel vercel bot temporarily deployed to Preview August 2, 2021 13:22 Inactive
@vercel vercel bot temporarily deployed to Preview August 2, 2021 16:00 Inactive
@vercel vercel bot temporarily deployed to Preview August 2, 2021 16:19 Inactive
@vercel vercel bot temporarily deployed to Preview August 2, 2021 18:41 Inactive
@vercel vercel bot temporarily deployed to Preview August 2, 2021 19:35 Inactive
@vercel vercel bot temporarily deployed to Preview August 2, 2021 20:11 Inactive
@emmenko emmenko requested a review from pa3 August 3, 2021 07:44
@vercel vercel bot temporarily deployed to Preview August 4, 2021 13:07 Inactive
@vercel vercel bot temporarily deployed to Preview August 4, 2021 13:13 Inactive
@vercel vercel bot temporarily deployed to Preview August 4, 2021 13:19 Inactive
@vercel vercel bot temporarily deployed to Preview August 4, 2021 13:48 Inactive
@vercel vercel bot temporarily deployed to Preview August 4, 2021 14:15 Inactive
@emmenko emmenko merged commit 83f2add into main Aug 4, 2021
@emmenko emmenko deleted the renovate/all branch August 4, 2021 14:56
@ghost ghost mentioned this pull request Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 Type: Dependencies Dependency updates or something similar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants