Update major deps (except MUI)
13.3.0
Cypress to https://docs.cypress.io/guides/references/changelog#12-0-0
Test isolationSome e2e tests (mostly links
) were relying on the state left by the previous it
block, while Cypress now clears up everything after each it
block.
So I had to make a few changes so that tests now works when starting with a clean state. I think it is for the best since it decouples tests.
Aliases are now requeried rather than being static
This was breaking a few tests in nodes
. For example, there is one where we change the label of the node and then check that the label inside @node
indeed changed. Since changing the label changes the node/button label, quering the node again failed. I used {type: static}
to keep the old behaviour (https://docs.cypress.io/guides/references/migration-guide#Behavior-Changes-in-Alias-Resolution)
3.0.3
Prettier to Well, you know about this one and the new trailing comma default
1.5.3
axios to Not much to see here. Most of the queries are now done with react-query
anyway.
4.0.11
react-error-boundary to The error
field in FallbackProps
now resolves to any
rather than Error
. This means additional type-checking is needed to use error.message
in the fallback component.
Strangely, TS does not raise an error when error.message
is used in JSX with error
inferred to any
❌
Other updates I didn't do
5.x
Typescript to pnpm start
throws a webpack error so I couldn't update. I guess it is because create-react-app
is not compatible with TS 5 ? I'll wait for the vite
migration to retry this.
5.x
nanoid to Version 5.x drops the support for Node 16.
react and MUI
These will be the focus of dedicated MR.