Skip to content

Releases: rails/request.js

v0.0.11

03 Sep 11:32
000abce
Compare
Choose a tag to compare

Breaking change

Be aware of breaking changes in v0.0.10

What's Changed

  • Remove test files from the published package 8064c9c

Full Changelog: v0.0.10...v0.0.11

v0.0.10

03 Sep 11:31
f7fde8f
Compare
Choose a tag to compare

Breaking change

  • Turbo 8 is required due to #74

What's Changed

New Contributors

Full Changelog: v0.0.9...v0.0.10

v0.0.9

25 Sep 12:56
v0.0.9
6e5dfac
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.8...v0.0.9

v0.0.8

16 Nov 13:15
dd0369b
Compare
Choose a tag to compare

Fixes the v0.0.7 release which was missing the dist esm file

v0.0.7

15 Nov 15:14
80b733e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.6...v0.0.7

v0.0.6

09 Dec 11:09
Compare
Choose a tag to compare

New: Function to check if the response status is unprocessableEntity #31 @olimart
New: Added support for URL Objects #39 @excid3
New: Accept application/vnd.api+json response content type when responseKind: 'json' is provided #41 @MatthewKennedy
Fixed: Remove anchor from the URL when making a request #34 @KonoMaxi
Fixed: Await turbo stream insertion in DOM #36 @excid3

Docs: Add simple example for hooks #40 @rainerborene

A huge thank you to @KonoMaxi that also added a test suite to Request.JS! #33

v0.0.5

10 Aug 11:36
Compare
Choose a tag to compare

New: Allow redirect value to be configurable (#25)
New: Append query params to url if provided (#28)
New: Make query to accept a FormData and URLSearchParams (#27)

v0.0.4

30 Jun 11:02
Compare
Choose a tag to compare

New: Cache text and json after reading (#21)
New: Expose response.redirected to FetchResponse (#22)
New: Add support to stringify automatically the body of the request if the type of it isn't a string (#24)

v0.0.3

08 Jun 12:14
7c94c6b
Compare
Choose a tag to compare

Changed: Changed the name of the Request and Response classes to FetchRequest/FetchResponse (#8)
Docs: Note about issue with Turbolinks (#12)
Fixed: Uppercase method name (#5)
New: Automatically process Turbo Stream responses (#6)
New: Allow additional/custom headers in request (#7)
New: Adds shorthand functions for request verbs get, post, put, patch, destroy (#10)
New: Add request interceptor (#13)

v0.0.2

02 Jun 11:57
Compare
Choose a tag to compare
v0.0.2