Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.04 KB

File metadata and controls

36 lines (24 loc) · 1.04 KB

Changelog

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

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.

SpyInstance -> MockInstance

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>

Prisma v6

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

installGlobals is no longer needed in modern versions of Node.js and references to it have been removed from the exercise content.