Change8

v1.10.0

📦 axiosView on GitHub →
1 features🐛 3 fixes🔧 4 symbols

Summary

This release improves the TypeScript fetchOptions typing, fixes adapter option passing, corrects FormData boolean serialization, and adds a React Native module entry point.

Migration Steps

  1. If your code relied on the previous shape of fetchOptions, update calls to match the new interface (e.g., include any new optional fields).

✨ New Features

  • Improved fetchOptions interface for TypeScript types, providing richer typing and additional options.

🐛 Bug Fixes

  • Adapter: now passes fetchOptions to the underlying fetch function, fixing missing options handling.
  • FormData: boolean values are now converted to strings during FormData serialization, preventing type errors.
  • Package: added a module entry point for React Native, enabling proper imports in RN environments.

🔧 Affected Symbols

adapter.fetchFormDataReactNative module entry pointfetchOptions