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

v1.7.0 integration branch #1565

Merged
merged 66 commits into from
Dec 10, 2021
Merged

v1.7.0 integration branch #1565

merged 66 commits into from
Dec 10, 2021

Commits on Oct 1, 2021

  1. Configuration menu
    Copy the full SHA
    3fb4526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95765a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18ef51d View commit details
    Browse the repository at this point in the history
  4. use useSerializedStableValue for value comparison (#1533)

    Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
    phryneas and msutkowski authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    a44511e View commit details
    Browse the repository at this point in the history
  5. fix(useLazyQuery): added docs for preferCache option (#1541)

    Co-authored-by: Lenz Weber <lenz.weber@mayflower.de>
    akashshyamdev and Lenz Weber authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b646eb4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    da55b23 View commit details
    Browse the repository at this point in the history
  7. add reset method to useMutation hook (#1476)

    Co-authored-by: Shrugsy <joshfraser91@gmail.com>
    phryneas and Shrugsy authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b5ed969 View commit details
    Browse the repository at this point in the history
  8. stop using deprecated apis in tests

    Lenz Weber committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    43bba18 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Configuration menu
    Copy the full SHA
    8359318 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c1059b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    958f93f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cda3258 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b1b9207 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15a8ebd View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. Configuration menu
    Copy the full SHA
    762ee8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98b9d9b View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2021

  1. pass the ThunkArg to the idGenerator function (#1600)

    Co-authored-by: Lenz Weber <mail@lenzw.de>
    loursbourg and phryneas authored Oct 17, 2021
    Configuration menu
    Copy the full SHA
    06d6f12 View commit details
    Browse the repository at this point in the history
  2. Support a custom paramsSerializer on fetchBaseQuery (#1594)

    Co-authored-by: Josh Fraser <joshfraser91@gmail.com>
    msutkowski and Shrugsy authored Oct 17, 2021
    Configuration menu
    Copy the full SHA
    9e36af6 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Configuration menu
    Copy the full SHA
    2de3d84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82a6345 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. Configuration menu
    Copy the full SHA
    24179aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f1164b View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. Configuration menu
    Copy the full SHA
    5f3c105 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4259c4b View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Configuration menu
    Copy the full SHA
    e6a1d48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd31cdc View commit details
    Browse the repository at this point in the history
  3. SSR & rehydration support, suspense foundations (#1277)

    Co-authored-by: Lenz Weber <mail@lenzw.de>
    Co-authored-by: Josh Fraser <joshfraser91@gmail.com>
    Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
    3 people authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    199ad89 View commit details
    Browse the repository at this point in the history
  4. add endpoint, type and forced to BaseQueryApi and `prepareHea…

    …ders` (#1656)
    
    Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
    phryneas and msutkowski authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    ae94709 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Configuration menu
    Copy the full SHA
    87b23b5 View commit details
    Browse the repository at this point in the history
  2. 📝 Document SSR & persistence/rehydration related features (#1639)

    * 📝 Update cache management utils in overview
    
    * 📝 Document SSR related features
    
    * 📝 Document persistence related features
    
    * 📝 Update `extractRehydrationInfo` documentation
    
    * 📝 Update various ssr/rehydration documentation
    
    * 📝 Remove redundancy
    
    * 📝 Merge API slice util docs
    
    - Merge 'Cache Management Utils' & 'Miscellaneous Utils'
      into 'API Slice Utils'
    - Add re-direct from `cache-management-utils` to `api-slice-utils`
    
    * 📝 Expand `getRunningOperationPromise` description
    
    * Apply suggestions from code review
    
    Co-authored-by: Lenz Weber <mail@lenzw.de>
    Shrugsy and phryneas authored Oct 29, 2021
    Configuration menu
    Copy the full SHA
    87d6e3a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    010bcf0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eaca9de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a16fb5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e36d3a View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2021

  1. v1.7.0-beta.0

    markerikson committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    544b975 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. Add test for #1456 (#1461)

    - Test `createAsyncThunk` + `rejectWithValue` without generics. This test works
        in 1.5.1 but not in 1.6.0 - 1.6.1
    
    Co-authored-by: Brian Frichette <brian@eturi.com>
    bfricka and Brian Frichette authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    12d5797 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Configuration menu
    Copy the full SHA
    4c9c157 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    561645b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c455fc2 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. Update RTK dependency versions

    - Reselect 4.1.2
    - Redux Thunk 2.4
    - Drop React peer dep to 16.9 (just need hooks)
    - Dedupe lockfile
    markerikson committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    d93b1c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11e64ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bab6d5 View commit details
    Browse the repository at this point in the history
  4. v1.7.0-beta.1

    markerikson committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    1b4615f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. fetchBaseQuery: return nullon empty body for JSON. Add DevWarnings.

    fetchBaseQuery: return `null` instead of `undefined` on empty body for JSON. 
    Also add dev errors if `baseQuery`/`queryFn` returns a wrong shape (#1699)
    phryneas authored Nov 12, 2021
    Configuration menu
    Copy the full SHA
    b208e63 View commit details
    Browse the repository at this point in the history
  2. Only set originalArgs if they're not undefined (#1711)

    Co-authored-by: Lenz Weber <mail@lenzw.de>
    msutkowski and phryneas authored Nov 12, 2021
    Configuration menu
    Copy the full SHA
    907a948 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Configuration menu
    Copy the full SHA
    c8f71b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Add unwrap to QueryActionCreatorResult and update LazyQueryTrigger (#…

    …1701)
    
    * Add unwrap to QueryActionCreatorResult and update LazyQueryTrigger
    * Add test for the return value of lazy query's trigger
    * Fix types for lazy query :fingers_crossed:
    * minor refactor, add test for positive case
    * Use QueryResultSelectorResult instead of QuerySubState
    * Update buildHooks test and type expectations for useLazyQuery unwrapping
    * Update UseLazyQueryTrigger signature
    * Remove extra unwrap and add queryString types
    * remove import, fix test
    
    Co-authored-by: Lenz Weber <mail@lenzw.de>
    msutkowski and phryneas authored Nov 18, 2021
    Configuration menu
    Copy the full SHA
    4441eef View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. export RetryOptions from interface retry.ts (#1751)

    Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
    colemars and msutkowski authored Nov 24, 2021
    Configuration menu
    Copy the full SHA
    bee3f8a View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Configuration menu
    Copy the full SHA
    2e9eb2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec7b17d View commit details
    Browse the repository at this point in the history
  3. Update RTK deps for 1.7

    markerikson committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    98cbd26 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5ef8e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8fa3d9b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    23e0635 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    25435d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    88dc1e8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1d2d65c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e10e47c View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2021

  1. v1.7.0-rc.0

    markerikson committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    b92aad9 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Override unwrap behavior for buildInitiateQuery, update tests (#1786)

    * Override unwrap behavior for buildInitiateQuery, update tests
    * Update TS test matrix to cover 4.4 and 4.5
    * Fix type issue in tests
    * Update packages/toolkit/src/query/tests/buildHooks.test.tsx
    * Remove intermediate variable for aggregatePromise
    * Update packages/toolkit/src/query/core/buildInitiate.ts
    
    Co-authored-by: Lenz Weber <mail@lenzw.de>
    Co-authored-by: Mark Erikson <mark@isquaredsoftware.com>
    3 people authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    4bb0c5c View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. Fix a bug in the RTKQ selector typings causing bad state args

    The `ReducerPath` type tries to extract the generic type for "the
    path of the reducer" arg from `EndpointDefinitions`. However, it
    looks like this was always off by one: getting the 4th arg instead
    of the actual 5th arg.
    
    This caused bad input to the generated selectors. That seems to
    have worked okay with Reselect 4.0 and its looser types, but
    caused problems when we updated to Reselect 4.1.x and its improved
    types. The `RootState` type collapsed down to an empty object,
    because there was no valid string to use as an object key.
    
    This fixes the bug and adds a typetest to verify that the selector
    types are carried through all the way.
    markerikson committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    604577b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    521bcc3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17f033e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c3c41d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    29d6f6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    aad6d32 View commit details
    Browse the repository at this point in the history