Closed zzooeeyy closed 1 year ago
Love it! Thanks for taking the time to put this together :)
I wonder if we should include some background on WHY we needed the big rewrite. This was before my time but from what I've been able to gather it largely had to do with 1) removing 3rd party cookies and 2) so we could consolidate code bases for REST resources with other languages. @paulomarg do you have any more history you could share with the class here 🙏
That's pretty much on the spot. The biggest changes were:
authenticatedFetch
were introduced to make it possible for apps to authenticate requests without depending on cookies, but the gem was very closely tied to rails and how it set up sessions (which was fine before), so we had to detach the library from rails in order to be able to work with both cookies and session tokens.Thanks @paulomarg ! @zzooeeyy - would you mind mixing in that context into your upgrade doc so the community understands why we did what we did? Thank you both!
Description
Add more examples and reference for upgrading this gem from v9.
Tophatting:
New
New dedicated page - "Breaking change notice for version 10.0.0" Link from README
Existing
Existing docs on v10 upgrade