WICG / webmonetization

Proposed Web Monetization standard
https://webmonetization.org
Other
466 stars 152 forks source link

Link tags backwards compatibility #252

Closed sublimator closed 1 year ago

sublimator commented 2 years ago

Opening this while I remember. The community will probably want some say in how the next version of the Coil extension handles existing link tags.

We've implemented tags already but the new spec supports them in the body, and more than one per document. It also does away with document.monetization

TODO: add details

pp-koch commented 2 years ago

Theoretically we could assure backward compatibility from v2 on. I mean, the link tags are not going to change, are they? They could just unlock more functionality.

sublimator commented 2 years ago

Well, when there are multiple tags, there is contention for document.monetization.state at the least I suppose you could just fire the events and set the state on document.monetization for the first tag (in document order) ?

Message ID: @.***>

pp-koch commented 2 years ago

Oh, you mean for the old API? I think it should be removed before we get serious about multiple links.