#Incomplete upgrade guide for Tanstack v132

6 messages · Page 1 of 1 (latest)

proper belfry
#

I've been using tanstack for over 6 months and we've built project with around 500K LoC over it.

It has been great so far but the v132 upgrade completely changed our opinion

  • Due to the size of our codebase, manual change is pretty much impossible, we create our own codemod for it
  • Even with codemod there's a lot of undocumented change

Reflecting to this discussion
https://github.com/TanStack/router/discussions/2863#discussioncomment-14052148

There's not even a mention that usage of middleware must also be moved

const loggingMiddleware = createMiddleware().server(() => {
  //...
})

export const Route = createFileRoute('/foo')({
  server: {
    handlers: ({ createHandlers }) =>
      createHandlers({
        GET: {
          middleware: [loggingMiddleware],
          handler: () => {
            //...
          },
        },
      }),
  },
})

Is there any plan on improving this before the stable release?

GitHub

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

unkempt dune
#

I can add your feedback to this migration guide but we won't work on this guide more TBH. if you have specific questions let me know

proper belfry
#

Hey it's fine Manuel, tbh I'd like to contribute but it's in Closed discussion, just want to point out my dissapointment.

#

The good thing is there's no issues that we found in v131 that cause us to need an upgrade. It just feel like we're lagging behind the tanstack release

unkempt dune
#

I unlocked the discussion you can just comment now

#

you should upgrade though