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
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
478d5ef
Upgrade Remix and install @remix-run/router
sergiodxa Jul 22, 2023
f22494f
Fix TS error
sergiodxa Jul 22, 2023
606bb05
Replace useTransition with useNavigation
sergiodxa Jul 22, 2023
c3fc583
Support useRevalidator on useGlobalTransitionStates
sergiodxa Jul 22, 2023
6b9b0a3
Rename useGlobalTransitionStates to useGlobalNavigationState
sergiodxa Jul 22, 2023
ebff182
Upgrade TypeScript
sergiodxa Jul 22, 2023
9b4f949
Add useDebounceFetcher util
sergiodxa Jul 22, 2023
95a8cf5
Omit submit from FetcherWithComponents
sergiodxa Jul 22, 2023
8bfb782
Document and export useDebounceFetcher
sergiodxa Jul 22, 2023
aaf1485
Remove deprecated DynamicLinks
sergiodxa Jul 22, 2023
a25b912
Remove deprecated StructuredData
sergiodxa Jul 22, 2023
3240f4e
Update react.ts
sergiodxa Jul 22, 2023
3f161e1
Add support to re-use connections on useEventSource
sergiodxa Jul 22, 2023
90055f9
Document how re-using connections works and add EventSourceProvider
sergiodxa Jul 22, 2023
dfd7c92
Delete structured data tests
sergiodxa Jul 22, 2023
52d6374
Update README.md
sergiodxa Jul 23, 2023
def47ec
Update README.md
sergiodxa Jul 23, 2023
b048d3b
Handle /\ with safeRedirect
sergiodxa Aug 9, 2023
3ab74f8
Create prettier config file
sergiodxa Aug 9, 2023
f657cbe
Implement new cookie-based CSRF token
sergiodxa Aug 9, 2023
6e16c5d
Change to Vitest
sergiodxa Aug 9, 2023
1bea04d
Update responses.test.ts
sergiodxa Aug 9, 2023
22b85e5
Include all files in coverage report
sergiodxa Aug 9, 2023
5c886fd
Update vitest.config.ts
sergiodxa Aug 9, 2023
480dc3f
Create dependabot.yml
sergiodxa Aug 9, 2023
93ec6c7
Merge branch 'main' into remix-v2
sergiodxa Aug 9, 2023
cddcfe9
Apply suggestions from code review
sergiodxa Aug 10, 2023
5143847
Create getFetcherType and useFetcherType utils
sergiodxa Aug 10, 2023
0ab5d3c
Remove react-router-dom and import from @remix-run/router
sergiodxa Aug 10, 2023
f41fb67
Remove skip from test suit
sergiodxa Aug 10, 2023
1c0fe97
Update handle-conventions.ts
sergiodxa Aug 10, 2023
8e79b37
Add respondTo and parseAcceptHeader utils
sergiodxa Aug 24, 2023
86349a1
Document respondTo and parseAcceptHeader
sergiodxa Aug 24, 2023
601a669
Add Honeypot feature
sergiodxa Aug 24, 2023
324381c
Remove unused options from interface
sergiodxa Aug 24, 2023
1e0145d
Generate encryption key only once per instance
sergiodxa Aug 24, 2023
b248317
Set version as 7.0.0
sergiodxa Aug 24, 2023
e1d68c5
Remove support for React 16 and 17
sergiodxa Aug 24, 2023
136bc70
Increase required Node version to v18
sergiodxa Aug 24, 2023
93e6a9b
Publish as ESM-only
sergiodxa Aug 25, 2023
2cc8b3f
Honeypot suggestions (#222)
kentcdodds Aug 25, 2023
566aa3d
Make HoneypotInputs label customizable
sergiodxa Aug 25, 2023
de258a9
Fix linter
sergiodxa Aug 25, 2023
ab0852d
Update package.json
sergiodxa Aug 25, 2023
0913183
feat(honeypot): allow it to be disabled for testing (#223)
kentcdodds Aug 27, 2023
5a69f03
Add exports to package.json, document new imports and Honeypot
sergiodxa Aug 28, 2023
d766238
Update package.json
sergiodxa Aug 28, 2023
d34d5cb
Update use-debounce-fetcher.ts
sergiodxa Aug 28, 2023
aaeae53
Fix linter and tests
sergiodxa Aug 28, 2023
d74cda2
change exports behavior slightly (#224)
kentcdodds Aug 28, 2023
0cb3ff8
Pass Prettier
sergiodxa Aug 28, 2023
7a45e75
feat: support not regenerating the csrf token (#225)
kentcdodds Aug 31, 2023
2e7e934
Update ExternalScripts
sergiodxa Oct 4, 2023
34068e3
Update tsconfig.json
sergiodxa Oct 4, 2023
eb98a37
Handle condition
sergiodxa Oct 4, 2023
8c4270a
Upgrade Remix dependencies to v2
sergiodxa Oct 4, 2023
7723ff1
Mention more optional dependencies
sergiodxa Oct 4, 2023
b914dac
Fix linter
sergiodxa Oct 4, 2023
46b4422
Fix test
sergiodxa Oct 4, 2023
6032256
Update package.json
sergiodxa Oct 4, 2023
deb60b0
Add package.json to exports
sergiodxa Oct 5, 2023
cb3592f
Add docs about usage with CJS
sergiodxa Oct 5, 2023
8aa6133
Rollback version in package.json
sergiodxa Oct 5, 2023
bfa75d7
Add docs about upgrading from v6
sergiodxa Oct 5, 2023
87f5e38
Update README.md
sergiodxa Oct 5, 2023
95f6771
Use peerDependenciesMeta instead of optionalDependencies
sergiodxa Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2

updates:
# GitHub Action workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "sergiodxa"
assignees:
- "sergiodxa"
# Website
- package-ecosystem: npm
directory: /
schedule:
interval: "weekly"
reviewers:
- "sergiodxa"
assignees:
- "sergiodxa"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: bahmutov/npm-install@v1

- name: Test
run: npm run test -- --ci --coverage --maxWorkers=2
run: npm run test:coverage

lint:
name: Linter
Expand Down
Loading
Loading