This file will keep track of significant changes that have happened in the workshop material that is different from what you'll see in the videos.
DataFunctionArgs was deprecated in Remix and will be removed in the future. It
is recommended to use LoaderFunctionArgs and ActionFunctionArgs instead
which are the exact same.
Vitest renamed SpyInstance to MockInstance so the videos will use
SpyInstance, but you'll be using MockInstance:
- import { SpyInstance } from 'vitest'
+ import { MockInstance } from 'vitest'
...
- SpyInstance<Parameters<typeof console.error>>
+ MockInstance<typeof console.error>Updated everything to use Prisma v6. The only substantial change is instead of
using Buffer.from to convert a file to a Uint8Array, we now use
new Uint8Array(await file.arrayBuffer()).
installGlobals is no longer needed in modern versions of Node.js and
references to it have been removed from the exercise content.