supabase-swift icon indicating copy to clipboard operation
supabase-swift copied to clipboard

Replace to HTTPTypes.HTTPRequest from Helpers.HTTPRequest

Open zunda-pixel opened this issue 1 year ago • 3 comments

Description

Replace to HTTPTypes's Components.

  1. Helpers.HTTPRequest -> (request: HTTPRequest, bodyData: Data?)
  2. Helpers.HTTPResponse -> (Data, HTTPTypes.HTTPResponse)
  3. headers: [String: String] -> HTTPTypes.HTTPFields

zunda-pixel avatar Oct 15 '24 18:10 zunda-pixel

Thanks for taking the leap on this @zunda-pixel.

We're not in the stage on having breaking changes at the moment, I'm planning a v3 for next couple of months, breaking changes will have to wait until then. For now, we need to make sure changes are retro-compatible.

grdsdev avatar Oct 15 '24 21:10 grdsdev

Ok, I am looking forward to v3. Supabase v3 is based release/v3 branch?

zunda-pixel avatar Oct 16 '24 11:10 zunda-pixel

Yes @zunda-pixel , that is the branch.

There are basically 3 issues that I want to fix yet on v2 before I move focus to v3, they are these ones: https://github.com/supabase/supabase-swift/issues?q=is%3Aopen+is%3Aissue+milestone%3Av2

grdsdev avatar Oct 16 '24 13:10 grdsdev