Uh oh!
There was an error while loading. Please reload this page.
feat(remix): Add Remix 2.x release support. - #8940
Conversation
6efcf2c to
0149461Comparesize-limit report 📦
|
abb124e to
b6ec1a3Compareaef6350 to
ff4d574Compare
AbhiPrasad
left a comment
There was a problem hiding this comment.
Can we open up a separate PR for the node version changes on the e2e test? That way this PR can only look at changes to remix.
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version-file: 'package.json' | ||
| node-version: 18 |
There was a problem hiding this comment.
Can we read the e2e-tests package.json here instead?
9b935d0 to
67c3c4eCompare
AbhiPrasad
left a comment
There was a problem hiding this comment.
One last thing before we merge - is there no way to get the remix version automatically? I would prefer not forcing folks to use the isRemixV2 flag.
Update: Passed remix version from server |
e62e166 to
09a1425Compare5eb3369 to
2ab1c11CompareJust FYI after upgrading my own setup:
|
| const pkg = loadModule<{ version: string }>('@remix-run/react/package.json'); | ||
| const version = pkg ? pkg.version : '0.0.0'; |
There was a problem hiding this comment.
m: If we stick with this approach (see my other comment), let's add a debug log if we fail to load package.json
081e762 to
88a7f23Comparesergical
commented
Sep 18, 2023
Remix V2 is out, would love to get this in 😅 |
5917bf9 to
d6badebCompareonurtemizkan
commented
Sep 19, 2023
Thanks for the trial @huw, it's been very helpful!
I was not able to reproduce this, but will take another look after the release.
This may need a bit of discussion and new test cases. We can revisit these two points as improvements in other PRs. The other 3 points @huw reported are now included in the first version. |
d6badeb to
7164807CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
AbhiPrasad
left a comment
There was a problem hiding this comment.
Let's ship this as a first step - thanks Onur!
Resolves: #8681
closes#9040
Summary:
18.x. (This is required for Remix v2.x, and 18.x is the current LTS so updated this for all) chore(e2e-tests): Use Node 18 for E2E tests. #8964create-remix-appE2E tests to cover client-side events and transactions.create-remix-app-v2E2E test application that uses2.0.0version.Events:
pageloadtransaction - Linknavigationtransaction - Link