Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Remix v2 #215

Merged
merged 66 commits into from
Oct 6, 2023
Merged

Add support for Remix v2 #215

merged 66 commits into from
Oct 6, 2023

Conversation

sergiodxa
Copy link
Owner

@sergiodxa sergiodxa commented Jul 22, 2023

Now that Remix is preparing to release v2, this PR includes changes to internals and will mark a new major of Remix Utils that breaks compatibility with all Remix v1 versions.

@sergiodxa sergiodxa added the enhancement New feature or request label Jul 22, 2023
@sergiodxa sergiodxa self-assigned this Jul 22, 2023
@sergiodxa sergiodxa linked an issue Jul 22, 2023 that may be closed by this pull request
Copy link
Contributor

@machour machour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤓

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
test/server/honeypot.test.ts Fixed Show fixed Hide fixed
test/server/honeypot.test.ts Fixed Show fixed Hide fixed
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
kentcdodds and others added 3 commits August 28, 2023 11:28
This follows what your original thinking was and it simplifies things
because TypeScript is able to pick up the types for these files without
any issues.

I personally prefer this because it seems to do a better job of grouping
similar utilities within a "subpackage" concept. But whatever you want
to do I'm fine with.
This fixes this problem:

Do this:
1. Open app in tab 1
2. Open app in tab 2
3. Submit form in tab 1 <-- CSRF error
@wking-io
Copy link

wking-io commented Sep 1, 2023

@sergiodxa let me know if there is anything I can do to help here. I have a project I am testing out with the v2 pre and this is a blocker.

@sergiodxa
Copy link
Owner Author

@wking-io this is mostly done, in just waiting for v2 stable to be released

@KnisterPeter
Copy link

@sergiodxa Since stable is released now, anything else why this is waiting? Anything I could help with?

package.json Outdated Show resolved Hide resolved
@sergiodxa sergiodxa changed the title Support Remix v2 Add support for Remix v2 Oct 6, 2023
@sergiodxa sergiodxa merged commit 3b64594 into main Oct 6, 2023
6 checks passed
@sergiodxa sergiodxa deleted the remix-v2 branch October 6, 2023 04:57
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. why dynamic-links are gone? They seem to work perfectly with remix v2

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not needed anymore, MetaFunction can now return links tags based on data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
8 participants