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

Bump @vercel/remix from 2.0.1 to 2.4.1 #248

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps @vercel/remix from 2.0.1 to 2.4.1.

Changelog

Sourced from @​vercel/remix's changelog.

v2.4.1

Patch Changes

  • @remix-run/dev: Vite - Remove unstable_viteServerBuildModuleId in favor of manually referencing virtual module name "virtual:remix/server-build" (#8264)

    • This is a breaking change for projects using the unstable Vite plugin with a custom server.

    • This change was made to avoid issues where @remix-run/dev could be inadvertently required in your server's production dependencies.

    • Instead, you should manually write the virtual module name "virtual:remix/server-build" when calling ssrLoadModule in development.

      -import { unstable_viteServerBuildModuleId } from "@remix-run/dev";
      // ...
      app.all(
      "*",
      createRequestHandler({
      build: vite
      
      
       ? () => vite.ssrLoadModule(unstable_viteServerBuildModuleId)
      
      
      
      
      
       ? () => vite.ssrLoadModule("virtual:remix/server-build")
      : await import("./build/server/index.js"),
      
      })
      );
  • @remix-run/dev: Vite - Add vite:dev and vite:build commands to the Remix CLI (#8211)

    • In order to handle upcoming Remix features where your plugin options can impact the number of Vite builds required, you should now run your Vite dev and build processes via the Remix CLI.

      {
        "scripts": {
      -    "dev": "vite dev",
      -    "build": "vite build && vite build --ssr"
      +    "dev": "remix vite:dev",
      +    "build": "remix vite:build"
        }
      }
  • @remix-run/dev: Vite - Error messages when .server files are referenced by client (#8267)

    • Previously, referencing a .server module from client code resulted in an error message like:
      • The requested module '/app/models/answer.server.ts' does not provide an export named 'isDateType'
    • This was confusing because answer.server.ts does provide the isDateType export, but Remix was replacing .server modules with empty modules (export {}) for the client build
    • Now, Remix explicitly fails at compile time when a .server module is referenced from client code and includes dedicated error messages depending on whether the import occurs in a route or a non-route module
    • The error messages also include links to relevant documentation
  • @remix-run/dev: Vite - Preserve names for exports from .client modules (#8200)

    • Unlike .server modules, the main idea is not to prevent code from leaking into the server build since the client build is already public
    • Rather, the goal is to isolate the SSR render from client-only code
  • ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    @dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 25, 2023
    Copy link

    vercel bot commented Dec 25, 2023

    The latest updates on your projects. Learn more about Vercel for Git ↗︎

    Name Status Preview Comments Updated (UTC)
    landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 11, 2024 4:58am

    @dependabot dependabot bot added the javascript Pull requests that update Javascript code label Dec 25, 2023
    @dependabot dependabot bot requested a review from MajorTom327 December 25, 2023 08:10
    Bumps [@vercel/remix](https://github.com/vercel/remix/tree/HEAD/packages/vercel-remix) from 2.0.1 to 2.4.1.
    - [Changelog](https://github.com/vercel/remix/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/vercel/remix/commits/HEAD/packages/vercel-remix)
    
    ---
    updated-dependencies:
    - dependency-name: "@vercel/remix"
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vercel/remix-2.4.1 branch from 13c521e to dc7478a Compare January 11, 2024 04:56
    @MajorTom327 MajorTom327 merged commit 6decbea into main Jan 11, 2024
    4 checks passed
    @MajorTom327 MajorTom327 deleted the dependabot/npm_and_yarn/vercel/remix-2.4.1 branch January 11, 2024 04:59
    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 javascript Pull requests that update Javascript code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant