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

fix(deps): update all non-major dependencies - autoclosed #41

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@apollo/client (source) 3.5.10 -> 3.7.0 age adoption passing confidence dependencies minor
@commitlint/cli (source) 16.2.3 -> 16.3.0 age adoption passing confidence devDependencies minor
@commitlint/config-conventional (source) 16.2.1 -> 16.2.4 age adoption passing confidence devDependencies patch
@graphql-codegen/add 3.1.1 -> 3.2.1 age adoption passing confidence devDependencies minor
@graphql-codegen/cli 2.6.3 -> 2.13.1 age adoption passing confidence devDependencies minor
@graphql-codegen/introspection 2.1.1 -> 2.2.1 age adoption passing confidence devDependencies minor
@graphql-codegen/schema-ast 2.4.1 -> 2.5.1 age adoption passing confidence devDependencies minor
@graphql-codegen/typescript 2.4.8 -> 2.7.3 age adoption passing confidence devDependencies minor
@graphql-codegen/typescript-operations 2.3.5 -> 2.5.3 age adoption passing confidence devDependencies minor
@graphql-codegen/typescript-react-apollo 3.2.11 -> 3.3.3 age adoption passing confidence devDependencies minor
@headlessui/react 1.5.0 -> 1.7.3 age adoption passing confidence dependencies minor
@rollup/plugin-node-resolve (source) ^13.2.1 -> 13.3.0 age adoption passing confidence devDependencies minor
@rollup/plugin-typescript (source) ^8.3.2 -> 8.5.0 age adoption passing confidence devDependencies minor
@tailwindcss/aspect-ratio 0.4.0 -> 0.4.2 age adoption passing confidence devDependencies patch
@tailwindcss/forms 0.5.0 -> 0.5.3 age adoption passing confidence devDependencies patch
@tailwindcss/typography 0.5.2 -> 0.5.7 age adoption passing confidence devDependencies patch
@types/dompurify (source) 2.3.3 -> 2.3.4 age adoption passing confidence devDependencies patch
@types/js-cookie (source) 3.0.1 -> 3.0.2 age adoption passing confidence devDependencies patch
@types/jsdom (source) 16.2.14 -> 16.2.15 age adoption passing confidence devDependencies patch
@types/mapbox-gl (source) 2.7.2 -> 2.7.6 age adoption passing confidence devDependencies patch
@types/react (source) 17.0.44 -> 17.0.50 age adoption passing confidence devDependencies patch
@types/react-transition-group (source) 4.4.4 -> 4.4.5 age adoption passing confidence devDependencies patch
SamKirkland/FTP-Deploy-Action 4.3.0 -> 4.3.2 age adoption passing confidence action patch
autoprefixer 10.4.4 -> 10.4.12 age adoption passing confidence devDependencies patch
axios (source) 0.26.1 -> 0.27.2 age adoption passing confidence dependencies minor
classnames 2.3.1 -> 2.3.2 age adoption passing confidence dependencies patch
cssnano 5.1.7 -> 5.1.13 age adoption passing confidence devDependencies patch
date-fns 2.28.0 -> 2.29.3 age adoption passing confidence dependencies minor
dompurify 2.3.6 -> 2.4.0 age adoption passing confidence dependencies minor
dotenv 16.0.0 -> 16.0.3 age adoption passing confidence devDependencies patch
eslint (source) 8.13.0 -> 8.24.0 age adoption passing confidence devDependencies minor
eslint-config-next 12.1.5 -> 12.3.1 age adoption passing confidence devDependencies minor
focus-trap 6.8.1 -> 6.9.4 age adoption passing confidence dependencies minor
graphql 16.3.0 -> 16.6.0 age adoption passing confidence dependencies minor
lint-staged 12.4.0 -> 12.5.0 age adoption passing confidence devDependencies minor
mapbox-gl 2.8.2 -> 2.10.0 age adoption passing confidence dependencies minor
next (source) 12.1.5 -> 12.3.1 age adoption passing confidence dependencies minor
next-sitemap 3.0.5 -> 3.1.23 age adoption passing confidence devDependencies minor
postcss (source) 8.4.12 -> 8.4.17 age adoption passing confidence devDependencies patch
prettier (source) 2.6.2 -> 2.7.1 age adoption passing confidence devDependencies minor
react-hook-form (source) 7.30.0 -> 7.36.1 age adoption passing confidence dependencies minor
react-transition-group 4.4.2 -> 4.4.5 age adoption passing confidence dependencies patch
tailwindcss (source) 3.0.24 -> 3.1.8 age adoption passing confidence devDependencies minor
xss 1.0.11 -> 1.0.14 age adoption passing confidence dependencies patch

Release Notes

apollographql/apollo-client

v3.7.0

Compare Source

New Features
Improvements
  • Delay calling onCompleted and onError callbacks passed to useQuery using Promise.resolve().then(() => ...) to fix issue #​9794.

    @​dylanwulf in #​9823

  • Replace concast.cleanup method with simpler concast.beforeNext API, which promises to call the given callback function just before the next result/error is delivered. In addition, concast.removeObserver no longer takes a quietly?: boolean parameter, since that parameter was partly responsible for cleanup callbacks sometimes not getting called.

    @​benjamn in #​9718

  • Allow preserving header name capitalization when creating an HttpLink with createHttpLink({ uri, preserveHeaderCase: true }). Otherwise, header names are converted to lowercase to prevent case-sensitivity bugs.

    @​MrDoomBringer in #​9891

  • Make queries with a pollInterval respect the no-cache fetch policy, instead of writing polled results into the cache.

    @​MrDoomBringer in #​10020

  • Deprecate the onSubscriptionData callback in favor of a new onData callback for the useSubscription hook. Deprecate the onSubscriptionComplete callback in favor of a new onComplete callback for the useSubscription hook.

    @​jerelmiller in #​10134

Potentially disruptive
  • The optional subscribeAndCount testing utility exported from @apollo/client/testing/core now takes a single generic TResult type parameter, instead of TData. This type will typically be inferred from the observable argument type, but if you have any explicit calls to subscribeAndCount<TData>(...) in your own codebase, you may need to adjust those calls accordingly.

    @​benjamn in #​9718

v3.6.10

Compare Source

Improvements
  • The client options (variables, context, etc.) used for mutation calls are now available as the second argument to the onCompleted and onError callback functions.

    @​MrDoomBringer in #​10052

v3.6.9

Compare Source

Bug Fixes
  • Leave fetchPolicy unchanged when skip: true (or in standby) and nextFetchPolicy is available, even if variables change.

    @​benjamn in #​9823

v3.6.8

Compare Source

Bug Fixes

v3.6.7

Compare Source

Bug Fixes
  • Fix regression (introduced in v3.6.0) that caused BatchHttpLink to discard pending batched queries on early completion of the underlying Observable.

    @​benjamn in #​9793

v3.6.6

Compare Source

Bug Fixes
  • Allow useLazyQuery(query, { defaultOptions }) to benefit from defaultOptions.variables and client.defaultOptions.watchQuery.variables merging.

    @​benjamn in #​9762

v3.6.5

Compare Source

Bug Fixes
  • Restore pre-v3.6 variables replacement behavior of ObservableQuery#reobserve method, fixing a regression that prevented removal of variables.

    @​benjamn in #​9741

  • Preserve previousData even when different query or client provided to useQuery, instead of resetting previousData to undefined in those cases, matching behavior prior to v3.6.0.

    @​benjamn in #​9734

  • Fix bug where onCompleted() and onError() are stale for useMutation().

    @​charle692 in #​9740

  • Limit scope of DeepMerger object reuse, and avoid using Object.isFrozen, which can introduce differences between development and production if objects that were frozen using Object.freeze in development are left unfrozen in production.

    @​benjamn in #​9742

  • Properly merge variables from original useLazyQuery(query, { variables }) with variables passed to execution function.

    @​benjamn in #​9758

v3.6.4

Compare Source

Bug Fixes
  • Guarantee Concast cleanup without Observable cancelled prematurely rejection, potentially solving long-standing issues involving that error.

    @​benjamn in #​9701

  • Ensure useSubscription subscriptions are properly restarted after unmounting/remounting by React 18 in <StrictMode>.

    @​kazekyo in #​9707

Improvements

v3.6.3

Compare Source

Bug Fixes
  • Simplify useQuery(query, { defaultOptions }) default options processing in order to fix bug where skip: true queries failed to execute upon switching to skip: false.

    @​benjamn in #​9665

  • Add tests of skipping/unskipping and useLazyQuery with defaultOptions, and fix a bug causing duplicate requests.

    @​benjamn in #​9666

  • Update ts-invariant to version 0.10.2 to fix source map warnings.

    @​benjamn in #​9672

  • Test that useQuery queries with skip: true do not stall server-side rendering.

    @​nathanmarks and @​benjamn in #​9677

  • Prevent useLazyQuery from making duplicate requests when its execution function is first called, and stop rejecting the Promise it returns when result.error is defined.

    @​benjamn in #​9684

  • Fix issue with useQuery returning loading: true state during server-side rendering with skip: true.

    @​nathanmarks in #​9679

v3.6.2

Compare Source

Bug Fixes
  • Pass getServerSnapshot function to useSyncExternalStore in addition to getSnapshot, though the two functions behave identically. This change should fix/unbreak React 18 server rendering.

    @​hungphongbk in #​9652
Improvements

v3.6.1

Compare Source

Improvements
  • The client options (variables, context, etc.) used for mutation calls are now available as the second argument to the onCompleted and onError callback functions.

    @​MrDoomBringer in #​10052

v3.6.0

Compare Source

Potentially disruptive changes
  • Calling fetchMore for queries using the cache-and-network or network-only fetch policies will no longer trigger additional network requests when cache results are complete. Instead, those complete cache results will be delivered as if using the cache-first fetch policy.

    @​benjamn in #​9504

  • Reimplement useQuery and useLazyQuery to use the proposed useSyncExternalStore API from React 18.

    @​brainkim and @​benjamn in #​8785 and #​9596

  • Fixed bug where the useLazyQuery execution function would always use the refetch method of ObservableQuery, instead of properly reapplying the current fetchPolicy using the reobserve method.

    @​benjamn in #​9564

    Since this reobserve method is useful and used internally, we have now exposed it as use[Lazy]Query(...).reobserve (which optionally takes a Partial<WatchQueryOptions> of new options), to supplement the existing refetch method. Note that reobserve permanently updates the variables and other options of the ObservableQuery, unlike refetch({ ...variables }), which does not save those variables.

  • The internal use of options.fetchBlockingPromise by useQuery and useLazyQuery may slightly delay the delivery of network results, compared to previous versions of Apollo Client. Since network results are already delivered asynchronously, these timing differences should not be disruptive in most cases. Nevertheless, please open an issue if the timing differences are a problem for you (and you have no easy workaround).

    @​benjamn in #​9599

React 18

In both its peerDependencies and its internal implementation, Apollo Client v3.6 should no longer prevent you from updating to React 18 in your applications.

Internally, we have refactored useQuery and useLazyQuery to be implemented in terms of React's new (shimmable) useSyncExternalStore hook, demonstrating Apollo Client can serve as an external store with a referentially stable, synchronous API, as needed by React.

As part of this refactoring, we also improved the behavior of useQuery and useLazyQuery when used in <React.StrictMode>, which double-renders components in development. While this double-rendering always results in calling useQuery twice, forcing Apollo Client to create and then discard an unnecessary ObservableQuery object, we now have multiple defenses in place against executing any network queries for the unused ObservableQuery objects.

In upcoming v3.6.x and v3.7 (beta) releases, we will be completely overhauling our server-side rendering utilities (getDataFromTree et al.), and introducing suspenseful versions of our hooks, to take full advantage of the new patterns React 18+ enables for data management libraries like Apollo Client.

Improvements
  • Allow BatchLink to cancel queued and in-flight operations.

    @​PowerKiKi and @​benjamn in #​9248

  • Add GraphQLWsLink in @apollo/client/link/subscriptions. This link is similar to the existing WebSocketLink in @apollo/client/link/ws, but uses the newer graphql-ws package and protocol instead of the older subscriptions-transport-ws implementation. This functionality was technically first released in @apollo/client@3.5.10, but semantically belongs in the 3.6.0 minor version.
    @​glasser in #​9369

  • Allow passing defaultOptions to useQuery to avoid clobbering/resetting existing options when useQuery is called repeatedly.

    @​benjamn in #​9563, superseding #​9223

  • Provide additional context to nextFetchPolicy functions to assist with fetchPolicy transitions. More details can be found in the nextFetchPolicy documentation.

    @​benjamn in #​9222

  • Remove nagging deprecation warning about passing an options.updateQuery function to fetchMore.

    @​benjamn in #​9504

  • Let addTypenameToDocument take any ASTNode (including DocumentNode, as before).

    @​benjamn in #​9595

  • Set useMutation internal isMounted variable to true again when component remounted.

    @​devpeerapong in #​9561

conventional-changelog/commitlint (@​commitlint/cli)

v16.3.0

Compare Source

Note: Version bump only for package @​commitlint/cli

16.2.4 (2022-04-28)

Note: Version bump only for package @​commitlint/cli

16.2.3 (2022-03-16)

Note: Version bump only for package @​commitlint/cli

16.2.1 (2022-02-13)

Note: Version bump only for package @​commitlint/cli

v16.2.4

Compare Source

Note: Version bump only for package @​commitlint/cli

conventional-changelog/commitlint (@​commitlint/config-conventional)

v16.2.4

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

dotansimha/graphql-code-generator (@​graphql-codegen/add)

v3.2.1

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

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

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


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 82b167c to ccf218b Compare April 22, 2022 23:30
@renovate renovate bot changed the title chore(deps): update dependency @types/js-cookie to v3.0.2 chore(deps): update all non-major dependencies Apr 22, 2022
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from cea482d to 73c3d5d Compare April 25, 2022 16:00
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Apr 25, 2022
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 17 times, most recently from b04c499 to 2f68437 Compare May 2, 2022 18:14
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 9eaadb8 to fa472c3 Compare May 5, 2022 17:56
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from dd42a1f to c640343 Compare August 22, 2022 04:35
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from ba1a22a to 21be9f2 Compare August 26, 2022 23:45
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 00b02cb to 288e398 Compare September 30, 2022 12:19
@renovate renovate bot changed the title fix(deps): update all non-major dependencies fix(deps): update all non-major dependencies - autoclosed Oct 3, 2022
@renovate renovate bot closed this Oct 3, 2022
@renovate renovate bot deleted the renovate/all-minor-patch branch October 3, 2022 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants