Releases: developit/redaxios
Releases · developit/redaxios
0.5.0
Fixes & Improvements
- Always send upper-case HTTP methods by @semoal & @sirlancelot in #66 and #71
- Don't override
Content-Type
for Blob request bodies by @lukewarlow in #70 - URL-decode XSRF cookie token by @neupauer in #69
- Safeguard document.cookie for sandboxed applications by @donlion in #78
TypeScript
- Return
redaxios
fromcreate()
by @dacioromero in #68 - Allow
Headers
objects for request and response headers by @hdimitrov1 in #79
New Contributors
- @neupauer made their first contribution in #69
- @lukewarlow made their first contribution in #70
- @semoal made their first contribution in #66
- @sirlancelot made their first contribution in #71
- @dacioromero made their first contribution in #68
- @hdimitrov1 made their first contribution in #79
- @donlion made their first contribution in #78
Full Changelog: 0.4.1...0.5.0
0.4.1
Bug Fixes:
credentials
option now defaults tosame-origin
in Safari 11 and prior (#55, thanks @dhruvdutt)- Importing redaxios in Node no longer errors (#57, thanks @AlexandrHoroshih)
- Fix
redaxios.all()
(#49, thanks @Hotell) - Add missing
redaxios.head()
method (#60, thanks @Xenonym) - Fix support for relative
baseURL
values (#51, thanks @Hotell) - Parse and populate
.data
on error responses (#56, thanks @electricflannel) - TypeScript improvements (#50, thanks @Hotell)
note:
0.4.0
was a broken release, 0.4.1 is the corrected version.
The one with the compatibility
Features & Compatibility Improvements
- Adds
baseURL
config option (#20, thanks @jamesmosier!) - Automatically infer JSON response type (#26, thanks @Arminkhodaei!)
- Add
params
andparamsSerializer
option (#32, thanks @alexkhismatulin!) - Add
withCredentials
option (#36, thanks @crissto!) - Add
fetch
option for passing a customfetch()
function/mock (#23, thanks @crissto!) - Add support for passing
FormData
request bodies (#37 #38 & #42, thanks @fabricionaweb, @crissto & @idoshamun!)
Ergonomics & Bug Fixes
- Improved TypeScript types and documentation (#33, thanks @Hotell!)
- Fixed
import 'redaxios'
throwing in Node (#39, thanks @roymiloh!)
All that in only 61 bytes!