|
1 | 1 | # `@remix-run/dev`
|
2 | 2 |
|
3 |
| -## 2.4.0-pre.10 |
4 |
| - |
5 |
| -### Patch Changes |
6 |
| - |
7 |
| -- Updated dependencies: |
8 |
| - |
9 |
| - |
10 |
| - |
11 |
| -## 2.4.0-pre.9 |
12 |
| - |
13 |
| -### Patch Changes |
14 |
| - |
15 |
| -- Updated dependencies: |
16 |
| - |
17 |
| - |
18 |
| - |
19 |
| -## 2.4.0-pre.8 |
20 |
| - |
21 |
| -### Patch Changes |
22 |
| - |
23 |
| -- Updated dependencies: |
24 |
| - |
25 |
| - |
26 |
| - |
27 |
| -## 2.4.0-pre.7 |
28 |
| - |
29 |
| -### Patch Changes |
30 |
| - |
31 |
| -- Updated dependencies: |
32 |
| - |
33 |
| - |
34 |
| - |
35 |
| -## 2.4.0-pre.6 |
36 |
| - |
37 |
| -### Patch Changes |
38 |
| - |
39 |
| -- Updated dependencies: |
40 |
| - |
41 |
| - |
42 |
| - |
43 |
| -## 2.4.0-pre.5 |
44 |
| - |
45 |
| -### Patch Changes |
46 |
| - |
47 |
| -- Updated dependencies: |
48 |
| - |
49 |
| - |
50 |
| - |
51 |
| -## 2.4.0-pre.4 |
52 |
| - |
53 |
| -### Patch Changes |
54 |
| - |
55 |
| -- Updated dependencies: |
56 |
| - |
57 |
| - |
58 |
| - |
59 |
| -## 2.4.0-pre.3 |
60 |
| - |
61 |
| -### Patch Changes |
62 |
| - |
63 |
| -- Updated dependencies: |
64 |
| - |
65 |
| - |
66 |
| - |
67 |
| -## 2.4.0-pre.2 |
68 |
| - |
69 |
| -### Patch Changes |
70 |
| - |
71 |
| -- Updated dependencies: |
72 |
| - |
73 |
| - |
74 |
| - |
75 |
| -## 2.4.0-pre.1 |
76 |
| - |
77 |
| -### Patch Changes |
78 |
| - |
79 |
| -- Updated dependencies: |
80 |
| - |
81 |
| - |
82 |
| - |
83 |
| -## 2.4.0-pre.0 |
| 3 | +## 2.4.0 |
84 | 4 |
|
85 | 5 | ### Minor Changes
|
86 | 6 |
|
87 | 7 | - Vite: exclude modules within `.server` directories from client build ([#8154](https://github.com/remix-run/remix/pull/8154))
|
88 |
| -- Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)). ([#8173](https://github.com/remix-run/remix/pull/8173)) |
| 8 | + |
| 9 | +- Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)) ([#8173](https://github.com/remix-run/remix/pull/8173)) |
89 | 10 |
|
90 | 11 | Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as:
|
91 | 12 |
|
|
110 | 31 | Previously, the Remix compiler would allow any export from routes.
|
111 | 32 | While this was convenient, it was also a common source of bugs that were hard to track down because they only surfaced at runtime.
|
112 | 33 |
|
113 |
| - For more, see https://remix.run/docs/en/main/future/vite#strict-route-exports |
| 34 | + For more, see <https://remix.run/docs/en/main/future/vite#strict-route-exports> |
114 | 35 |
|
115 | 36 | - Add a new `future.v3_relativeSplatPath` flag to implement a breaking bug fix to relative routing when inside a splat route. For more information, please see the React Router [`6.21.0` Release Notes](https://github.com/remix-run/react-router/blob/release-next/CHANGELOG.md#futurev7_relativesplatpath) and the [`useResolvedPath` docs](https://remix.run/hooks/use-resolved-path#splat-paths). ([#8216](https://github.com/remix-run/remix/pull/8216))
|
116 | 37 |
|
117 | 38 | ### Patch Changes
|
118 | 39 |
|
119 | 40 | - Upgrade Vite peer dependency range to v5 ([#8172](https://github.com/remix-run/remix/pull/8172))
|
| 41 | + |
120 | 42 | - Support HMR for routes with `handle` export in Vite dev ([#8022](https://github.com/remix-run/remix/pull/8022))
|
| 43 | + |
121 | 44 | - Fix flash of unstyled content for non-Express custom servers in Vite dev ([#8076](https://github.com/remix-run/remix/pull/8076))
|
| 45 | + |
122 | 46 | - Bundle CSS imported in client entry file in Vite plugin ([#8143](https://github.com/remix-run/remix/pull/8143))
|
| 47 | + |
123 | 48 | - Change Vite build output paths to fix a conflict between how Vite and the Remix compiler each manage the `public` directory. ([#8077](https://github.com/remix-run/remix/pull/8077))
|
124 | 49 |
|
125 | 50 | **This is a breaking change for projects using the unstable Vite plugin.**
|
|
129 | 54 | For more information on the changes and guidance on how to migrate your project, refer to the updated [Remix Vite documentation](https://remix.run/docs/en/main/future/vite).
|
130 | 55 |
|
131 | 56 | - Remove undocumented `legacyCssImports` option from Vite plugin due to issues with `?url` imports of CSS files not being processed correctly in Vite ([#8096](https://github.com/remix-run/remix/pull/8096))
|
| 57 | + |
132 | 58 | - Vite: fix access to default `entry.{client,server}.tsx` within pnpm workspace on Windows ([#8057](https://github.com/remix-run/remix/pull/8057))
|
| 59 | + |
133 | 60 | - Remove `unstable_createViteServer` and `unstable_loadViteServerBuild` which were only minimal wrappers around Vite's `createServer` and `ssrLoadModule` functions when using a custom server. ([#8120](https://github.com/remix-run/remix/pull/8120))
|
134 | 61 |
|
135 | 62 | **This is a breaking change for projects using the unstable Vite plugin with a custom server.**
|
|
175 | 102 | ```
|
176 | 103 |
|
177 | 104 | - Pass request handler errors to `vite.ssrFixStacktrace` in Vite dev to ensure stack traces correctly map to the original source code ([#8066](https://github.com/remix-run/remix/pull/8066))
|
| 105 | + |
178 | 106 | - Vite: Preserve names for exports from .client imports ([#8200](https://github.com/remix-run/remix/pull/8200))
|
179 | 107 |
|
180 | 108 | Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build
|
|
188 | 116 | code is running on the server or client.
|
189 | 117 |
|
190 | 118 | - Add `@remix-run/node` to Vite's `optimizeDeps.include` array ([#8177](https://github.com/remix-run/remix/pull/8177))
|
| 119 | + |
191 | 120 | - Improve Vite plugin performance ([#8121](https://github.com/remix-run/remix/pull/8121))
|
192 | 121 |
|
193 | 122 | - Parallelize detection of route module exports
|
|
219 | 148 | A better experience is to have those errors happen at build-time so that you guarantee that your users won't hit them.
|
220 | 149 |
|
221 | 150 | - Fix `request instanceof Request` checks when using Vite dev server ([#8062](https://github.com/remix-run/remix/pull/8062))
|
| 151 | + |
222 | 152 | - Updated dependencies:
|
223 |
| - |
224 |
| - |
225 |
| - |
| 153 | + |
| 154 | + |
226 | 155 |
|
227 | 156 | ## 2.3.1
|
228 | 157 |
|
|
0 commit comments