Next Runtime Versions Save

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

v2.0.2

2 years ago
  • fix: use current location as base url for form action (#27) 421fa76
  • chore: enable typescript strict mode 9bee117

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

v2.0.1

2 years ago
  • docs: increase size of sidebar toggle 6f89cbb
  • fix: response.req can be undefined d6301c7

https://github.com/smeijer/next-runtime/compare/v2.0.0...v2.0.1

v2.0.0

2 years ago
  • docs: document response throwing 9fd4e76
  • docs: document withNextRuntime 47cfe10
  • docs: update form and hook documentation aa6c865
  • feat: support Response throwing (#26) 021d852
  • fix: make notFound() and redirect() return never (#25) d31dbe1
  • feat: rewrite of Form component and useFormSubmit hook (#22) 5bcd03d
  • fix: include content-type header on redirects 8be6491
  • docs: improve contributing docs 3e9799f
  • docs: add @itsMapleLeaf as a contributor for test (#13) b3d656a

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

v1.3.0

2 years ago
  • feat: support client side redirects in Form component (#12) 2f41c18
  • docs: expand documentation of response helpers ee5c7c5
  • refactor: use custom header instead of next_type prop 168b024
  • docs: document patch, put, and delete methods cbf27f9

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

v1.2.0

2 years ago
  • test: add test for json status params (#9) 80817de
  • test: run tests on github actions (#8) 672a648
  • fix: typescript type for patch, put and delete methods 9641a85
  • docs: add @itsMapleLeaf as a contributor for code (#7) dbccd6e
  • feat: support patch, put and delete methods (#6) d02e060
  • refactor: return Response from response utilities f1a5e32
  • docs: prettify 5ae488e
  • docs: replace validate with onSubmit 37d3687
  • docs: add section for /docs f33be5b

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

v1.1.0

2 years ago
  • breaking refactor: remove Form#validate, use Form#onSubmit instead cc2070f

  • chore: fix build script 4ed2023
  • chore: add np as dev dep ed9f357
  • chore: don't use 2fa for npm publish 61f37ab
  • feat: support all attributes on Form, including ref and onSubmit 3435565
  • test: disable playwright debug mode 4b0f043
  • test: add end-to-end tests using playwright e7972eb
  • test: improve test server teardown 907889d
  • test: add basic tests for Form component 39d872b
  • test: move test server to utils folder 2d1dd7c
  • test: add bunch of tests 21d8785
  • fix: notFound type can only be true 94b4613
  • fix: the get and post handlers are both optional 4bc301c
  • fix: make all errors have the same signature 43e9ac5
  • docs: add accept header to curl request 42f605a
  • docs: add credits and mention remix 3358231
  • docs: make sidebar scroll separately ed3f621
  • docs: add social links to sidebar d62fe4a
  • docs: add @schniz as a contributor for doc (#2) 7339f81
  • docs: use the Form component instead of the html tag form (#1) a6b8d1e
  • docs: add license file 4d20c5a
  • docs: fix "edit on github" link 17557b5

https://github.com/smeijer/next-runtime/compare/v1.0.0...v1.1.0

v1.0.0

2 years ago
  • docs: improve social title 009f823
  • docs: fix page title capitalization 2b7ff0c
  • docs: add open graph data 51eb01a

https://github.com/smeijer/next-runtime/compare/v0.4.0...v1.0.0

v0.4.0

2 years ago
  • docs: jsx and capitalization. 7aa58f8
  • docs: add @smeijer as a contributor dbc30a8
  • chore: init all-contributors c370ca6
  • docs: update readme 2981780

https://github.com/smeijer/next-runtime/compare/v0.3.0...v0.4.0

v0.3.0

2 years ago
  • feat: enable async hooks for node > 16.4 2acfee8
  • chore: improve property documentation ac8e8b6
  • fix: switch accept order to restore shallow form updates 6a86f94
  • chore: add docs 8119677

https://github.com/smeijer/next-runtime/compare/v0.2.1...v0.3.0

v0.2.1

2 years ago
  • revert: "feat: allow handlers to narrow props type" a47bcd2

https://github.com/smeijer/next-runtime/compare/v0.2.0...v0.2.1