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 minor dependencies #2686

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update Pending
@azure/storage-blob (source) 12.24.0 -> 12.25.0 age adoption passing confidence dependencies minor
@reduxjs/toolkit (source) 2.2.8 -> 2.3.0 age adoption passing confidence dependencies minor
actions/checkout v4.1.7 -> v4.2.2 age adoption passing confidence action minor
actions/upload-artifact v4.3.6 -> v4.4.3 age adoption passing confidence action minor
azure-identity (source) ==1.17.1 -> ==1.19.0 age adoption passing confidence packages minor
azure-keyvault-secrets (source) ==4.8.0 -> ==4.9.0 age adoption passing confidence packages minor
azure-storage-blob (source) ==12.22.0 -> ==12.23.1 age adoption passing confidence packages minor
azure/login v2.1.1 -> v2.2.0 age adoption passing confidence action minor
black (changelog) ==24.8.0 -> ==24.10.0 age adoption passing confidence dev-packages minor
cypress (source) 13.13.3 -> 13.15.1 age adoption passing confidence devDependencies minor
docker/build-push-action v6.7.0 -> v6.9.0 age adoption passing confidence action minor
docker/setup-buildx-action v3.6.1 -> v3.7.1 age adoption passing confidence action minor
eslint-plugin-import 2.29.1 -> 2.31.0 age adoption passing confidence dependencies minor
eslint-plugin-testing-library 6.3.4 -> 6.4.0 age adoption passing confidence dependencies minor
flake8-bugbear (changelog) ==24.4.26 -> ==24.8.19 age adoption passing confidence dev-packages minor
globals 15.9.0 -> 15.11.0 age adoption passing confidence devDependencies minor
ipython ==8.26.0 -> ==8.29.0 age adoption passing confidence dev-packages minor
marshmallow-sqlalchemy (changelog) ==1.0.0 -> ==1.1.0 age adoption passing confidence packages minor
msw (source) 2.3.5 -> 2.5.1 age adoption passing confidence devDependencies minor 2.5.2
mypy (source, changelog) ==1.11.2 -> ==1.13.0 age adoption passing confidence packages minor
nox ==2024.4.15 -> ==2024.10.9 age adoption passing confidence dev-packages minor
numpy (source, changelog) ==2.0.1 -> ==2.1.2 age adoption passing confidence dev-packages minor
pytest-bdd (source) ==7.2.0 -> ==7.3.0 age adoption passing confidence dev-packages minor
sass 1.79.6 -> 1.80.4 age adoption passing confidence dependencies minor
zaproxy/action-full-scan v0.10.0 -> v0.11.0 age adoption passing confidence action minor

Release Notes

Azure/azure-sdk-for-js (@​azure/storage-blob)

v12.25.0

Compare Source

reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.3.0

Compare Source

This feature release adds a new RTK Query upsertQueryEntries util to batch-upsert cache entries more efficiently, passes through additional values for use in prepareHeaders, and exports additional TS types around query options and selectors.

Changelog

upsertQueryEntries

RTK Query already had an upsertQueryData thunk that would upsert a single cache entry. However, some users wanted to upsert many cache entries (potentially hundreds or thousands), and found that upsertQueryData had poor performance in those cases. This is because upsertQueryData runs the full async request handling sequence, including dispatching both pending and fulfilled actions, each of which run the main reducer and update store subscribers. That means there's 2N store / UI updates per item, so upserting hundreds of items becomes extremely perf-intensive.

RTK Query now includes an api.util.upsertQueryEntries action that is meant to handle the batched upsert use case more efficiently. It's a single synchronous action that accepts an array of many {endpointName, arg, value} entries to upsert. This results in a single store update, making this vastly better for performance vs many individual upsertQueryData calls.

We see this as having two main use cases. The first is prefilling the cache with data retrieved from storage on app startup (and it's worth noting that upsertQueryEntries can accept entries for many different endpoints as part of the same array).

The second is to act as a "pseudo-normalization" tool. RTK Query is not a "normalized" cache. However, there are times when you may want to prefill other cache entries with the contents of another endpoint, such as taking the results of a getPosts list endpoint response and prefilling the individual getPost(id) endpoint cache entries, so that components that reference an individual item endpoint already have that data available.

Currently, you can implement the "pseudo-normalization" approach by dispatching upsertQueryEntries in an endpoint lifecycle, like this:

const api = createApi({
  endpoints: (build) => ({
    getPosts: build.query<Post[], void>({
      query: () => '/posts',
      async onQueryStarted(_, { dispatch, queryFulfilled }) {
        const res = await queryFulfilled
        const posts = res.data

        // Pre-fill the individual post entries with the results
        // from the list endpoint query
        dispatch(
          api.util.upsertQueryEntries(
            posts.map((post) => ({
              endpointName: 'getPost',
              arg: { id: post.id },
              value: post,
            })),
          ),
        )
      },
    }),
    getPost: build.query<Post, Pick<Post, 'id'>>({
      query: (post) => `post/${post.id}`,
    }),
  }),
})

Down the road we may add a new option to query endpoints that would let you provide the mapping function and have it automatically update the corresponding entries.

For additional comparisons between upsertQueryData and upsertQueryEntries, see the upsertQueryEntries API reference.

prepareHeaders Options

The prepareHeaders callback for fetchBaseQuery now receives two additional values in the api argument:

  • arg: the URL string or FetchArgs object that was passed in to fetchBaseQuery for this endpoint
  • extraOptions: any extra options that were provided to the base query
Additional TS Types

We've added a TypedQueryStateSelector type that can be used to pre-type selectors for use with selectFromResult:

const typedSelectFromResult: TypedQueryStateSelector<
  PostsApiResponse,
  QueryArgument,
  BaseQueryFunction,
  SelectedResult
> = (state) => ({ posts: state.data?.posts ?? EMPTY_ARRAY })

function PostsList() {
  const { posts } = useGetPostsQuery(undefined, {
    selectFromResult: typedSelectFromResult,
  })
}

We've also exported several additional TS types around base queries and tag definitions.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v2.2.8...v2.3.0

actions/checkout (actions/checkout)

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

actions/upload-artifact (actions/upload-artifact)

v4.4.3

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4.4.2...v4.4.3

v4.4.2

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4.4.1...v4.4.2

v4.4.1

Compare Source

What's Changed
New Contributors

Full Changelog: actions/upload-artifact@v4.4.0...v4.4.1

v4.4.0

Compare Source

Azure/azure-sdk-for-python (azure-identity)

v1.19.0

Compare Source

1.19.0 (2021-09-30)

Breaking Changes in the Provisional azure.core.rest package
  • azure.core.rest.HttpResponse and azure.core.rest.AsyncHttpResponse are now abstract base classes. They should not be initialized directly, instead
    your transport responses should inherit from them and implement them.

  • The properties of the azure.core.rest responses are now all read-only

  • HttpLoggingPolicy integrates logs into one record #​19925

v1.18.0

Compare Source

1.18.0 (2024-09-19)

Features Added
  • All credentials now implement the SupportsTokenInfo or AsyncSupportsTokenInfo protocol. Each credential now has a get_token_info method which returns an AccessTokenInfo object. The get_token_info method is an alternative method to get_token that improves support for more complex authentication scenarios. (#​36882)
    • Information on when a token should be refreshed is now saved in AccessTokenInfo (if available).
Other Changes
  • Added identity config validation to ManagedIdentityCredential to avoid non-deterministic states (e.g. both resource_id and object_id are specified). (#​36950)
  • Additional validation was added for ManagedIdentityCredential in Azure Cloud Shell environments. (#​36438)
  • Bumped minimum dependency on azure-core to >=1.31.0.
azure/login (azure/login)

v2.2.0: Azure Login Action v2.2.0

Compare Source

What's Changed
New Contributors

Full Changelog: Azure/login@v2.1.1...v2.2.0

psf/black (black)

v24.10.0

Compare Source

Highlights
  • Black is now officially tested with Python 3.13 and provides Python 3.13
    mypyc-compiled wheels. (#​4436) (#​4449)
  • Black will issue an error when used with Python 3.12.5, due to an upstream memory
    safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
    use Python 3.12.6 or Python 3.12.4 instead. (#​4447)
  • Black no longer supports running with Python 3.8 (#​4452)
Stable style
  • Fix crashes involving comments in parenthesised return types or X | Y style unions.
    (#​4453)
  • Fix skipping Jupyter cells with unknown %% magic (#​4462)
Preview style
  • Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#​4440)
Caching
  • Fix bug where the cache was shared between runs with and without --unstable (#​4466)
Packaging
  • Upgrade version of mypyc used to 1.12 beta (#​4450) (#​4449)
  • blackd now requires a newer version of aiohttp. (#​4451)
Output
  • Added Python target version information on parse error (#​4378)
  • Add information about Black version to internal error messages (#​4457)
cypress-io/cypress (cypress)

v13.15.1

Compare Source

Changelog: https://docs.cypress.io/guides/references/changelog#13-15-1

v13.15.0

Compare Source

Changelog: https://docs.cypress.io/guides/references/changelog#13-15-0

v13.14.2

Compare Source

Changelog: https://docs.cypress.io/guides/references/changelog#13-14-2

v13.14.1

Compare Source

v13.14.0

Compare Source

Changelog: https://docs.cypress.io/guides/references/changelog#13-14-0

docker/build-push-action (docker/build-push-action)

v6.9.0

Compare Source

Full Changelog: docker/build-push-action@v6.8.0...v6.9.0

v6.8.0

Compare Source

Full Changelog: docker/build-push-action@v6.7.0...v6.8.0

docker/setup-buildx-action (docker/setup-buildx-action)

v3.7.1

Compare Source

Full Changelog: docker/setup-buildx-action@v3.7.0...v3.7.1

v3.7.0

Compare Source

Full Changelog: docker/setup-buildx-action@v3.6.1...v3.7.0

import-js/eslint-plugin-import (eslint-plugin-import)

v2.31.0

Compare Source

Added
Fixed
Changed

v2.30.0

Compare Source

Added
Fixed
Changed
  • [Docs] no-extraneous-dependencies: Make glob pattern description more explicit ([#​2944], thanks [@​mulztob])
  • [no-unused-modules]: add console message to help debug [#​2866]
  • [Refactor] ExportMap: make procedures static instead of monkeypatching exportmap ([#​2982], thanks [@​soryy708])
  • [Refactor] ExportMap: separate ExportMap instance from its builder logic ([#​2985], thanks [@​soryy708])
  • [Docs] order: Add a quick note on how unbound imports and --fix ([#​2640], thanks [@​minervabot])
  • [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#​2987], thanks [@​joeyguerra])
  • [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@​aks-])
  • [Refactor] exportMapBuilder: avoid hoisting ([#​2989], thanks [@​soryy708])
  • [Refactor] ExportMap: extract "builder" logic to separate files ([#​2991], thanks [@​soryy708])
  • [Docs] [order]: update the description of the pathGroupsExcludedImportTypes option ([#​3036], thanks [@​liby])
  • [readme] Clarify how to install the plugin ([#​2993], thanks [@​jwbth])
testing-library/eslint-plugin-testing-library (eslint-plugin-testing-library)

v6.4.0

Compare Source

Features
PyCQA/flake8-bugbear (flake8-bugbear)

v24.8.19

Compare Source

  • B910: implement to suggest using Counter() instead of defaultdict(int) (#​489)
  • B901: Do not trigger with explicit Generator return type (#​481)
  • B008: add some comments, rename b008_extend_immutable_calls (#​476)
  • B040: exception with note added not reraised or used (#​477)
  • B039, Add ContextVar with mutable literal or function call as default
  • B040: Add Exception with added note not reraised. (#​474)
  • Run tests in Python 3.13
  • Type annotated code (#​481 + #​483)
  • Replace hash with unsafe_hash (#​486)
sindresorhus/globals (globals)

v15.11.0

Compare Source

v15.10.0

Compare Source

ipython/ipython (ipython)

v8.29.0

Compare Source

v8.28.0

Compare Source

v8.27.0

Compare Source

marshmallow-code/marshmallow-sqlalchemy (marshmallow-sqlalchemy)

v1.1.0

Compare Source

mswjs/msw (msw)

v2.5.1

Compare Source

v2.5.1 (2024-10-24)

Bug Fixes

v2.5.0

Compare Source

v2.5.0 (2024-10-22)

Features

v2.4.13

Compare Source

v2.4.13 (2024-10-22)

Bug Fixes

v2.4.12

Compare Source

v2.4.12 (2024-10-21)

Bug Fixes

v2.4.11

Compare Source

v2.4.11 (2024-10-14)

Bug Fixes

v2.4.10

Compare Source

v2.4.10 (2024-10-11)

Bug Fixes

v2.4.9

Compare Source

v2.4.9 (2024-09-20)

Bug Fixes

v2.4.8

Compare Source

v2.4.8 (2024-09-17)

Bug Fixes

v2.4.7

Compare Source

v2.4.7 (2024-09-15)

Bug Fixes

v2.4.6

Compare Source

v2.4.6 (2024-09-13)

Bug Fixes

v2.4.5

Compare Source

v2.4.5 (2024-09-11)
Bug Fixes

v2.4.4

Compare Source

v2.4.4 (2024-09-08)

Bug Fixes

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Aug 17, 2024
@renovate renovate bot force-pushed the renovate/all-minor branch 10 times, most recently from b9f0106 to 055a781 Compare August 21, 2024 21:51
@renovate renovate bot changed the title chore(deps): update dependency marshmallow-sqlalchemy to v1.1.0 chore(deps): update minor dependencies Aug 21, 2024
@renovate renovate bot force-pushed the renovate/all-minor branch 18 times, most recently from 1d0644a to fe799f6 Compare August 26, 2024 21:53
@renovate renovate bot force-pushed the renovate/all-minor branch 26 times, most recently from 7c17a8b to cb0426d Compare October 28, 2024 04:04
@renovate renovate bot force-pushed the renovate/all-minor branch from cb0426d to f5ac194 Compare October 28, 2024 09:29
@johndeange
Copy link
Contributor

Very old renovate PR - closing out to generate a new version.

@johndeange johndeange closed this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant