jwx icon indicating copy to clipboard operation
jwx copied to clipboard

[v3] List of possible breaking changes

Open lestrrat opened this issue 3 years ago • 1 comments

  • NO, there's no plan to do a v3 ATM. However, this acts as our memo.
  • Please do not discuss or request new features in this issue -- create a new one instead

  • Introduce context.Context as a parameter in top-level functions such as jwt.Parse
  • Change the signature of various Get(string) (interface{}, bool) methods to Get(string, interface{}) error
  • Change how code is generated to using a saner tool, so new developers have an easier time fixing problems
  • Remove the use of iterators from the library
  • Factor out []byte handling (internal/base64)
  • Add a way to register more algorithms under jwa

lestrrat avatar Sep 04 '22 23:09 lestrrat

things around the iterators (jwk.HeaderPair/HeaderVisitor/HeaderVisitorFunc) need a good hard rethink

lestrrat avatar Sep 13 '22 00:09 lestrrat