Supabase Announces supabase-js v2 with Developer Experience Improvements

Aug 16th, 2022Product
  • supabase-js v2 release candidate published with enhancements aimed at developer 'quality-of-life'.

  • New type support with generator types added to the CLI, improving the development experience.

  • Authentication methods have been made more explicit, with signInWithPassword() and signInWithOtp() overriding the signIn() method.

  • Data methods now default to return minimal data, requiring explicit use of select() to return data after insert(), update(), or upsert().

  • Major overhaul to Auth library making it async, and improvements to error handling with specific error types for sub-libraries.

Recent Product News