Next Runtime Versions Save

All you need to handle POST requests, file uploads, and api requests, in Next.js getServerSideProps.

v2.4.1

1 year ago
  • chore: be more specific about type deps 4ee1004
  • chore: remove console.log 51698e2
  • test: wrap click events with request interceptors c399e71
  • docs: document the multiple-forms-per-page case d68069e
  • chore: widen the sidebar dcbfcf6
  • docs: drop 'The' 2a1012a

https://github.com/smeijer/next-runtime/compare/v2.4.0...v2.4.1

v2.4.0

1 year ago
  • chore: build in ts strict mode be3885b
  • feat: include button name=value in submitted formdata (#64) 72e898c

https://github.com/smeijer/next-runtime/compare/v2.3.6...v2.4.0

v2.3.6

2 years ago
  • chore: improve return type for middleware next handler (#52) 256d6c1

https://github.com/smeijer/next-runtime/compare/v2.3.5...v2.3.6

v2.3.5

2 years ago
  • chore: import next types from 'next' (#56) e5d6fe0

https://github.com/smeijer/next-runtime/compare/v2.3.4...v2.3.5

v2.3.4

2 years ago
  • fix: properly handle redirects when using middleware ef8f21a
  • fix: type error for ref on Form component (#47) 40a8d83

https://github.com/smeijer/next-runtime/compare/v2.3.2...v2.3.4

v2.3.2

2 years ago
  • fix: separate res.write and res.end for Nextjs 12 support (#45) 0a63fd6

https://github.com/smeijer/next-runtime/compare/v2.3.1...v2.3.2

v2.3.1

2 years ago
  • fix: support redirect in Nextjs 12 (#44) e00c817

https://github.com/smeijer/next-runtime/compare/v2.3.0...v2.3.1

v2.3.0

2 years ago
  • refactor: move submit logic into form store + multiple files (#38) 2e79c53

https://github.com/smeijer/next-runtime/compare/v2.2.0...v2.3.0

v2.2.0

2 years ago
  • docs: add @umar-ahmed as a contributor for code (#42) 5b15db9
  • feat: add isFetchError type guard (#41) 111a48f
  • feat: add cookies instance to the context (#37) 7bb5e01

https://github.com/smeijer/next-runtime/compare/v2.1.0...v2.2.0

v2.1.0

2 years ago
  • feat: add support for middleware (#32) 69f5fa2
  • docs: use form in primary examples (#36) 30de03c
  • feat: add onSuccess and onError callbacks to Form(#34) 4c24fe8

https://github.com/smeijer/next-runtime/compare/v2.0.2...v2.1.0