{"push_id":1215001398,"size":1,"distinct_size":1,"ref":"refs/heads/017-versioned-macaroons","head":"134fa53d01bd8567c8435eb7b196525d632b7fa2","before":"1f51fa0c0d5ec0472de50646b53e2bbbcbea1fa7","commits":[{"sha":"134fa53d01bd8567c8435eb7b196525d632b7fa2","author":{"name":"Roger Peppe","email":"1fc2218fc28b8262889f07d240ee50ae4754500f@gmail.com"},"message":"associate macaroons with a version\n\nOne parsed as a given version, a macaroon will also\nmarshal as that version. We lose the MarshalAs method\nand we also lose the option to marshal JSON macaroons\nas a base64-encoded binary blob, which means that\nthere is no longer any need to specify how a macaroon\nwill be marshaled.\n\nThis means that we can now know whether a given caveat id\nor macaroon id is appropriate for the version of the macaroon\nand return an error if not.\n\nIt means that external code can also decide on what encoding\nmight be appropriate based on the macaroon version,\nand it also simplifies the API.","distinct":true,"url":"https://api.github.com/repos/rogpeppe/macaroon/commits/134fa53d01bd8567c8435eb7b196525d632b7fa2"}]}
{"actor":{"display_login":"rogpeppe"}}