redaxios

The Axios API, as an 800 byte Fetch wrapper.

APACHE-2.0 License

Downloads
163.1K
Stars
4.7K
Committers
21

Bot releases are visible (Hide)

redaxios - 0.5.0 Latest Release

Published by developit over 2 years ago

Fixes & Improvements

TypeScript

New Contributors

Full Changelog: https://github.com/developit/redaxios/compare/0.4.1...0.5.0

redaxios -

Published by developit over 3 years ago

Bug Fixes:

  • credentials option now defaults to same-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.

redaxios - The one with the compatibility

Published by developit about 4 years ago

Features & Compatibility Improvements

  • Adds baseURL config option (#20, thanks @jamesmosier!)
  • Automatically infer JSON response type (#26, thanks @Arminkhodaei!)
  • Add params and paramsSerializer option (#32, thanks @alexkhismatulin!)
  • Add withCredentials option (#36, thanks @crissto!)
  • Add fetch option for passing a custom fetch() 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!

redaxios -

Published by developit about 4 years ago

Initial public release.