Start BETA - Tracking #2863
Replies: 9 comments
-
v1.83.0 - Changed export variable renamed from
|
Beta Was this translation helpful? Give feedback.
-
v1.105.0 -
|
Beta Was this translation helpful? Give feedback.
-
v1.111.10 - renamed package from
|
Beta Was this translation helpful? Give feedback.
-
⏱️ coming soon, moving from
|
Beta Was this translation helpful? Give feedback.
-
v1.121.0We merged "devinxi" alpha to main. please follow the steps below to upgrade. Move to the framework adapterAs mentioned earlier in this message, we're moving all released to framework-specific adapters. As such, we'll no longer be publishing/updating the npm uninstall @tanstack/start
npm install @tanstack/react-start Migration guideWe've made a few key breaking changes that you'll need to make when upgrading These changes have been broken down into the large sweeping changes, smaller changes, Important Before going through this guide, make sure that you've backed up your project and have it Core MigrationLet's go! 🚅 Swap to ViteYou'll need to remove the npm uninstall vinxi
npm install vite Update your packages You'll need to update any of the TanStack Router or Start packages to latest. # This is not an exhaustive list of packages.
# Look at your `package.json` for the packages you'd need to upgrade.
npm install @tanstack/react-router@latest @tanstack/react-router-devtools@latest
npm install @tanstack/react-start@latest If you are using SolidJS, swap out the Update your
|
Beta Was this translation helpful? Give feedback.
-
⏱️ coming soon, no more autoconfiguring of solid/react vite pluginTanStack Start will soon stop auto-configuring React/Solid Vite plugins. You can already now experience that with |
Beta Was this translation helpful? Give feedback.
-
v1.127.3 - Changed
|
Beta Was this translation helpful? Give feedback.
-
v1.131.0 - renamed query integration to
|
Beta Was this translation helpful? Give feedback.
-
⏱️ coming soon, next alphaminimum vite version 7make sure to update vite to v7 no more autoconfiguring of solid/react vite pluginadd the react / solid plugin of your choice to your vite config: import { defineConfig } from 'vite'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import viteReact from '@vitejs/plugin-react'
export default defineConfig({
server: {
port: 3000,
},
plugins: [
tanstackStart(),
viteReact(),
],
}) static server functions moved into a middlewareimport { createServerFn } from '@tanstack/react-start'
import { staticFunctionMiddleware } from '@tanstack/start-static-server-functions'
const myServerFn = createServerFn({ method: 'GET' }).middleware([staticFunctionMiddleware]).handler(async () => {
return 'Hello, world!'
}) Ensure that request response utilities:
Server request entry point ("server.ts") signature changed:The entry point must conform to the following interface: export default {
fetch(req: Request): Promise<Response> {
// ...
},
} other changes
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Tracking any important changes for TanStack Start during the BETA period.
If you are coming from the ALPHA of TanStack Start, you can see all the breaking changes that were made here - #2403
Beta Was this translation helpful? Give feedback.
All reactions