Skip to content

chore: Update version for release (pre)#9942

Merged
brophdawg11 merged 1 commit into
release-nextfrom
changeset-release/release-next
Sep 5, 2024
Merged

chore: Update version for release (pre)#9942
brophdawg11 merged 1 commit into
release-nextfrom
changeset-release/release-next

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 5, 2024

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-next, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

release-next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release-next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@remix-run/dev@2.12.0-pre.0

Minor Changes

  • (unstable) Automatic dependency optimization (#9921)

    You can now opt-in to automatic dependency optimization during development by using the future.unstable_optimizeDeps future flag.
    For details, check out the docs at Guides > Dependency optimization.

    For users who were previously working around this limitation, you no longer need to explicitly add routes to Vite's optimizeDeps.entries nor do you need to disable the remix-dot-server plugin.

Patch Changes

  • Handle circular dependencies in modulepreload manifest generation. (#9917)
  • Fix dest already exists build errors by only moving SSR assets to the client build directory when they're not already present on disk (#9901)
  • Updated dependencies:
    • @remix-run/server-runtime@2.12.0-pre.0
    • @remix-run/react@2.12.0-pre.0
    • @remix-run/node@2.12.0-pre.0
    • @remix-run/serve@2.12.0-pre.0

@remix-run/architect@2.12.0-pre.0

Patch Changes

  • Updated dependencies:
    • @remix-run/node@2.12.0-pre.0

@remix-run/cloudflare@2.12.0-pre.0

Patch Changes

  • Single Fetch: Improved typesafety (#9893)

    If you were already using single-fetch types:

    • Remove "@remix-run/react/future/single-fetch.d.ts" override from tsconfig.json > compilerOptions > types
    • Remove defineLoader, defineAction, defineClientLoader, defineClientAction helpers from your route modules
    • Replace UIMatch_SingleFetch type helper with UIMatch
    • Replace MetaArgs_SingleFetch type helper with MetaArgs

    Then you are ready for the new typesafety setup:

    // vite.config.ts
    
    declare module "@remix-run/server-runtime" {
      interface Future {
        unstable_singleFetch: true; // 👈 enable _types_ for single-fetch
      }
    }
    
    export default defineConfig({
      plugins: [
        remix({
          future: {
            unstable_singleFetch: true, // 👈 enable single-fetch
          },
        }),
      ],
    });

    For more information, see Guides > Single Fetch in our docs.

  • Updated dependencies:

    • @remix-run/server-runtime@2.12.0-pre.0

@remix-run/cloudflare-pages@2.12.0-pre.0

Patch Changes

  • Updated dependencies:
    • @remix-run/cloudflare@2.12.0-pre.0

@remix-run/cloudflare-workers@2.12.0-pre.0

Patch Changes

  • Updated dependencies:
    • @remix-run/cloudflare@2.12.0-pre.0

@remix-run/deno@2.12.0-pre.0

Patch Changes

  • Single Fetch: Improved typesafety (#9893)

    If you were already using single-fetch types:

    • Remove "@remix-run/react/future/single-fetch.d.ts" override from tsconfig.json > compilerOptions > types
    • Remove defineLoader, defineAction, defineClientLoader, defineClientAction helpers from your route modules
    • Replace UIMatch_SingleFetch type helper with UIMatch
    • Replace MetaArgs_SingleFetch type helper with MetaArgs

    Then you are ready for the new typesafety setup:

    // vite.config.ts
    
    declare module "@remix-run/server-runtime" {
      interface Future {
        unstable_singleFetch: true; // 👈 enable _types_ for single-fetch
      }
    }
    
    export default defineConfig({
      plugins: [
        remix({
          future: {
            unstable_singleFetch: true, // 👈 enable single-fetch
          },
        }),
      ],
    });

    For more information, see Guides > Single Fetch in our docs.

  • Updated dependencies:

    • @remix-run/server-runtime@2.12.0-pre.0

@remix-run/express@2.12.0-pre.0

Patch Changes

  • Updated dependencies:
    • @remix-run/node@2.12.0-pre.0

@remix-run/node@2.12.0-pre.0

Patch Changes

  • Single Fetch: Improved typesafety (#9893)

    If you were already using single-fetch types:

    • Remove "@remix-run/react/future/single-fetch.d.ts" override from tsconfig.json > compilerOptions > types
    • Remove defineLoader, defineAction, defineClientLoader, defineClientAction helpers from your route modules
    • Replace UIMatch_SingleFetch type helper with UIMatch
    • Replace MetaArgs_SingleFetch type helper with MetaArgs

    Then you are ready for the new typesafety setup:

    // vite.config.ts
    
    declare module "@remix-run/server-runtime" {
      interface Future {
        unstable_singleFetch: true; // 👈 enable _types_ for single-fetch
      }
    }
    
    export default defineConfig({
      plugins: [
        remix({
          future: {
            unstable_singleFetch: true, // 👈 enable single-fetch
          },
        }),
      ],
    });

    For more information, see Guides > Single Fetch in our docs.

  • Updated dependencies:

    • @remix-run/server-runtime@2.12.0-pre.0

@remix-run/react@2.12.0-pre.0

Patch Changes

  • Lazy Route Discovery: Sort /__manifest query parameters for better caching (#9888)

  • Single Fetch: fix revalidation behavior bugs (#9938)

    • With Single Fetch, existing routes revalidate by default
    • This means requests do not need special query params for granular route revalidations out of the box - i.e., GET /a/b/c.data
    • There are two conditions that will trigger granular revalidation:
      • If a route opts out of revalidation via shouldRevalidate, it will be excluded from the single fetch call
      • If a route defines a clientLoader then it will be excluded from the single fetch call and if you call serverLoader() from your clientLoader, that will make a separarte HTTP call for just that route loader - i.e., GET /a/b/c.data?_routes=routes/a for a clientLoader in routes/a.tsx
    • When one or more routes are excluded from the single fetch call, the remaining routes that have loaders are included as query params:
      • For example, if A was excluded, and the root route and routes/b had a loader but routes/c did not, the single fetch request would be GET /a/b/c.data?_routes=root,routes/a
  • Remove hydration URL check that was originally added for React 17 hydration issues and we no longer support React 17 (#9890)

  • Single Fetch: Improved typesafety (#9893)

    If you were already using single-fetch types:

    • Remove "@remix-run/react/future/single-fetch.d.ts" override from tsconfig.json > compilerOptions > types
    • Remove defineLoader, defineAction, defineClientLoader, defineClientAction helpers from your route modules
    • Replace UIMatch_SingleFetch type helper with UIMatch
    • Replace MetaArgs_SingleFetch type helper with MetaArgs

    Then you are ready for the new typesafety setup:

    // vite.config.ts
    
    declare module "@remix-run/server-runtime" {
      interface Future {
        unstable_singleFetch: true; // 👈 enable _types_ for single-fetch
      }
    }
    
    export default defineConfig({
      plugins: [
        remix({
          future: {
            unstable_singleFetch: true, // 👈 enable single-fetch
          },
        }),
      ],
    });

    For more information, see Guides > Single Fetch in our docs.

  • Clarify wording in default HydrateFallback console warning (#9899)

  • Updated dependencies:

    • @remix-run/server-runtime@2.12.0-pre.0

@remix-run/serve@2.12.0-pre.0

Patch Changes

  • Updated dependencies:
    • @remix-run/node@2.12.0-pre.0
    • @remix-run/express@2.12.0-pre.0

@remix-run/server-runtime@2.12.0-pre.0

Patch Changes

  • Single Fetch: Do not try to encode a turbo-stream body into 304 responses (#9941)

  • Single Fetch: fix revalidation behavior bugs (#9938)

    • With Single Fetch, existing routes revalidate by default
    • This means requests do not need special query params for granular route revalidations out of the box - i.e., GET /a/b/c.data
    • There are two conditions that will trigger granular revalidation:
      • If a route opts out of revalidation via shouldRevalidate, it will be excluded from the single fetch call
      • If a route defines a clientLoader then it will be excluded from the single fetch call and if you call serverLoader() from your clientLoader, that will make a separarte HTTP call for just that route loader - i.e., GET /a/b/c.data?_routes=routes/a for a clientLoader in routes/a.tsx
    • When one or more routes are excluded from the single fetch call, the remaining routes that have loaders are included as query params:
      • For example, if A was excluded, and the root route and routes/b had a loader but routes/c did not, the single fetch request would be GET /a/b/c.data?_routes=root,routes/a
  • Remove hydration URL check that was originally added for React 17 hydration issues and we no longer support React 17 (#9890)

  • Single Fetch: Improved typesafety (#9893)

    If you were already using single-fetch types:

    • Remove "@remix-run/react/future/single-fetch.d.ts" override from tsconfig.json > compilerOptions > types
    • Remove defineLoader, defineAction, defineClientLoader, defineClientAction helpers from your route modules
    • Replace UIMatch_SingleFetch type helper with UIMatch
    • Replace MetaArgs_SingleFetch type helper with MetaArgs

    Then you are ready for the new typesafety setup:

    // vite.config.ts
    
    declare module "@remix-run/server-runtime" {
      interface Future {
        unstable_singleFetch: true; // 👈 enable _types_ for single-fetch
      }
    }
    
    export default defineConfig({
      plugins: [
        remix({
          future: {
            unstable_singleFetch: true, // 👈 enable single-fetch
          },
        }),
      ],
    });

    For more information, see Guides > Single Fetch in our docs.

  • Single Fetch: Change content type on .data requests to text/x-script to allow Cloudflare compression (#9889)

@remix-run/testing@2.12.0-pre.0

Patch Changes

  • Updated dependencies:
    • @remix-run/react@2.12.0-pre.0
    • @remix-run/node@2.12.0-pre.0

create-remix@2.12.0-pre.0

remix@2.12.0-pre.0

remix

See the CHANGELOG.md in individual Remix packages for all changes.

@remix-run/css-bundle@2.12.0-pre.0

@remix-run/eslint-config@2.12.0-pre.0

@brophdawg11 brophdawg11 force-pushed the changeset-release/release-next branch from 094fb39 to f3802ed Compare September 5, 2024 14:54
@github-actions github-actions Bot force-pushed the changeset-release/release-next branch from f3802ed to 9f40e07 Compare September 5, 2024 14:55
@brophdawg11 brophdawg11 merged commit 85defa3 into release-next Sep 5, 2024
@brophdawg11 brophdawg11 deleted the changeset-release/release-next branch September 5, 2024 14:57
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.

1 participant