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-Typefor 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
redaxiosfromcreate()by @dacioromero in #68 - Allow
Headersobjects 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:
credentialsoption now defaults tosame-originin 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
baseURLvalues (#51, thanks @Hotell) - Parse and populate
.dataon error responses (#56, thanks @electricflannel) - TypeScript improvements (#50, thanks @Hotell)
note:
0.4.0was a broken release, 0.4.1 is the corrected version.
The one with the compatibility
Features & Compatibility Improvements
- Adds
baseURLconfig option (#20, thanks @jamesmosier!) - Automatically infer JSON response type (#26, thanks @Arminkhodaei!)
- Add
paramsandparamsSerializeroption (#32, thanks @alexkhismatulin!) - Add
withCredentialsoption (#36, thanks @crissto!) - Add
fetchoption for passing a customfetch()function/mock (#23, thanks @crissto!) - Add support for passing
FormDatarequest 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!