releases.shpreview
Apollo GraphQL/Apollo Client/@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.0

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.0

$npx -y @buildinternet/releases show rel_kti1d7ycbeoZDMpz905VN

Major Changes

  • #12727 b845906 Thanks @jerelmiller! - Add a codemod that renames old import locations from 3.x entrypoint to their 4.x entrypoint.

    Run the codemod using the following command:

    npx @apollo/client-codemod-migrate-3-to-4 --parser tsx ./src/**/*.{ts,tsx}

    The codemod supports .js, .jsx, .ts, and .tsx files.

Fetched April 11, 2026