On Fri, Apr 25, 2025 at 7:08 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > >> Authen::SASL now finally supports XOAUTH2 and OAUTHBEARER thanks to Erik > >> and Julian! (Link: https://github.com/gbarr/perl-authen-sasl/commit/958a3aa165d30cf4e3cbb36dc45306de627aa13f) > > > > And it's official: https://metacpan.org/release/EHUELS/Authen-SASL-2.1800 > > Wonderful. > > We tend to, however, try to cater to those whose distros are slow to > adjust to upstream changes. What's the ETA for the updated module > to major distros? To be honest, I have *no* idea. I think Debian is stabilizing Trixie now, so maybe it's in the one that will be after that (in 2 years?). You could however decide to support XOAUTH2 and OAUTHBEARER only when they are available? Then you don't need to increase the minimum library requirement: there's no API difference between 2.1700 (the current version until today) and 2.1800 (the newly released version). So if you were to probe existence of Authen::SASL::Perl::XOAUTH2 and/or Authen::SASL::Perl::OAUTHBEARER, you could conditionally disable the feature if the probe fails. (Using "eval { require Authen::SASL::Perl::XOAUTH2; 1 }" should do what you need: return false if the probe fails; true if it succeeds.) -- Bye, Erik. http://efficito.com -- Hosted accounting and ERP. Robust and Flexible. No vendor lock-in.