Change8

v2.79.0

Breaking Changes
📦 supabase-jsView on GitHub →
2 breaking2 features🔧 2 symbols

Summary

This release introduces an option for the auth module to throw errors and updates the minimum system requirements to Node.js 20 by removing the node-fetch dependency.

⚠️ Breaking Changes

  • Node.js versions below 20 are no longer supported due to the removal of the node-fetch polyfill in favor of native fetch.
  • The library now relies on the environment's native fetch implementation; environments without a global fetch will require a polyfill.

Migration Steps

  1. If running in an environment without native fetch support, ensure a global fetch polyfill is provided.

✨ New Features

  • Added support for throwing errors instead of returning them in the auth module.
  • Removed node-fetch dependency to leverage native fetch API.

🔧 Affected Symbols

authnode-fetch